/* ============================================================
   KOTOARATA LP — Design System
   白基調 × グリーン / 清潔・モダン / Noto Sans JP
   ============================================================ */

:root {
  /* Brand palette */
  --ink:        #2C2C2A;   /* primary text / near-black */
  --ink-2:      #56564f;   /* secondary text */
  --ink-3:      #86867d;   /* muted */
  --line:       #e7e9ee;   /* hairline borders */
  --bg:         #ffffff;
  --bg-soft:    #F4F6F9;   /* off-white section */
  --bg-mint:    #FCF3EE;   /* faint warm (orange) wash */

  /* ---- PRIMARY brand accent = ORANGE #D85A30 ---- */
  --teal:       #E0703F;   /* secondary warm accent (dashboard etc.) */
  --teal-ink:   #b5471f;
  --green:      #D85A30;   /* PRIMARY accent (was green) — eyebrows, marks, tags, etc. */
  --green-700:  #B0461F;   /* darker orange */
  --green-100:  #FBE7DE;   /* light orange tint */
  --orange:     #D85A30;   /* highlight accent */
  --orange-100: #fbe9e0;

  /* ---- CTA / action = GREEN (buttons + LINE only) ---- */
  --cta:        #038951;
  --cta-700:    #02713f;

  --shadow-sm: 0 1px 2px rgba(20,30,28,.04), 0 2px 8px rgba(20,30,28,.05);
  --shadow-md: 0 4px 16px rgba(20,30,28,.06), 0 12px 40px rgba(20,30,28,.07);
  --shadow-lg: 0 8px 28px rgba(20,30,28,.08), 0 30px 70px rgba(15,90,70,.12);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 32px);

  --ff: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 11vw, 132px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section--ink  { background: var(--ink); color: #fff; }

.narrow { max-width: 760px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  color: var(--green); text-transform: uppercase;
  line-height: 1;
}
.eyebrow::before {
  content: ""; display: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.eyebrow--light { color: #f3a988; }
.eyebrow--light::before { background: #f3a988; }

h1,h2,h3,h4 { line-height: 1.34; letter-spacing: .005em; margin: 0; font-weight: 900; }
.h-sec {
  font-size: clamp(27px, 5.4vw, 44px);
  letter-spacing: .01em; line-height: 1.42;
  font-weight: 900;
}
.h-sec .mark { color: var(--green); }
.h-sec .mark-o { color: var(--orange); }
.lead { font-size: clamp(15px, 3.6vw, 18px); color: var(--ink-2); font-weight: 500; line-height: 1.95; }
.kicker-wrap { margin-bottom: clamp(28px, 5vw, 44px); }
.kicker-wrap .h-sec { margin-top: 16px; }
.kicker-wrap .lead { margin-top: 18px; }

.hl { color: var(--orange); font-weight: 900; }
.hl-g { color: var(--orange); font-weight: 900; }
.hl-o { color: var(--orange); font-weight: 900; }
.underline-mark {
  background: linear-gradient(transparent 62%, rgba(216,90,48,.26) 62%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 17px 28px; border-radius: 999px; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--line {
  background: #06C755; color: #fff;
  box-shadow: 0 8px 22px rgba(6,199,85,.30);
}
.btn--line:hover { background: #05B34D; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6,199,85,.36); }

/* glass shine sweep on CTAs */
.btn--line, .fab__btn--form { position: relative; overflow: hidden; isolation: isolate; }
.btn--line > *, .fab__btn--form > * { position: relative; z-index: 1; }
.btn--line::after, .fab__btn--form::after {
  content: ""; position: absolute; top: -20%; left: -90%; width: 55%; height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.18) 35%, rgba(255,255,255,.62) 50%, rgba(255,255,255,.18) 65%, transparent 100%);
  transform: skewX(-22deg); pointer-events: none; z-index: 2;
  animation: ctaShine 5s ease-in-out infinite;
}
.fab__btn--form::after { background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.10) 35%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.10) 65%, transparent 100%); }
.btn--line:hover::after, .fab__btn--form:hover::after { animation-duration: 1.6s; }
@keyframes ctaShine {
  0%   { left: -90%; }
  16%  { left: 150%; }
  100% { left: 150%; }
}
@media (prefers-reduced-motion: reduce){
  .btn--line::after, .fab__btn--form::after { animation: none; display: none; }
}
.btn--ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 21px 40px; font-size: 17px; }
.btn .line-badge {
  height: 24px; padding: 0 12px 0 0; border-right: 1px solid rgba(0,0,0,.08);
  display: grid; place-items: center; flex: none;
}
.btn--lg .line-badge { height: 27px; padding-right: 14px; }
.btn .line-badge img { width: 24px; height: 24px; object-fit: contain; display: block; }
.btn--lg .line-badge img { width: 27px; height: 27px; }

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 8px 15px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.tag--outline { display: inline-block; background: transparent; color: var(--ink-2); border: 1.5px solid var(--orange); border-radius: 14px; white-space: normal; line-height: 1.55; padding: 9px 16px; max-width: 100%; }
.tag--outline .dot { display: inline-block; vertical-align: middle; margin-right: 9px; background: var(--orange); }
.tag--outline .tag__accent { color: var(--orange); font-weight: 900; white-space: nowrap; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4.5vw, 36px); box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(20,30,28,.04); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo { height: 22px; width: auto; }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 700; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--green); }
.header-cta { display: none; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 20px; font-size: 14px; }

/* ---------- Hamburger (SP) ---------- */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: transparent; border: 0; border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  display: block; width: 24px; height: 2px; margin: 0 auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .28s ease, opacity .18s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 48; background: rgba(20,30,28,.42);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 67px; left: 0; right: 0; z-index: 49;
  display: flex; flex-direction: column;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 8px var(--gutter) 26px;
  transform: translateY(-14px); opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  display: block; padding: 16px 4px; font-size: 16px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:not(.btn):active { color: var(--green); }
