@charset "utf-8";

/*---------------rootの基本設定---------------*/
:root {
  /* カラーパレット */
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --bg-beige: #f3f0e8;
  --text-color: #333;
  --white--: #ffffff;
  --gold--: #b49f68;
  --black--: #000000;
  --footer-bg: #222222;

  /* フォントサイズ */
  --font-small: 12px; /* 12px */
  --font-medium: 16px; /* 16px */
  --font-large: 20px; /* 20px */

  /* スペーシング */
  --spacing-small: 8px;
  --spacing-medium: 16px;
  --spacing-large: 24px;
}

/*---------------デバイス別表示・非表示---------------*/
/* PC専用（769px以上で表示） */
.pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

/* タブレット専用（768px〜1024px） */
.tablet-only {
  display: none;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tablet-only {
    display: block;
  }
}

/* スマホ専用（500px以下で表示） */
.sp-only {
  display: none;
}
@media screen and (max-width: 500px) {
  .sp-only {
    display: block !important;
  }
}

/* モバイル専用（768px以下で表示：タブレット+スマホ） */
.mobile-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }
}
/*---------------デバイス別表示・非表示の設定終了---------------*/

/*---------------headerの基本設定---------------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-beige);
  color: var(--text-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(-100px);
  transition: transform 0.3s ease-in-out;
}
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: auto;
  padding-block: 20px;
  padding-inline: 20px;
  width: 100%;
  /*max-width: min(95.83vw, 1380px);*/
  height: 100%;
  min-height: min(6.32vw, 80px);
}
.header_logo img {
  width: 100%;
}
.header_nav {
  display: flex;
  align-items: center;
  gap: min(1.67vw, 24px);
}
@media screen and (max-width: 768px) {
  .header_nav {
    display: none;
  }
}
.header_nav ul {
  display: flex;
  gap: 40px;
  font-size: var(--font-medium);
}
/*ボタン設定*/
.header_btn {
  width: min(13.8vw, 200px);
}
.btn_gold {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: min(0.97vw, 14px);
  padding-bottom: min(1.11vw, 16px);
  padding-left: min(0.69vw, 10px);
  padding-right: min(0.69vw, 10px);
  font-size: min(1.11vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  border-radius: min(42vw, 6px);
  transition: all 0.3s ease;
  background-color: var(--gold--);
  color: var(--white--);
}
/*---------------ハンバーガーナビ---------------*/
.openbtn {
  display: none;
}
#g-nav {
  display: none;
}

/*---------------g-naviとボタンの設定---------------*/
@media screen and (max-width: 768px) {
  .openbtn {
    display: block;
    position: fixed;
    z-index: 4000;
    /*ボタンを最前面に*/
    top: 15px;
    right: 20px;
    cursor: pointer;
    width: 45px;
    height: 45px;
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #000;
    width: 80%;
    height: 2px;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 80%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 80%;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #g-nav {
    display: block;
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 3000;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 60%;
    /*半分とか調整をする際は、g-nav-listも合わせる*/
    height: 100dvh;
    /*ナビの高さ - dvhを使用してモバイルブラウザのUIを考慮*/
    background: #fff;
    /*動き*/
    transition: all 0.6s;
  }
  #g-nav.panelactive {
    right: 0;
  }
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 3000;
    width: 60%;
    /*半分とか調整をする際は、g-navも合わせる*/
    height: 100dvh;
    /*表示する高さ - dvhを使用*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    width: 100%;
    z-index: 3000;
    margin-top: 100px;
  }
  #g-nav ul .sns-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    margin-left: 10px;
  }
  #g-nav ul .sns-wrapper .x-logo a img {
    width: 20px;
    height: 20px;
  }
  #g-nav ul .sns-wrapper .insta-logo a img {
    width: 25px;
    height: 25px;
  }
  #g-nav li {
    font-size: 1.5rem;
    list-style: none;
    text-align: left;
    padding-inline: 20px; /* 左右の余白 */
  }
  #g-nav li li:not(:first-child) {
    margin-top: 20px;
  }
  #g-nav li a {
    color: #000;
    text-decoration: none;
    padding: 10px 0; /* 上下のみpadding */
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #ddd; /* 下線を左右端べったりじゃなく余白を持たせる */
  }
  /*---------------navi内のボタンの設定---------------*/
  /*ボタン設定*/
  .g_nav_btn {
    width: 80%;
    margin: 50px auto;
  }
  .g_nav_btn_gold {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: min(1.82vw, 14px);
    padding-bottom: min(2.08vw, 16px);
    padding-left: min(1.3vw, 10px);
    padding-right: min(1.3vw, 10px);
    font-size: min(3.72vw, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    border-radius: min(0.78vw, 6px);
    transition: all 0.3s ease;
    background-color: var(--gold--);
    color: var(--white--);
  }
  /* オーバーレイのスタイル */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1500;
  }

  #overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
