﻿:root {
  --lp-base-width-pc: 1920;
  --lp-base-width-pc2: 1366;
  --lp-base-width-sp: 375;
}

/* forSP */
@media (max-width: 600px) {
}

/* forPC02 */
@media (min-width: 1280px) {
}

/* forPC */
@media (min-width: 600px) {
}

/* forPC02 */
@media (min-width: 1280px) {
}

/*font*/

.noto-sans-jp {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.lexend {
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.poppins-thin {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
}

.external-link::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 5px;
  background: url("../img/external-link.svg") center / contain no-repeat;
}

.d-main {
  scroll-behavior: smooth;
}

.content__picture-box {
  display: block;
  width: 100%;
  height: auto;
}

.content__picture-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.modal-opener {
  cursor: pointer;
}

@media (max-width: 600px) {
  .external-link::after {
    width: 9px;
    height: 9px;
    background-size: 9px 9px;
  }
}

/*----------------------------------------------------
メインビジュアル
----------------------------------------------------*/
.mv-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.mv-image-box {
  padding-top: 154px;
  position: relative;
  margin-bottom: 155px;
  height: clamp(760px, 54.5vw, 1000px);
  @media (max-width: 1366px) {
    padding-top: 113px;
    margin-bottom: 111px;
  }
}

.mv-content {
  position: absolute;
  top: 113px;
  left: 0;
  z-index: 2;
}

.mv-content-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mv-photo01 {
  max-width: 38%;
  z-index: 2;
}

.mv-photo02 {
  max-width: 22.7%;
  z-index: 2;
}

.mv-photo03 {
  max-width: 31.3%;
  z-index: 2;
}

.mv-site-logoimage {
  width: 31%;
  position: absolute;
  bottom: 2.3%;
  right: 14.2%;
  z-index: 8;
}

.mv-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  overflow: hidden;
}
.mv-bg img {
  /* object-fit: cover; */
}

@media (max-width: 600px) {
  .mv-image-box {
    padding-top: 75px;
    margin-bottom: 10.13vw;
    display: block;
    height: 177.86vw;
    max-height: 100vh;
  }
  .mv-content{
    position: static;
  }
  .mv-content-inner {
    display: inline-block;
    align-items: unset;
    justify-content: unset;
  }
  .mv-photo01 {
    position: absolute;
    max-width: 57.333vw;
    right: 0;
    top: 20vw;
  }
  .mv-photo02 {
    position: absolute;
    max-width: 38.6vw;
    z-index: 2;
    left: 0;
    top: 43.733vw;
  }
  .mv-photo03 {
    position: absolute;
    max-width: 43.73vw;
    z-index: 2;
    left: 6.4vw;
    top: 96vw;
  }

  .mv-site-logoimage {
    position: absolute;
    width: 100%;
    max-width: 73.76vw;
    z-index: 2;
    right: 6.4vw;
    top: 128.133vw;
  }
}

/*----------------------------------------------------
リード
----------------------------------------------------*/
.lead-section {
  max-width: 1300px;
  margin: 0 auto;
}

.lead-section_text {
  position: relative;
  margin-bottom: 188.3px;
  z-index: 2;
}

.lead-section_text p {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 3.5;
  text-align: center;
  color: #000;
  @media (max-width: 1366px) {
    font-size: 16px;
    line-height: 3.75;
  }
}

@media (max-width: 600px) {
  .lead-section {
    max-width: 100%;
    padding: 0 7.2%;
  }
  .lead-section_text {
    margin-bottom: 64px;
  }
  .lead-section_text p {
    font-size: 14px;
    line-height: 2.5;
    text-align: center;
  }
}

/*-- GENIC --*/
.lead-section-genic {
  display: flex;
  align-items: center;
  margin-bottom: 250px;
  @media (max-width: 1366px) {
    justify-content: center;
  }
}

.lead-section-genic-logo {
  padding: 0 98px 0 44px;
}

.lead-section-genic-logo img {
  width: 233px;
}

.lead-section-genic-description {
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.1em;
  padding: 0 68px;
  border-left: 1px solid #707070;
  @media (max-width: 1366px) {
    font-size: 13px;
    line-height: 1.84;
  }
}

@media (max-width: 600px) {
  .lead-section-genic {
    flex-direction: column;
    margin-bottom: 23px;
  }
  .lead-section-genic-logo {
    padding: 0;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
  }
  .lead-section-genic-logo img {
    width: 109px;
  }
  .lead-section-genic-description {
    font-size: 12px;
    line-height: 1.8;
    border-left: none;
    padding: 0;
    position: relative;
    padding-top: 17px;
  }
  .lead-section-genic-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    background-color: #707070;
    transform: translateX(-50%);
  }
}

