/* =========================
  Ikeuchi_KM LP - style.css (refactored)
  変更メモ:
  - 値は維持したまま、重複ルールを統合してセクション整理（Base/Tokens/Layout/Components/Media queries）
  - .btn / .btn--primary / .btn--ghost を変数中心に再編（::before内枠 / ::after右下三角は維持）
  - 分散していた同一条件の media query を集約（最終カスケード結果は維持）

  検証チェックリスト（変更前/変更後スクショ比較: 375/640/768/1024/1200px）:
  [ ] FV（背景画像・見出し位置・CTA幅）
  [ ] problem（背景ポリゴン・チェックリスト・proofカード）
  [ ] features（画像背面色面・テキスト面・ghostボタン）
  [ ] doctor（2カラム→1カラム遷移・画像幅）
  [ ] flow（縦ライン接続・番号丸）
  [ ] faq（開閉アイコン向き・余白）
  [ ] contact（フォーム2→1カラム・入力高さ）
  [ ] footer（グリッド崩れ・情報行）
  [ ] sticky-cta（表示/非表示・body下余白）
  [ ] ボタン（.btn::before内枠 / .btn::after三角 / hover挙動）
  ========================= */

/* ---- Design tokens ---- */

:root{
  --text:#333333;
  --muted:#6b6b6b;
  --line:#D9E2EC;
  --bg:#F7F9FC;
  --bg-alt:#eef2f7;
  /* --gold:#D4AF37; */
  --white: #fff;
  --gray: #bababa;
  --cta: #D97A3A;
  --gold:var(--blue);
  --gold-2:linear-gradient(60deg, #243B55, #6E8AA6);
  --gold-3:var(--navy);
  --navy:#243B55;
  --navy: #243B55;
  --blue: #7fbdfc;
  --navy-3:linear-gradient(135deg, #1c3047 0%, #243B55 45%, #3d5a77 100%);
  --navy-2:linear-gradient(135deg, #243B55, #6E8AA6);
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --radius:4px;
  --container:780px;

  --btn-font: "Noto Sans JP","Hiragino Kaku Gothic Pro",sans-serif;
  --btn-radius: 4px;
  --btn-pad-y: 1.4rem;
  --btn-pad-x: 2.8rem;
  --btn-caret-size: 10px;
  --btn-frame-gap: 7px;
  --bg-navy:#1c3047;

  /* Hero background-position tuning */
  --hero-pos-pc-x: 30%;
  --hero-pos-pc-y: 22%;
  --hero-pos-tab-x: 50%;
  --hero-pos-tab-y: 0%;
  --hero-pos-sp-x: 50%;
  --hero-pos-sp-y: 0%;
  --hero-overlay-pc: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 78%);
  --hero-overlay-tab: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 78%);
  --hero-overlay-sp: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 78%);
  /* --bg-navy: radial-gradient(circle at 52% 50%, rgba(121, 134, 173, 1), rgba(15, 40, 87, 1));
  --bg-white: linear-gradient(90deg, rgba(232, 232, 232, ) 0%, rgba(255, 253, 253, ) 25%, rgba(255,255,255,) 50%, rgba(255,255,255,) 78%); */
}

.accent {
  font-weight: 700;
}

.accent-sub {
  font-weight: 600;
}

/* ---- Base / reset ---- */
*,*::before,*::after{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","Times New Roman",serif;
  color:var(--white);
  background:var(--bg);
  line-height:1.6;
  overflow-x:clip;
}

main{
  padding-top:var(--header-offset,0px);
  background: var(--bg-navy);
}

img{max-width:100%;height:auto;display:block;}
a{color:inherit;}
button{font:inherit;color:inherit;background:none;border:0;}

strong {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--blue);
}

.section--alt strong,
.faq strong {
  color: var(--blue);
}

/* 全 span への色付けは事故るので禁止 → 強調だけ .accent を使う */

/* ---- Layout ---- */
.container{
  width:min(100%, var(--container));
  margin-inline:auto;
  padding-inline:24px;
  padding: 0.75rem 0;
}
.section{padding:64px 0;background:var(--bg);}
.section--alt{background:var(--bg-navy);}
.section--alt .section__title,
.section--alt .section__lead{color:#fff;}
.section__header{margin:0 0 24px;text-align:center;}
.section__title{
  margin:0 0 clamp(20px,5vw,32px);
  font-size:clamp(17px,3vw,25px);
  letter-spacing:.12em;
  color: var(--navy);
  text-align: center;

  /* ---- 背景装飾 ---- */
  /* 色: --gold-3 を使用。変えたい場合はここの変数を差し替えるだけ */
  /* background: linear-gradient(90deg, rgba(211, 211, 211, 1), rgba(112, 112, 112, 1)); */
  /* 左右に余白を取り、上下はフォントサイズに合わせて可変 */
  padding: clamp(4px, 1.4vw, 12px) clamp(28px, 8vw, 88px);
  /* 左右の斜めカット。%指定なので画面幅に関係なく比率が保たれる */
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  /* テキストが clip-path の外に出ないよう横幅を制限 */
  width: fit-content;
  max-width: 90%;
  /* 中央揃え（text-align:center と合わせて親要素起点で中央へ） */
  margin-inline: auto;
  margin-bottom: clamp(20px,5vw,32px);
  border-top:0;
  border-bottom:0;
  position:relative;

}

.section__title::before,
.section__title::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:currentColor;
  transform:scaleX(0);
  transition:transform .8s cubic-bezier(.22,1,.36,1);
}

.section__title::before{
  top:0;
  transform-origin:left center;
}

.section__title::after{
  bottom:0;
  transform-origin:right center;
}

.section__title.is-inview::before,
.section__title.is-inview::after{
  transform:scaleX(1);
}
.section__lead{margin:8px auto;color:var(--muted);max-width:70ch;}

span {
  font-weight: 600;
}

    .confirm__title {
      margin: 0 auto;
    }
