@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho:wght@400;700&display=swap");

/* ============================================
   CSS変数定義
============================================ */
:root {
  --content-color-base: #2c2a29;
  --content-color-red: #cc0404;
  --content-color-red-2: #b00707;
  --content-color-yellow: #fcc85b;
  --content-color-beige: #f6f1eb;
  --content-color-cream: #fffcf7;
  --content-color-lightgray: #e9ecf2;
  --content-color-gray: #d9d9d9;
  --bg-img-setting: no-repeat center center / contain;
  --bg-cover-setting: no-repeat center top / cover;
  --bg-width-pc: max(100%, 1920px);
  --font-size-pc: 14px;
  --font-size-sp: 14px;
  --font-base: "Zen Old Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --content-font-size: min(var(--font-size-sp), var(--font-size-pc));
  --content-hover-speed: 0.3s;
}

/* ============================================
   表示切り替え
============================================ */
.pc-only {
  display: block !important;
}

.tb-only {
  display: none !important;
}

.sp-only {
  display: none !important;
}

@media (max-width: 840px) {
  .tb-only {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }
}

/* ==========================================================================
   共通設定 (PC・SP共通)
   ========================================================================== */
body {
  overflow-x: hidden;
}
@media (768px <= width <= 1024px) {
  body {
    min-width: 1024px;
  }
}