/*----------------------------------------------------
map
----------------------------------------------------*/
.map-area {
  position: relative;
  margin-bottom: 304px;
}

.map-area-section-block_title {
  position: absolute;
  top: -12%;
  right: 12%;
}

.map-area-section-block_title h2 {
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-size: min(111px, 5.78vw);
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 14px;
  @media (max-width: 1366px) {
    font-size: 80px;
  }
}

.map-area-subtitle {
  text-align: right;
  font-size: 25px;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1.7;

  @media (max-width: 1366px) {
    font-size: 18px;
  }
}
.map-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.map-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  width: max(280px, 21.86vw);
}
.map-box-colums {
  display: flex;
  background-color: #fff;
}

.map-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 0 12px;
}
.map-title-en {
  font-family: Lexend;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.44;
  letter-spacing: 0.1em;
  text-align: center;
  @media (max-width: 1366px) {
    font-size: 18px;
  }
}
.map-title-jp {
  padding-top: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  @media (max-width: 1366px) {
    font-size: 9px;
  }
}
.map-card-image {
  margin-bottom: 17px;
  @media (max-width: 1366px) {
    margin-bottom: 13px;
  }
}

.map-box {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 50%;
  padding: 0 14px 22px;
}
.map-box-link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.map-card-name {
  text-align: center;
  font-size: 17px;
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}
.map-box::after {
  content: "";
  display: block;
  place-items: center;
  margin: 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  background: url("../img/map-content-arrow.svg") center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: auto auto 0;
}