/*---------------header設定終了---------------*/

/* スクロール制御（メディアクエリ外に配置） */
html.no-scroll,
html.no-scroll body {
  overflow: hidden;
}

/*---------------mv-topの基本設定---------------*/
.mv_top_wrapper {
  position: relative;
  padding-top: min(2.08vw, 30px);
  padding-inline: min(2.08vw, 30px);
  background-color: var(--bg-beige);
  overflow-x: hidden; /* 横スクロールを防止 */
  max-width: 100vw; /* 画面幅を超えないように */
}
/*---------------mv-top-hedaerの基本設定---------------*/
.mv_top_header {
  width: 100%;
  background-color: var(--bg-beige);
  color: var(--text-color);
}
.mv_top_header_inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
  height: 100%;
  min-height: min(6.32vw, 80px);
}
@media screen and (max-width: 768px) {
  .mv_top_header_inner {
    padding-bottom: min(2.08vw, 30px);
  }
}
@media screen and (max-width: 450px) {
  .mv_top_header_inner {
    padding-bottom: min(9.3vw, 40px);
  }
}

.mv_top_header_logo img {
  position: absolute;
  top: 0;
  left: 0;
  padding-block: min(1.04vw, 15px);
  padding-inline: min(2.7vw, 40px);
  z-index: 10;
  width: clamp(480px, 3.82vw, 550px);
}
@media screen and (max-width: 1440px) {
  .mv_top_header_logo img {
    top: min(2.08vw, 30px);
    width: min(29.86vw, 430px);
  }
}
@media screen and (max-width: 768px) {
  .mv_top_header_logo img {
    top: 0px;
    width: min(37.1vw, 285px);
    padding-block: min(2.6vw, 20px);
    padding-inline: min(4.17vw, 60px);
  }
}
@media screen and (max-width: 450px) {
  .mv_top_header_logo img {
    width: min(37.2vw, 160px);
    top: min(3.3vw, 15px);
    padding-block: min(2.32vw, 10px);
    padding-inline: min(4.65vw, 20px);
  }
}
.mv_top_header_nav {
  display: flex;
  align-items: center;
  gap: min(1.67vw, 24px);
}
@media screen and (max-width: 768px) {
  .mv_top_header_nav {
    display: none;
  }
}
.mv_top_header_nav ul {
  display: flex;
  gap: 40px;
  font-size: var(--font-medium);
}
/*ボタン設定*/
.mv_top_header_btn {
  width: min(13.8vw, 200px);
}
.btn_gold {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: min(0.97vw, 14px);
  padding-bottom: min(1.11vw, 16px);
  padding-left: min(0.69vw, 10px);
  padding-right: min(0.69vw, 10px);
  font-size: min(1.11vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  border-radius: min(42vw, 6px);
  transition: all 0.3s ease;
  background-color: var(--gold--);
  color: var(--white--);
}
@media screen and (max-width: 768px) {
  .openbtn_mv {
    display: block;
    position: fixed;
    z-index: 4000;
    /*ボタンを最前面に*/
    top: 15px;
    right: 20px;
    cursor: pointer;
    width: 45px;
    height: 45px;
  }
  .openbtn_mv span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #000;
    width: 80%;
    height: 2px;
  }
  .openbtn_mv span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn_mv span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn_mv span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn_mv.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 80%;
  }
  .openbtn_mv.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn_mv.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 80%;
  }
}
@media screen and (max-width: 640px) {
  .openbtn_mv {
    top: 0;
  }
}
@media screen and (max-width: 500px) {
  .openbtn_mv {
    top: -4px;
  }
}
/*---------------mv-top-hedaer設定終了---------------*/