.mobile-menu__cta { width: 100%; justify-content: center; margin-top: 22px; }
@media (min-width: 880px){
  .nav-toggle, .menu-backdrop, .mobile-menu { display: none; }
  .header-cta { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd0c9; padding-block: 64px 40px; }
.site-footer .container { max-width: 880px; }
.site-footer .logo { height: 30px; filter: brightness(0) invert(1); opacity: .92; display:block; margin:0 auto; }
.site-footer a { color: #cfd0c9; }
.site-footer a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.no-anim .reveal { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(16px, 3vw, 24px); }
@media (min-width: 720px){ .g-2 { grid-template-columns: 1fr 1fr; } .g-3 { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 719px){ .g-3 { grid-template-columns: 1fr; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 9vw, 96px); background: #ffffff; }
.hero__hairlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(125deg, rgba(26,188,156,.05) 0 1px, transparent 1px 78px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
          mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.hero > .container { max-width: 1260px; padding-inline: clamp(18px, 3vw, 24px); }
.hero__head { margin-bottom: 0; }
.hero__head .hero__lead { max-width: 640px; margin-top: clamp(18px, 3vw, 24px); }
.hero__copy { margin-top: clamp(20px, 4vw, 40px); max-width: 720px; }
.hero__copy > .hero__stats:first-child { margin-top: 0; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(28px, 3.5vw, 40px); align-items: center; }
@media (min-width: 940px){ .hero__inner { grid-template-columns: 1.4fr 1fr; } }

.hero__title {
  font-size: clamp(33px, 6.6vw, 60px); line-height: 1.3; font-weight: 900;
  letter-spacing: -.015em; margin-top: 20px;
  word-break: auto-phrase; text-wrap: normal;
}
.hero__title .mark { color: var(--green); }
.hero__lead { margin-top: 22px; font-size: clamp(15px, 4vw, 18.5px); color: var(--ink-2); line-height: 1.95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 5vw, 40px); }
@media (max-width: 939px){ .hero__cta { justify-content: center; } }
@media (max-width: 430px){ .hero__cta .btn--lg { padding: 20px 26px; } }
.hero__stats {
  list-style: none; margin: clamp(36px,6vw,52px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(10px,2.5vw,20px);
}
.hero__stats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 6px 4px; }
.hero__stat-ic { width: 30px; height: 30px; color: var(--ink); }
.hero__stat-ic svg { width: 100%; height: 100%; display: block; }
.hero__stats strong { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: clamp(17px, 4.4vw, 22px); color: var(--ink); line-height: 1.2; font-weight: 900; }
.hero__stats strong small { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.hero__stats > li > span { font-size: clamp(12.5px,3vw,14px); color: var(--ink-2); line-height: 1.55; font-weight: 700; }

/* Key-visual illustration */
.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__illust { width: 138%; max-width: 840px; height: auto; display: block; margin-right: -22%; }
@media (max-width: 939px){
  .hero__visual { max-width: 620px; margin-inline: auto; }
  .hero__illust { width: 108%; max-width: none; margin: 0 -4%; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; gap: clamp(28px, 5vw, 48px); margin-top: clamp(28px,5vw,44px); }
@media (min-width: 860px){ .about__grid { grid-template-columns: 320px 1fr; align-items: center; } }
.about__profile { display: flex; flex-direction: column; gap: 0; }
@media (max-width: 859px){
  .about__profile { align-items: center; text-align: center; }
  .about__name { align-items: center; }
}
.about__photo { border-radius: var(--r-lg); overflow: hidden; background: #efe9e0; box-shadow: var(--shadow-md); aspect-ratio: 1/1; max-width: 320px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__name { margin-top: 20px; display: flex; flex-direction: column; gap: 3px; }
.about__role { font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: .04em; }
.about__name strong { font-size: clamp(24px,5vw,30px); font-weight: 900; letter-spacing: .04em; }
.about__romaji { font-size: 13px; color: var(--ink-3); font-weight: 700; letter-spacing: .12em; }
.about__bio { font-size: clamp(15px,3.4vw,17.5px); line-height: 2; color: var(--ink-2); margin: 0; }
.about__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.about__stat { border-left: 2px solid var(--green); padding-left: 14px; }
.about__stat strong { display: block; font-size: clamp(22px,5vw,30px); color: var(--ink); line-height: 1.15; }
.about__stat strong small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.about__stat span { font-size: 12px; color: var(--ink-3); font-weight: 500; line-height: 1.5; display: block; margin-top: 4px; }
.about__note { font-size: 12.5px; color: var(--ink-3); margin-top: 20px; }
.strengths { margin-top: clamp(48px,8vw,80px); }
.strengths__label { display: block; font-size: 14px; font-weight: 900; letter-spacing: .04em; margin-bottom: 20px; padding-left: 16px; border-left: 4px solid var(--orange); }
.strength { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,32px); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.strength:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.strength__no { display: inline-block; font-size: 13px; font-weight: 900; color: var(--green); letter-spacing: .08em; background: var(--green-100); border-radius: 999px; padding: 5px 14px; }
.strength__t { font-size: clamp(18px,4vw,21px); font-weight: 900; margin: 16px 0 10px; line-height: 1.4; }
.strength p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ============================================================
   SITUATION (悩み)
   ============================================================ */
.worries { margin-top: clamp(28px,5vw,40px); }
.worry { position: relative; padding-left: clamp(24px,4.5vw,40px); }

/* Situation header — title left + illustration on light panel right */
.situation__head { display: grid; gap: clamp(20px,4vw,40px); align-items: center; margin-bottom: clamp(28px,5vw,48px); }
@media (min-width: 820px){ .situation__head { grid-template-columns: 1fr .92fr; } }
.situation__head-txt .eyebrow { color: #f3a988; }
.situation__head-txt .h-sec { margin-top: 16px; color: #fff; }
.situation__visual { display: flex; align-items: center; justify-content: center; }
.situation__visual img { width: 100%; max-width: 480px; height: auto; }
@media (max-width: 819px){ .situation__visual { max-width: 460px; margin-inline: auto; } }
.worry__icon { position: absolute; top: clamp(20px,4vw,32px); left: clamp(20px,4vw,32px); font-size: 13px; font-weight: 900; color: #fff; background: var(--orange); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; letter-spacing: .02em; }
.worry h3 { color: var(--ink); font-size: clamp(17px,4vw,20px); font-weight: 900; line-height: 1.5; margin: 0 0 12px; padding-left: 50px; min-height: 34px; display: flex; align-items: center; }
.worry p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.situation__close { text-align: center; margin-top: clamp(36px,6vw,52px); font-size: clamp(16px,4vw,21px); font-weight: 900; line-height: 1.7; }

/* Scroll cue (animated arrow to next section) */
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: clamp(40px, 6vw, 64px); color: var(--orange);
  transition: transform .2s ease;
}
.scroll-cue__txt { font-size: 13px; font-weight: 900; letter-spacing: .06em; color: #f3a988; }
.scroll-cue__chevron {
  width: 18px; height: 18px;
  border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
  animation: cueBounce 1.7s cubic-bezier(.5,0,.5,1) infinite;
}
.scroll-cue:hover { transform: translateY(2px); }
@keyframes cueBounce {
  0%, 100% { transform: rotate(45deg) translate(-3px,-3px); opacity: .45; }
  50%      { transform: rotate(45deg) translate(3px,3px);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__chevron { animation: none; transform: rotate(45deg); opacity: .8; }
}

/* ============================================================
   COST OF DOING NOTHING
   ============================================================ */
.inaction { position: relative; padding: 4px 0 0; }
@media (max-width:719px){
  .inaction { text-align: center; }
  .inaction__visual { justify-content: center; }
  .inaction__visual img { object-position: center bottom; }
}
.inaction__visual { height: clamp(84px,12vw,108px); margin-bottom: 18px; display: flex; align-items: flex-end; }
.inaction__visual img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.inaction__visual--ph { border: 1.5px dashed var(--line); border-radius: var(--r-md); background: repeating-linear-gradient(135deg, #f7f8fa 0 10px, #eef0f4 10px 20px); align-items: center; justify-content: center; width: clamp(84px,12vw,108px); }
.inaction__visual--ph::before { content: attr(data-ph); font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); letter-spacing: .02em; text-align: center; }
.inaction__tag { display: inline-block; font-size: 12.5px; font-weight: 900; letter-spacing: .04em; color: var(--orange); background: var(--orange-100); border-radius: 999px; padding: 6px 15px; }
.inaction h3 { font-size: clamp(19px,4.3vw,23px); font-weight: 900; line-height: 1.5; margin: 18px 0 14px; }
.inaction p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
@media (max-width:719px){ #cost-inaction .grid { gap: 52px; } }
@media (min-width:720px){ .inaction { padding-right: 18px; } .inaction:not(:last-child){ border-right: 1px solid var(--line); } }

/* ============================================================
   STRUCTURE (なぜうまくいかないか)
   ============================================================ */
.split-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px,4vw,34px); box-shadow: var(--shadow-sm); text-align:center; }
.split-card__role { display:inline-block; font-size:13px; font-weight:900; color: var(--ink-3); letter-spacing:.04em; padding:6px 16px; border:1px solid var(--line); border-radius:999px; }
.split-card__verb { font-size: clamp(22px,5vw,30px); font-weight:900; line-height:1.35; margin:22px 0 16px; color: var(--ink-3); }
.split-card__verb b { color: var(--orange); }
.split-card__desc { margin:0; font-size:14px; color:var(--ink-2); line-height:1.85; }
.structure__close { text-align:center; margin-top: clamp(36px,6vw,52px); font-size: clamp(16px,4vw,21px); font-weight:900; line-height:1.7; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.needed__gif { margin: clamp(28px,5vw,44px) auto 0; max-width: 760px; }
.needed__gif img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.needed__head { position: relative; }
.needed__head > .eyebrow, .needed__head > .h-sec { position: relative; z-index: 1; }
.needed__gif-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(560px, 96%); height: auto; z-index: 0; pointer-events: none; opacity: .9; mix-blend-mode: multiply; }
.ba { display:grid; gap:18px; margin-top: clamp(100px,11vw,150px); align-items:stretch; }
@media (min-width:860px){ .ba { grid-template-columns: 1fr auto 1fr; align-items:center; } }
.ba__col { border-radius: var(--r-lg); padding: clamp(26px,4vw,38px); }
.ba__col--before { background: var(--ink); color:#fff; box-shadow: var(--shadow-md); }
.ba__col--after { background: #fff; border:1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-md); position:relative; }
.ba__illust { position:absolute; top:0; right:14px; width:clamp(220px,52%,320px); height:auto; transform:translateY(-58%); pointer-events:none; }
@media (max-width:859px){
  .ba { margin-top: clamp(28px,6vw,44px); }
  .ba__illust { position:static; display:block; width:min(180px,52%); margin:2px auto clamp(10px,2.4vw,16px); transform:none; right:auto; }
}
.ba__head { display:inline-flex; align-items:baseline; gap:10px; font-size: clamp(18px,4vw,22px); font-weight:900; letter-spacing:.06em; color: #9a9c93; margin-bottom:18px; }
.ba__head small { font-size:12px; font-weight:700; letter-spacing:.02em; }
.ba__head--after { color: var(--green-700); }
.ba__col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.ba__col--before li { font-size:15px; color: #cfd0c9; font-weight:500; padding-left:26px; position:relative; line-height:1.7; }
.ba__col--before li::before { content:"×"; position:absolute; left:0; top:-1px; color: #9a9c93; font-weight:900; }
.ba__col--after li { padding-left:28px; position:relative; }
.ba__col--after li::before { content:"✓"; position:absolute; left:0; top:1px; color: var(--teal); font-weight:900; }
.ba__col--after li b { display:block; font-size:15.5px; font-weight:900; line-height:1.6; color: var(--ink); }
.ba__col--after li > span { display:block; font-size:12px; color: var(--ink-3); font-weight:700; margin-top:3px; }
.ba__col--after li b .hl-o { display:inline; color: var(--orange); font-weight:900; }
.ba__arrow { text-align:center; font-size:30px; color: var(--green); font-weight:900; transform: rotate(90deg); }
@media (min-width:860px){ .ba__arrow { transform:none; } }

/* ============================================================
   SERVICE (3 STEP)
   ============================================================ */
.steps { display:grid; gap:18px; margin-top: clamp(28px,5vw,44px); }
@media (min-width:840px){ .steps { grid-template-columns: repeat(3,1fr); align-items:stretch; } }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px,3.5vw,32px); box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step--feature { border-color: var(--green); box-shadow: 0 10px 34px rgba(3,137,81,.13); position:relative; }
.step--feature::before { content:"おすすめの王道ルート"; position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--green); color:#fff; font-size:11.5px; font-weight:900; letter-spacing:.04em; padding:5px 16px; border-radius:999px; white-space:nowrap; }
.step__top { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.step__no { font-size:12.5px; font-weight:900; letter-spacing:.12em; color: var(--ink-3); white-space:nowrap; }
.step__badge { font-size:12px; font-weight:900; padding:5px 12px; border-radius:999px; letter-spacing:.01em; white-space:nowrap; }
.step__badge--markel { background:#eef1f6; color: var(--ink-2); }
.step__badge--hibiki { background: var(--green-100); color: var(--green-700); }
.step__title { font-size: clamp(19px,4vw,23px); font-weight:900; line-height:1.5; margin:18px 0 18px; }
.step__list { list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:11px; flex:1; }
.step__list li { font-size:14.5px; color: var(--ink-2); padding-left:24px; position:relative; line-height:1.65; }
.step__list li::before { content:"▸"; position:absolute; left:0; top:0; color: var(--green); font-weight:900; }
.step__foot { margin:0; font-size:13.5px; font-weight:900; color: var(--ink); background: var(--bg-soft); border-radius:12px; padding:12px 16px; text-align:center; }
.step--feature .step__foot { background: var(--green-100); color: var(--green-700); }

/* ============================================================
   RECOMMENDED FOR
   ============================================================ */
.reco { display:grid; gap: clamp(28px,5vw,56px); align-items:center; }
.reco__illust { width: 100%; max-width: 320px; height: auto; display: block; margin-bottom: 20px; }
@media (min-width:860px){ .reco { grid-template-columns: .8fr 1fr; } }
.reco__list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.reco__list li { display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding:18px 22px; font-size: clamp(15px,3.6vw,16.5px); font-weight:700; box-shadow: var(--shadow-sm); line-height:1.6; }
.reco__check { flex:none; width:26px; height:26px; border-radius:50%; background: var(--green-100); color: var(--green); display:grid; place-items:center; font-weight:900; font-size:14px; margin-top:1px; }

/* ============================================================
   COST COMPARISON
   ============================================================ */
.costs { display:grid; gap:18px; margin-top: clamp(28px,5vw,44px); align-items:stretch; }
@media (min-width:840px){ .costs { grid-template-columns: repeat(3,1fr); } }
.cost { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px,3.5vw,34px); box-shadow: var(--shadow-sm); display:flex; flex-direction:column; position:relative; }
.cost--reco { border: 2px solid var(--green); box-shadow: 0 14px 40px rgba(3,137,81,.16); }
.cost__pin { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--green); color:#fff; font-size:11.5px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; padding:6px 16px; border-radius:999px; }
.cost__label { font-size:14.5px; font-weight:900; color: var(--ink-2); letter-spacing:.01em; }
.cost__label--reco { color: var(--green-700); }
.cost__price { display:flex; align-items:baseline; gap:4px; margin:14px 0 20px; color: var(--ink); }
.cost__price span { font-size:15px; font-weight:700; color: var(--ink-2); white-space:nowrap; }
.cost__price strong { font-size: clamp(44px,9vw,60px); line-height:1; letter-spacing:-.01em; }
.cost__price small { font-size:13px; font-weight:700; margin-left:2px; }
.cost--reco .cost__price strong { color: var(--green); }
.cost__items { list-style:none; margin:0 0 18px; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; border-top:1px solid var(--line); padding-top:18px; }
.cost__items li { font-size:13.5px; color: var(--ink-2); line-height:1.6; padding-left:18px; position:relative; }
.cost__items li::before { content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background: var(--ink-3); }
.cost--reco .cost__items li::before { background: var(--green); }
.cost__note { margin:0; font-size:13px; font-weight:700; color: var(--ink-3); text-align:center; padding:11px; background: var(--bg-soft); border-radius:10px; }
.cost__note--reco { background: var(--green-100); color: var(--green-700); }
.cost-summary { text-align:center; margin-top: clamp(36px,6vw,56px); }
.cost-summary p { margin:0 0 12px; font-size: clamp(15px,3.6vw,18px); color: var(--ink-2); font-weight:700; line-height:1.8; }
.cost-summary p strong { color: var(--orange); }
.cost-summary__big { font-size: clamp(22px,5.4vw,38px); font-weight:900; line-height:1.5; display:block; }

/* ============================================================
   REASONS (3 cards with illustrations)
   ============================================================ */
.reasons3 { display:grid; gap: clamp(18px,2.6vw,28px); margin-top: clamp(30px,5vw,50px); }
@media (min-width:840px){ .reasons3 { grid-template-columns: repeat(3,1fr); } }
.r3 { background:#eef1f6; border-radius: clamp(22px,2.4vw,32px); padding: clamp(22px,2.6vw,30px) clamp(15px,1.7vw,22px); display:flex; flex-direction:column; }
.r3__illust { display:block; width:100%; height:auto; aspect-ratio: 4/3; margin-bottom: clamp(18px,2.4vw,26px); }
.r3__illust::part(frame) { background:transparent !important; }
.r3__kw { font-size: clamp(13px,1.5vw,15px); font-weight:900; color:#e2895c; letter-spacing:.02em; margin-bottom: clamp(8px,1.2vw,12px); }
.r3__title { font-size: clamp(19px,2.05vw,23px); font-weight:900; line-height:1.5; letter-spacing:-.01em; text-wrap:balance; color: var(--ink); margin-bottom: clamp(14px,2vw,20px); }
.r3__title .hl-o { display:inline; }
.r3__desc { font-size: clamp(14px,1.6vw,15.5px); color: var(--ink-2); line-height:1.95; margin:0; }

/* ============================================================
   WORKS
   ============================================================ */
/* ============================================================
   SERVICES (SERVICE1 / SERVICE2 cards)
   ============================================================ */
.svc-wrap { max-width: 940px; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(22px,4vw,34px); }
.svc { position: relative; border-radius: clamp(26px,3vw,40px); padding: clamp(26px,4vw,46px); box-shadow: var(--shadow-md); }
.svc--1 { background: linear-gradient(145deg, #f266a4 0%, #fa897f 52%, #ffc07e 100%); --svc-accent: #ec4f97; }
.svc--2 { background: linear-gradient(145deg, #bcd96a 0%, #d9b86b 50%, #ef946c 100%); --svc-accent: #6f9e2f; }
.svc__illust { position: absolute; top: -14px; right: clamp(14px,2.5vw,34px); width: clamp(190px,32%,310px); height: auto; aspect-ratio: 16/9; display: block; }
.svc__illust::part(frame) { background: transparent !important; }
.svc__eyebrow { display: block; font-size: clamp(26px,4.4vw,42px); font-weight: 900; letter-spacing: .04em; color: rgba(255,255,255,.92); line-height: 1; }
.svc__head { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin-top: clamp(8px,1.4vw,14px); }
.svc__titles { display: flex; align-items: baseline; gap: clamp(12px,2vw,22px); flex-wrap: wrap; }
.svc__title { font-size: clamp(29px,5vw,48px); font-weight: 900; color: var(--ink); line-height: 1.05; }
.svc__price { font-size: clamp(15px,1.9vw,20px); font-weight: 800; color: var(--ink); }
.svc__rule { display: block; height: 3px; width: 100%; background: rgba(255,255,255,.85); border-radius: 2px; margin: clamp(14px,2vw,22px) 0 0; }
.svc__lead { font-size: clamp(15px,1.9vw,19px); font-weight: 700; color: var(--ink); line-height: 1.9; margin-top: clamp(18px,2.6vw,26px); }
.svc__cols { display: grid; gap: clamp(14px,2.4vw,22px); margin-top: clamp(22px,3.4vw,34px); }
@media (min-width: 720px){ .svc__cols { grid-template-columns: 1fr 1fr; } }
.svc__col { background: #fff; border-radius: 18px; padding: clamp(18px,2.4vw,26px); }
.svc__col-h { font-size: clamp(17px,2.1vw,21px); font-weight: 900; color: var(--svc-accent); margin-bottom: 12px; }
.svc__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.svc__col li { position: relative; padding-left: 17px; font-size: clamp(13.5px,1.6vw,15px); font-weight: 700; color: var(--ink); line-height: 1.6; }
.svc__col li::before { content: "・"; position: absolute; left: 0; color: var(--ink); }
@media (max-width: 560px){
  .svc__illust { position: relative; top: auto; right: auto; width: 62%; margin: 0 auto clamp(16px,4.5vw,24px); }
  .svc__eyebrow { text-align: center; }
  .svc__head { align-items: center; margin-inline: auto; }
  .svc__titles { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
}

.cases { display:grid; gap: clamp(16px,2.4vw,24px); margin-top: clamp(28px,5vw,44px); }
@media (min-width:860px){ .cases { grid-template-columns: repeat(3,1fr); } }
.case { background:#fff; border-radius:22px; box-shadow: var(--shadow-md); padding: clamp(20px,2.4vw,28px); display:flex; flex-direction:column; min-width:0; overflow-wrap:anywhere; }
.case__head { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-bottom:16px; }
.case__tag { font-size:12px; font-weight:900; color:#fff; background: linear-gradient(120deg,#f98ad9,#ffab7e); padding:5px 13px; border-radius:999px; white-space:nowrap; align-self:flex-start; }
.case__title { font-size: clamp(18px,2.1vw,21px); font-weight:900; line-height:1.3; }
.case__photo { display:block; width:100%; aspect-ratio:16/10; margin-bottom:18px; }
.case__problem { text-align:center; font-size: clamp(14px,1.6vw,15.5px); font-weight:700; color: var(--ink); line-height:1.85; margin:2px 0 20px; text-wrap:balance; }
.case__metrics { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:auto; }
.metric { background: linear-gradient(165deg,#f985d6 0%,#ff9a83 66%,#ffc887 100%); border-radius:14px; padding: clamp(15px,1.9vw,20px) 8px; text-align:center; color:#fff; display:flex; flex-direction:column; gap:7px; }
.metric__lbl { font-size: clamp(14px,1.7vw,17px); font-weight:900; letter-spacing:.02em; }
.metric__num { font-size: clamp(26px,3.3vw,34px); font-weight:900; line-height:1; }
.metric__num small { font-size:.45em; font-weight:800; margin-left:3px; }
.cases__note { margin-top: clamp(20px,3vw,30px); text-align:center; font-size:12.5px; color: var(--ink-3); line-height:1.7; }

/* ---- Works carousel (SP) ---- */
.cases-dots { display: none; }
@media (max-width: 859px){
  .cases {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: center; }
  .cases-dots {
    display: flex; justify-content: center; gap: 9px; margin-top: 22px;
  }
  .cases-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: var(--line); transition: width .25s ease, background .25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .cases-dots button[aria-selected="true"] {
    width: 24px; background: var(--orange);
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display:grid; gap:20px; margin-top: clamp(28px,5vw,44px); align-items:start; }
@media (min-width:860px){ .pricing { grid-template-columns: .82fr 1.18fr; } }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,4vw,40px); box-shadow: var(--shadow-sm); display:flex; flex-direction:column; position:relative; }
.plan--feature { border:2px solid var(--green); box-shadow: 0 16px 46px rgba(3,137,81,.16); }
.plan__pin { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background: var(--green); color:#fff; font-size:12px; font-weight:900; letter-spacing:.04em; padding:6px 18px; border-radius:999px; }
.plan__type { font-size:13px; font-weight:900; color: var(--ink-3); letter-spacing:.02em; }
.plan__type--reco { color: var(--green-700); }
.plan__name { font-size: clamp(21px,4.6vw,26px); font-weight:900; margin:8px 0 16px; }
.plan__price { display:flex; align-items:baseline; gap:5px; color: var(--ink); padding-bottom:22px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.plan__price span { font-size:16px; font-weight:700; }
.plan__price strong { font-size: clamp(46px,10vw,62px); line-height:1; }
.plan__feats { list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:12px; flex:1; }
.plan__feats li { font-size:14.5px; color: var(--ink-2); padding-left:26px; position:relative; line-height:1.5; }
.plan__feats li::before { content:"✓"; position:absolute; left:0; color: var(--green); font-weight:900; }
.plan__feats--reco { flex-direction:row; flex-wrap:wrap; gap:10px 22px; flex:none; }
.plan__feats--reco li { font-size:14px; font-weight:700; }
.plan__foot { margin:0 0 18px; font-size:13px; font-weight:900; color: var(--ink); background: var(--bg-soft); border-radius:10px; padding:10px 14px; text-align:center; }
.plan .btn { width:100%; }
/* initial + tiers */
.plan__initial { background: var(--bg-soft); border-radius: var(--r-md); padding: 20px 22px; margin-bottom:22px; }
.plan__initial-lbl { font-size:13px; font-weight:900; color: var(--ink-2); }
.plan__initial-price { display:flex; align-items:baseline; gap:3px; margin:8px 0 10px; }
.plan__initial-price span { font-size:15px; font-weight:700; color: var(--ink-2); }
.plan__initial-price strong { font-size: clamp(30px,6.5vw,40px); line-height:1; color: var(--ink); }
.plan__initial p { margin:0; font-size:12.5px; color: var(--ink-3); line-height:1.7; }
.plan__initial em { font-style:normal; color: var(--orange); font-weight:700; }
.plan__plus { display:block; font-size:14px; font-weight:900; color: var(--ink-2); margin-bottom:14px; }
.plan__tiers { display:grid; gap:12px; margin-bottom:22px; }
@media (min-width:560px){ .plan__tiers { grid-template-columns:1fr 1fr; } }
.tier { border:1px solid var(--line); border-radius: var(--r-md); padding:18px 20px; }
.tier--star { border-color: var(--green); background: var(--green-100); }
.tier__name { font-size:14px; font-weight:900; color: var(--ink); display:flex; align-items:center; gap:6px; }
.tier__name i { color: var(--orange); font-style:normal; }
.tier__cond { display:block; font-size:11.5px; color: var(--ink-3); font-weight:700; margin:4px 0 12px; }
.tier__price { display:flex; align-items:baseline; gap:3px; flex-wrap:wrap; }
.tier__price span { font-size:13px; font-weight:700; color: var(--ink-2); }
.tier__price strong { font-size: clamp(26px,5.5vw,32px); line-height:1; color: var(--ink); }
.tier--star .tier__price strong { color: var(--green); }
.pricing__note { margin-top:22px; font-size:12px; color: var(--ink-3); text-align:center; line-height:1.7; }

/* ============================================================
   WHY US (comparison table)
   ============================================================ */
.cmp { margin-top: clamp(28px,5vw,52px); }
#why-us .eyebrow { white-space: nowrap; }
.cmp__scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; padding-top: 58px; }
.cmp__table { width:100%; min-width:680px; border-collapse:separate; border-spacing:0; }
.cmp__c-label { width: 21%; }
.cmp__table th, .cmp__table td { padding:18px 16px; text-align:center; vertical-align:middle; }

/* pill headers */
.cmp__corner { background:transparent; }
.cmp__h { position:relative; color:#fff; border-radius:16px; border-left:7px solid var(--bg-soft); border-right:7px solid var(--bg-soft); background-clip:padding-box; line-height:1.3; }
.cmp__h-name { display:block; font-size: clamp(14px,1.6vw,16px); font-weight:900; }
.cmp__h-price { display:block; font-size: clamp(15px,1.8vw,18px); font-weight:900; margin-top:4px; }
.cmp__h--gray { background:#9aa3b0; }
.cmp__h--dark { background:#3a3a37; }
.cmp__h--own  { background: var(--orange); }
.cmp__h-logo { position:absolute; left:50%; top:-50px; transform:translateX(-50%); width:74px; height:auto; }

/* row labels */
.cmp__table tbody th { text-align:left; font-size: clamp(14px,1.7vw,16px); font-weight:900; color: var(--ink); }

/* zebra */
.cmp__table tbody tr:nth-child(odd) th,
.cmp__table tbody tr:nth-child(odd) td { background:#eef1f6; }
.cmp__table tbody tr:nth-child(odd) th { border-radius:10px 0 0 10px; }
.cmp__table tbody tr:nth-child(odd) td:last-child { border-radius:0 10px 10px 0; }

/* body cells */
.cmp__table td { font-size: clamp(13.5px,1.6vw,15px); font-weight:800; color: var(--ink); }
.cmp__mk { font-weight:900; margin-right:6px; }
.cmp__tri { color:#9094a0; }
.cmp__tri .cmp__mk { color:#b7bac2; }
.cmp__cir { color: var(--ink); }
.cmp__cir .cmp__mk { color: var(--ink); }
.cmp__own, .cmp__own .cmp__mk { color: var(--orange) !important; }
.cmp__own--b { font-weight:900; }

/* cost row */
.cmp__cost b { display:block; font-size: clamp(17px,2vw,21px); font-weight:900; color: var(--ink); }
.cmp__cost.cmp__own b { color: var(--orange); }
.cmp__cost span { display:block; font-size:11.5px; color: var(--ink-3); font-weight:700; margin-top:5px; line-height:1.4; }
.cmp__cost.cmp__own span { color: #c98a6f; }

/* footer note */
.cmp__note { margin-top: clamp(18px,3vw,26px); background: var(--orange-100, #fdeee7); border-radius:14px; padding: clamp(16px,2.4vw,20px) clamp(18px,3vw,26px); text-align:center; font-size: clamp(13.5px,1.7vw,15.5px); font-weight:700; color: var(--ink); line-height:1.7; }
.cmp__note b { color: var(--orange); font-weight:900; }

/* pricing variant of the comparison table */
.ptable__scroll { padding-top: clamp(78px,9vw,104px); }
.ptable__table { min-width:560px; }
.ptable__table .cmp__c-label { width: 26%; }
.ptable__h { position:relative; color: var(--ink); border-radius: clamp(32px,4vw,52px); border-left:12px solid #fff; border-right:12px solid #fff; padding: clamp(20px,2.6vw,28px) 14px clamp(14px,1.8vw,18px); }
.ptable__h--soudan { background: linear-gradient(105deg,#f4a45f 0%,#fa8f7a 52%,#f693d2 100%); }
.ptable__h--banso  { background: linear-gradient(105deg,#a9d152 0%,#d0bd5d 58%,#f0a06d 100%); }
.ptable__h-name { display:block; font-size: clamp(20px,2.6vw,28px); font-weight:900; color: var(--ink); line-height:1.2; }
.ptable__h-sub  { display:block; font-size: clamp(11px,1.4vw,13px); font-weight:800; color: var(--ink); margin-top:7px; }
.ptable__h-illust { position:absolute; left:50%; top: clamp(-72px,-8vw,-58px); transform:translateX(-50%); width: clamp(108px,15vw,156px); height:auto; }
.ptable__table .pt-val { font-weight:900; color: var(--ink); }
.ptable__table .pmk--o { color: var(--orange); }
.ptable__table .pmk--g { color:#5fa12e; }
.ptable__table .pt-g { color:#5fa12e; font-weight:900; }
.ptable__table .cmp__mk { margin-right:4px; font-size: clamp(16px,2vw,19px); }

/* ============================================================
   HOW IT WORKS (flow) — 3 steps
   ============================================================ */
.flow-sec { background: linear-gradient(122deg, #fcebf1 0%, #fdf0e7 50%, #fdf4e4 100%); }
.flow-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.flow-top .kicker-wrap { margin:0; }
.flow-badge { position:relative; flex:none; margin-top:8px; white-space:nowrap; background:#fff; color: var(--orange); border:2px solid #f7c3b2; border-radius:999px; padding:11px 24px; font-size: clamp(15px,1.8vw,19px); font-weight:900; box-shadow: var(--shadow-sm); }
.flow-badge::after { content:""; position:absolute; left:34px; bottom:-9px; width:16px; height:16px; background:#fff; border-right:2px solid #f7c3b2; border-bottom:2px solid #f7c3b2; transform:rotate(45deg); }
.flow3 { display:grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items:start; gap: clamp(6px,1.5vw,18px); margin-top: clamp(34px,5vw,54px); }
.fstep { display:flex; flex-direction:column; align-items:center; text-align:center; }
.fstep__top { display:flex; align-items:center; justify-content:center; gap: clamp(10px,1.5vw,16px); margin-bottom: clamp(16px,2.2vw,22px); min-height: 58px; }
.fstep__num { font-size: clamp(40px,5.2vw,62px); font-weight:900; color: var(--ink); line-height:1; }
.fstep__label { font-size: clamp(16px,1.9vw,21px); font-weight:900; color: var(--ink); text-align:left; line-height:1.25; }
.fstep__ill { width: clamp(150px,18vw,212px); height: clamp(150px,18vw,212px); aspect-ratio:1; margin-bottom: clamp(16px,2.2vw,22px); }
.fstep__ill::part(frame){ background:#fff !important; border-radius:50%; }
.fstep__ill::part(image){ padding:13%; box-sizing:border-box; }
.fstep__desc { font-size: clamp(14px,1.55vw,16px); color: var(--ink); font-weight:700; line-height:1.85; max-width:248px; margin:0; text-wrap:pretty; }
.fstep__arrow { align-self:start; margin-top: clamp(92px,13vw,156px); color: rgba(216,90,48,.45); font-weight:900; font-size: clamp(20px,2.6vw,30px); letter-spacing:-3px; }
.flow-note { margin-top: clamp(34px,5vw,52px); font-size:13px; color: var(--ink-2); line-height:1.7; }
@media (max-width: 760px){
  .flow3 { grid-template-columns: 1fr; gap: 6px; }
  .fstep { padding: 6px 0; }
  .fstep__arrow {
    align-self: center; justify-self: center;
    transform: none; margin: 10px 0; padding: 0;
    font-size: 0; line-height: 0; letter-spacing: 0;
    width: auto; height: auto;
  }
  .fstep__arrow::before {
    content: ""; display: block; width: 15px; height: 15px;
    border-right: 3px solid rgba(216,90,48,.55);
    border-bottom: 3px solid rgba(216,90,48,.55);
    border-radius: 2px; transform: rotate(45deg);
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: clamp(28px,5vw,40px); display:flex; flex-direction:column; gap:14px; }
.faq__item { background:#fff; border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; transition: box-shadow .2s ease; }
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: #d7dbe2; }
.faq__q { width:100%; text-align:left; background:none; border:none; padding:22px 56px 22px 24px; font-size: clamp(15px,3.8vw,17px); font-weight:900; color: var(--ink); line-height:1.6; position:relative; display:flex; }
.faq__q::before { content:"Q"; color: var(--green); font-weight:900; margin-right:12px; flex:none; }
.faq__icon { position:absolute; right:22px; top:50%; width:16px; height:16px; transform:translateY(-50%); }
.faq__icon::before, .faq__icon::after { content:""; position:absolute; background: var(--green); border-radius:2px; transition: transform .25s ease, opacity .2s ease; }
.faq__icon::before { left:0; top:7px; width:16px; height:2px; }
.faq__icon::after { left:7px; top:0; width:2px; height:16px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity:0; }
.faq__a { max-height:0; overflow:hidden; transition: max-height .35s ease; }
.faq__item.is-open .faq__a { max-height:420px; }
.faq__a p { margin:0; padding:0 24px 24px 48px; font-size:14.5px; color: var(--ink-2); line-height:1.95; }
.faq__a p b { color: var(--ink); }
.no-anim .faq__a { transition:none; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { text-align:center; position:relative; overflow:visible; }

/* light variant — soft gradient bg (matches flow section), dark text */
.cta--light { background: linear-gradient(122deg, #fcebf1 0%, #fdf0e7 50%, #fdf4e4 100%); color: var(--ink); }
.cta--light::before { display:none; }
.cta--light .cta__limit { color: var(--ink); background: rgba(255,255,255,.7); border:1px solid #f3c8b6; }
.cta--light .cta__limit b { color: var(--orange); }
.cta--light .cta__title { color: var(--ink); }
.cta--light .cta__mark { color: var(--orange); }
.cta--light .cta__lead { color: var(--ink-2); }
.cta--light .cta__lead b { color: var(--ink); }
.cta--light .cta__points li { color: var(--ink); }
.cta--light .cta__points li span { color: var(--orange); }
.cta--light .cta__steps { color: var(--ink-2); }
.cta--light .cta__steps b { color: var(--ink); }
.cta--light .cta__next { color: var(--ink-2); border-color: #e3c6b6; background: rgba(255,255,255,.55); }
.cta__limit {
  display:inline-flex; align-items:center; gap:9px; white-space:nowrap;
  font-size:14px; font-weight:900; letter-spacing:.04em; color:#fff;
  background:rgba(216,90,48,.16); border:1px solid rgba(243,169,136,.4);
  padding:9px 20px; border-radius:999px; margin-bottom:22px;
}
.cta__limit b { color:#f3a988; font-size:16px; margin:0 1px; }
.cta__limit-dot { width:8px; height:8px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 4px rgba(216,90,48,.22); }
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 80% at 50% 0%, rgba(26,188,156,.16), transparent 60%); pointer-events:none; }
.cta__inner { position:relative; z-index:1; max-width:760px; }
/* PC: celebrate anchored to LINE perk box top-right */
.cta__celebrate--pc { position:absolute; top:0; right:0; z-index:2; pointer-events:none; width:auto; height: clamp(76px,12vw,116px); transform: translate(10%,-46%) rotate(-4deg); }
@media (max-width:600px){ .cta__celebrate--pc { display:none; } }
/* SP: celebrate large & centered at top of the CTA */
.cta__celebrate--sp { display:none; }
@media (max-width:600px){
  .cta__celebrate--sp {
    display:block; position:static; margin:0 auto clamp(6px,2vw,14px);
    height:clamp(140px,40vw,172px); width:auto; transform:rotate(-4deg); pointer-events:none;
  }
}
.cta__title { font-size: clamp(28px,6.4vw,46px); font-weight:900; line-height:1.45; margin:18px 0 0; }
.cta__mark { color: #f08a5f; }
.cta__lead { margin: clamp(20px,4vw,28px) auto 0; font-size: clamp(15px,3.8vw,18px); color:#cfd0c9; line-height:1.95; max-width:680px; }
.cta__lead b { color:#fff; }
.cta__points { list-style:none; margin: clamp(28px,5vw,40px) auto 0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:12px 22px; }
.cta__points li { display:inline-flex; align-items:center; gap:9px; font-size:14.5px; font-weight:700; color:#fff; white-space:nowrap; }
.cta__points li span { color: var(--teal); font-size:12px; }
.cta__box { margin-top: clamp(32px,5vw,44px); }
.cta__box .btn { box-shadow: 0 14px 36px rgba(3,137,81,.4); }

/* ---- LINE friend-add perks ---- */
.perk {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); position: relative; overflow: visible;
  padding: clamp(24px,4vw,40px); margin: clamp(34px,5vw,48px) auto 0;
  max-width: 720px; text-align: left;
}
.perk__head { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: clamp(22px,3.2vw,30px); }
.perk__line { width: 46px; height: 46px; border-radius: 12px; background: #06C755; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px rgba(6,199,85,.26); }
.perk__line img { width: 30px; height: 30px; object-fit: contain; }
.perk__title { font-size: clamp(19px,3.4vw,27px); font-weight: 900; color: var(--cta); letter-spacing: .01em; }
.perk__title b { color: var(--cta-700); }
.perk__main { display: grid; gap: clamp(20px,3vw,30px); align-items: center; }
@media (min-width: 660px){ .perk__main { grid-template-columns: minmax(170px, 36%) 1fr; } }
.perk__visual img { width: 100%; max-width: 290px; height: auto; margin-inline: auto; display: block; filter: drop-shadow(0 16px 30px rgba(20,30,28,.14)); }
.perk__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(16px,2.4vw,22px); }
.perk__list li { position: relative; padding-left: 22px; font-size: clamp(14px,1.7vw,15.5px); color: var(--ink-2); line-height: 1.9; }
.perk__list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.perk__list li b { display: block; color: var(--ink); font-weight: 900; margin-bottom: 3px; }
.cta__steps { margin: 20px auto 0; font-size:13.5px; color:#b9bbb2; line-height:1.8; }
.cta__steps b { color:#fff; }
.cta__next { display:inline-block; margin-top: clamp(28px,5vw,40px); font-size:12.5px; font-weight:700; color:#9a9c93; border:1px solid #44443f; border-radius:999px; padding:10px 22px; }

/* ============================================================
   FOOTER layout
   ============================================================ */
.footer__inner { display:grid; gap:32px; padding-bottom:40px; border-bottom:1px solid #44443f; justify-items:center; text-align:center; }
.footer__tag { margin:6px 0 0; font-size:13.5px; color:#9a9c93; line-height:1.9; }
.footer__nav { display:flex; flex-wrap:wrap; gap:14px 26px; }
@media (min-width:760px){ .footer__nav { justify-content:flex-end; } }
.footer__nav a { font-size:14px; font-weight:700; }
.footer__base { display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:center; text-align:center; margin-top:28px; font-size:12px; color:#7e8077; }

/* ---------- Utility ---------- */
.center { text-align: center; }

/* ============================================================
   PLAN FINDER (YES / NO 診断)
   ============================================================ */
.finder { display: flex; flex-direction: column; margin-top: clamp(28px,5vw,44px); }
#plan-finder .eyebrow { white-space: nowrap; }

/* ---- Flowchart ---- */
.fc { margin-top: clamp(28px,5vw,44px); }
.fc__legend { display: flex; gap: 24px; justify-content: flex-end; margin-bottom: 18px; }
.fc__leg { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 900; color: var(--ink-2); letter-spacing: .04em; }
.fc__leg-l { width: 30px; height: 0; display: inline-block; }
.fc__leg-l--yes { border-top: 2px dotted var(--ink-3); }
.fc__leg-l--no { border-top: 2px solid var(--ink); }

/* chart: questions stacked in col1, the two outcome cards side-by-side at the bottom */
.fc__chart { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px,4.5vw,64px); row-gap: clamp(36px,5.5vw,60px); align-items: start; max-width: 920px; margin: clamp(24px,4vw,36px) auto 0; }
.fc__chart > * { position: relative; z-index: 1; }
.fc__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.fc__wires text { font-family: inherit; }

.fc__chart > [data-fc="start"]  { grid-column: 1; grid-row: 1; justify-self: center; }
.fc__chart > [data-fc="q1"]     { grid-column: 1; grid-row: 2; }
.fc__chart > [data-fc="q2"]     { grid-column: 1; grid-row: 3; }
.fc__chart > [data-fc="soudan"] { grid-column: 1; grid-row: 4; align-self: stretch; }
.fc__chart > [data-fc="banso"]  { grid-column: 2; grid-row: 4; align-self: stretch; }

.fc__start { background: var(--orange); color: #fff; font-weight: 900; letter-spacing: .12em; font-size: 13px; padding: 9px 28px; border-radius: 999px; box-shadow: var(--shadow-sm); }

.fc__q { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(15px,2.3vw,20px) clamp(17px,2.6vw,24px); display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.fc__qn { flex: none; font-size: 13px; font-weight: 900; color: var(--orange); background: rgba(216,90,48,.16); border: 1px solid rgba(216,90,48,.5); border-radius: 8px; padding: 4px 9px; line-height: 1; margin-top: 2px; }
.fc__q p { font-size: clamp(15px,2vw,18px); font-weight: 900; line-height: 1.55; }

.fc__out { border-radius: 18px; box-shadow: var(--shadow-md); color: #fff; padding: clamp(18px,2.4vw,24px); display: grid; grid-template-columns: minmax(0,1fr) clamp(108px,36%,168px); grid-template-areas: "title illust" "desc desc"; column-gap: clamp(12px,2vw,18px); align-items: center; }
.fc__out--yes { background: #ffde59; color: var(--ink); }
.fc__out--no  { background: #f97cdf; color: #fff; }
.fc__out-title { grid-area: title; }
.fc__out-illust { grid-area: illust; }
.fc__out-illust img { width: 100%; height: auto; display: block; }
.fc__out-desc { grid-area: desc; margin-top: 8px; }
.fc__out--yes .fc__out-desc { color: var(--ink-2); }
.fc__out--no  .fc__out-desc { color: rgba(255,255,255,.92); }
.fc__out b { display: block; font-size: clamp(19px,2.4vw,23px); font-weight: 900; margin: 0 0 4px; }
.fc__out p { font-size: 13.5px; line-height: 1.8; }

@media (max-width: 819px){
  .fc__legend { justify-content: flex-start; }
  .fc__chart { grid-template-columns: 1fr; column-gap: 0; row-gap: 30px; max-width: 460px; }
  .fc__chart > [data-fc] { grid-column: 1 !important; }
  .fc__chart > [data-fc="start"]  { grid-row: 1; }
  .fc__chart > [data-fc="q1"]     { grid-row: 2; }
  .fc__chart > [data-fc="q2"]     { grid-row: 3; }
  .fc__chart > [data-fc="soudan"] { grid-row: 4; }
  .fc__chart > [data-fc="banso"]  { grid-row: 5; }
  .fc__wires { display: none; }
  .fc__chart > [data-fc="q1"]::before,
  .fc__chart > [data-fc="q2"]::before,
  .fc__chart > [data-fc="soudan"]::before {
    content: ""; position: absolute; top: -21px; left: 50%; transform: translateX(-50%);
    border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--ink-3);
  }
}
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.eyebrow + .h-sec { margin-top: 16px; }
.num { font-feature-settings: "tnum"; font-weight: 900; }
.hide-sp { display: none; }
@media (min-width: 880px){
  .nav-links { display: flex; }
  .hide-sp { display: revert; }
  .hide-pc { display: none; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-sec { background: var(--bg-soft); }
.form-wrap { max-width: 820px; margin-inline: auto; }
.form { display: flex; flex-direction: column; gap: clamp(18px,2.6vw,24px); margin-top: clamp(28px,5vw,44px); }
.form__row { display: grid; gap: 10px; }
@media (min-width: 720px){ .form__row { grid-template-columns: 210px 1fr; align-items: start; gap: 18px; } }
.form__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 15.5px; color: var(--ink); padding-top: 12px; }
.form__req { font-size: 11px; font-weight: 900; color: #fff; background: var(--orange); border-radius: 5px; padding: 3px 8px; letter-spacing: .04em; }
.form__field { min-width: 0; }
.form__input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; transition: border-color .18s ease, box-shadow .18s ease;
}
.form__input::placeholder { color: #b3b5ad; }
.form__input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(3,137,81,.12); }
.form__input:focus-visible { outline: none; }
.form__textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.form__input.is-invalid { border-color: #d2483a; box-shadow: 0 0 0 4px rgba(210,72,58,.1); }

.form__privacy {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px; max-height: 220px; overflow-y: auto;
  font-size: 13px; color: var(--ink-2); line-height: 1.85;
}
.form__privacy:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.form__privacy-title { text-align: center; font-size: 15px; font-weight: 900; color: var(--ink); margin: 0 0 14px; }
.form__privacy p { margin: 0 0 10px; }
.form__privacy p:last-child { margin-bottom: 0; }
.form__privacy b { color: var(--ink); font-weight: 900; }

.form__agree { display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--cta); flex: none; cursor: pointer; }

.form__submit {
  position: relative; overflow: hidden; isolation: isolate;
  align-self: center; width: min(100%, 460px);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 900; font-size: 17px; color: #fff; cursor: pointer;
  background: var(--cta); border: none; border-radius: 14px; padding: 19px 28px;
  box-shadow: 0 12px 30px rgba(3,137,81,.32); transition: background .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.form__submit > * { position: relative; z-index: 1; }
.form__submit:hover { background: var(--cta-700); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(3,137,81,.4); }
.form__submit-arrow { font-size: 22px; line-height: 1; font-weight: 700; }
.form__submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.form__submit::after {
  content: ""; position: absolute; top: -20%; left: -90%; width: 55%; height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.18) 35%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.18) 65%, transparent 100%);
  transform: skewX(-22deg); pointer-events: none; z-index: 2; animation: ctaShine 5s ease-in-out infinite;
}
.form__submit:disabled::after { display: none; }
@media (prefers-reduced-motion: reduce){ .form__submit::after { display: none; } }
.form__note { text-align: center; font-size: 14px; font-weight: 700; margin: 0; min-height: 1px; }
.form__note.is-ok { color: var(--cta); }
.form__note.is-err { color: #d2483a; }

/* ============================================================
   FLOATING CTA (fab) — PC: bottom-right card / SP: bottom bar
   ============================================================ */
.fab {
  position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 15px 15px 16px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab__illust { position: absolute; right: 10px; bottom: 100%; margin-bottom: -6px; width: 158px; height: auto; pointer-events: none; }
.fab__head { margin: 0; font-size: 15px; font-weight: 900; color: var(--ink); text-align: center; line-height: 1.55; }
.fab__hl { color: var(--orange); }
.fab__btns { display: flex; flex-direction: column; gap: 9px; }
.fab__btn.btn { width: 100%; padding: 14px 16px; font-size: 15px; border-radius: 12px; box-shadow: none; }
.fab__btn.btn--line:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(6,199,85,.28); }
.fab__btn--form { background: var(--ink); color: #fff; border: none; gap: 9px; }
.fab__btn--form:hover { background: #000; transform: translateY(-2px); }
.fab__mail { flex: none; }

@media (max-width: 879px){
  .fab {
    left: 0; right: 0; bottom: 0; width: auto; border: none;
    border-radius: 18px 18px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 26px rgba(20,30,28,.16); gap: 9px;
    transform: translateY(100%);
  }
  .fab.is-on { transform: none; }
  .fab__illust { right: 8px; width: 128px; margin-bottom: -4px; }
  .fab__head { text-align: center; font-size: 14px; padding-right: 0; }
  .fab__btns { flex-direction: row; gap: 10px; }
  .fab__btn.btn { flex: 1; padding: 15px 8px; }
}
@media (prefers-reduced-motion: reduce){
  .fab { transition: none; }
}