.map-hida {
  position: absolute;
  top: 9%;
  left: 23.9%;
}
.map-hida .map-title {
  background: linear-gradient(to right, #fd9fae 50%, #c48ffa 50%);
}
.map-hida01 {
  background-color: #fd9fae;
}
.map-hida02 {
  background-color: #c48ffa;
}
.map-kiso {
  position: absolute;
  top: 19%;
  right: 8%;
}
.map-kiso .map-title {
  background: linear-gradient(to right, #faff77 50%, #f8bb68 50%);
}
.map-kiso01 {
  background-color: #faff77;
}
.map-kiso02 {
  background-color: #f8bb68;
}
.map-nanki {
  position: absolute;
  bottom: 4.9%;
  right: 40.2%;
}
.map-nanki .map-title {
  background: linear-gradient(to right, #6cedd4 50%, #81a6f8 50%);
}
.map-nanki .map-title-en {
  font-size: clamp(10px, 1.0416vw, 20px);
}
.map-nanki .map-title-en span {
  margin: 0 -5px;
  @media (max-width: 600px) {
    margin: 0;
  }
}
.map-nanki01 {
  background-color: #6cedd4;
}
.map-nanki02 {
  background-color: #81a6f8;
}
.map-ina {
  position: absolute;
  top: 52%;
  right: 16%;
}
.map-ina .map-title {
  background: linear-gradient(to right, #A7EB76 50%, #FAA68D 50%);
}
.map-ina01 {
  background-color: #A7EB76;
}
.map-ina02 {
  background-color: #FAA68D;
}
.map-commingsoon {
  opacity: 0.5;
}
.map-link {
  margin-top: 7px;
  text-align: center;
}
.map-link a {
  position: relative;
  display: block;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: underline;
}
.map-link a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 5px;
  background: url("../img/external-link.svg") center / contain no-repeat;
}
.map-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: -2;
}

@media (max-width: 600px) {
  .map-area {
    margin-bottom: 176px;
  }
  .map-area-section-block_title {
    position: absolute;
    top: 47.875%;
    right: 6.66%;
  }
  .map-area-section-block_title {
    margin-bottom: 18px;
  }
  .map-area-section-block_title h2 {
    font-size: 55px;
    margin-bottom: 0;
  }
  .map-area-subtitle {
    font-size: 13px;
    margin-right: 5%;
  }
  .map-kiso,
  .map-hida,
  .map-nanki,
  .map-ina {
    position: static;
  }
  .map-cards {
    width: 100%;
    padding: 0 10px 15px;
    grid-template-columns: repeat(4, minmax(114px, 1fr));
    position: absolute;
    top: 75.12%;
    left: 0;
    overflow-x: auto;
  }
  .map-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: auto 1fr 1fr;
    grid-template-rows: subgrid;
    width: 100%;
  }
  .map-title {
    padding: 8px 0 6px;
    gap: 0;
    flex-direction: column;
  }
  .map-hida .map-title {
    background: #fd9fae;
  }
  .map-kiso .map-title {
    background: #faff77;
  }
  .map-nanki .map-title {
    background: #6cedd4;
  }
  .map-ina .map-title {
    background: #A7EB76;
  }

  .map-title-en {
    font-size: 13px;
  }
  .map-title-jp {
    padding-top: 0;
    font-size: 6px;
  }
  .map-box {
    width: 100%;
    padding: 0 7px 12px;
  }
  .map-box + .map-box {
    padding-top: 13px;
  }
  .map-box-colums {
    display: grid;
    grid-row: span 2;
    grid-template-rows: 1fr 1fr;
    grid-template-rows: subgrid;
  }
  .map-card-name {
    margin-bottom: 10px;
    font-size: 9px;
  }
  .map-link {
    margin-top: 7px;
  }
  .map-link a {
    font-size: 10px;
  }
  .map-link a::after {
    width: 8px;
    height: 8px;
  }
}

/*----------------------------------------------------
エリア
----------------------------------------------------*/

/*文字設定*/
.vertical-text {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.vartical-text-combine {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}

/*エリア設定*/
.area-hida {
  margin-bottom: calc(603 * (100vw / 1920));
  @media (max-width: 1366px) {
    margin-bottom: 444px;
  }
}
.area-kiso {
  margin-bottom: calc(696 * (100vw / 1920));
  @media (max-width: 1366px) {
    margin-bottom: 503px;
  }
}
.area-nanki {
  margin-bottom: calc(553 * (100vw / 1920));
  @media (max-width: 1366px) {
    margin-bottom: 473px;
  }
}
.area-ina {
  margin-bottom: calc(553 * (100vw / 1920));
  @media (max-width: 1366px) {
    margin-bottom: 473px;
  }
}

.area-section-bg {
  position: absolute;
  width: 100%;
  z-index: -2;
  top: 0;
}
.area-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-hida-bg {
  padding-top: calc((900 / var(--lp-base-width-pc)) * 100%);
  @media (max-width: 1366px) {
    padding-top: calc((900 / var(--lp-base-width-pc)) * 100%);
  }
}
.area-kiso-bg {
  padding-top: calc(900 * (100vw / var(--lp-base-width-pc)));
  @media (max-width: 1366px) {
    padding-top: calc((900 / var(--lp-base-width-pc)) * 100%);
  }
}
.area-nanki-bg {
  padding-top: calc(900 * (100vw / var(--lp-base-width-pc)));
  @media (max-width: 1366px) {
    padding-top: calc(900 * (100vw / var(--lp-base-width-pc)));
  }
}
.area-ina-bg {
  padding-top: calc(900 * (100vw / var(--lp-base-width-pc)));
  @media (max-width: 1366px) {
    padding-top: calc(1000 * (100vw / var(--lp-base-width-pc)));
  }
}

.area-section {
  position: relative;
  width: 100%;
  height: auto;
}

.area-section-lead {
  position: relative;
  margin-top: -10%;
  z-index: 1;
  @media (max-width: 1366px) {
    margin-top: -10%;
  }
}

.area-section-inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 150px;
  margin-bottom: 14.296vw;
  @media (max-width: 1366px) {
    gap: 108px;
  }
}

.area-section-title {
  display: flex;
  flex-direction: column;
}

.area-section-title--en {
  font-family: "Lexend", serif;
  font-weight: 600;
  font-size: 175px;
  letter-spacing: 0.1em;
  @media (max-width: 1366px) {
    font-size: 125px;
  }
}

.area-section-title--ja {
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.3em;
  text-align: right;
  margin-top: -8%;
  padding-right: 4%;
  margin-bottom: 58px;
  @media (max-width: 1366px) {
    font-size: 22px;
    margin-bottom: 41px;
  }
}

.area-section-text {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl; /* Safari 用 */
  writing-mode: vertical-rl;
  height: -webkit-max-content;
  height: max-content;
  margin-left: auto;
  line-height: 3;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.3em;
  font-feature-settings: "palt";
  padding-right: 4%;
  @media (max-width: 1366px) {
    font-size: 17px;
  }
}

.area-section-image {
  flex-shrink: 0;
  width: 49.231770833333336%;
}

/*木曽エリア*/
.area-kiso .area-section-inner {
  flex-direction: row-reverse;
  gap: 216px;
}
.area-kiso .area-section-text {
  margin-left: 0;
  margin-right: auto;
  padding-right: 4%;
}
.area-kiso .area-section-title--ja {
  text-align: left;
  padding-left: 4%;
}

/* 南紀エリア */
@media (min-width: 601px) {
  .area-nanki .area-section-title--en {
    position: relative;
    left: 55%;
    font-size: clamp(120px, 9.11vw, 175px);
    white-space: nowrap;
  }
  .area-nanki .area-section-title--ja {
    margin-top: -3%;
  }
  .area-nanki .goto-tickets.ise-toba .goto-tickets-header,
  .end-modal .goto-tickets.ise-toba .goto-tickets-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .area-nanki .goto-tickets.ise-toba .goto-area-en,
  .area-nanki .goto-tickets.ise-toba .goto-area-jp,
  .end-modal .goto-tickets.ise-toba .goto-area-en,
  .end-modal .goto-tickets.ise-toba .goto-area-jp {
    margin: 0;
    line-height: 1;
  }
}
@media (max-width: 600px) {
  .area-nanki .area-section-title--en {
    font-size: 60px;
    line-height: 1;
  }
  .area-nanki .area-section-title--ja {
    margin-top: 0;
  }
}

/* 伊那エリア */
.area-ina .area-section-inner {
  flex-direction: row-reverse;
}
.area-ina .area-section-text {
  margin-left: 0;
  margin-right: auto;
}
.area-ina .area-section-title--ja {
  text-align: left;
  padding-left: 4%;
}
@media (max-width: 600px) {
  .area-ina .area-article-links .grid-adjust {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
}

/*-----各エリア用CSS---------*/
.area-section-block {
  position: relative;
  height: auto;
  margin-bottom: 5.625vw;
  @media (max-width: 1366px) {
    margin-bottom: 5.673vw;
  }
}
.area-section-block:nth-child(even) {
  margin-bottom: 5.625vw;
  @media (max-width: 1366px) {
    margin-bottom: 5.673vw;
  }
}

.area-section-block-inner {
  display: flex;
  height: 44.45vw;
  background: url("../img/area_block_bg.png") no-repeat top;
  background-blend-mode: soft-light;
  background-size: cover;
  object-fit: cover;
  gap: 0;
  align-items: end;
}
.area-section-block-bgopacity {
  display: contents;
  background-color: rgba(255, 255, 255, 0.562);
}
.area-section-block:nth-child(even) .area-section-block-inner {
  background-position: calc(-2.8125vw) center;
}

.area-section-block:nth-child(odd) .area-section-block-inner {
  background-position: calc(2.8125vw) center;
}

.area-section-block_title {
  font-feature-settings: "pkna";
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  align-self: center;
  margin-right: 8.125vw;
  margin-left: 12.2916vw;
  margin-bottom: 3vw;
}

.area-image {
  width: 32.1875vw;
  flex-shrink: 0;
  margin-right: 5.989vw;
  padding-bottom: 8.354vw;
}

.area-article-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: max-content;
  margin-left: auto;
  margin-right: 10.364vw;
  margin-top: -4.645vw;
  gap: 1.145vw;
}
.article-link {
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: underline;
  line-height: 1.7;
  @media (max-width: 1366px) {
    font-size: 14px;
  }
}
.area-genic-title {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 5;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}
.area-article-leadto {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 5;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}

.area-tickets {
  display: flex;
}

.area-section-block-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
}
.area-traveler {
  max-width: 26.82vw;
  padding-bottom: 8.354vw;
}
.area-traveler-inner {
  display: flex;
  gap: 23px;
  margin-bottom: 6.447vw;
}
.area-traveler-profession {
  text-align: center;
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  font-size: 17px;
  line-height: 2.1;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}