.main {
  font-family: var(--font-sans);
  font-size: var(--content-font-size);
  font-weight: 400;
  color: var(--content-color-base);
  line-height: 150%;
  position: relative;
  background: url(../images/bg_main.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main *,
.main-content * {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  transition: var(--content-hover-speed);
  color: var(--content-color-base);
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  max-height: 100%;
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* *****
 inner
 - 幅 */
.inner {
  max-width: calc(1104px + 40px);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.inner_960 {
  max-width: calc(960px + 40px);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.inner_816 {
  max-width: calc(816px + 40px);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.inner_728 {
  max-width: calc(728px + 40px);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
}

/* back-to-top */

#back-to-top {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 500;
}

@media screen and (max-width: 768px) {
  #back-to-top img {
    width: 50px;
  }
}

/* *****
 mv
 - メインビジュアル */
.mv-content {
  width: 100%;
  padding: 16px 0;
  background: url("../images/mv_JRHTL_pc.jpg") no-repeat center top / cover;
}
@media screen and (max-width: 860px) {
  .mv-content {
    width: 100%;
    background: none;
  }
  .mv-content__images {
    position: relative;
    padding-top: 300px;
    width: 100%;
    overflow: hidden;
  }
  .mv-content__images::before {
    content: "";
    background: url("../images/mv_JRHTL_sp.jpg") no-repeat center center / contain;
    width: calc(1920vw / (750 / 100));
    height: 300px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/*.mv-content {
    width: 100%;
    padding: 16px 0;
}

@media screen and (min-width: 980px) {
    .mv-content {
        background: url("../images/mv_JRHTL_pc.jpg") no-repeat center top / cover;
    }
}
@media screen and (min-width: 861px) and (max-width: 979px) {
    .mv-content {
        background: url("../images/mv_JRHTL_pc.jpg") no-repeat 55% top / cover;
    }
    .inner.rn-searchMod__formSectionWrap {
    padding: 0;
}
}

@media screen and (max-width: 860px) {
    .mv-content__images {
        position: relative;
        padding-top: 300px;
        width: 100%;
        overflow: hidden;
    }

    .mv-content__images::before {
        content: "";
        background: url("../images/mv_JRHTL_sp.jpg") no-repeat center center / contain;
        width: calc(1920vw / 7.5);
        height: 300px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .mv-content .rn-searchMod,
    .mv-content .rn-searchMod__formSection,
    .mv-content .innerBlock {
        width: 100%;
    }
}*/

/*  */

/* タブレット時に要素が1024pxからはみ出るのを防ぐ */
/* @media screen and (min-width: 768px) and (max-width: 1023px) {
  html, body {
    overflow-x: hidden !important;
    width: 1024px !important;
    position: relative;
  }
} */

/* *****
 local-nav
 - ローカルナビ */
.local-nav {
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}

.local-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

.local-nav__item {
  position: relative;
}

.local-nav__item::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: #c0c5cc;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.local-nav__item:last-child:after {
  display: none;
}

.local-nav__link {
  color: #2c2a29;
  font-weight: 700;
  text-decoration: none;
  padding: 0 16px;
  display: block;
}

.local-nav__link:hover {
  background: #10069f;
  color: #fff;
}

@media screen and (max-width: 860px) {
  /* }
@media screen and (max-width: 768px) { */
  .local-nav__list {
    display: block;
  }

  .local-nav__item::after {
    content: "";
    display: none;
  }

  .local-nav__item:not(:last-child) {
    border-bottom: 1px solid #dbdbdb;
  }

  .local-nav__link {
    padding: 16px;
  }
}

/* ******************
 main
 - メインコンテンツ
 *************************** */

.main-content {
  padding-top: 104px;
}

@media screen and (max-width: 768px) {
  .main-content {
    padding-top: 52px;
  }
}

/* *********
 title
 - タイトル */
.sec_title {
  position: relative;
  color: #2c2a29;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 48px;
  padding-top: 16px;
}

.sec_title::before {
  content: "";
  width: 56px;
  height: 8px;
  background: #10069f;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .sec_title {
    font-size: 26px;
    margin-bottom: 32px;
  }
}

/* *********
 bnr
 - バナー */

.bnr-area {
  margin-bottom: 120px;
}

.bnr-area > a:hover {
  opacity: 0.7;
}

.bnr-area img {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .bnr-area {
    width: 100%;
    margin-bottom: 74px;
  }
}

/* *********
 tab
 - 切り替えタブ */

.tab-menu {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-radius: 4px;
  margin-bottom: 64px;
  background: #fff;
  box-shadow: 0 4px 44px 0 rgba(0, 0, 0, 0.1);
}

.tab-btn {
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  text-align: center;
  transition: all 0.3s;
  -ms-grid-row-span: 1;
  grid-row: span 1 / span 1;
}
.tab-btn:not(:last-child) {
  border-right: 2px solid #eee;
}

.tab-btn {
  display: block;
  padding: 16px 4px;
  font-size: min(18px, calc(16vw / 3.75));
  font-weight: bold;
}
.tab-btn:hover {
  background-color: #10069f;
}
.tab-btn:hover {
  color: #fff;
}
.tab-btn.active {
  background-color: #10069f;
  transition: all 0.3s;
  color: #fff;
}
.tab-btn.active::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #10069f;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: auto;
}

.tab-content {
  display: none;
  padding: 10px;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .tab-menu {
    gap: 1px;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 48px;
    border-radius: 0;
    box-shadow: none;
  }

  .tab-btn {
    outline: 1px solid #eee;
    padding: 10px 8px;
    border: none !important;
    background: #fff;
  }

  .tab-btn.active::after {
    display: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* *****
 recommend-plan
 -厳選！新幹線＋ホテル宿泊パック */
.recommend-plan {
  padding-bottom: 88px;
}

.recommend-plan__container .swiper-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.recommend-plan__content {
  display: block;
  background: #dadada;
  aspect-ratio: 1 / 1;
  -ms-grid-row-span: 1;
  grid-row: span 1 / span 1;
  width: 100%;
}

.product-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.product-card > li > a {
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
  background: #fff;
  overflow: hidden;
  transition: all 0.25s ease-out;
}
.product-card > li > a:hover {
  box-shadow: 0 2px 20px rgb(0 0 0 / 25%);
}
.product-img {
  position: relative;
}
.product-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.product-icon {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--content-color-base);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
}
.product-detail {
  padding: 16px;
  display: grid;
  gap: 8px;
}
.product-title {
  font-size: 26px;
}
.product-price {
  font-size: 20px;
  color: #df0d00;
}
.product-condition {
  font-size: 12px;
}
.price-condition > li {
  font-size: 12px;
  padding-left: 1em;
  text-indent: -1em;
}

/*@media screen and (min-width: 769px) {
    .recommend-plan__container .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;

        transform: none !important;
        width: auto !important;
    }

    .recommend-plan__content.swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }
}*/

@media screen and (max-width: 768px) {
  .product-card {
    display: flex;
    overflow-x: scroll;
  }
  .product-card > li {
    flex: 0 0 85%;
  }
  /*.recommend-plan {
        padding-bottom: 48px;
    }

    .recommend-plan__container .swiper-wrapper {
        display: flex !important;
        gap: 0;
    }

    .recommend-plan__container {
        overflow: visible !important;
    }*/
}

/* *****
 popular-route
 -人気の駅区間から探す */
.popular-route {
  padding-bottom: 104px;
}

.popular-route__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.popular-route__item {
  outline: 2px solid #ececec;
  -ms-grid-row-span: 1;
  grid-row: span 1 / span 1;
}

.popular-route__link {
  display: block;
  text-decoration: none;
  padding: 16px calc(20px + 16px) 16px 20px;
  width: 100%;
  background: #fff;
  color: #2c2a29;
  font-size: 16px;
  font-weight: 700;
  background-image: url(../images/icon_arrow_b.svg);
  background-repeat: no-repeat;
  background-position: center right 20px;
}

.popular-route__link:hover {
  background: #10069f;
  color: #fff;
  background-image: url(../images/icon_arrow_w.svg);
  background-repeat: no-repeat;
  background-position: center right 20px;
}

.popular-route__station {
}

@media screen and (max-width: 768px) {
  .popular-route {
    padding-bottom: 56px;
  }

  .popular-route__list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2px;
  }
}

/* *****
 sales-point
 - ポイント */
.sales-point {
  background: #f9f9f9;
  padding-top: 64px;
  padding-bottom: 64px;
}

.sales-point__list {
}

.sales-point__item {
  display: flex;
  gap: 24px;
}

.sales-point__item:not(:last-child) {
  margin-bottom: 48px;
}

.sales-point__item-inner {
  width: calc(100% - 80px);
}

.sales-point__item-image-wrapper {
  width: 80px;
  height: 80px;
}

.sales-point__item-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.sales-point__item-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 8px;
}

.sales-point__item-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

@media screen and (max-width: 768px) {
  .sales-point {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sales-point__item {
    margin-bottom: 32px;
    gap: 8px;
  }

  .sales-point__item-image-wrapper {
    width: 64px;
    height: 64px;
  }

  .sales-point__item-title {
    font-size: 16px;
  }

  .sales-point__item-text {
    font-size: 14px;
  }
}

/* *****
 recommended 
 - おすすめ */
.recommended {
  padding-top: 88px;
  padding-bottom: 88px;
}

.recommended__head {
}

.recommended__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recommended__item {
  -ms-grid-row-span: 1;
  grid-row: span 1 / span 1;
}

.recommended__link {
  display: block;
}
.recommended__link:hover {
  opacity: 0.7;
}

.recommended__image-wrapper {
  width: 100%;
  display: block;
  aspect-ratio: 3/2;
  margin-bottom: 8px;
}

.recommended__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.recommended__item-title {
  font-size: 18px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .recommended {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .recommended__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
  }

  .recommended__item-title {
    font-size: 16px;
  }
}

/* *****
 other
 - その他 */
.rail-other {
  padding-bottom: 104px;
}

.rail-other__heading {
}

.rail-other__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-content: center;
}

.rail-other__item {
  -ms-grid-row-span: 1;
  grid-row: span 1 / span 1;
}

.rail-other__link {
  width: 100%;
  display: block;
  border-radius: 100px;
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px calc(16px + 4px + 8px) 10px 16px;
  background: #10069f url(../images/icon_arrow_w.svg) no-repeat center right 16px;
}

.rail-other__link:hover {
  background-color: #140d77;
}

@media screen and (max-width: 768px) {
  .rail-other {
    padding-bottom: 88px;
  }

  .rail-other__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
  }

  .rail-other__link {
    width: 256px;
    margin: auto;
  }
}
