/* 英語 フォント */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* 日本語 フォント */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/Noto_Sans_JP/NotoSansJP-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Font Families */
  --Font-EN: "Manrope", sans-serif;
  --Font-JP: "Noto Sans JP", sans-serif;

  /* Font Weights for Japanese Font */
  --FontWeight-JP-Light: 300;
  --FontWeight-JP-Regular: 400;
  --FontWeight-JP-Medium: 500;
  --FontWeight-JP-Semibold: 600;

  /* Font Weights for English Font */
  --FontWeight-EN-ExtraLight: 200;
  --FontWeight-EN-Light: 300;
  --FontWeight-EN-Medium: 400;

  /* Grayscale colors */
  --Color_GrayScale-Black: #212121;
  --Color_GrayScale-Gray30: #4d4d4d;
  --Color_GrayScale-Gray70: #b3b3b3;
  --Color_GrayScale-Gray95: #f2f2f2;
  --Color_GrayScale-White: #ffffff;

  /* Primary and secondary colors */
  --Color-Primary: #205289;
  --Color-Primary_Light: #accaec;
  --Color-Secondary: #e5bb21;

  /* Border and background colors */
  --Color-Border: #ced7e2;
  --Color-BG: #f4f4f4;
  --Color-Hover: #232f3d;
}

html {
  scroll-padding-top: 32px; /* スクロール時に上部に32pxの余白を追加 */
}

.page-smooth-scroll {
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 24.883vw;
  }
}

body {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  font-display: swap;
  background-color: var(--Color-BG);
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  height: auto;
}

.to-pc {
  display: block;
}

.to-sp {
  display: none;
}

@media (max-width: 1024px) {
  .to-pc {
    display: none !important; /* スマホ表示時は非表示 */
  }

  .to-sp {
    display: block !important; /* スマホ表示時は表示 */
  }
}

.view-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 124px;
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--Color_GrayScale-Gray70);
  color: var(--Color_GrayScale-Black);
  text-decoration: none;
}

.view-more::after {
  content: "";
  display: block;
  width: 24px; /* アイコンの幅 */
  height: 24px; /* アイコンの高さ */
  background-image: url("../images/common/arrow_forward.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.view-more-white {
  color: var(--Color_GrayScale-White);
  border-color: var(--Color_GrayScale-White);
}

.view-more-white::after {
  content: "";
  display: block;
  width: 24px; /* アイコンの幅 */
  height: 24px; /* アイコンの高さ */
  background-image: url("../images/common/arrow_forward_white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 汎用的な見出しのスタイル */
.section-heading {
  font-size: 40px;
  line-height: 1.5;
  color: var(--Color-Primary);
  font-weight: var(--FontWeight-EN-ExtraLight);
  font-family: "Manrope";
  margin-bottom: 32px;
}

/* MV画像がある下層ページ */
.lower-page.has-mv .main-wrapper {
  width: 100%;
  margin: 0;
}

.lower-page.has-mv .mv-area {
  height: 100vh;
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 80px; /* 下マージン 80px */
  position: relative;
}

/* 知る・楽しむトップページ */
.lower-page.has-mv .main-wrapper .no-mv-area {
  margin: 80px 0 160px;
  position: relative;
  height: 690px;
}

.lower-page.has-mv .main-wrapper .no-mv-area .image01 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 800px;
  height: 450px;
}

.lower-page.has-mv .main-wrapper .no-mv-area .image02 {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 400px;
}

@media (min-width: 1025px) {
  .breadcrumb a {
    color: var(--Color_GrayScale-Gray70);
    text-decoration: none;
  }

  .breadcrumb span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
  }

  .mv-area .breadcrumb span {
    color: var(--Color_GrayScale-Black);
  }

  .has-mv .mv-area .breadcrumb a,
  .has-mv .mv-area .breadcrumb span {
    color: var(--Color_GrayScale-White);
    text-decoration: none;
  }

  .lower-page .breadcrumb {
    width: 67.075vw;
    margin-bottom: 5.442vw;
    margin: 0 auto; /* 左右中央揃え */
    font-size: 0.816vw;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 2.177vw;
  }

  .lower-page .breadcrumb ul {
    display: flex;
    justify-content: flex-start;
  }

  .lower-page .breadcrumb ul li {
    list-style-type: none;
    display: flex;
    align-items: center;
    position: relative;
  }

  .lower-page .breadcrumb ul li:not(:first-child)::before {
    content: "";
    width: 4px;
    height: 1px;
    margin: 0 8px;
    display: block;
    align-self: center;
    background-color: var(--Color_GrayScale-Black);
  }

  .has-mv .mv-area .breadcrumb ul li:not(:first-child)::before {
    background-color: var(--Color_GrayScale-White) !important;
  }
}

@media (max-width: 1024px) {
  .breadcrumb a {
    color: var(--Color_GrayScale-Gray70);
    text-decoration: none;
  }

  .breadcrumb span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
    max-width: 73.791vw;
  }

  .mv-area .breadcrumb span {
    color: var(--Color_GrayScale-Black);
  }

  .has-mv .mv-area .breadcrumb a,
  .has-mv .mv-area .breadcrumb span {
    color: var(--Color_GrayScale-White);
    text-decoration: none;
  }

  .lower-page .breadcrumb {
    width: 67.075vw;
    margin-bottom: 5.442vw;
    margin: 0 auto; /* 左右中央揃え */
    font-size: 0.816vw;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 2.177vw;
  }

  .lower-page .breadcrumb ul {
    display: flex;
    justify-content: flex-start;
  }

  .lower-page .breadcrumb ul li {
    list-style-type: none;
    display: flex;
    align-items: center;
    position: relative;
  }

  .lower-page .breadcrumb ul li:not(:first-child)::before {
    content: "";
    width: 4px;
    height: 1px;
    margin: 0 8px;
    display: block;
    align-self: center;
    background-color: var(--Color_GrayScale-Black);
  }

  .has-mv .mv-area .breadcrumb ul li:not(:first-child)::before {
    background-color: var(--Color_GrayScale-White) !important;
  }
}