.area-traveler-name {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 2.3;
  @media (max-width: 1366px) {
    font-size: 16px;
  }
}
.area-travelers {
  display: flex;
  gap: 20px;
  align-items: center;
}
.area-travelers-text {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.18;
  @media (max-width: 1366px) {
    font-size: 14px;
  }
}
.icon-travelers {
  width: 36px;
  height: 36px;
  @media (max-width: 1366px) {
    width: 26px;
    height: 26px;
  }
}
.area-traveler-image {
  width: 10.93vw;
}

.view-more-btn {
  position: relative;
  display: block;
  padding: 34px 0;
  text-align: center;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.1em;
  border: 1px solid #707070;
  width: 25.091vw;
  cursor: pointer;
  @media (max-width: 1366px) {
    font-size: 14px;
    padding: 24px 0;
  }
}

.view-more-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 45%;
  right: 30%;
  width: 13px;
  height: 13px;
  margin-top: -1px;
  margin-left: 5px;
  background: url("../img/icon-plus.svg") center / contain no-repeat;
  @media (max-width: 1366px) {
    top: 40%;
  }
}
.area-section-block.reflect-x {
  transform: scale(-1, 1);
}

.area-section-block.reflect-x .area-section-block-inner {
  transform: scale(-1, 1);
}

.area-commingsoon {
  opacity: 0.5;
  pointer-events: none;
}
area-travelers-text .icon-travelers {
  width: 36px;
  height: 36px;
}