/* button */
.btn,
.btn--design,
.btn-flow-actions {
  --btn-border-color: var(--cta);
  --btn-fill-color: var(--cta);
  --btn-text-color: var(--cta);
  --btn-hover-text-color: #f5faff;

  position: relative;
  display: inline-block;
  padding: 16px 40px;
  border: 2px solid var(--btn-border-color);
  background: transparent;
  color: var(--btn-text-color);
  text-decoration: none;
  text-align: center;
  font-family: var(--btn-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn::before,
.btn::after,
.btn--design::before,
.btn--design::after,
.btn-flow-actions::before,
.btn-flow-actions::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background-color: var(--btn-fill-color);
  border-radius: 50%;
  z-index: -1;
}

.btn::before,
.btn--design::before,
.btn-flow-actions::before {
  left: -20px;
  transform: translate(-50%, -50%);
}

.btn::after,
.btn--design::after,
.btn-flow-actions::after {
  right: -20px;
  transform: translate(50%, -50%);
}

.btn:hover,
.btn--design:hover,
.btn-flow-actions:hover {
  color: var(--btn-hover-text-color);
  transform: translateY(-2px);
}

.btn:hover::before,
.btn--design:hover::before,
.btn-flow-actions:hover::before {
  animation: criss-cross-left 0.8s both;
  animation-direction: alternate;
}

.btn:hover::after,
.btn--design:hover::after,
.btn-flow-actions:hover::after {
  animation: criss-cross-right 0.8s both;
  animation-direction: alternate;
}

@keyframes criss-cross-left {
  0% {
    left: -20px;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    left: 50%;
    transform: translate(-50%, -50%) scale(8);
  }
  100% {
    left: 100%;
    transform: translate(-50%, -50%) scale(100);
  }
}

@keyframes criss-cross-right {
  0% {
    right: -20px;
    transform: translate(50%, -50%) scale(1);
  }
  50% {
    right: 50%;
    transform: translate(50%, -50%) scale(8);
  }
  100% {
    right: 100%;
    transform: translate(50%, -50%) scale(100);
  }
}

/* ---- Buttons ---- */
.btn--primary {
  --btn-border-color: var(--cta);
  --btn-fill-color: var(--cta);
  --btn-text-color: var(--cta);
  --btn-hover-text-color: #fff;
  box-shadow: 0 4px 16px rgba(217,122,58,.28);
}

.btn--primary:hover {
  opacity: .9;
  box-shadow: 0 8px 22px rgba(217,122,58,.42);
}

.btn--ghost {
  --btn-border-color: var(--navy);
  --btn-fill-color: var(--navy);
  --btn-text-color: var(--navy);
  --btn-hover-text-color: #fff;
}

/* Ghost on dark sections */
.section--alt .btn--ghost,
.faq .btn--ghost,
.contact .btn--ghost {
  --btn-border-color: rgba(255,255,255,.5);
  --btn-fill-color: rgba(255,255,255,.18);
  --btn-text-color: rgba(255,255,255,.88);
  --btn-hover-text-color: #fff;
}

.section--alt .btn--ghost:hover,
.faq .btn--ghost:hover,
.contact .btn--ghost:hover {
  box-shadow: 0 8px 22px rgba(255,255,255,.12);
}

/* ---- Header / Nav ---- */
.header{
  position:fixed;
  right:1.5%;
  top:0;
  z-index:9999;
  width:clamp(180px, 17vw, 250px);
  background:rgba(255, 255, 255, 0.96);
  border-radius:0 0 0 14px;
  border-left:1px solid #eceff3;
  border-right:0;
  border-bottom:1px solid #eceff3;
  box-shadow:0 16px 34px rgba(28, 37, 56, 0.12);
}

.header::after{
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  font-size: 0.3rem;
  line-height: 0;
}

.header__inner{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
  gap:0;
  padding:clamp(22px, 3.2vw, 32px) clamp(18px, 2.2vw, 28px) clamp(20px, 3vw, 28px);
}

.header__logo{
  font-weight:700;
  letter-spacing:.06em;
  margin:0 0 24px;
  font-size:clamp(20px, 1.7vw, 26px);
  line-height:1.4;
}


.hamburger{
  width:clamp(40px,9vw,48px);
  height:clamp(40px,9vw,48px);
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}
.hamburger__line{width:18px;height:2px;background:var(--text);display:block;}

.nav{
  position:static;
  inset:auto;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  display:grid;
  gap:clamp(18px, 2.1vw, 22px);
  box-shadow:none;
  transform:none;
  opacity:1;
  pointer-events:auto;
  z-index:auto;
}
.nav.is-open{opacity:1;pointer-events:auto;transform:translateY(0);}

.nav__link{
  font-weight:500;
  text-decoration:none;
  display:block;
  text-align:right;
  line-height:1.45;
  letter-spacing:.08em;
  font-size:14px;
  color:#2f2f2f;
}

.nav__link::after{
  content:attr(data-en);
  display:block;
  margin-top:2px;
  font-size:11px;
  color:#7a818b;
  letter-spacing:.06em;
}

.nav__cta,
.hamburger{
  display:none;
}

@media (min-width:1025px){
  main{
    padding-top:0;
  }
}

@media (max-width:1024px){
  .header{
    left:0;
    right:0;
    width:auto;
    border-radius:0;
    border-left:0;
    border-right:0;
    border-bottom:1px solid var(--line);
    box-shadow:none;
  }

  .header__inner{
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:clamp(8px,2vw,16px);
    padding:clamp(10px,1.8vw,18px) 1.8rem;
    max-width:1200px;
    margin:0 auto;
  }

  .header__logo{
    margin:0;
    margin-right:auto;
    font-size:clamp(16px, 2vw, 20px);
  }

  .nav{
    position:fixed;
    inset:clamp(56px,12vw,72px) clamp(16px,4vw,32px) auto clamp(16px,4vw,32px);
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:clamp(14px,3vw,18px);
    gap:clamp(10px,2.4vw,14px);
    box-shadow:var(--shadow);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    z-index:20;
  }

  .nav__link{
    font-size:14px;
    letter-spacing:.03em;
  }

  .nav__link::after{
    display:none;
  }

  .nav__cta,
  .hamburger{
    display:inline-flex;
  }
}

@property --hero-badge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes heroBadgeBorderSpin {
  to {
    --hero-badge-angle: 360deg;
  }
}

/* ---- Hero ---- */
.hero__content{
  position:relative;
  isolation:isolate;
  background-image:url("../img/hero.jpeg");
  background-size:cover;
  background-position:var(--hero-pos-pc-x) var(--hero-pos-pc-y);
  background-repeat:no-repeat;
  height:80vh;
  margin-bottom: 8%;
}

.hero__content::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--hero-overlay-pc);
  z-index:0;
  pointer-events:none;
}

.hero-text{
  position:relative;
  z-index:1;
  padding:calc(3% + 2vw) calc(5% + 15vw) 0 calc(5% + 7vw);
}
.hero__title{
  margin:0;
  color:var(--white);
  font-size:2.5rem;
}

.hero__subtitle{
  margin: 0;
  
} 

.hero-strong{
  font-size: 2.5rem;
}

.hero__cta{
  display:flex;
  flex-direction:column;
  width:55%;
  text-align:center;
  gap:12px;
  margin-top:12px;
}

