/* ==================================================
  Base
================================================== */
:root {
  --bgSide: #ffebda;
  --bgCenter: #fff;
  --line: rgba(15, 23, 42, 0.1);
  --radius: 0px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bgSide);
  font-family: system-ui, -apple-system, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  overflow: hidden;
}

#s02 .fvCta {
  padding-bottom: 40px;
  text-align: center;
}

#s13 .fvCta {
  padding-top: 40px;
  text-align: center;
}

#s05 .sectionCta {
  top: 96%;
}

#s10 {
  padding-bottom: 30px;
}

/* ==================================================
  Layout Shell
================================================== */
.lpShell {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* ==================================================
  Side Columns
================================================== */
.lpSide {
  height: 100%;
}

.lpSide__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bgSide);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sidePitch--lite img {
  display: block;
  margin: 0 auto 20px;
}

/* ==================================================
  Right Menu
================================================== */
.lpSideNav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lpSideNav__link {
  display: block;
  text-decoration: none;
  color: #f17c1d;
  font-weight: 800;
  text-align: center;
  padding: 10px 0;
  background: transparent;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.lpSideNav__link:hover {
  opacity: 0.8;
}

.lpSideNav__link.is-active {
  opacity: 1;
}

/* ==================================================
  CTA Button
================================================== */
.sideCta,
.sideCta_g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vmax;
  border: 0.125rem solid #161616;
  box-shadow: 0.1875rem 0.1875rem 0 0 #161616;
  background: #00c700;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  width: 350px;
  padding: 18px 22px;
  transition: color 0.2s ease-out, background-color 0.2s ease-out, transform 0.05s ease-out, box-shadow 0.05s ease-out;
  /* ふわっと上下に動く（注目させる）*/
  animation: ctaFloat 1.8s ease-in-out infinite;
  will-change: transform;
}
.sideCta:hover,
.sideCta_g:hover {
  background: #fff;
  color: #161616;
  animation-play-state: paused; /* ホバー中は止めて落ち着かせる */
}
.sideCta:active,
.sideCta_g:active {
  transform: translate(0.1875rem, 0.1875rem) !important; /* 押し込みを優先 */
  box-shadow: 0 0 0 0 #161616;
  animation-play-state: paused;
}

/* CTAボタンのアニメーション本体 */
@keyframes ctaFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* 動きを嫌う設定の人には止める（アクセシビリティ配慮）*/
@media (prefers-reduced-motion: reduce) {
  .sideCta,
  .sideCta_g {
    animation: none;
  }
}

.voice-before {
  padding-bottom: 30px;
}

/* ==================================================
  Center Column
================================================== */
.lpMain {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  background: var(--bgCenter);
}
.lpMain::-webkit-scrollbar {
  display: none;
}
.lpMain {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ==================================================
  Sections / Images
================================================== */
.imgSection {
  padding: 0;
}
.fv {
  position: relative;
}

.stack {
  position: relative;
  width: 100%;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stack img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==================================================
  #s01 CTA（FV）
================================================== */
#s01 .stack img {
  width: 100%;
  height: auto;
}

#s01 .fvCta {
  position: absolute;
  left: 50%;
  top: 94%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

#s01 .fvCta__note {
  margin: 0;
  color: #161616;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ==================================================
  section--cta（被せCTA共通）
================================================== */
.section--cta {
  position: relative;
}

.section--cta .sectionCta {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  padding: 0;
}

.sectionCta__note {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #161616;
  line-height: 1.4;
}

.sectionCta__bottom {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

/* ==================================================
  ミドルCTA
================================================== */
.middle-section {
  display: block;
  margin: 0 auto 50px;
}

.middle-section .sectionCta {
  display: block;
  pointer-events: auto;
  padding: 0;
  text-align: center;
}

/* ==================================================
  左側
================================================== */
.sidePitch {
  color: #f17c1d;
}

.sidePitch__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sidePitch__micro {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.9;
}

.lpSide--left .fvCta__note {
  color: #f17c1d;
  font-weight: 900;
  margin: 0;
}

/* ==================================================
  LP 最後の CTA
================================================== */
.lpLastCta {
  background: var(--bgCenter);
  padding: 96px 24px;
}
.lpLastCta__inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.lpLastCta__noteImg {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
}
.lpLastCta__micro {
  margin: 0;
  font-size: 11px;
  text-align: center;
}

/* ==================================================
  Footer
================================================== */
.siteFooter {
  background: #f17c1d;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.siteFooter small {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
}

/* ==================================================
  PC用：画像内共通CTA配置設定
================================================== */
.stack {
  position: relative;
}

.stack .sectionCta {
  position: absolute;
  left: 50%;
  top: var(--ctaTop, 95%);
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  width: 100%;
}

/* PC用のセクションごとの高さ調整 */
#s05 .sectionCta {
  --ctaTop: 96%;
}
#s07 .sectionCta {
  --ctaTop: 90%;
}

.fvCta__note {
  margin: 0;
}

/* ==================================================
  紹介実績スライダー（#s10）
================================================== */
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.section--record {
  background-color: #f0f3fa;
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}

.recordHeader {
  text-align: center;
  margin-bottom: 30px;
}
.recordHeader__line {
  display: block;
  width: 60px;
  height: 2px;
  background: #161616;
  margin: 0 auto 8px;
  transform: rotate(-15deg);
}
.recordHeader__en {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #222;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.recordHeader__ja {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.recordSwiper {
  padding: 10px 0 40px !important;
  width: 100%;
}

