/* ==========================================================================
   フラクタルデザインコンサルティング株式会社 — 静的サイト共通スタイル
   design.md 準拠（カラー / タイポグラフィ / 8pxグリッド / コンポーネント）
   ========================================================================== */

:root {
  /* Corporate */
  --navy: #0D4468;
  --navy-dark: #0A3350;
  --teal: #009392;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --text: #1A202C;
  --text-2: #2D3748;
  --text-sub: #718096;
  --line: #E2E8F0;
  --line-2: #A7A6A7;
  /* Smart Clinic */
  --sky: #2EA7E0;
  --magenta: #D4327D;
  --sc-gray: #898989;
  --sky-pale: #EBF7FC;
  /* Yoridoko */
  --yd-teal: #0D9392;
  --teal-pale: #E6F4F4;

  --font-jp: "Noto Sans JP", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
  --font-en: "Montserrat", "Inter", var(--font-jp);

  --max: 1120px;
  --gutter: 24px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, .05);
  --shadow-card-hover: 0 12px 32px rgba(13, 68, 104, .12);
  --header-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 700; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 200; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 6px; }
.skip-link:focus { top: 8px; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--sky { background: var(--sky-pale); }
.section--teal { background: var(--teal-pale); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__en {
  display: inline-block; font-family: var(--font-en); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; color: var(--teal); text-transform: uppercase; margin-bottom: 8px;
}
.sec-head__title { font-size: 28px; }
.sec-head__lead { margin-top: 16px; color: var(--text-2); }
.sec-head--left { text-align: left; }
.sec-head--sc .sec-head__en { color: var(--sky); }
.section--navy .sec-head__en { color: #7fd6d5; }
.section--navy .sec-head__lead { color: rgba(255,255,255,.85); }

.lead { font-size: 17px; color: var(--text-2); }
.note { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.hl-magenta { color: var(--magenta); }
.hl-sky { color: var(--sky); }
.hl-teal { color: var(--teal); }
.num { font-family: var(--font-en); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; line-height: 1.4;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: opacity .2s, transform .2s, box-shadow .2s, background-color .2s;
  text-align: center;
}
.btn:hover { opacity: .9; transform: translateY(-2px); }
.btn--main { background: var(--magenta); color: #fff; box-shadow: 0 4px 12px rgba(212, 50, 125, .25); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(13, 68, 104, .25); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 4px 12px rgba(0, 147, 146, .25); }
.btn--sub { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--sub-sky { background: #fff; color: var(--sky); border-color: var(--sky); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn .arrow { font-family: var(--font-en); transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-group--center { justify-content: center; }

/* ---------- Image placeholder (画像未配置でも崩れない) ---------- */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, rgba(13,68,104,.035) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #E3ECF3 0%, #DDF0EF 100%);
  aspect-ratio: 16 / 9;
}
.ph::before {
  content: attr(data-ph);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center; white-space: pre-line;
  font-size: 13px; line-height: 1.6; font-weight: 700; color: rgba(13,68,104,.6);
  font-family: var(--font-en), var(--font-jp); letter-spacing: .02em;
}
.ph::after {
  content: ""; position: absolute; left: 50%; top: calc(50% - 44px); width: 32px; height: 26px; transform: translateX(-50%);
  border: 2px solid rgba(13,68,104,.35); border-radius: 4px;
  background: radial-gradient(circle at 50% 55%, rgba(13,68,104,.35) 0 5px, transparent 6px);
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph > img.is-missing { visibility: hidden; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--portrait > img { object-position: center top; }
/* ヒーロー・背景用：全面に敷き、ラベルは右下へ */
.ph--bg { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: 0;
  background: linear-gradient(120deg, #0D4468 0%, #0F5C7E 55%, #0B7F84 100%); }
.ph--bg::before { inset: auto 16px 16px auto; padding: 6px 12px; border-radius: 4px;
  color: rgba(255,255,255,.75); background: rgba(0,0,0,.18); font-size: 12px; z-index: 0; }
.ph--bg::after { display: none; }
/* 仮ラベル（ファイル名など）は画像が読み込めなかったときだけ表示する */
.ph:not(.is-empty)::before, .ph:not(.is-empty)::after { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo__img { height: 40px; width: auto; display: block; }
.site-footer .logo__img { height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__en { font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.logo__jp { font-size: 10px; color: var(--text-sub); letter-spacing: .04em; }
.logo--white { color: #fff; }
.logo--white .logo__jp { color: rgba(255,255,255,.7); }

.gnav { margin-left: auto; }
.gnav__list { display: flex; list-style: none; gap: 4px; align-items: center; }
.gnav__link {
  display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text-2);
  text-decoration: none; border-radius: 6px; position: relative; white-space: nowrap;
}
.gnav__link:hover { color: var(--navy); background: var(--bg-soft); }
.gnav__link.is-current { color: var(--navy); font-weight: 700; }
.gnav__link.is-current::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--teal); border-radius: 2px; }
.header-cta { display: flex; gap: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.menu-toggle::before { top: 15px; }
.menu-toggle span { top: 21px; }
.menu-toggle::after { top: 27px; }
.is-menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-toggle span { opacity: 0; }
.is-menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,51,80,.92) 0%, rgba(13,68,104,.78) 45%, rgba(13,68,104,.25) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 112px 0 104px; max-width: 680px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; margin-bottom: 24px; }
.hero__title { font-size: 42px; line-height: 1.4; color: #fff; letter-spacing: .02em; }
.hero__title em { font-style: normal; color: #8BE3E1; }
.hero__lead { margin-top: 24px; font-size: 17px; color: rgba(255,255,255,.9); }
.hero .btn-group { margin-top: 40px; }
.hero--sub .hero__inner { padding: 88px 0 80px; }
.hero--sub .hero__title { font-size: 36px; }
.hero--sc::after { background: linear-gradient(90deg, rgba(10,51,80,.92) 0%, rgba(13,68,104,.75) 45%, rgba(46,167,224,.25) 100%); }
.hero--sc .hero__title em { color: #9FDBF6; }
.hero--plain::after { background:
  radial-gradient(ellipse at 85% 20%, rgba(0,147,146,.45), transparent 55%),
  linear-gradient(120deg, var(--navy-dark), var(--navy)); }

.breadcrumb { position: relative; z-index: 2; font-size: 12px; padding-top: 20px; color: rgba(255,255,255,.75); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 32px; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--teal-pale); color: var(--teal);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--sky { background: var(--sky-pale); color: var(--sky); }
.card__icon--magenta { background: #FBEAF2; color: var(--magenta); }
.card__icon--navy { background: #E7EEF4; color: var(--navy); }
.card__title { font-size: 19px; margin-bottom: 8px; }
.card__text { color: var(--text-2); font-size: 15px; line-height: 1.8; }
.card__num { font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--teal); letter-spacing: .12em; display: block; margin-bottom: 4px; }

/* 課題（ホーム） */
.issue-col { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.issue-col__head { padding: 20px 32px; color: #fff; display: flex; align-items: center; gap: 12px; }
.issue-col__head h3 { color: #fff; font-size: 19px; }
.issue-col__head--teal { background: var(--teal); }
.issue-col__head--sky { background: var(--sky); }
.issue-col__tag { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.2); }
.issue-col__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.check-list--ok li::before { background-color: var(--teal-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23009392' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.solution { margin-top: auto; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--teal); }
.solution--sky { border-left-color: var(--sky); }
.solution__label { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: .08em; }
.solution--sky .solution__label { color: var(--sky); }
.solution p { font-weight: 700; color: var(--navy); margin-top: 4px; }

/* サービスカード（ホーム） */
.service-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.service-card .ph { border-radius: 0; }
.service-card__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service-card__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.service-card__label { font-size: 13px; font-weight: 700; color: var(--text-sub); }
.service-card__title { font-size: 22px; }
.service-card__price { display: flex; align-items: baseline; gap: 6px; padding: 16px 20px; border-radius: var(--radius); background: var(--teal-pale); color: var(--teal); font-weight: 700; }
.service-card__price .num { font-size: 30px; line-height: 1; }
.service-card__price small { font-size: 13px; color: var(--text-sub); font-weight: 500; }
.service-card .btn { margin-top: auto; }
.mini-sim { padding: 16px 20px; border-radius: var(--radius); background: var(--sky-pale); }
.mini-sim__label { font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: .06em; }
.mini-sim__value { color: var(--magenta); font-size: 30px; line-height: 1.2; }
.mini-sim__value small { font-size: 14px; color: var(--text-2); font-family: var(--font-jp); }

/* ブランドマーク（CSS/SVG・ロゴ差し替え前の暫定表示） */
.brand-yd { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yd-teal); font-size: 18px; }
.brand-yd__mark { width: 28px; height: 28px; }
.brand-sc { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: .04em; line-height: 1; }
.brand-sc__mark { width: 28px; height: 28px; }
.brand-sc__smart { color: var(--sky); }
.brand-sc__clinic { color: var(--sc-gray); }

/* 強み（5つ） */
.strength { text-align: left; padding: 28px 24px; }
.strength .card__num { font-size: 28px; line-height: 1; margin-bottom: 12px; color: var(--teal); letter-spacing: 0; }
.strength .card__title { font-size: 17px; }
.strength .card__text { font-size: 14px; }

/* 代表メッセージ抜粋 */
.message-block { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.message-block__quote { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.6; position: relative; padding-top: 40px; }
.message-block__quote::before { content: "“"; position: absolute; top: -12px; left: -6px; font-family: Georgia, serif; font-size: 96px; color: var(--teal); opacity: .35; line-height: 1; }
.message-block__text { margin-top: 24px; color: var(--text-2); }
.message-block__sign { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.message-block__sign span { font-size: 13px; color: var(--text-sub); }
.message-block__sign strong { font-size: 20px; color: var(--navy); }

/* ---------- Common CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 96px 0; background: var(--navy); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(10,51,80,.93), rgba(13,68,104,.86) 55%, rgba(0,147,146,.82)); }
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta__en { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .18em; color: #8BE3E1; }
.cta__title { color: #fff; font-size: 30px; margin-top: 8px; }
.cta__lead { margin: 16px auto 0; max-width: 680px; color: rgba(255,255,255,.88); }
.cta__cards { margin: 48px auto 0; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.cta-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; backdrop-filter: blur(6px); }
.cta-card__badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--navy); }
.cta-card__badge--magenta { background: var(--magenta); color: #fff; }
.cta-card h3 { color: #fff; font-size: 20px; }
.cta-card p { color: rgba(255,255,255,.85); font-size: 14px; }
.cta-card .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 64px 0 24px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-footer__about p { margin-top: 16px; line-height: 1.8; }
.site-footer__title { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; font-size: 12px; color: #8BE3E1; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.6); }
.site-footer__bottom a { color: rgba(255,255,255,.7); }

/* ---------- Page: 共通パーツ ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }

.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-card); position: relative; }
.pain__q { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--sc-gray); }
.pain h3 { font-size: 17px; margin: 8px 0 8px; }
.pain p { font-size: 14px; color: var(--text-2); }
.pain--sc { border-top: 4px solid var(--sky); }
.pain--yd { border-top: 4px solid var(--teal); }

.value-list { display: grid; gap: 16px; }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.value__tag { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 18px; }
.value__tag--magenta { background: var(--magenta); }
.value__tag--sky { background: var(--sky); }
.value__tag--navy { background: var(--navy); }
.value h3 { font-size: 18px; }
.value h3 small { font-size: 12px; font-family: var(--font-en); letter-spacing: .12em; color: var(--text-sub); margin-left: 8px; }
.value p { font-size: 15px; color: var(--text-2); margin-top: 4px; }

/* シミュレーション */
.sim-cond { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 40px; }
.sim-cond__item { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; font-size: 14px; color: var(--text-2); }
.sim-cond__item strong { font-family: var(--font-en); color: var(--navy); font-size: 16px; }
.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sim { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 32px 28px; text-align: center; box-shadow: var(--shadow-card); position: relative; }
.sim--featured { border: 2px solid var(--sky); box-shadow: 0 12px 32px rgba(46,167,224,.18); }
.sim__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sky); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.sim__name { font-size: 18px; color: var(--navy); font-weight: 700; }
.sim__rate { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.sim__value { margin-top: 16px; font-family: var(--font-en); font-weight: 700; color: var(--magenta); font-size: 36px; line-height: 1.2; }
.sim__value small { font-size: 15px; font-family: var(--font-jp); color: var(--text-2); }
.sim__year { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--text-2); }
.sim__year strong { font-family: var(--font-en); color: var(--sky); font-size: 20px; }

/* ステップ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--sky); border-right: 3px solid var(--sky); transform: translateY(-50%) rotate(45deg); }
.step__no { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--sky); }
.step h3 { font-size: 19px; }
.step__price { font-family: var(--font-en); font-weight: 700; font-size: 28px; color: var(--magenta); line-height: 1.2; }
.step__price small { font-family: var(--font-jp); font-size: 13px; color: var(--text-sub); font-weight: 500; }
.step p { font-size: 14px; color: var(--text-2); }

/* 料金プラン（（旧）） */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 32px 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--teal); box-shadow: 0 12px 32px rgba(0,147,146,.16); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 20px; text-align: center; }
.plan__target { text-align: center; font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.plan__price { text-align: center; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); }
.plan__price .num { font-size: 40px; line-height: 1; }
.plan__price small { font-size: 13px; color: var(--text-sub); }
.plan__features { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.plan__features li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.plan__features li span:first-child { color: var(--text-sub); }
.plan__features li span:last-child { font-weight: 700; color: var(--text); text-align: right; }
.plan .btn { margin-top: auto; }

/* 理由（選ばれる理由ページ） */
.reason { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.reason:first-child { padding-top: 0; }
.reason:last-child { border-bottom: 0; padding-bottom: 0; }
.reason--reverse .reason__media { order: 2; }
.reason__no { font-family: var(--font-en); font-weight: 700; color: var(--teal); font-size: 14px; letter-spacing: .14em; }
.reason__no strong { font-size: 56px; line-height: 1; display: block; letter-spacing: 0; color: var(--teal); opacity: .9; }
.reason h2 { font-size: 26px; margin: 12px 0 20px; }
.reason p { color: var(--text-2); }
.reason .check-list { margin-top: 20px; }
.kpi { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); padding: 48px 24px; aspect-ratio: 4 / 3; }
.kpi__value { font-family: var(--font-en); font-weight: 700; color: var(--navy); font-size: 88px; line-height: 1; }
.kpi__value small { font-size: 28px; font-family: var(--font-jp); }
.kpi__label { margin-top: 16px; font-weight: 700; color: var(--teal); }
.kpi--sky { background: var(--sky-pale); }
.kpi--sky .kpi__value { color: var(--sky); }
.kpi-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 24px; }
.kpi-list div { background: #fff; border-radius: 8px; padding: 12px 8px; font-size: 13px; font-weight: 700; color: var(--navy); }

.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.flow span { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--teal-pale); color: var(--teal); }
.flow span + span::before { content: "→"; margin-right: 8px; color: var(--line-2); }

/* 代表紹介 */
.ceo { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.ceo__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.ceo__caption { margin-top: 16px; }
.ceo__caption span { font-size: 13px; color: var(--text-sub); display: block; }
.ceo__caption strong { font-size: 22px; color: var(--navy); }
.ceo__caption em { font-style: normal; font-family: var(--font-en); font-size: 13px; color: var(--text-sub); letter-spacing: .1em; margin-left: 8px; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: 28px; line-height: 1.5; }
.prose h3 { font-size: 20px; padding-left: 16px; border-left: 4px solid var(--teal); margin-top: 48px; }
.prose p { color: var(--text-2); }
.prose ul { padding-left: 1.4em; color: var(--text-2); }
.prose ul li + li { margin-top: 6px; }

.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline li:last-child::before { background: var(--teal); }
.timeline__when { font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--teal); letter-spacing: .08em; }
.timeline__what { font-weight: 700; color: var(--navy); font-size: 17px; }
.timeline__desc { font-size: 14px; color: var(--text-2); }

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.link-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.link-card small { display: block; font-size: 12px; color: var(--text-sub); font-weight: 500; }
.link-card::after { content: "→"; font-family: var(--font-en); color: var(--teal); }

/* 診断 */
.diag { max-width: 800px; margin: 0 auto; }
.diag-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.diag-step + .diag-step { margin-top: 24px; }
.diag-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.diag-step__no { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .12em; color: #fff; background: var(--navy); padding: 4px 12px; border-radius: 999px; flex-shrink: 0; }
.diag-step__head h2 { font-size: 20px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border: 2px solid var(--line); border-radius: var(--radius-lg); cursor: pointer; transition: border-color .2s, background-color .2s; height: 100%; }
.choice label strong { color: var(--navy); font-size: 17px; }
.choice label span { font-size: 13px; color: var(--text-sub); }
.choice input:checked + label { border-color: var(--teal); background: var(--teal-pale); }
.choice input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 2px; }
.q-list { list-style: none; display: grid; gap: 12px; }
.q-item label { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; }
.q-item input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.q-item label:has(input:checked) { border-color: var(--teal); background: var(--teal-pale); }
.q-item__no { font-family: var(--font-en); font-weight: 700; color: var(--teal); margin-right: 4px; }
.diag-placeholder { padding: 24px; text-align: center; color: var(--text-sub); background: var(--bg-soft); border-radius: var(--radius); font-size: 14px; }
.result { border-radius: var(--radius-lg); padding: 32px; text-align: center; background: var(--bg-soft); border: 2px solid var(--line); }
.result__meter { display: flex; gap: 6px; justify-content: center; margin: 16px 0; }
.result__meter i { width: 36px; height: 10px; border-radius: 4px; background: var(--line); }
.result__level { font-size: 28px; font-weight: 700; }
.result__count { font-family: var(--font-en); font-size: 14px; color: var(--text-sub); }
.result__text { margin-top: 12px; color: var(--text-2); text-align: left; }
.result[data-level="high"] { border-color: var(--magenta); background: #FDF2F7; }
.result[data-level="high"] .result__level { color: var(--magenta); }
.result[data-level="high"] .result__meter i.on { background: var(--magenta); }
.result[data-level="mid"] { border-color: #E8A33D; background: #FFF8EC; }
.result[data-level="mid"] .result__level { color: #B86E00; }
.result[data-level="mid"] .result__meter i.on { background: #E8A33D; }
.result[data-level="low"] { border-color: var(--teal); background: var(--teal-pale); }
.result[data-level="low"] .result__level { color: var(--teal); }
.result[data-level="low"] .result__meter i.on { background: var(--teal); }

.form { display: grid; gap: 20px; }
.form__row label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 15px; }
.req { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--magenta); padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit; color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,147,146,.18); }
.form__agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); }
.form__agree input { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 3px; flex-shrink: 0; }
.form__msg { padding: 16px 20px; border-radius: var(--radius); background: var(--teal-pale); color: var(--teal); font-weight: 700; display: none; }
.form__msg.is-show { display: block; }
.form__checks { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.form__checks label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--text); margin: 0; }
.form__checks input { width: 18px; height: 18px; accent-color: var(--teal); }

/* 会社概要 */
.info-table { border-top: 2px solid var(--navy); }
.info-table th, .info-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 200px; background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.info-table td { color: var(--text-2); }
.info-table td ul { padding-left: 1.2em; }
.access { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: stretch; }
.station-list { list-style: none; display: grid; gap: 12px; }
.station { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.station__time { flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.station__time .num { font-size: 26px; }
.station__time small { font-size: 11px; }
.station strong { color: var(--navy); font-size: 17px; }
.station span { display: block; font-size: 13px; color: var(--text-sub); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* プライバシーポリシー */
.policy-basic { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.policy-basic__list { margin-top: 24px !important; display: grid; gap: 12px; }
.policy-sign { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.policy-sign p:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.policy h3 { font-size: 18px; margin: 48px 0 16px; padding-left: 14px; border-left: 4px solid var(--teal); scroll-margin-top: calc(var(--header-h) + 16px); }
.policy-toc { margin: 24px 0 8px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.policy-toc__title { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.policy-toc ol { list-style: none; padding: 0 !important; margin: 0 !important; columns: 2; column-gap: 32px; font-size: 14px; }
.policy-toc li { break-inside: avoid; margin: 0 0 6px !important; }
.policy-toc a { color: var(--text-2); text-decoration: none; }
.policy-toc a:hover { color: var(--teal); text-decoration: underline; }
.policy-ol > li + li { margin-top: 12px !important; }
.policy-paren { list-style: none; counter-reset: paren; padding-left: 0 !important; margin-top: 8px !important; }
.policy-paren > li { counter-increment: paren; position: relative; padding-left: 2.4em; }
.policy-paren > li::before { content: "(" counter(paren) ")"; position: absolute; left: 0; color: var(--text-sub); }
.policy-dl { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); margin: 0; }
.policy-dl dt, .policy-dl dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.policy-dl dt { background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.policy-measures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.policy-measure { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: #fff; }
.policy-measure:last-child { grid-column: 1 / -1; }
.policy-measure__title { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.policy-measure ul { margin-top: 0 !important; font-size: 15px; }
.policy-contact { margin-top: 16px; border: 2px solid var(--teal); border-radius: var(--radius-lg); padding: 24px; }
.policy-contact__title { font-weight: 700; color: var(--teal); margin-bottom: 12px; }
.policy-end { text-align: right; margin-top: 48px; }
@media (max-width: 767px) {
  .policy-basic { padding: 24px 20px; }
  .policy-toc ol { columns: 1; }
  .policy-dl { grid-template-columns: 1fr; }
  .policy-dl dt { border-bottom: 0; padding-bottom: 4px; }
  .policy-measures { grid-template-columns: 1fr; }
  .policy-sign p:last-child { text-align: left; }
}
.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { font-size: 20px; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.policy p, .policy li { color: var(--text-2); }
.policy ol, .policy ul { padding-left: 1.4em; margin-top: 12px; }
.policy li + li { margin-top: 6px; }

.draft-note { margin-top: 16px; font-size: 13px; color: var(--text-sub); padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-cta .btn--sub { display: none; }
  .gnav__link { padding: 8px 8px; font-size: 13px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  /* backdrop-filter は固定配置メニューの基準を header 内に閉じ込めるため無効化 */
  .site-header { backdrop-filter: none; background: #fff; }
  .menu-toggle { display: block; }
  .logo__img { height: 32px; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; padding: 24px var(--gutter) 40px;
    opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
    overflow-y: auto; visibility: hidden; pointer-events: none;
  }
  .is-menu-open .gnav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { font-size: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav__link.is-current::after { display: none; }
  .gnav__link.is-current { color: var(--teal); }
  .gnav__cta { display: grid; gap: 12px; margin-top: 24px; }
  .header-cta { display: none; }

  .grid--4, .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .message-block { grid-template-columns: 280px 1fr; gap: 40px; }
  .ceo { grid-template-columns: 300px 1fr; gap: 40px; }
  .split, .reason { gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}
@media (min-width: 1025px) { .gnav__cta { display: none; } }

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head__title { font-size: 22px; }
  .hero__inner, .hero--sub .hero__inner { padding: 64px 0 56px; }
  .hero__title { font-size: 26px; }
  .hero__eyebrow { font-size: 12px; padding: 4px 12px; }
  .hero--sub .hero__title { font-size: 25px; }
  .hero__lead { font-size: 15px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,51,80,.82) 0%, rgba(13,68,104,.9) 100%); }
  .hero .btn-group .btn { width: 100%; }
  .btn { padding: 16px 24px; }

  .grid--2, .grid--3, .grid--4, .grid--5, .pain-grid, .sim-grid, .steps, .link-cards, .choice-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .issue-col__head, .issue-col__body { padding-left: 20px; padding-right: 20px; }
  .service-card__body { padding: 24px; }
  .message-block, .ceo, .split, .reason, .access { grid-template-columns: 1fr; gap: 32px; }
  .message-block__media { max-width: 280px; }
  .message-block__quote { font-size: 20px; }
  .split--reverse > :first-child, .reason--reverse .reason__media { order: 0; }
  .reason { padding: 48px 0; }
  .reason h2 { font-size: 21px; }
  .kpi__value { font-size: 64px; }
  .ceo__photo { position: static; max-width: 320px; }
  .prose h2 { font-size: 22px; }
  .steps { gap: 32px; }
  .step:not(:last-child)::after { right: 50%; top: auto; bottom: -24px; transform: translateX(50%) rotate(135deg); }
  .sim-grid { gap: 32px; }
  .sim-cond { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; }
  .cta { padding: 56px 0; }
  .cta__title { font-size: 22px; }
  .cta__cards { grid-template-columns: 1fr; margin-top: 32px; }
  .cta-card { padding: 24px; }
  .diag-step { padding: 24px 20px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 12px 16px; }
  .info-table th { border-bottom: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
  .value { grid-template-columns: 48px 1fr; padding: 20px; }
  .value__tag { width: 48px; height: 48px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   完成稿（2026-09）対応で追加したコンポーネント
   ========================================================================== */
.hero__inner--wide { max-width: 760px; }
.hero__catch { margin-top: 16px; font-size: 20px; font-weight: 700; color: #fff; line-height: 1.6; }
.hero--sc .hero__catch { color: #fff; }
.sec-head__sub { display: block; font-size: 14px; color: var(--text-sub); font-weight: 500; margin-top: 4px; }
.check-list--sm { gap: 8px; }
.check-list--sm li { font-size: 15px; }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* ペルソナ分岐カード */
.persona { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); text-decoration: none; color: var(--text); transition: box-shadow .25s, transform .25s, border-color .25s; overflow: hidden; }
.persona::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--sky); }
.persona--yd::before { background: var(--teal); }
.persona:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--sky); }
.persona--yd:hover { border-color: var(--teal); }
.persona__tag { position: absolute; right: 24px; top: 20px; font-family: var(--font-en); font-weight: 700; font-size: 44px; line-height: 1; color: var(--sky-pale); }
.persona--yd .persona__tag { color: var(--teal-pale); }
.persona__for { font-size: 19px; font-weight: 700; color: var(--navy); padding-right: 48px; }
.persona__text { color: var(--text-2); font-size: 15px; }
.persona__service { margin-top: 4px; }
.persona__link { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--magenta); }
.persona--yd .persona__link { color: var(--teal); }
.persona:hover .arrow { transform: translateX(3px); display: inline-block; }

/* 判断集中の図 */
.judge { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.judge__items { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.judge__items li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px; text-align: center; font-size: 14px; font-weight: 700; color: var(--text-2); }
.judge__arrow { width: 2px; height: 36px; background: var(--magenta); position: relative; }
.judge__arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px; border-right: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); transform: translateX(-50%) rotate(45deg); }
.judge__center { background: var(--navy); color: #fff; font-weight: 700; padding: 16px 28px; border-radius: 999px; text-align: center; box-shadow: 0 0 0 8px rgba(13,68,104,.1); }
.judge__after { font-size: 14px; color: var(--text-2); text-align: center; margin-top: 4px; }
.judge__after strong { color: var(--teal); }

/* 実績と信頼 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 40px 28px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.stat__label { font-weight: 700; color: var(--teal); font-size: 14px; }
.stat__value { margin: 12px 0; color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1.2; }
.stat__value .num { font-size: 56px; margin: 0 4px; }
.stat__value small { display: block; font-size: 14px; color: var(--text-sub); margin-bottom: 4px; }
.stat--sky { background: var(--sky-pale); }
.stat--sky .stat__label, .stat--sky .stat__value { color: var(--sky); }
.stat__note { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* コラム */
.column-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.column-card__cat { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--teal-pale); color: var(--teal); }
.column-card__cat--sc { background: var(--sky-pale); color: var(--sky); }
.column-card__title { font-size: 17px; line-height: 1.6; }
.column-card__soon { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: .08em; }

/* BEFORE / AFTER */
.ba { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 16px; align-items: stretch; }
.ba__col { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.ba__col--before { background: #F7F7F8; }
.ba__col--after { background: var(--sky-pale); border-color: rgba(46,167,224,.35); }
.ba__label { font-family: var(--font-en); font-weight: 700; letter-spacing: .16em; font-size: 14px; color: var(--sc-gray); margin-bottom: 16px; }
.ba__col--after .ba__label { color: var(--sky); }
.ba__flow { list-style: none; display: grid; gap: 10px; }
.ba__flow li { position: relative; background: #fff; border-radius: 8px; padding: 12px 16px; font-size: 15px; color: var(--text-2); border: 1px solid var(--line); }
.ba__flow li + li::before { content: "↓"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font-size: 12px; color: var(--line-2); }
.ba__flow li.is-alert { border-color: var(--magenta); color: var(--magenta); font-weight: 700; }
.ba__flow li.is-good { border-color: var(--sky); color: var(--navy); font-weight: 700; }
.ba__flow small { font-weight: 500; font-size: 12px; color: var(--text-sub); }
.ba__arrow { display: grid; place-items: center; font-family: var(--font-en); font-size: 32px; font-weight: 700; color: var(--sky); }

/* （旧）料金の説明枠（現在は未使用） */
.ticket-def { max-width: 760px; margin: 0 auto 40px; padding: 24px 28px; border-radius: var(--radius-lg); background: #fff; border: 2px dashed rgba(0,147,146,.4); }
.ticket-def__title { font-weight: 700; color: var(--teal); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ticket-def__icon { width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 14px; }
.ticket-def p + p { margin-top: 4px; }

/* 選ばれる理由：数値カード */
.kpi--case { aspect-ratio: auto; align-items: stretch; text-align: left; gap: 16px; }
.kpi__caption { font-weight: 700; color: var(--navy); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi-grid > div { background: #fff; border-radius: 8px; padding: 16px; border: 1px solid var(--line); }
.kpi-grid__label { display: block; font-size: 13px; color: var(--text-sub); font-weight: 700; }
.kpi-grid__num { display: block; font-family: var(--font-en); font-weight: 700; font-size: 30px; color: var(--magenta); line-height: 1.3; }
.kpi-grid__num small { font-size: 15px; }
.kpi-list { grid-template-columns: repeat(2, 1fr) !important; }

/* ケーススタディ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.case__no { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; font-size: 13px; color: var(--teal); }
.case__title { font-size: 18px; margin-top: 6px; }
.case__role { display: inline-block; align-self: flex-start; margin-top: 8px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; background: var(--navy); color: #fff; }
.case__dl { margin: 20px 0 0; display: grid; gap: 12px; }
.case__dl dt { font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: .08em; }
.case__dl dd { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.case__dl dd strong { color: var(--navy); }
.case__dl dt:last-of-type { color: var(--magenta); }

/* 担当者プロフィール */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.profile__name { font-size: 28px; margin-top: 4px; }
.profile__name small { font-size: 14px; color: var(--text-sub); font-weight: 500; margin-left: 8px; }
.profile__role { color: var(--text-sub); font-size: 14px; margin-top: 4px; }
.profile__text { margin-top: 20px; color: var(--text-2); }
.profile__dl { margin: 24px 0 0; display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--line); }
.profile__dl dt, .profile__dl dd { margin: 0; padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile__dl dt { font-weight: 700; color: var(--navy); background: var(--bg-soft); }
.profile__dl dd { color: var(--text-2); }

/* 診断：フォーム・結果 */
.form__intro { color: var(--text-2); margin-top: -8px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.opt { display: inline-block; font-size: 11px; font-weight: 700; color: var(--text-sub); background: var(--line); padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
#gate-form { margin-top: 24px; }
.result { margin-top: 24px; }
.result__text p + p { margin-top: 8px; }
.result__next { margin-top: 16px; font-weight: 700; color: var(--navy); }
.result__cta { margin-top: 24px; }

/* 会社概要：体制図 */
.team { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.team__core { width: 180px; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.4; box-shadow: 0 0 0 10px rgba(13,68,104,.1); }
.team__core span { font-size: 12px; opacity: .8; }
.team__core strong { font-size: 20px; }
.team__core small { font-size: 11px; opacity: .85; margin-top: 4px; }
.team__line { width: 2px; height: 32px; margin-top: 10px; background: repeating-linear-gradient(to bottom, var(--teal) 0 4px, transparent 4px 8px); }
.team__nodes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; padding-top: 16px; border-top: 2px dashed rgba(0,147,146,.35); }
.team__nodes li { background: var(--teal-pale); color: var(--teal); font-weight: 700; font-size: 14px; text-align: center; padding: 12px 8px; border-radius: 8px; }
.team__caption { margin-top: 16px; font-size: 13px; color: var(--text-sub); text-align: center; }

@media (max-width: 1024px) {
  .cases { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .profile { grid-template-columns: 240px 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .hero__catch { font-size: 16px; }
  .persona { padding: 28px 20px 24px; }
  .persona__for { font-size: 17px; }
  .judge { padding: 24px 16px; }
  .judge__items { grid-template-columns: repeat(2, 1fr); }
  .judge__items li { font-size: 13px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 28px 20px; }
  .stat__value .num { font-size: 44px; }
  .ba { grid-template-columns: 1fr; }
  .ba__arrow { transform: rotate(90deg); height: 32px; }
  .ba__col { padding: 20px; }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 240px; }
  .profile__dl { grid-template-columns: 1fr; }
  .profile__dl dt { border-bottom: 0; padding-bottom: 4px; }
  .form__grid { grid-template-columns: 1fr; }
  .kpi-grid__num { font-size: 24px; }
  .team__core { width: 150px; }
}

/* ---------- 2026-10 追加：締めの一文・業務範囲表・導入の流れ・FAQ・プラン比較 ---------- */
.sec-close { margin-top: 40px; text-align: center; font-weight: 700; color: var(--navy); font-size: 17px; }
.data-table { max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 16px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table thead th { background: var(--navy); color: #fff; font-size: 14px; letter-spacing: .04em; }
.data-table tbody th { width: 240px; color: var(--navy); background: var(--sky-pale); white-space: nowrap; }
.data-table td { color: var(--text-2); }
.data-table--yd tbody th { background: var(--teal-pale); }
.flow-list { list-style: none; counter-reset: flow; display: grid; gap: 16px; }
.flow-list li { counter-increment: flow; position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-card); }
.flow-list li::before { content: counter(flow, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sky-pale); color: var(--sky); font-family: var(--font-en); font-weight: 700; font-size: 18px; }
.flow-list li + li::after { content: ""; position: absolute; left: 51px; top: -17px; width: 2px; height: 16px; background: var(--line-2); }
.flow-list h3 { font-size: 17px; margin-top: 4px; }
.flow-list p { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.flow-list--yd li::before { background: var(--teal-pale); color: var(--teal); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 64px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 24px; top: 18px; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--sky); }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--text-sub); }
.faq details[open] summary::after { content: "−"; }
.faq details p { position: relative; padding: 0 24px 20px 64px; color: var(--text-2); }
.faq details p::before { content: "A"; position: absolute; left: 24px; top: -2px; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--magenta); }
.faq--yd summary::before { color: var(--teal); }
.plan__features li.is-off span { color: var(--line-2) !important; font-weight: 500; }
@media (max-width: 767px) {
  .sec-close { font-size: 15px; text-align: left; }
  .data-table th, .data-table td { padding: 12px 16px; font-size: 14px; }
  .data-table thead { display: none; }
  .data-table tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table tbody th, .data-table tbody td { display: block; width: auto; border-bottom: 0; white-space: normal; }
  .flow-list li { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .flow-list li::before { width: 44px; height: 44px; font-size: 15px; }
  .flow-list li + li::after { left: 37px; }
  .faq summary { padding: 16px 44px 16px 48px; font-size: 15px; }
  .faq summary::before { left: 16px; top: 14px; }
  .faq summary::after { right: 16px; }
  .faq details p { padding: 0 16px 16px 48px; font-size: 15px; }
  .faq details p::before { left: 16px; }
}
/* ---------- 2026-10 追加：スマホ・タブレット用 追従CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 1024px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .sticky-cta .btn { max-width: 520px; margin: 0 auto; }
  .is-menu-open .sticky-cta { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* ---------- 2026-10-06 追加：業務範囲の区分・追従CTAの表示制御 ---------- */
.data-table__group td { background: var(--bg-soft); padding: 10px 24px; }
.scope-tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--sky); color: #fff; }
.scope-tag--opt { background: #fff; color: var(--navy); border: 1px solid var(--line-2); }
@media (max-width: 1024px) {
  .sticky-cta { transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.is-shown { transform: none; }
}
@media (max-width: 767px) {
  .data-table tbody tr.data-table__group td { display: block; padding: 10px 16px; }
}/* TimeRex の埋め込み枠は min-width:550px 固定のため、スマホではみ出さないよう上書き */
#timerex_calendar > div { min-width: 0 !important; }
/* ---------- 2026-10-09 v2：日本語の改行調整（文末の1〜3文字だけが次の行に落ちるのを防ぐ） ---------- */
/* 見出し・キャッチ：文節単位で折り返し、行の長さをそろえる */
h1, h2, h3, .hero__catch, .hero__lead, .sec-head__lead, .sec-close, .card__title, .pain h3, .persona__for,
.judge__after, .case__title, .column-card__title, .cta__title, .cta__lead, .faq summary, .result__level, .result__next {
  word-break: auto-phrase;
  text-wrap: balance;
}
/* 本文：文節単位で折り返し、最終行が短くなりすぎないよう調整 */
p, li, dd, dt, td, th, summary, label {
  word-break: auto-phrase;
  text-wrap: pretty;
}/* 1行が長くなりすぎないよう、中央寄せの説明文・注記の幅を制限（日本語は1行35〜45字が読みやすい） */
.sec-head__lead { max-width: 40em; margin-left: auto; margin-right: auto; }
.sec-head--left .sec-head__lead { margin-left: 0; }
.note[style*="text-align:center"] { max-width: 46em; margin-left: auto; margin-right: auto; }
.faq { max-width: 760px; margin-left: auto; margin-right: auto; }
/* 試算の金額：単位「万円 / 月」が金額から離れて改行されないように */
.sim__value small { white-space: nowrap; }
@media (max-width: 1024px) { .sim__value { font-size: 30px; } }
@media (max-width: 767px) { .hero__eyebrow { font-size: 13px; } }/* 試算の直後の申込ボタン（スマートクリニック） */
.mid-cta { margin: 40px auto 0; max-width: 760px; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 2px solid var(--sky); text-align: center; box-shadow: var(--shadow-card); }
.mid-cta__text { font-weight: 700; color: var(--navy); margin-bottom: 16px; }
@media (max-width: 767px) { .mid-cta { padding: 20px 16px; } .mid-cta .btn { width: 100%; } }
/* ---------- 2026-10-11 追加：フッターの公式SNSアイコン ---------- */
.sns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0 !important; padding: 0 !important; }
.sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); transition: background-color .2s, color .2s; }
.sns a:hover, .sns a:focus-visible { background: #fff; color: var(--navy); }
.sns svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .sns { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .sns li { margin: 0; padding: 0; }@media (max-width: 767px) { .site-footer .sns { gap: 8px; } .sns a { width: 36px; height: 36px; } .sns svg { width: 16px; height: 16px; } }/* PCだけで文ごとに改行する <br class="br-pc">（スマホでは行幅が狭いので通常の折り返しにまかせる） */
@media (max-width: 767px) { .br-pc { display: none; } }/* （旧）特徴カード：カードの本文が1行12字しかなく読みにくいため、文章側を広く・画像側を狭くする（PCのみ） */
@media (min-width: 1025px) {
  .split--text-wide { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .split--reverse.split--text-wide { grid-template-columns: 1fr 1.6fr; }
}/* タブレット幅（768〜1024px）では、文章と画像の2列（.split）を縦1列にする（2列のままだとカード本文が1行5〜6字まで狭くなるため） */
@media (max-width: 1024px) {
  .split, .split--text-wide, .split--reverse.split--text-wide { grid-template-columns: 1fr; }
  .split > .ph { max-width: 640px; width: 100%; margin-left: auto; margin-right: auto; }
}/* コラムカードもタブレット幅では縦に並べる（3列だと見出しが単語の途中で折り返すため） */
@media (max-width: 1024px) { .grid--3:has(> .column-card) { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; } }
/* ---------- 2026-10-17 1014レビュー2-1：改行ツール（BudouX）が読み込めない・読み込み前でも、長い語（社名など）で横にはみ出さないように ---------- */
h1, h2, h3, p, li, dd, dt, td, th, summary, label { overflow-wrap: anywhere; }/* ボタンの文言が2行になるとき、行の長さをそろえる（1014レビュー 4） */
.btn { text-wrap: balance; }
/* 申込フォーム：送信に失敗したときの表示（WordPress版） */
.form__msg.is-error { background: #FDECEF; color: #B0203F; }
/* ---------- 2026-10-19 フォーム：迷惑送信対策（Turnstile）と、送信できない場合の連絡先 ---------- */
.form__turnstile { display: flex; justify-content: center; min-height: 65px; margin: 4px 0 12px; }
.form__turnstile[hidden] { display: none; }
.form__tswait { text-align: center; font-size: 14px; color: var(--navy); margin: -4px 0 12px; }
.form__fallback { margin-top: 12px; font-size: 13px; color: var(--text-sub); text-align: center; line-height: 1.7; }
.form__fallback a { color: inherit; }
.form__fallback.is-alert { padding: 12px 16px; border-radius: var(--radius); background: #FDECEF; color: #B0203F; font-size: 14px; font-weight: 700; }
/* 受付時間など、途中で折り返さないまとまり */
.u-nowrap { white-space: nowrap; }

/* ---------- 2026-10-22 TOP コアサービス：スマートクリニック1枚を全幅（PCは画像と文章の横並び） ---------- */
.service-solo { max-width: 1040px; margin: 0 auto; }
@media (min-width: 1025px) {
  .service-card--solo { display: grid; grid-template-columns: 1fr 1fr; }
  .service-card--solo > .ph { aspect-ratio: auto; height: 100%; min-height: 360px; }
}

/* ---------- 2026-10-23 TOP ヒーロー：院長（画像の右寄り）がスマホ・タブレットでも見えるように ---------- */
@media (max-width: 1024px) {
  .hero img[src*="hero-top"] { object-position: 80% 50%; }
}
