/* ==================================================
  Base
================================================== */
:root{
  --bgSide:#bfe4ff;
  --bgCenter:#fff;
  --line:rgba(15,23,42,.10);
  --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{
  background-color: #f0f3fa;
  padding-bottom: 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:#0079a2;
  font-weight:800;
  text-align:center;
  padding:10px 0;
  background:transparent;
  opacity:.6;
  transition: opacity .2s ease;
}

.lpSideNav__link:hover{
  opacity:.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:320px;
  padding:18px 22px;
  transition: color .2s ease-out, background-color .2s ease-out, transform .05s ease-out, box-shadow .05s ease-out;
}
.sideCta:hover, .sideCta_g:hover{
  background:#fff;
  color:#161616;
}
.sideCta:active, .sideCta_g:active{
  transform: translate(0.1875rem, 0.1875rem);
  box-shadow:0 0 0 0 #161616;
}

.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:87%;
  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:.06em;
  line-height:1.4;
}

#s01 .fvCta__btns{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* ==================================================
  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:0;
  font-size:14px;
  font-weight:700;
  letter-spacing:.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:#0079a2;
}

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

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

.lpSide--left .fvCta__note{
  color:#0079a2;
  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: #133A61;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.siteFooter small {
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.6;
  text-align: center;
  opacity: .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: 14px 20px !important;
    font-size: 15px !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: 280px !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
  }

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