/*おトクなきっぷ*/
.goto-tickets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 793px;
  height: 87px;
  background-image: url(../img/goto_tickets_bg.png);
  background-size: cover;
  object-fit: cover;
  object-position: center center;
  margin: 0 auto 20px;
  @media (max-width: 1366px) {
    width: 564px;
    height: 62px;
  }
}
.goto-tickets-header {
  display: contents;
}
.others-travel-text {
  font-family: "Noto Sans JP";
  font-weight: normal;
  text-decoration: underline;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.71;
  text-align: center;
}
.goto-area-en {
  font-size: 18px;
  margin-right: 21px;
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 5;
  letter-spacing: 0.1em;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}
.goto-area-jp {
  font-size: 18px;
  line-height: 5;
  font-weight: 400;
  letter-spacing: 0.1em;
  @media (max-width: 1366px) {
    font-size: 13px;
  }
}
.goto-area-link {
  font-size: 22px;
  line-height: 1.5;
  font-weight: bold;
  text-decoration: underline;
  letter-spacing: 0.1em;
  @media (max-width: 1366px) {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .area-hida {
    padding-top: 35px;
    margin-bottom: 75.4666vw;
  }
  .area-kiso {
    margin-bottom: 75.4666vw;
  }
  .area-nanki {
    margin-bottom: clamp(260px, calc(115.56vw + -173.33px), 520px);
  }
  .area-ina {
    margin-bottom: 65.333vw;
  }
  .area-section-inner {
    gap: 55px;
    flex-direction: column;
    margin-bottom: 18.933vw;
  }
  .area-kiso .area-section-inner,
  .area-ina .area-section-inner {
    flex-direction: column;
    gap: 45px;
  }
  .area-kiso .area-section-title--en,
  .area-ina .area-section-title--en {
    text-align: left;
  }
  .area-section-lead {
    margin-top: 0;
    margin-right: 6%;
  }
  .area-kiso .area-section-lead,
  .area-ina .area-section-lead {
    margin-left: 6%;
  }
  .area-section-title {
    margin-bottom: 23px;
  }
  .area-section-title--en {
    display: block;
    text-align: right;
    font-size: 80px;
  }
  .area-section-title--ja {
    margin-top: -6%;
    line-height: 2;
    font-size: 16px;
    margin-bottom: 0;
    padding-right: 2%;
  }
  .area-kiso .area-section-title--ja,
  .area-ina .area-section-title--ja {
    padding-left: 2%;
  }
  .area-section-text {
    font-size: 17px;
    line-height: 2;
    padding-right: 0;
  }
  .area-kiso .area-section-text,
  .area-ina .area-section-text {
    padding-left: 0;
  }
  .area-section-image {
    width: 94%;
  }
  .area-kiso .area-section-image,
  .area-ina .area-section-image {
    margin-left: auto;
  }

  .area-section-block {
    margin-bottom: 17.866vw;
  }
  .area-section-block:nth-child(even) {
    margin-bottom: 11.733vw;
  }
  .area-section-block-inner {
    display: grid;
    grid-template-columns: 20% repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    background: url("../img/area_block_bg_sp.png") no-repeat;
    background-size: cover;
    background-position: center;
    height: 218.666vw;
    gap: 0;
    padding-top: 16.533vw;
    margin-bottom: 2.4vw;
    align-items: unset;
  }
  .area-section-block:nth-child(even) .area-section-block-inner {
    background-size: cover, cover;
    background-position: left top, left bottom;
  }
  .area-section-block:nth-child(odd) .area-section-block-inner {
    background-size: cover, cover;
    background-position: left top, left bottom;
  }
  .area-section-block_title {
    font-size: 20px;
    margin-left: 24px;
    margin-right: 20px;
    align-self: start;
    letter-spacing: 0.5em;
  }
  .area-image {
    width: 100%;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 6.026vw;
    padding-bottom: 0;
  }
  .area-traveler {
    max-width: 100%;
    grid-column: 1 / span 2;
    grid-row: 2;
    padding: 0;
    margin-bottom: 16.533vw;
  }

  .area-traveler-inner {
    justify-content: center;
    width: 100%;
    gap: 2.66vw;
    margin-bottom: 13.68vw;
  }
  .area-traveler-image {
    width: 100%;
    max-width: 34.666vw;
  }
  .area-traveler-profession {
    font-size: 11px;
    line-height: 2.8;
  }
  .area-traveler-name {
    font-size: 14px;
    line-height: 0.4;
  }
  .area-travelers {
    gap: 7.5px;
  }
  .view-more-btn {
    width: 89.333%;
    margin: 0 auto;
  }
  .area-article-links {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
    margin: 0 auto;
  }

  /* 1行目：タイトルとリード文を横並び */
  .area-genic-title {
    font-weight: 500;
    font-size: 12px;
    grid-column: 1;
    margin-left: 10px;
    line-height: 1.2;
  }

  .area-article-leadto {
    grid-column: 2;
    margin-left: 10px;
    line-height: 2;
  }

  /* 2行目（aタグの並び） */
  .area-article-links dd:last-of-type {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .goto-tickets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 334px;
    height: 62px;
    background-image: url(../img/goto_tickets_bg_sp.png);
    background-size: cover;
    margin: 0 auto 10px;
  }
  .goto-tickets-header {
    display: flex;
  }
  .goto-area-en {
    line-height: 1;
  }
  .goto-area-jp {
    line-height: 1;
  }
  .area-hida-bg {
    padding-top: clamp(900px, calc(7.2vw + 540px), 1800px);
  }
  .area-kiso-bg {
    padding-top: clamp(900px, calc(7.2vw + 540px), 1800px);
  }
  .area-nanki-bg {
    padding-top: clamp(900px, calc(7.2vw + 540px), 1800px);
  }
  .area-ina-bg {
    padding-top: clamp(900px, calc(7.2vw + 540px), 1800px);
  }
}

/*----------------------------------------------------
モーダル・Swiper
----------------------------------------------------*/

.travel-dialog {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  background: #fff url(../img/modal_bg.png);
  background-size: cover;
  object-fit: cover;
  overscroll-behavior: contain;
  z-index: 999;
}

/* モーダルを開いたときに body のスクロールを無効化 */
body.no-scroll {
  overflow: hidden;
  position: relative;
  /* fixedを使わない */
  width: 100%;
}

.modal-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  width: 100vw;
  height: 100vh;
}