.recordCard {
  background: #fff;
  border: 2px solid #161616;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 100%;
  box-sizing: border-box;
}

.recordCard__imgWrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.recordCard__body {
  text-align: center;
  padding-top: 16px;
}

.recordCard__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #161616;
  position: relative;
  display: inline-block;
}
.recordCard__title::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #ff3b30;
  border-radius: 50%;
}

.recordCard__label {
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 0;
  width: 100%;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.recordCard__oldPrice {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.recordCard__arrow {
  font-size: 16px;
  margin: 2px 0;
  background: linear-gradient(to bottom, #3089f5, #6bbfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.recordCard__newPrice {
  margin: 0;
  font-size: 72px;
  font-weight: 900;
  color: #ff3b30;
  line-height: 1;
  font-family: sans-serif;
}
.recordCard__newPrice span {
  font-size: 20px;
  font-weight: 700;
  margin-left: 2px;
}

.swiper-pagination-bullet-active {
  background: #0079a2 !important;
}

/* ==================================================
  Responsive（スマホ・タブレット対応設定）
================================================== */

/* --- 1. Tablet（1100px以下） --- */
@media (max-width: 1100px) {
  body {
    overflow: hidden;
    background: var(--bgSide);
  }
  .lpShell {
    grid-template-columns: 1fr 1fr;
  }
  .lpShell > .lpSide:first-child {
    display: none;
  }
  .lpMain {
    grid-column: 1;
  }
  .lpShell > .lpSide:last-child {
    display: block;
    grid-column: 2;
  }
  .lpSideNav {
    transform: none;
  }
}

/* --- 2. SP（1024px以下）：各セクションのボタン位置をスマホ用に完全最適化 --- */
@media (max-width: 1024px) {
  body {
    overflow: auto;
    background: var(--bgCenter);
  }

  .lpShell {
    display: block;
    height: auto;
    width: 100%;
  }

  .lpSide {
    display: none !important;
  }

  .lpMain {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0;
    grid-column: 1 / -1;
  }

  .stack {
    position: relative !important;
    width: 100% !important;
  }

  /* 共通の重ね合わせ土台設定 */
  .stack .sectionCta,
  .section--cta .sectionCta,
  #s01 .fvCta,
  #s05 .sectionCta,
  #s07 .sectionCta,
  #s13 .sectionCta {
    position: absolute !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #s05 .sectionCta {
    top: 96% !important;
  }
  #s07 .sectionCta {
    top: 90% !important;
  } /* ご指定の通りスマホでも90%に固定 */
  #s13 .sectionCta {
    top: 76% !important;
  } /* スマホの縦長画像に合わせて中央へ調整 */

  /* 例外：s02（特徴エリア）は画像の下に隙間を開けて通常配置 */
  #s02 .fvCta {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    padding: 30px 20px !important;
    background-color: #f0f3fa !important;
  }

  .fvCta__note,
  .sectionCta__note,
  .sidePitch__micro,
  .lpLastCta__micro {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important; /* 絶対に自動改行させない */
    font-size: 14px !important;
    margin: 0 0 4px 0 !important;
    display: block !important;
  }

  .fvCta__btns {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }

  /* 💥 ボタンの横幅をスマホの画面幅に最適化 */
  .sideCta,
  .sideCta_g {
    width: 85% !important;
    max-width: 340px !important;
    box-sizing: border-box !important;
    padding: 16px 20px !important;
    font-size: 18px !important;
  }

  .siteFooter {
    padding: 32px 16px;
  }
  .siteFooter small {
    font-size: 12.5px;
  }
}

/* --- 3. 小型スマホ（600px以下）の微調整 --- */
@media (max-width: 600px) {
  #s13 .sectionCta {
    top: 95% !important; /* 画面が極端に狭いスマホでの微調整 */
  }

  .fvCta__note,
  .sectionCta__note {
    font-size: 11px !important;
  }

  .sideCta,
  .sideCta_g {
    max-width: 300px !important;
    font-size: 16px !important;
    padding: 13px 16px !important;
  }

  .siteFooter {
    padding: 28px 16px;
  }
  .siteFooter small {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
}

/* ==================================================
  FAQ アコーディオン
================================================== */
.faqSection {
  background: #fff;
  padding: 60px 0 70px;
}

.faqInner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.faqTitle {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #3d4f58;
  margin: 0 0 40px;
  letter-spacing: 0.06em;
}

.faqList {
  margin: 0;
  padding: 0;
}

.faqItem {
  border-bottom: 2px solid var(--bgSide);
}
.faqItem:first-child {
  border-top: 2px solid var(--bgSide);
}

.faqQ {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 4px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faqQ__label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #faa749;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faqQ__text {
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  color: #3d4f58;
  line-height: 1.5;
}

.faqQ__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}
.faqQ__icon::before,
.faqQ__icon::after {
  content: "";
  position: absolute;
  background: #132e89;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faqQ__icon::before {
  width: 2px;
  height: 14px;
}
.faqQ__icon::after {
  width: 14px;
  height: 2px;
}

/* 開いた時：縦線を回転して×→＋の逆 */
.faqItem.is-open .faqQ__icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faqA {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faqItem.is-open .faqA {
  grid-template-rows: 1fr;
}

.faqA__inner {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding: 0 4px 0 40px;
}
.faqItem.is-open .faqA__inner {
  padding-bottom: 22px;
}

/* ==================================================
  LINE CTAボタン アイコン
================================================== */
.sideCta .lineIcon,
.sideCta_g .lineIcon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