.hero__trust{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin:1.5rem 0 0;
  padding:0;
  list-style:none;
  width:min(100%, 720px);
  counter-reset:trustItem;
}
.hero__trust .badge{
  counter-increment:trustItem;
  position:relative;
  display:flex;
  align-items:center;
  min-height:72px;
  margin:0;
  font-size: clamp(17px, 3vw, 22px);
  line-height:1.35;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--navy);
  border:1px solid rgba(36,59,85,.28);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,243,252,.96));
  box-shadow:0 10px 24px rgba(13, 29, 48, .14);
  padding:16px 18px 14px 58px;
  text-align:left;
  clip-path:polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 12px 50%);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  isolation:isolate;
}

.hero__trust .badge::before{
  content:counter(trustItem, decimal-leading-zero);
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:4px;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:800;
  letter-spacing:.1em;
  color:#fff;
  background:linear-gradient(135deg, #18304a, #2b4a6b);
  box-shadow:0 4px 10px rgba(36,59,85,.24);
  z-index:2;
}




.hero__trust .badge:hover{
  transform:translateY(-2px);
  border-color:rgba(36,59,85,.5);
  box-shadow:0 14px 30px rgba(14,28,45,.2);
}

@media (prefers-reduced-motion: reduce){
  .hero__trust .badge{transition:none;}
}

@media (prefers-reduced-motion: reduce){
  .section__title::before,
  .section__title::after{
    transition:none;
    transform:scaleX(1);
  }
}

/* ---- Problem ---- */
.problem{
  background:var(--bg-navy);
}

.problem-first{
  display:grid;
  grid-template-columns:minmax(0, 1fr) clamp(240px, 34%, 360px);
  gap:clamp(18px, 3.4vw, 34px);
  align-items:stretch;
  width:100%;
  margin-bottom:clamp(24px, 5vw, 42px);
}

.problem-first__text{
  position:relative;
  padding:clamp(18px, 3vw, 30px) clamp(16px, 2.8vw, 26px);
  /* background:
    radial-gradient(circle at 10% 16%, rgba(179, 152, 85, 0.12) 0, rgba(179, 152, 85, 0) 56%),
    linear-gradient(135deg, rgba(0, 50, 99, 0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgba(179, 152, 85, 0.08) 1px, transparent 1px),
    #fdfdfc; */
  background-size:100% 100%, 24px 24px, 24px 24px, auto;
}

.problem__inner > .section__title{
  margin-bottom:clamp(18px, 3vw, 26px);
}

.problem__inner p {
  color: #fff;
}

.problem-first .problem__list{
  width:100%;
  max-width:none;
  margin:0;
}

.problem-first-img{
  position:relative;
  align-self:stretch;
  border-radius:var(--radius);
  overflow:visible;
  border:0;
  box-shadow:0 10px 24px rgba(12, 23, 38, 0.12);
}

.problem-first-img::before,
.problem-first-img::after{
  content:"";
  position:absolute;
  width:clamp(26px, 5vw, 44px);
  height:clamp(26px, 5vw, 44px);
  z-index:3;
  pointer-events:none;
}

.problem-first-img::before{
  top:0;
  left:0;
  transform:translate(-30%, -30%);
  border-top:3px solid var(--navy);
  border-left:3px solid var(--navy);
}

.problem-first-img::after{
  right:0;
  bottom:0;
  transform:translate(30%, 30%);
  border-right:3px solid var(--navy);
  border-bottom:3px solid var(--navy);
}

.badge{
  display:inline-block;
  padding:clamp(6px,2vw,10px) clamp(16px,4vw,28px);
  background:var(--navy-2);
  color:#fff;
  font-size:1.5em;
  font-weight:600;
  letter-spacing:.08em;
  position:relative;
  margin:0 0 clamp(16px,4vw,24px);
}

.problem__answer  {
  margin: 14px 0 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  position:relative;
  text-align: center;
}

.problem__answer::after{
  content:"";
  display:block;
  width:100%;
  height:3px;
  background:var(--cta);
  margin:clamp(8px,2vw,14px) auto 0;
}

.problem__answer span {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cta);
}

.problem__inner{
  text-align:center;
  position:relative;
  max-width:min(100%, var(--container));
  margin:0 auto clamp(20px,5vw,28px);
  padding:clamp(10px,2.5vw,16px);
  border-radius:var(--radius);
  overflow:hidden; /* 疑似要素のはみ出しによる横スクロールを防止 */
  isolation:isolate; /* z-indexの重なり順を安定化 */
}

.problem-first-img img {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:inherit;
}



.problem__media img {
  width: 65%;
  margin: 0 auto;
  top: 0%;
}

.problem__media img,
.problem__media .problem__check{
  position:relative;
  z-index:1;
}

.problem__list{
  position: relative;
  list-style:none;
  padding:0;
  margin:0 auto clamp(18px, 8vw, 84px);
  max-width:clamp(320px,78vw,720px);
  text-align:left;
  display:grid;
  gap:clamp(12px,3vw,18px);
  font-size:clamp(14px,3.6vw,18px);
  color:#2f2f2f;
  width:70%;
}

.problem__list::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(clamp(26px, 6vw, 44px) * -1 + 6px);
  width: clamp(30px, 15vw, 70%);
  height: clamp(18px, 6vw, 28px);
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%); /* 下向き三角 */
  border-radius: 2px;
  opacity: 0.9;
  transform: translateX(-50%) translateY(0);
  animation: problemArrowFloat 1.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes problemArrowFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce){
  .problem__list::after{animation:none;}
}

.problem__list li{
  position:relative;
  padding-left:clamp(28px,6vw,40px);
  white-space:nowrap;
  color: #fff;
}
.problem__list li::before{
  content:"✓";
  position:absolute;
  left:0;top:0;
  font-weight:700;
  color: #fff;
}

.problem__proof {
  margin: clamp(28px, 5vw, 54px) auto 0;
  max-width: 820px;
  padding: clamp(18px, 4vw, 26px);
  text-align: left;
}

.problem__proofCatch {
  margin: 0 0 14px;
  font-weight: 700;
  line-height: 1.6;
}

.problem__accent { color: var(--gold); font-weight: 800; }

.problem__proofGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.problem__proofItem {
  padding: 8px 14px;
}

.problem__proofTitle {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--white);
  border-bottom: 2px solid var(--cta);
  padding-bottom: 6px;
}

.problem__proofText {
  margin: 0;
  color: #444;
  line-height: 1.8;
  font-size: 16px;
}

.problem-columm {
  flex-direction: column;
}