/* ページタイトルエリアのスタイル */
.has-mv .mv-area .page-title {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  color: var(--Color_GrayScale-White); /* 文字色を白に */
  font-weight: var(--FontWeight-JP-Light);
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 0.3em;
}

/* MV画像がない下層ページ（テキストタイトルエリア） */
.lower-page.no-mv .title-area {
  width: 986px;
  margin: 0 auto 80px;
  text-align: center;
}

.lower-page .main-wrapper {
  width: 1146px;
  margin: 80px auto 160px; /* メインコンテンツの余白 */
}

.lower-page .main-wrapper .section:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .view-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 8.435vw;
    font-size: 0.952vw;
    line-height: 1.5;
    padding-bottom: 0.544vw;
    border-bottom: 1px solid var(--Color_GrayScale-Gray70);
    color: var(--Color_GrayScale-Black);
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }

  .view-more::after {
    content: "";
    display: block;
    width: 1.633vw;
    height: 1.633vw;
    background-image: url(../images/common/arrow_forward.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease-in-out;
  }

  /* hover時のアニメーション */
  .view-more:hover::after {
    animation: arrow-slide 0.5s ease-in-out forwards;
  }

  @keyframes arrow-slide {
    0% {
      transform: translateX(0);
      opacity: 1;
    }
    50% {
      transform: translateX(1vw);
      opacity: 0;
    }
    51% {
      transform: translateX(-1vw);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .view-more.view-more-white::after {
    content: "";
    display: block;
    width: 1.633vw; /* アイコンの幅 */
    height: 1.633vw; /* アイコンの高さ */
    background-image: url("../images/common/arrow_forward_white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* 汎用的な見出しのスタイル */
  .section-heading {
    font-size: 2.721vw;
    line-height: 1.5;
    color: var(--Color-Primary);
    font-weight: var(--FontWeight-EN-ExtraLight);
    margin-bottom: 2.177vw;
  }

  /* MV画像がある下層ページ */
  .lower-page.has-mv .main-wrapper {
    width: 100%;
    margin: 0;
  }

  .lower-page.has-mv .mv-area {
    height: 100vh;
    background-size: cover;
    background-position: center;
    padding-top: 5.442vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 5.442vw; /* 下マージン 80px */
    position: relative;
  }

  /* 知る・楽しむトップページ */
  .lower-page.has-mv .main-wrapper .no-mv-area {
    margin: 5.442vw 0 10.884vw;
    position: relative;
    height: 46.939vw;
  }

  .lower-page.has-mv .main-wrapper .no-mv-area .image01 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54.422vw;
    height: 30.612vw;
  }

  .lower-page.has-mv .main-wrapper .no-mv-area .image02 {
    position: absolute;
    top: 0;
    right: 0;
    width: 21.769vw;
    height: 27.211vw;
  }

  /* パンくずリストのスタイル */
  .lower-page .breadcrumb {
    width: 67.075vw;
    margin-bottom: 5.442vw;
    margin: 0 auto; /* 左右中央揃え */
    font-size: 0.816vw;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 2.177vw;
  }

  /* ページタイトルエリアのスタイル */
  .has-mv .mv-area .page-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    color: var(--Color_GrayScale-White); /* 文字色を白に */
    font-weight: var(--FontWeight-JP-Light);
    font-size: 2.721vw;
    line-height: 1.5;
    letter-spacing: 0.3em;
  }

  /* MV画像がない下層ページ（テキストタイトルエリア） */
  .lower-page.no-mv .title-area {
    width: 67.075vw;
    margin: 0 auto 80px;
    text-align: center;
  }

  .lower-page .main-wrapper {
    width: 77.959vw;
    margin: 80px auto 160px; /* メインコンテンツの余白 */
  }

  .lower-page .main-wrapper .section:last-of-type {
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .view-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 31.552vw;
    font-size: 3.562vw;
    line-height: 1.5;
    padding-bottom: 2.036vw;
    border-bottom: 1px solid var(--Color_GrayScale-Gray70);
    color: var(--Color_GrayScale-Black);
    text-decoration: none;
  }

  .view-more::after {
    content: "";
    display: block;
    width: 6.107vw; /* アイコンの幅 */
    height: 6.107vw; /* アイコンの高さ */
    background-image: url("../images/common/arrow_forward.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .view-more-white {
    color: var(--Color_GrayScale-White);
    border-color: var(--Color_GrayScale-White);
  }

  .view-more-white::after {
    content: "";
    display: block;
    width: 6.107vw; /* アイコンの幅 */
    height: 6.107vw; /* アイコンの高さ */
    background-image: url("../images/common/arrow_forward_white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* 汎用的な見出しのスタイル */
  .section-heading {
    font-size: 10.178vw;
    line-height: 1.5;
    color: var(--Color-Primary);
    font-weight: var(--FontWeight-EN-ExtraLight);
    margin-bottom: 8.142vw;
  }

  /* MV画像がある下層ページ */
  .lower-page.has-mv .main-wrapper {
    width: 100%;
    margin: 0;
  }

  .lower-page.has-mv .mv-area {
    height: calc(100vh - 21.883vw);
    background-size: cover;
    background-position: center;
    padding-top: 20.356vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20.356vw;
    position: relative;
  }

  /* 知る・楽しむトップページ */
  .lower-page.has-mv .main-wrapper .no-mv-area {
    margin: 0 0 20.356vw;
    position: static;
    height: auto;
    padding-top: 20.356vw;
  }

  .lower-page.has-mv .main-wrapper .no-mv-area .image01 {
    position: static;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
  }

  /* パンくずリストのスタイル */
  .lower-page .breadcrumb {
    width: 87.786vw;
    margin-bottom: 20.356vw;
    margin: 0 auto;
    font-size: 3.053vw;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 8.142vw;
  }

  .has-mv .mv-area .breadcrumb {
    color: var(--Color_GrayScale-White);
  }

  /* ページタイトルエリアのスタイル */
  .has-mv .mv-area .page-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    color: var(--Color_GrayScale-White);
    font-weight: var(--FontWeight-JP-Light);
    font-size: 10.178vw;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
  }

  /* MV画像がない下層ページ（テキストタイトルエリア） */
  .lower-page.no-mv .mv-area {
    padding-top: 20.356vw;
  }

  .lower-page.no-mv .title-area {
    width: 250.891vw;
    margin: 0 auto 80px;
    text-align: center;
  }

  .lower-page .main-wrapper {
    width: 87.786vw;
    margin: 0 auto;
  }

  .lower-page .main-wrapper .section:last-of-type {
    margin-bottom: 0;
  }
}

.language_wrapper {
  background: #fff;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  color: var(--Color-Primary);
  font-size: 14px;
}

/* 親要素の hover でメニュー表示 */
.simple-lang:hover .simple-lang-list {
  display: block;
}

.simple-lang {
  position: relative;
  cursor: pointer;
}

.simple-lang-current {
  padding: 8px 12px;
  color: var(--Color-Primary);
}

/* ドロップダウンメニュー */
.simple-lang-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  min-width: 100%;
  z-index: 10;
}

/* リンク */
.simple-lang-list li a {
  display: block;
  padding: 8px 12px;
  text-align: center;
  color: var(--Color-Primary);
  text-decoration: none;
}

.simple-lang-list li a:hover {
  background: #f2f2f2;
}
