#searchModSection {
  max-width: 992px;
  margin: 80px auto 0;
}

.main .rn-searchMod {
  width: 100%;
  margin: auto;
  display: block;
}

.main .rn-searchMod__navSection {
  margin-right: 0;
}




/* --- タブ --- */
.rn-searchMod__navList {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  margin: 0 0 -2px;

  .rn-searchMod__navListButton--ovs {
    /*background-color: rgba(242, 242, 242, 1) 
    color: #333 !important;*/
    color: #fff !important;
    background: #2488ff !important;

    &.active {
      z-index: inherit;
      background: #fff !important;
    }
  }
}

.rn-searchMod__navListItem {
  margin-bottom: 0;
  width: 162px;

  &:not(:last-child) {
    margin-right: 8px;
  }
}

.rn-searchMod__navListButton {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 4px 4px 0 0;
  padding: 0;
  height: 62px;
  line-height: 1.3;
  font-size: 16px;

  &.active {
    box-shadow: 0 0 5px #00000029;

    @media only screen and (orientation: landscape) and (max-width: 828px),
    only screen and (max-width: 740px) {
      box-shadow: none;
    }
  }
}

/*sp 検索box 右側国内海外ボタン*/
.rn-searchMod__navLinkItem {
  position: relative;
  width: 170px;
  /*国内旅行ボタンを目立たせる為にbottom: 8px;にしても良いけど、一旦他ボタンと高さ合わせる*/
  bottom: 0;
  display: block !important;

  &.navi--ovs {
    display: block !important;
    bottom: 0;
  }
}





/* --- 検索ボックス --- */
.rn-searchMod__formSection {
  position: relative;
  box-shadow: 0px 6px 6px #00000019;
  border-radius: 0 0 4px 4px;
  border-top: none;
  padding: 20px 35px;
  width: 992px;
  min-height: auto;
  z-index: 1;

  @media only screen and (max-width: 828px) and (orientation: landscape),
  only screen and (max-width: 740px) {
    box-shadow: none;
    padding: 15px 20px 20px;
    width: 100%;
    min-height: 0;
  }
}

.rn-searchMod__formTitle {
  font-weight: bold;

  @media only screen and (max-width: 828px) and (orientation: landscape),
  only screen and (max-width: 740px) {
    font-weight: normal;
  }
}


.main .search-condition-tab-tips {
  display: block;
  margin-bottom: 5px;
}


.tabOptional,
.tabOnline {
  .search-condition {
    display: inline-block;
    margin-bottom: 15px;

    .search-condition-button {
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 6px 15px;
      background-color: #fff;
      border: 1px solid #888;
      font-weight: bold;
      color: inherit;
      text-decoration: none;
      border-radius: 4px;

      &:hover {
        background: #f2f2f2;
      }
    }
  }

  .rn-searchMod__formTitle--both {
    background-image: url(/searchMod/img/icon_search_gold.svg);
    color: #ca9800;
  }
}






@media only screen and (max-width: 828px) and (orientation: landscape),
only screen and (max-width: 740px) {

  /* --- 海外/国内 検索タブ --- */
  .main .rn-searchMod--ovs .rn-searchMod__navListButton,
  .main .rn-searchMod--dom .rn-searchMod__navListButton {
    font-size: calc(20vw / 7.5);
  }

  .main .rn-searchMod--ovs .rn-searchMod__navListItem--last,
  .main .rn-searchMod--dom .rn-searchMod__navListItem--last {
    padding-right: 0;
  }

  .main .rn-searchMod--ovs .navi--bothOnline .rn-searchMod__navListButton::before {
    background-image: url(/cmn/icon/icon_online_kaigai_gray.svg);
  }

  .main .rn-searchMod--dom .rn-searchMod__navListButton--ovs {
    width: 65px;
  }

  .rn-searchMod__navListButton--ovs.rn-searchMod__navLinkButton {
    background: #2488ff !important;
    color: #fff !important;
  }

  .main .rn-searchMod__navListButton--ovs::before {
    background-image: url(/cmn/icon/icon_kaigai_white.svg);
  }

  .main .rn-searchMod__navListButton--ovs::after {
    display: none;
  }

  .rn-searchMod__navListButton--dom.rn-searchMod__navLinkButton {
    background: #47c40c !important;
    color: #fff !important;
    width: 65px;
  }

  .main .rn-searchMod__navListButton--dom::before {
    background-image: url(/cmn/icon/icon_kokunai_white.svg);
  }

  .main .rn-searchMod__navListButton--dom::after {
    display: none;
  }

  #searchModSection .rn-searchMod__navListButton:hover {
    background: transparent;
    color: #888;
    font-weight: normal;
  }

  /* --- 検索ボックス --- */
}