.ope-num {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 2%;
  background: var(--gold-2);
  position: relative;
}

.ope-num::after {
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  width:2px;
  height:100%;
  border-left:2px dotted var(--gold);
  transform:translateX(-50%);
}

.problem__img {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 2em auto;
  position: relative;
}

.problem__img img {
  /* margin: 24px auto; */
  max-width: 340px;
}

.problem__img:last-of-type .ope-num::after {
  display: none;
}

/* -------------
   usp
-------------- */

#usp {
  background: var(--bg);
}

.usp__mainTitle {
  color: var(--navy);
}

.usp__item {
  display: flex;
  gap: 12px;
  align-items: end;
  position: relative;
  padding-bottom: clamp(8px, 1.2vw, 12px);
  margin-bottom: 3%;
}

.usp__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gray);
}

.usp__item img {
  width: 45%;
  margin: auto;
}

.usp-num {
  font-size: 1.3rem;
  position: relative;
  margin: 0;
  font-style: normal;
  letter-spacing: .1em;
  color: #464646;
}

.usp__item span {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--navy);
}

.usp-num::after {
  content: "";
  display: block;
  width: 100%;
  left: 0;
  height: 2px;
  background: var(--cta);
  margin: clamp(5px, 1vw, 8px) auto 0;
}

.usp__title {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}

.usp__text {
  line-height: 1.8;
  color: var(--text);
}



/* ---- fat ---- */
/* =========================
   Fat section (ROOF / 眼窩脂肪)
   ========================= */



  .caseDesign {
    display: grid;
    gap: 32px;
  }

.caseDesign__item{
  padding: 32px 36px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  display: flex;
  justify-content: center;
  gap: 32px;
  border-radius: var(--radius);
}

.caseDesign__text {
  margin: auto 0;
}

.caseDesign__flex {
  width: 35%;
}

.caseDesign__item img{
  width: 100%;
  margin: 0 auto;
}

.caseDesign__before {
  color: #777;
  font-size: 1.1rem;
  text-align: end;
  margin: 0;
}

.caseDesign__after {
  color: var(--cta);
  font-size: 1.4rem;
  text-align: end;
  margin: 2% 0 0;
  font-weight: 700;
}

.caseDesign__title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--white);
}

.caseDesign__title::after{
    content: "";
    display: block;
    width: 100%;
    left: 0;
    height: 2px;
    background: var(--cta);
    margin: clamp(5px, 1vw, 8px) auto 0;
} 

.caseDesign__list {
  padding-left: 20px;
  line-height: 1.8;
  color: var(--white);
}

.caseDesign__note {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

.caseGrid__item{
  margin:0;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  display: flex;
  flex-direction: column;
}
.caseGrid__item img{
  width:100%;
  height:auto;
  display:block;
}
.caseGrid__item figcaption{
  font-size:12px;
  color:var(--muted);
  padding:8px 10px;
  border-top:1px solid var(--line);
}

.caseCard__mediaNote{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
}

.caseSpec{
  margin:0;
  display:grid;
  gap:10px;
}
.caseSpec__row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:12px;
  padding:10px 0;
  border-top:1px solid var(--line);
}
.caseSpec__row:last-child{
  border-bottom:1px solid var(--line);
}
.caseSpec dt{
  margin:0;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}
.caseSpec dd{
  margin:0;
  line-height:1.7;
}

.caseRisk{
  margin:14px 0 0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fafafa;
}
.caseRisk summary{
  cursor:pointer;
  font-weight:700;
}
.caseRisk p{
  margin:10px 0 0;
  color:#444;
  line-height:1.7;
  font-size:14px;
}

.caseCard__notes{
  margin:12px 0 0;
  font-size:12px;
  color:var(--muted);
}

.caseCard__cta{
  margin-top:14px;
}

/* =========================
   FAT section (visualize)
   ========================= */

.fat{
  background: var(--bg-navy);
}

.fat__grid{
  display: grid;
  gap: clamp(16px, 4vw, 28px);
  align-items: start;
  margin-top: clamp(12px, 3vw, 18px);
}

.fat__figure{
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.fat__figure img{
  display: block;
  width: 100%;
  height: auto;
}

.fat__caption{
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.fat__cards{
  display: grid;
  gap: 14px;
}

.fatCard{
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 0;
  padding: 16px 16px;
  /* box-shadow: 0 6px 18px rgba(0,0,0,0.05); */
}

.fatCard__title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  color: #2e2e2e;
}

.fatCard__list{
  margin: 0;
  padding-left: 1.2em;
  color: #444;
  line-height: 1.7;
}

.fatCard__list li{
  margin: 0 0 6px;
}

.fatCard__note{
  margin: 10px 0 0;
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}

/* タイプ別の控えめアクセント（やりすぎない） */
.fatCard--ok{
  border-left: 4px solid var(--gold);
}
.fatCard--ng{
  border-left: 4px solid var(--gold);
}

.fat__conclusion{
  margin: clamp(14px, 3vw, 18px) 0 0;
  color: #444;
  line-height: 1.7;
}

.fat__conclusion small{
  color: var(--muted);
}

.fat__cta{
  margin-top: clamp(16px, 3.5vw, 22px);
  text-align: center;
}


/* ---- Solution cards ---- */
#solution {
 background:var(--bg-navy);}

.solution__inner{
  text-align:left;
}

.solution__header{
  margin-bottom:clamp(20px, 4vw, 34px);
}

.solutionPanel{
  position:relative;
  margin:0 auto clamp(20px, 3.5vw, 34px);
  padding:clamp(18px, 4vw, 32px);
  border:1px solid rgba(162, 201, 255, 0.32);
  background:linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow:0 14px 32px rgba(3, 8, 18, 0.28);
  backdrop-filter:blur(4px);
  overflow:hidden;
}

.solutionPanel::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(162, 201, 255, 0.16), rgba(162, 201, 255, 0) 44%);
  pointer-events:none;
}

.solutionPanel__eyebrow,
.solutionPanel__title,
.solutionPanel__body,
.solutionPanel__hero,
.solutionPanel__copy,
.solutionPanel__visual,
.solutionPointGrid,
.solutionBenefitGrid{
  position:relative;
  z-index:1;
}

.solutionPanel__hero{
  display:grid;
  grid-template-columns:minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap:clamp(16px, 3vw, 28px);
  align-items:start;
  margin-bottom:clamp(16px, 3vw, 22px);
}

.solutionPanel__copy{
  min-width:0;
}

.solutionPanel__visual{
  margin:0;
  border:1px solid rgba(162, 201, 255, 0.3);
  background:rgba(5, 14, 30, 0.62);
  box-shadow:0 8px 20px rgba(0, 0, 0, 0.22);
  overflow:hidden;
}

