@charset "UTF-8";
/* YOGARO CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
  background-color: #dddddd;
  /* scroll-padding-top: 56px; */
}
/* :root {
  --design-w: 440;
  --design-ww: 760;
} */
main img {
  /* 謎の下部余白消す */
  vertical-align: top;
  width: 100%;
}
img {
  display: block;
}
body {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 760px;
  /* width: calc(100vw * 760 / var(--design-ww)); */
  margin: 0 auto;
  min-height: 100vh;
  color: #fff;
  font-family: "Noto Serif JP", serif, "Noto Sans JP", "Noto Sans", YuGothic,
    "游ゴシック", "Yu Gothic", sans-serif; /* 左から当たっていく、必要最低限にする、WEBフォント使用時はCOMMONではなく各セクションに指定する */
  font-weight: 400;
  font-size: 1.6em;
  line-height: 3.8rem;
  font-style: normal;
  text-align: center;
  background-color: #ffffff;
}

/* ========================= HEADER ========================= */
header {
  background-color: #4e1f1b;
  position: fixed;
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: space-between;
  padding: 8px 24px;
  align-items: center;
  z-index: 9999999;
}
h1 {
  z-index: 999999;
}
h1 img {
  display: block;
  width: 4rem;
  height: auto;
}
.header_catch {
  font-size: 1.8rem;
}
/* ハンバーガーアイコン */
.hamburger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 25px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1001;
}

/* ハンバーガーの線 */
.hamburger-icon span {
  width: 30px;
  height: 3px;
  background: #b59b48;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute;
}

/* 1本目（上の線） */
.hamburger-icon span:nth-child(1) {
  top: 0;
}

/* 2本目（中央の線） */
.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

/* 3本目（下の線） */
.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* フルスクリーンメニュー */
.menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%); /* 中央に寄せる */
  width: 100%;
  max-width: 760px;
  height: 100vh;
  background: #4e1f1b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  padding-bottom: 10rem;
}

/* メニューが開いたとき */
.menu.active {
  opacity: 1;
  visibility: visible;
}

/* メニューのリンク */
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ddd;
}
.hamburger-menu.active .hamburger-icon span {
  background: #b59b48;
}
/* ハンバーガーアイコンが「×」に変形 */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.header__item--link .about {
  display: block; /* パディングやマージンを有効にするため */
  padding-top: 56px; /* ヘッダーの高さ分の余白 */
  margin-top: -56px; /* ヘッダーの高さ分だけ上にずらす */
}
/* ========================= HEADER ========================= */
.cta_wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 50px;
}

/* CTAの幅を合わせたい */
.ctaimg, .ctaimg_fixed,.ctaimg_fixed02,.cta_trial,.cta_trial_fixed,.cta_trial_fixed02 {
  /* width: 100%; */
}
.cta_wrap_fixed .ctaimg_fixed,
.cta_wrap .ctaimg {
  width: 100%;
  max-width: 320px; /* 追従ボタンと合わせたいサイズに調整 */
  height: auto;
  display: block;
}


.mv {
  position: relative;
}
.cta_wrap_fixed {
  position: absolute;
  top: 55.5%;
  display: flex;
  gap: 4%;
  padding: 0 5%;
}
.faq {
  position: relative;
}
.cta_wrap_fixed02 {
  position: absolute;
  top: 88%;
  display: flex;
  gap: 4%;
  padding: 0 5%;
}
.cta_trial_fixed,.cta_trial_fixed02 {
  display: flex;
  flex-direction: column;
  align-items: end;
}
/* ========================= CTA追従用 ========================= */
.cta_wrap {
  position: absolute; /* 初期位置は通常配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: center;
  gap: 4%;
  padding: 0 3%;
  transition: opacity 0.4s ease, bottom 0.3s ease;
  opacity: 0;
  z-index: 1000;
}

/* スクロールして表示された状態 */
.cta_wrap.fixed {
  position: fixed;
  bottom:  1rem;
  opacity: 1;
}

/* フッター直前で静止 */
.cta_wrap.stop {
  position: absolute;
  opacity: 1;
}

.cta_wrap.fadeout {
  opacity: 0; /* フェードアウト状態 */
  pointer-events: none; /* 非表示中クリック無効 */
}

/* ========================= CTA追従用 ========================= */
/* ========================= FOOTER ========================= */
footer {
  background-color: #262626;
  font-size: 1rem;
  line-height: initial;
  width: 100%;
  padding: 24px 0;
}
.footer_text {
  padding-left: 2em;
  text-indent: -2em;
  margin-bottom: 1rem;
}
.footer_text a {
  text-decoration: underline;
}
/* ========================= FOOTER ========================= */
main {
  font-size: 0;
  line-height: 0;
}
img {
  display: block;
}