.modal-description {
  width: 20vw;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
.modal-image-box {
  margin-bottom: 1em;
  width: 42.02vw;
}
.start-modal .modal-image-box {
  margin-bottom: 0em;
}

.modal-image {
  display: flex;
  gap: 10px;
  width: 42.43vw;
}
.modal-image div {
  max-width: 30.2vw;
}
.modal-thumbs {
  display: flex;
  justify-content: space-between;
  width: 5.856vw;
  flex-direction: column;
  flex-shrink: 0;
  cursor: pointer;
  max-width: 4.94vw;
}

.active-modal {
  border: 5px solid #ffeb03;
}

.modal-logo {
  width: 12.66vw;
  position: absolute;
  top: 5%;
}

.modal-closer {
  position: absolute;
  right: 43px;
  top: 43px;
  z-index: 10;
  cursor: pointer;
}

.modal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  line-height: 3.1;
  text-align: center;
  position: relative;
}

.modal-day::after {
  content: "";
  position: absolute;
  bottom: 30%;
  left: 50%;
  width: 2.8em; /* em で文字の幅に合わせる */
  height: 4px;
  background: #ffeb03;
  transform: translateX(-50%) rotate(-5deg); /* 中央揃え + 斜め */
  z-index: -1;
}

.modal-time {
  font-size: 40px;
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 2.4;
  letter-spacing: 0.08em;
  text-align: center;
}

.modal-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
  max-width: 218px;
  text-align: justify;
}

.modal-attention {
  font-size: 11px;
  font-weight: 500;
  color: #575757;
  margin-top: 5px;
}

.modal-travelers {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.modal-travelers-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  align-items: center;
  gap: 48px;
}

.modal-travelers-box {
  width: 18.3vw;
  max-width: 250px;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  gap: 0;
}

.modal-travelers-image {
  width: 200px;
  margin: 0 auto;
}

.modal-travelers {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.36;
}

.modal-travelers-model,
.modal-travelers-photographer {
  font-size: 16px;
  font-weight: 500;
  line-height: 4.37;
  text-align: center;
}