.solutionPanel__visual img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

.solutionPanel__caption{
  margin:0;
  padding:10px 12px;
  font-size:12px;
  line-height:1.7;
  color:rgba(255, 255, 255, 0.82);
  border-top:1px solid rgba(162, 201, 255, 0.25);
}

.solutionPanel__eyebrow{
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.18em;
  color:rgba(162, 201, 255, 0.9);
}

.solutionPanel__title{
  margin:0 0 14px;
  font-size:clamp(21px, 3vw, 30px);
  line-height:1.4;
  color:var(--white);
}

.solutionPanel__body{
  display:grid;
  gap:10px;
  margin-bottom:clamp(16px, 3vw, 22px);
}

.solutionPanel__body p{
  margin:0;
  line-height:1.9;
  color:rgba(255, 255, 255, 0.88);
}

.solutionPointGrid,
.solutionBenefitGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:clamp(10px, 2vw, 16px);
}

.solutionPoint,
.solutionBenefit{
  padding:clamp(14px, 2.4vw, 20px);
  border:1px solid rgba(162, 201, 255, 0.28);
  background:rgba(8, 16, 33, 0.48);
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}

.solutionPoint:hover,
.solutionBenefit:hover{
  transform:translateY(-3px);
  border-color:rgba(162, 201, 255, 0.52);
  background:rgba(11, 22, 44, 0.62);
}

.solutionPoint__num{
  margin:0 0 8px;
  font-size:13px;
  letter-spacing:.16em;
  color:var(--blue);
}

.solutionBenefit__icon{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
  margin:0 0 10px;
  border:1px solid rgba(162, 201, 255, 0.26);
}

.solutionPoint__title,
.solutionBenefit__title{
  margin:0 0 6px;
  font-size:clamp(16px, 2.2vw, 19px);
  line-height:1.5;
  color:var(--white);
}

.solutionPoint__text,
.solutionBenefit__text{
  margin:0;
  line-height:1.8;
  color:rgba(255, 255, 255, 0.86);
}

/* ---- Features (accordion-ish) ---- */
.features{background:var(--bg-navy);}
.features__list{display:grid;gap:clamp(24px,6vw,40px);}
.feature-item{position:relative;display:flex;gap:clamp(16px,4vw,24px);align-items:center;}
/* .feature-item::before{
  content:"";
  position:absolute;
  width:clamp(90px,26vw,180px);
  height:clamp(40px,10vw,70px);
  background:var(--gold);
  opacity:.7;
  z-index:0;
} */
/* .feature-item--right::before{right:0;bottom:clamp(-10px,-2vw,-16px);width: clamp(45%, 25vw, 60%);border-radius: var(--radius);background: var(--gold-2);
    height: clamp(55%, 55vw, 70%);}
.feature-item--left::before{left:clamp(12px,4vw,28px);bottom:clamp(-10px,-2vw,-16px);} */

/* .feature-photo{
  background:#fff;
  width:100%;
  aspect-ratio:4/3;
  border-radius:var(--radius);
  position:relative;
  z-index:1;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  display: flex;
}*/

.feature-photo img {
  width: 100%;
  height: 100%;
  margin: auto;
  border-radius: 0;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

.feature-photo {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  justify-content: space-between;
  overflow: hidden;
}

.feature-photo::before{
  content: '';
  display: block;
  position: absolute;
  top: 2rem;
  right: 0;
  width: 90%;
  height: 100%;
  background: var(--bg-alt);
  z-index: -1;
}

.feature-content{position:relative;display:flex;flex-direction:column;gap:clamp(8px,2vw,12px);z-index:1;}
.feature-title{margin:0 0 clamp(8px,2vw,12px);font-size:clamp(16px,3.6vw,20px);color:#2a2a2a;}
.feature-desc{margin:0;font-size:clamp(13px,3.2vw,16px);  color: var(--text);line-height:1.7;}

.feature-text{
  background:#F8F7F3; 
  padding:clamp(18px,3.5vw,30px);
  border-radius:0;
  /* opacity:0; */
  /* max-height:0; */
  overflow:hidden;
  /* transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease, max-height .3s ease; */
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  border: 1px dotted #533b0f;
  overflow:hidden;
}

.feature-text::before{
  content: '';
  display: block;
  position: absolute;
  top: 2rem;
  right: 0;
  width: 90%;
  height: 100%;
  background: var(--bg-alt);
    border: 1px dotted #533b0f;

  z-index: -1;
}

#features .btn--ghost {
  margin-top: 1rem;
}



/* ---- Doctor ---- */
.doctor{display:flex;gap:32px;align-items:flex-start;justify-content:center;}
.doctor__media{
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  width:45%;
}
.doctor__position{margin:0 0 6px;font-size:14px;color:var(--muted);}
.doctor__name{margin:0 0 16px;font-size:22px;font-weight:700;letter-spacing:.02em;color: var(--navy);}
.doctor p{color: var(--navy);}
.doctor__points{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:10px;}
.doctor__point{position:relative;padding-left:22px;line-height:1.7;}
.doctor__point::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:999px;background:var(--cta);}
.doctor__note{margin:0 0 18px;font-size:12px;color:var(--muted);}
.doctor__actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.btn-flow-actions{
  --btn-border-color: rgba(36,59,85,.38);
  --btn-fill-color: var(--navy);
  --btn-text-color: var(--navy);
  --btn-hover-text-color: #fff;

  font-size:1rem;
  background:transparent;
  padding:14px 28px;
}

/* ---- Flow ---- */


.flow-grid{
  border:1px solid rgba(255,255,255,.18);
  padding:5%;
  max-width:700px;
  margin:0 auto;
  background:rgba(255,255,255,.04);
}
.flow-card{display:flex;gap:clamp(14px, 3vw, 28px);margin-bottom:10%;position:relative;z-index:0;}
.flow-card:last-child{margin-bottom:0;}
.flow-grid .flow-card:not(:last-of-type)::after{
  content:"";
  position:absolute;
  left:30px;
  top:30%;
  width:1px;
  height:calc(150% + 30px);
  background:var(--gold);
  z-index:-1;
}
.flow-card-num{
  width: 60px;
    height: 60px;
    flex: 0 0 60px;
    min-width: 60px;
    min-height: 60px;
    aspect-ratio: 1 / 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    position: relative;
    border-radius: 50%;
    background: var(--cta);
    box-shadow: 0 4px 12px rgba(217,122,58,.35);
    margin: auto 0px;
    padding: 0;
}