/*---------------mv-topコンテンツの基本設定---------------*/
.mv_top_content {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: hidden; /* 横スクロールを明示的に防止 */
  -webkit-mask-image: url("../img/mask.png");
  -webkit-mask-size: 100% 100%;
  mask-image: url("../img/mask.png");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center center;
}

.mv_top_content ul {
  position: relative;
  width: 100%;
  height: min(50vw, 720px); /* 幅の50%(2:1比率)、最大720px */
  margin-inline: auto;
  aspect-ratio: 2 / 1; /* 2:1の比率を維持 */
}

.mv_top_content ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(26deg, rgba(0, 0, 0, 0.6), transparent);
  z-index: 2; /* 画像の上に配置 */
  pointer-events: none; /* クリックイベントを通過させる */
}

@media screen and (max-width: 768px) {
  .mv_top_content {
    -webkit-mask-image: url("../img/mask_sp.png");
    mask-image: url("../img/mask_sp.png");
    mask-position: unset;
  }
  .mv_top_content ul {
    height: 100vh !important; /* スマホ用に高さを調整 */
    aspect-ratio: unset !important; /* 768px以下ではaspect-ratioを解除 */
  }
  @media screen and (max-width: 500px) {
    .mv_top_content ul {
      height: min(150vw, 750px) !important;
      aspect-ratio: 16 / 9 !important; /* 16:9の比率で表示 */
    }
  }
  .mv_top_content ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(26deg, rgba(0, 0, 0, 0.6), transparent);
    z-index: 2; /* 画像の上に配置 */
    pointer-events: none; /* クリックイベントを通過させる */
  }
}

.mv_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1; /* グラデーションより下に配置 */
}

.mv_image.active {
  opacity: 1;
}
/*---------------mv-top-banner(pc用)コンテンツ設定---------------*/
.mv_bottom_text_banner_wrapper {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 3;
}
.mv_bottom_text_banner_wrapper_sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .mv_bottom_text_banner_wrapper {
    display: none;
  }
}
.mv_bottom_text_banner_inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: flex-end;
  padding-inline: min(4.16vw, 60px);
  padding-bottom: min(2.08vw, 30px);
}
.bt_text_wrapper {
  display: flex;
  flex-direction: column;
  gap: min(0.69vw, 10px);
}
.bt_text_one,
.bt_text_two {
  font-size: min(2.77vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white--);
}
.bt_text_border {
  border-bottom: min(0.06vw, 1px) solid var(--white--);
  width: fit-content;
}
.bt_text_info {
  margin-top: min(1.38vw, 20px);
}
.bt_text_info ul {
  display: flex;
  align-items: center;
  gap: min(2.77vw, 40px);
}
.bt_text_info ul li {
  position: relative;
  font-size: min(1.11vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white--);
  padding-left: min(1.38vw, 20px);
}
.bt_text_info ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--gold--);
}
/* 右下バナー */
.mv_bottom_right_banner_btn {
  width: min(31.25vw, 450px); /* バナー全体の幅 */
  height: min(8.33vw, 120px); /* バナー全体の高さ */
}
.mv_bottom_right_banner_btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mv_bottom_right_banner_btn img {
  width: 40%; /* 画像の幅を40%に制限 */
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.mbr_banner_text_wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: min(1.38vw, 20px);
  padding-right: min(1.38vw, 20px);
  background-color: var(--white--);
  width: 60%; /* テキスト部分を60%に */
  height: 100%;
}
/* 右下の三角形 */
.mbr_banner_text_wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 min(3.47vw, 50px) min(3.47vw, 50px);
  border-color: transparent transparent #333 transparent;
}
/* 右下の矢印 */
.mbr_banner_text_wrapper::before {
  content: "→";
  position: absolute;
  bottom: min(0.34vw, 5px);
  right: min(0.34vw, 5px);
  color: var(--white--);
  font-size: min(1.38vw, 20px);
  z-index: 1;
  line-height: 1;
}
.mbr_text_small {
  font-size: min(1.04vw, 15px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-color--);
}
.mbr_text_large {
  font-size: min(1.38vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-color--);
}
/*---------------mv-top-banner(sp用)コンテンツ設定---------------*/
@media screen and (max-width: 768px) {
  .mv_bottom_text_banner_wrapper {
    display: none;
  }
  .mv_bottom_text_banner_wrapper_sp {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    margin-bottom: min(3.9vw, 30px);
    width: 100%;
    z-index: 3;
  }
  .mv_bottom_text_banner_inner_sp {
    display: block;
    padding-inline: min(3.9vw, 30px);
  }
  .bt_text_wrapper_sp {
    display: flex;
    flex-direction: column;
    gap: min(0.69vw, 10px);
    margin-bottom: min(3.81vw, 30px);
    text-align: left;
  }
  .bt_text_one_sp,
  .bt_text_two_sp {
    font-size: min(3.9vw, 30px);
    color: var(--white--);
    font-weight: 700;
    line-height: 1.2;
  }
  @media screen and (max-width: 430px) {
    .bt_text_one_sp,
    .bt_text_two_sp {
      font-size: min(6.97vw, 30px);
      line-height: 1.6;
    }
  }

  .bt_text_info_sp {
    margin-top: min(1.3vw, 10px);
  }

  .bt_text_info_sp ul li {
    position: relative;
    font-size: min(3.12vw, 18px);
    color: var(--white--);
    font-weight: 400;
    line-height: 1.5;
    padding-left: min(1.95vw, 15px);
  }
  @media screen and (max-width: 430px) {
    .bt_text_info_sp ul li {
      font-size: min(3.48vw, 15px);
      padding-left: min(3.48vw, 15px);
    }
  }

  .bt_text_info_sp ul li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold--);
  }
}
/*---------------mv-topコンテンツ設定終了---------------*/