.modal-travelers-names {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-travelers-name {
  font-size: 20px;
  font-weight: bold;
  line-height: 3.5;
}

.modal-travelers-profession {
  font-size: 12px;
  line-height: 5.8;
  font-weight: 400;
}

.modal-travelers-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 47px;
}

.modal-instagram-link {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.modal-instagram-link::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("../img/icon-instagram.svg") center / contain no-repeat;
}

/* カスタムナビゲーションボタン */
.custom-button-prev,
.custom-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
}

.custom-button-prev {
  left: 40px;
}

.custom-button-next {
  right: 40px;
}

.custom-button-prev img,
.custom-button-next img {
  width: 36px;
  height: 58px;
}

.custom-button-prev:hover img,
.custom-button-next:hover img {
  opacity: 0.7;
}

/* .swiper-slide-active が .start-modal の場合、前へボタンを非表示 */
.swiper-wrapper:has(.swiper-slide-active.start-modal) ~ .custom-button-prev {
  display: none;
}

/* .swiper-slide-active が .end-modal の場合、次へボタンを非表示 */
.swiper-wrapper:has(.swiper-slide-active.end-modal) ~ .custom-button-next {
  display: none;
}

.end-modal.modal-inner {
  flex-direction: column;
}

.modal-end-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 87px;
  margin-bottom: 91px;
  margin-top: 120px;
}

.end-modal-logo {
  width: 22.03vw;
}
.modal-logo-top {
  position: absolute;
  top: 2.48vw;
  left: 19.68vw;
  width: 12.71vw;
}

.modal-catch {
  display: grid;
  place-items: center;
  background-color: #ffeb00;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 13px;
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.38;
}