.flow-card:last-child {
  content: none;
}

.flow-card-num p,.flow-card-num span{margin:0;color: #fff;}
.flow-card-title{color:var(--white);font-size:1.5rem;margin:0 0 8px;font-weight:700;}
.flow-card-text{font-size:1.1rem;margin:0;color:rgba(255,255,255,.85);line-height:1.75;}
.flow-card-list{margin:8px 0 0;padding-left:1.2em;list-style:disc;}
.flow-card-list li{margin:0 0 6px;color: var(--white);}

/* ---- ダウンタイム ----*/
/* ---- Downtime timeline ---- 
.downtime__note{
  margin:16px 0 0;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

.downtime__cta{
  margin-top:20px;
  text-align:center;
}

.timeline{
  margin:0 auto;
  padding:0;
  list-style:none;
  max-width:700px;
  display:grid;
  gap:14px;
}

.timeline__item{
  display:flex;
  gap:14px;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.timeline__badge{
  flex:0 0 auto;
  min-width:88px;
  height:36px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffeea2,#fbd83e);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#333;
}

.timeline__title{
  margin:0 0 8px;
  font-size:16px;
  color:#2e2e2e;
}

.timeline__list{
  margin:0;
  padding-left:1.2em;
  color:#444;
  line-height:1.7;
}*/

/* =========================
   Downtime Guide
   ========================= */
/* .downtimeGuide__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:start;
}

.downtimeGuide__card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 24px;
}

.downtimeGuide__cardTitle{
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 0.04em;
  color:#2e2e2e;
}

.downtimeGuide__note{
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}


.dtTimeline{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 14px;
}
.dtTimeline__item{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
}
.dtTimeline__badge{
  display:inline-block;
  font-weight:700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ffeea2,#fbd83e);
  color:#333;
  margin-bottom: 10px;
}
.dtTimeline__title{
  margin: 0 0 8px;
  font-weight: 700;
  color:#222;
}
.dtTimeline__list{
  margin:0;
  padding-left: 1.2em;
  color:#444;
  line-height: 1.7;
}
.dtTimeline__list li{ margin:0 0 6px; }


.dtTips{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 12px;
}
.dtTips__item{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:#fff;
}
.dtTips__title{
  margin:0 0 6px;
  font-weight: 700;
  color:#222;
}
.dtTips__text{
  margin:0;
  color:#444;
  line-height:1.7;
}

.downtimeGuide__cta{
  margin-top: 16px;
  text-align:center;
}

.accordion-006 {
    max-width: 500px;
    margin-bottom: 7px;
    background-color: #f2f2f2;
    border-radius: 5px;
}

.accordion-006 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #feee86;
    font-weight: 600;
    cursor: pointer;
}

.accordion ul::-webkit-details-marker {
    display: none;
}


.accordion [open] ul::after {
    transform: rotate(225deg);
}

.accordion-ul li {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #feee86;
    transition: transform .5s, opacity .5s;
}

.accordion [open] li {
    transform: none;
    opacity: 1;
}

@media (max-width: 768px){
  .downtimeGuide__grid{ grid-template-columns: 1fr; }
  .downtimeGuide__card{ padding: 18px; }
  .downtimeGuide__cardTitle{ font-size: 18px; }
} 
*/

/* =========================
   Support section
   ========================= */
#support {
  background: var(--bg-navy);
}