/*---------------Footerの基本設定---------------*/
footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding-block: min(4.16vw, 60px);
  padding-inline: min(2.08vw, 30px);
}
.footer_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: auto;
  width: 100%;
  max-width: min(80.55vw, 1160px);
}
.footer_logo img {
  width: 100%;
  max-width: min(20.83vw, 288px);
}
.footer_nav ul {
  display: flex;
  gap: min(2.77vw, 40px);
  font-size: var(--font-medium);
  color: var(--white--);
}
.footer_nav ul li a {
  color: var(--white--);
}
.footer_btn {
  width: min(13.8vw, 200px);
  margin-top: min(1.38vw, 20px);
}
.btn_gold {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: min(0.97vw, 14px);
  padding-bottom: min(1.11vw, 16px);
  padding-left: min(0.69vw, 10px);
  padding-right: min(0.69vw, 10px);
  font-size: min(1.11vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  border-radius: min(42vw, 6px);
  transition: all 0.3s ease;
  background-color: var(--gold--);
  color: var(--white--);
}

@media screen and (max-width: 768px) {
  footer {
    padding-block: min(7.81vw, 60px);
    padding-inline: min(3.9vw, 30px);
  }
  .footer_logo img {
    width: 100%;
    max-width: min(37.5vw, 288px);
  }
  .footer_nav ul {
    gap: min(2.6vw, 20px);
  }
  .footer_btn {
    width: min(26.04vw, 200px);
  }
  .btn_gold {
    font-size: min(2.08vw, 16px);
  }
  @media screen and (max-width: 430px) {
    footer {
      padding-block: min(13.95vw, 60px);
      padding-inline: min(6.97vw, 30px);
    }
    .footer_inner {
      flex-direction: column;
      gap: min(6.97vw, 40px);
    }
    .footer_logo img {
      width: 100%;
      max-width: min(66.97vw, 288px);
    }
    .footer_nav ul {
      gap: min(4.65vw, 20px);
    }
    .footer_btn {
      margin: 20px auto;
      width: min(46.51vw, 200px);
    }
    .btn_gold {
      font-size: min(3.72vw, 16px);
    }
  }
}
/*---------------Footer設定終了---------------*/