.modal-links {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.modal-area-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-area-title,
.modal-area-section-block_title {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 2;
}

.modal-area-articles {
  display: flex;
  gap: 16px;
}

.modal-area-articles dt {
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 2;
}
.modal-area-articles dd {
  font-family: "Noto Sans JP";
  font-weight: bold;
  text-decoration: underline;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.modal-area-articles-list {
  display: contents;
}

.end-modal .goto-tickets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 564px;
  height: 62px;
  background-size: cover;
  object-fit: cover;
  object-position: center center;
  margin: 0 auto 20px;
}

.end-modal .goto-area-en {
  font-size: 13px;
  margin-right: 4px;
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 5;
}

.end-modal .goto-area-jp {
  font-size: 13px;
  line-height: 5;
  font-weight: 400;
}

.end-modal .goto-area-link {
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
  text-decoration: underline;
}

.travel-dialog .swiper-pagination {
  bottom: 38px;
}

.travel-dialog .swiper-pagination-bullet {
  width: 40px;
  height: 2px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 2px;
  display: inline-block;
  border-radius: 0;
  transition: background 0.3s;
}
/* アクティブなページネーション */
.travel-dialog .swiper-pagination-bullet-active {
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
}

.travel-dialog .swiper-button-disabled {
  display: none !important;
}
.travel-dialog .swiper-container {
  transition: height 0.3s ease-out; /* 高さの変更をスムーズに */
}

.travel-dialog .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
/*最後のスライドだけロゴ消す*/
.swiper-wrapper:has(.swiper-slide-active.end-modal) ~ .modal-logo-top {
  display: none;
}

@media (max-width: 600px) {
  .travel-dialog {
    width: 100vw;
    height: 100vh;
    background: #fff url(../img/modal_bg_sp.png) no-repeat;
    background-size: contain;
    object-fit: cover;
    z-index: 999;
    /* overflow-y: auto; */
  }
  .modal-inner {
    display: grid;
    flex-direction: column-reverse;
    gap: 0;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
  }

  .modal-inner:nth-child(7) {
    /* overflow-y: auto;
    padding-bottom: 50px; */
  }
  .modal-logo {
    width: 15.16vh;
    position: absolute;
    top: 10px;
    left: 10px;
  }
  .modal-inner .modal-logo {
    display: none;
  }
  .modal-logo-top {
    display: block;
  }
  .modal-closer {
    top: 10px;
    right: 10px;
  }

  .modal-thumbs {
    width: 12vw;
    flex-direction: column;
    flex-shrink: 0;
    max-width: 100%;
  }
  .modal-attention {
    font-size: 2.666vw;
    font-weight: 400;
    line-height: 1.3;
  }
  .modal-day {
    font-size: 1.64vh;
    font-weight: 500;
    line-height: 2.8;
  }
  .modal-day::after {
    bottom: 1.05vh;
    width: 120%;
  }
  .modal-time {
    font-size: 2.99vh;
    font-weight: 400;
    line-height: 2;
    margin-top: -10px;
    margin-bottom: 1.049vh;
  }
  .modal-title {
    font-size: 2.39vh;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 1.5vh;
  }
  .modal-text {
    font-size: 1.94vh;
    font-weight: 500;
    line-height: 2;
    max-width: 100%;
  }

  .travel-dialog .swiper-slide {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .modal-image-box {
    width: 100%;
    margin-bottom: 0;
    grid-row: auto;
    margin-top: 8.995vh;
    align-self: flex-start;
  }

  .modal-image {
    width: 89.333vw;
  }
  .modal-image div {
    max-width: 100%;
  }
  .modal-description {
    grid-row: 2;
    height: auto;
    width: 81.333vw;
    align-self: flex-start;
    justify-self: center;
  }
  .modal-travelers {
    margin-top: 60px;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    font-size: 16px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 18px;
  }
  .modal-travelers-inner {
    display: flex;
    align-items: flex-start;
    align-self: start;
    flex-direction: column;
    gap: 0;
  }
  .modal-travelers-box {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 20px;
  }
  .modal-travelers-box:not(:last-of-type) {
    margin-bottom: 5.99vh;
  }
  .modal-travelers-box-info {
    width: 26.666vw;
  }
  .modal-travelers-box-desc {
    width: 100%;
    flex-grow: 1;
  }
  .modal-travelers-description {
    font-weight: 500;
    font-size: 1.949vh;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .modal-travelers-model,
  .modal-travelers-photographer {
    font-size: 3.4666vw;
    letter-spacing: 0.1em;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    line-height: 1;
    margin-bottom: 11px;
  }
  .modal-travelers-image {
    width: 100px;
    margin-bottom: 12px;
  }
  .modal-travelers-names {
    display: flex;
    flex-direction: column;
  }
  .modal-travelers-profession {
    font-weight: normal;
    font-size: 1.51vh;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }
  .modal-travelers-name {
    font-weight: bold;
    font-size: 1.925vh;
    letter-spacing: 0.1em;
    line-height: 1;
  }
  .modal-travelers-hedding {
    grid-row: 1;
    margin-bottom: 30px;
  }

  .modal-end-slider {
    flex-direction: column;
    margin: 13.49vh 0 7.49vh;
    gap: 13.49vh;
  }
  .end-modal-logo {
    width: 73.6vw;
    height: 50vw;
  }
  .goto-tickets {
    align-self: self-start;
  }

  .modal-area-section-block_title {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 2;
  }
  .modal-area-articles dt {
    font-family: "Noto Sans JP";
    font-weight: normal;
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  .modal-area-articles-list {
    display: flex;
    flex-direction: column;
  }
  .modal_ina02 .modal-area-articles {
    gap: 10px;
  }
  .end-modal .external-link::after {
    width: 8px;
    height: 8px;
    margin-left: 5px;
  }
  .end-modal .goto-tickets {
    gap: 0;
  }
  .end-modal .goto-area-en,
  .end-modal .goto-area-jp {
    line-height: 1;
  }

  .modal-instagram-link {
    font-family: "Noto Sans JP";
    font-weight: normal;
    font-size: 1.65vh;
    letter-spacing: 0.1em;
  }

  .modal-instagram-link::before {
    width: 2.906vh;
    height: 2.906vh;
  }

  .custom-buttons {
    position: fixed;
    bottom: 10.018vw;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    z-index: 11;
  }
  .custom-button-prev img,
  .custom-button-next img {
    width: 14px;
    height: 23px;
  }

  .travel-dialog .swiper-pagination-bullet {
    width: 9.6vw;
  }
  .travel-dialog .swiper-pagination {
    position: fixed;
    bottom: 10px;
  }
  .custom-button-prev,
  .custom-button-next {
    top: 95%;
    transform: translateY(-50%);
  }
  .custom-button-prev {
    left: 0px;
  }
  .custom-button-next {
    right: 0px;
  }
}

@media (max-width: 375px) {
  .modal-image {
    margin: 0 auto;
    width: 80.333vw;
  }
  .modal-thumbs {
    width: 11vw;
  }
  .modal-attention {
    margin: 0 auto;
    width: 80.333vw;
  }
  .modal-travelers {
    margin-top: 8.25vh;
  }
  .modal-travelers-hedding {
    margin-bottom: 20px;
  }
  .modal-travelers-box:not(:last-of-type) {
    margin-bottom: 4.126vh;
  }
  .modal-travelers-description {
    margin-bottom: 17px;
  }
  .modal-end-slider {
    margin: 13.49vh 0 4.49vh;
  }
}