.support__grid{
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.supportCard{
  background: #fff;
  border: 1px solid var(--line, #e9e9e9);
  border-radius: var(--radius, 4px);
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.supportCard--em{
  border-color: var(--cta);
  border-left: 4px solid var(--cta);
}

.supportCard__title{
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-weight: 700;
}

.supportCard__list{
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.7;
}

.supportCard__note{
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted, #6b6b6b);
  line-height: 1.6;
}

/* モニター案内（断定しない枠） */
.support__monitor{
  margin-top: 18px;
  background: #fff;
  border: 1px dashed rgba(206, 206, 206, 0.7);
  border-radius: var(--radius, 4px);
  padding: 16px 18px;
}

.support__monitorTitle{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.support__monitorText{
  margin: 0;
  line-height: 1.7;
  color: #333;
}

.support__actions{
  margin-top: 12px;
  text-align: center;
}

/* ---- Access ---- */
.access{
  background: var(--bg);
}

.access__card{
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(18px, 3.6vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.access__clinic{
  margin: 0 0 18px;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--navy);
  letter-spacing: .06em;
}

.access__list{
  margin: 0;
}

.access__row{
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.access__row:last-child{
  border-bottom: 1px solid var(--line);
}

.access__row dt{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.access__row dd{
  margin: 0;
  line-height: 1.8;
  color: #2f2f2f;
}

.access__note{
  margin: 16px 0 0;
  line-height: 1.8;
  color: #3a3a3a;
}

/* ---- CTA band ---- */
.ctaBand{
  background: var(--bg-navy);
}

.ctaBand__inner{
  max-width: 900px;
  text-align: center;
}

.ctaBand__text{
  margin: 0 auto 18px;
  max-width: 70ch;
  color: rgba(255,255,255,.86);
  line-height: 1.85;
}

.ctaBand__actions{
  margin-top: 18px;
}

.ctaBand__meta{
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ctaBand__meta li{
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: .04em;
}

/* downtime: ごまかし方 */


.camouflage{
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.camouflage__title{
  margin: 0 0 8px;
  font-size: 18px;
}
.camouflage__text{
  margin: 0;
  line-height: 1.7;
  color: #444;
}

/* =========================
   Downtime Timeline
   ========================= */

  .downtime {
   background: var(--bg-navy);
  }

.dtTimeline{
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width:700px;
  display:grid;
  gap:18px;
}

.dtTimeline__item{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
  padding:24px 28px;
  background:#fff;
  border:1px solid var(--line);
  border-left: 4px solid var(--cta);
  border-radius:var(--radius);
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  position:relative;
  flex-wrap:wrap;
}

.dtTimeline__badge{
  flex:0 0 auto;
  min-width:auto;
  width:fit-content;
  text-align:center;
  padding:8px 16px;
  font-size:12px;
  font-weight:700;
  background:var(--cta);
  color:#fff;
  letter-spacing:.08em;
}

.dtTimeline__title{
  margin:0 0 6px;
  font-size:16px;
  color:#2e2e2e;
}

.dtTimeline__note{
  margin-top:18px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

/* ----不安に根拠で答えます---- */
/* ---- Risk / reassurance ---- */
#risk {
  background: var(--bg-navy);
}

.risk__grid{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.riskCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.riskCard__title{
  margin:0 0 10px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  padding-left: 16px;
  border-left: 3px solid var(--cta);
}

.riskCard__text{
  margin:0;
  color:#444;
  line-height: 1.8;
}

.risk__note{
  margin: 14px 0 0;
  text-align:center;
  font-size: 12px;
  color: var(--muted);
}

.risk__cta{
  margin-top: 18px;
  text-align: center;
}


/* ---- FAQ ---- */
.faq{background:var(--bg-navy);}
.faq__title{font-size:32px;margin:0 0 12px;text-align:center;color:#2e2e2e;}
.faq__lead{margin:0 0 28px;text-align:center;color:#555;}
.faq__card{
  max-width:700px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 28px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.faq__item+.faq__item{margin-top:14px;}
.faq__item{border:1px solid var(--line);border-radius:var(--radius);padding:6px 14px;background:#fff;}
.faq__question{
  cursor:pointer;
  list-style:none;
  padding:14px 32px 14px 8px;
  min-height:44px;
  position:relative;
  font-weight:600;
  color: var(--navy);
}
.faq__question::-webkit-details-marker{display:none;}
.faq__question::after{
  content:"";
  position:absolute;
  right:8px;
  top:50%;
  width:10px;
  height:10px;
  border-right:2px solid var(--cta);
  border-bottom:2px solid var(--cta);
  transform:translateY(-50%) rotate(45deg);
  transition:transform .2s ease;
}
.faq__item[open] .faq__question::after{transform:translateY(-50%) rotate(-135deg);}
.faq__answer{padding:0 8px 14px;color:#444;line-height:1.7;}
.faq__question:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:var(--radius);}
.faq__note{margin:16px 0 24px;color:#777;text-align:center;font-size:14px;}
.faq__cta{text-align:center;}
/* ---- Contact form ---- */
.contact{background:var(--bg-navy);}

.problem .section__title,
.problem .section__lead,
#solution .section__title,
#solution .section__lead,
.features .section__title,
.features .section__lead,
#support .section__title,
#support .section__lead,
.downtime .section__title,
.downtime .section__lead,
#risk .section__title,
#risk .section__lead,
.faq .section__title,
.faq__title,
.faq__lead,
.contact .section__title,
.contact .section__lead,
.contact__title,
.contact__lead {
  color:#fff;
}
.contact__title{font-size:32px;margin:0 0 12px;text-align:center;color:#D97A3A;}
.contact__lead{margin:0 0 28px;text-align:center;color:#555;}
.contact__form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 32px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.contact__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px 24px;
}
.contact__field{display:flex;flex-direction:column;gap:8px;}
.contact__field--full{grid-column:1/-1;}
.contact__label{font-weight:600;color:var(--navy);}
.contact__required{color:#b48b2f;font-size:12px;margin-left:6px;}

.contact__input,
.contact__select,
.contact__textarea{
  height:48px;
  padding:10px 12px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  font-size:14px;
  background:#fff;
}
.contact__textarea{height:auto;min-height:140px;resize:vertical;}
.contact__input:focus-visible,
.contact__select:focus-visible,
.contact__textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}

.contact__agree{margin-top:16px;}
.contact__checkbox{display:flex;align-items:center;gap:10px;font-size:14px;}
.contact__actions{margin-top:20px;text-align:center;}
.contact__note{margin:12px 0 0;text-align:center;color:#777;font-size:12px;}
.contact__error{color:#b23b3b;font-size:12px;margin:0;}
.contact span{color: #2a2a2a;}

/* ---- Sticky CTA (SP only) ---- */
/* =========================
   Sticky CTA (SP)
   ========================= */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;

  display: none; /* SPのみ表示 */
  gap: 10px;
  padding: 10px 12px;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0,0,0,.08);
}

.sticky-cta__btn{
  flex: 1;
  width: 100%;
  padding: 12px 10px;       /* 追従は少しコンパクトに */
  font-size: 1.3rem;
  min-height: 48px;         /* 押しやすさ確保 */
}

/* ---- Footer ---- */
.footer{background:#fff;border-top:1px solid var(--line);}
.footer__inner{padding:48px 0 20px;}
.footer__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start;}
.footer__logo{margin:0 0 6px;font-weight:700;letter-spacing:.08em;}
.footer__clinic{margin:0 0 16px;color:var(--muted);}
.footer__dl{margin:0;}
.footer__row{display:grid;grid-template-columns:60px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line);}
.footer__row:last-child{border-bottom:1px solid var(--line);}
.footer__dt{margin:0;color:var(--muted);font-size:12px;}
.footer__dd{margin:0;line-height:1.7;color: #565656;}
.footer__tel{font-weight:700;text-decoration:none;color:inherit;}
.footer__navTitle{margin:0 0 10px;font-weight:700;}
.footer__navList{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.footer__link{text-decoration:none;color:inherit;}
.footer__link:hover{text-decoration:underline;}
.footer__actions{margin-top:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.footer__access{
  text-decoration:none;
  color:inherit;
  background:var(--gold);
  padding:10px 14px;
  border-radius:999px;
}
.footer__subLink{
  --btn-bg:#0fff1b;
  --btn-text:var(--muted);
  --btn-border:#0fff1b;
  --btn-frame:var(--muted);
  --btn-corner-bg:var(--muted);
  --btn-corner-top:var(--muted);

  display:inline-block;
  position:relative;
  min-height:52px;
  cursor:pointer;
  text-align:center;
  font-size:1.6rem;
  font-family:Century, "Yu Mincho", serif;
  font-weight:400;

  color:var(--muted);
  text-decoration:none;
  background:#0fff1b;
  padding:1.6rem 3rem;
  border-radius:0;
  border:1px solid var(--btn-border);
}

.footer__subLink::before{
  content:"";
  border:solid 1px var(--btn-frame);
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:calc(100% - 7px);
  height:calc(100% - 7px);
  pointer-events:none;
}

.footer__subLink::after {
  content: "";
  position: absolute;
  background: var(--btn-corner-bg);
  bottom: 4px;
  right: 4px;
  width: 0rem;
  height: 0rem;
  border-left: 10px solid transparent;
  border-top: 10px solid var(--btn-corner-top);
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
  pointer-events:none;
}

.footer__subLink:hover{
  opacity:.92;
  transform: translateY(-1px);
}
.footer__copy{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;}


.confirm__title{margin: 0 auto;}
/* =========================
   Responsive
   ========================= */

/* <=1024 : hero画像切替 + some scale */
@media (max-width:1024px){
  html,
  body{
    overflow-x:hidden;
    overflow-x:clip;
  }

  .hero__content{
    background-image:url("../img/navy_bg.jpeg");
    background-position:var(--hero-pos-tab-x) var(--hero-pos-tab-y);
  }

  .hero__content::before{
    background:var(--hero-overlay-tab);
  }

  .problem__inner .section__title {
   background: var(--gold-2);
  }

  .problem__inner::before{
    display: none;
  }

  .feature-photo::before,
  .feature-text::before{
    right:0;
  }

  .solutionPointGrid,
  .solutionBenefitGrid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .solutionPanel__hero{
    grid-template-columns:1fr;
  }

  .solutionPanel__visual{
    max-width:520px;
  }

  .solutionPanel__visual img{
    display: none;
  }

  .problem__list li{
    white-space:normal;
  }

    .doctor {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .doctor img{
    width: 100%;
  }

  .doctor__actions{
    justify-content: center;
  }

  .hero__trust{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .hero__trust .badge{max-width:100%;white-space:normal;}

  .hero-text{padding:clamp(20px,8vw,200px) clamp(50px,3vw,80px);}
  .hero__title{font-size:3rem;margin-top:clamp(20px,60%,30px);}
  .hero__cta{width:50%;font-size:1.5rem;}
  .hero__trust .badge{font-size:.95rem;padding:14px 14px 12px 52px;}
  .problem__list{width:50%;}
}

/* >=768 : fat grid + features 2col */
@media (min-width:768px){
  .caseCard{grid-template-columns:2fr 1fr;align-items:start;}
  .support__grid{grid-template-columns:repeat(3, 1fr);align-items:stretch;}
  .fat__grid{grid-template-columns: 1.1fr 0.9fr;}
  .feature-item{display:grid;grid-template-columns:1fr 1fr;gap: 2.2rem;}
  .feature-item--left .feature-text{order:2;}
  .feature-item--left .feature-photo{order:1;}
}

/* <=768 : sections / faq / contact / doctor / footer / sticky cta */
@media (max-width:768px){
  .caseDesign__item{background-position:center top;background-size:cover;flex-direction: column; align-items: center;}
  .caseDesign__flex {
    width: 100%;
}

  .solutionPanel{
    padding:clamp(16px, 4.2vw, 20px);
  }

  .solutionPointGrid,
  .solutionBenefitGrid{
    grid-template-columns:1fr;
  }

  .solutionPanel__caption{
    font-size:11px;
  }

  .container{padding-inline:16px; }

  .problem-first{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .problem-first__text{
    padding: clamp(14px, 3.2vw, 20px) clamp(12px, 3.4vw, 18px);
  }

  .problem-first .problem__list{
    margin: 0 auto;
  }

  .problem-first-img{
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .problem__proofGrid{grid-template-columns:1fr;}
  .risk__grid{grid-template-columns:1fr;}
  .access__row{grid-template-columns:1fr;gap:6px;}
  .ctaBand__meta{grid-template-columns:repeat(2, minmax(0, 1fr));}

  .faq__title,.contact__title{font-size:26px;}
  .faq__lead,.contact__lead{font-size:14px;}
  .faq__card{padding:18px 16px;}
  .faq__question{padding-right:28px;font-size:14px;}
  .faq__answer{font-size:14px;}

  .contact__form{padding:20px 18px;}
  .contact__grid{grid-template-columns:1fr;}

  .footer__inner{padding:32px 1.2rem 16px;}
  .footer__grid{grid-template-columns:1fr;gap:18px;margin-bottom: 10%;}
  .footer__row{grid-template-columns:52px 1fr;}
  .footer__brand{margin:0 auto;}
  .footer__navTitle{text-align:center;}
  .footer__navList{text-align:center;}
  .footer__actions{display: none;}


  .sticky-cta{display:flex;}
  body{padding-bottom:74px;}
}

/* <=900 : tablet portrait adjustment */
@media (max-width:900px){
  .hero-text{padding:clamp(16px,10vw,78px) clamp(24px,4vw,56px) 0;}
  .hero__cta{width:min(70%, 420px);}
}

/* <=640 : hero + problem list wrap */
@media (max-width:640px){
  .btn {
    font-size: 1.3rem;
  }

  .nav__cta{display:none;}

  .header__inner {
    padding: clamp(10px, 1.8vw, 18px) 2rem;
  }

  .hero__content{
    background-image:url("../img/hero.jpeg");
    background-position:var(--hero-pos-sp-x) var(--hero-pos-sp-y);
  }

  .hero__content::before{
    background:var(--hero-overlay-sp);
  }

  .hero__title,
  .hero__subtitle,
  .hero-text p{
    color:#fff;
    text-shadow:0 2px 10px rgba(0, 0, 0, 0.45);
    font-size: 1rem;
  }

  .hero__subtitle .accent {
    color: var(--gold);
    font-size: 1.25rem;
  }

  .hero__title{margin-bottom:5%;margin-top: 0; font-size:1.7rem;}
  .hero-text{padding:calc(0px + 1vw) calc(5px + 2vw) 0;}
  .hero__cta{width:100%;}

  .hero__trust{grid-template-columns:1fr;gap:12px;margin:.9rem auto 0;}
  .hero__trust .badge{font-size:1rem;padding:14px 14px 12px 52px;margin:0;}
  .problem__list{width:100%;}
  .problem__list li{white-space:normal;}

  .feature-actions{
    text-align: center;
  }

  .features__list{
    gap: 5rem;
  }
  .feature-item{display:grid;grid-auto-columns:1fr 1fr;gap: 2.2rem;}

  .feature-item--sp-btn-bottom{display:flex;flex-direction:column;}
  .feature-item--sp-btn-bottom .feature-content{order:1;}
  .feature-item--sp-btn-bottom .feature-actions{order:2;}

  .ctaBand__meta{grid-template-columns:1fr;}


  .flow-grid .flow-card:not(:last-of-type)::after{
    left:30px;
    top:42%;
    height:calc(100% + 40px);
  }

    .riskCard__title{
    text-align: center;
  }

  .supportCard__title {
    text-align: center;
  }

  .flow-card-title {
    font-size: 1.25rem;
  }

  .flow-card-text {
    font-size: 1.125rem;
  }
}

/* <=480 : small phone adjustment */
@media (max-width:480px){
  .section__title{font-size:clamp(20px,6vw,24px);}
  .btn{font-size:1.2rem;}
}

@media (min-width:1022px){
  .header__inner{padding:clamp(8px,0.8vw,15px) 2rem;}
  .btn--primary{font-size:1.5rem;}
  .hamburger{width:clamp(54px,9vw,62px);height:clamp(54px,9vw,62px);}
}

@media (max-width:375px){
}