/* テマトリ ホームページ 共通スタイル */
:root {
  color-scheme: light;
  --ink: #1c2b33;
  --ink-2: #3a4a53;
  --muted: #64737c;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --soft: #f2f7f5;
  --soft-2: #fdf3e7;
  --line: #e6e1d6;
  --brand: #0e6b66;
  --brand-deep: #0a4d4a;
  --brand-tint: #d8ece8;
  --accent: #e0862a;
  --accent-deep: #b9661a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 43, 51, .05), 0 8px 24px rgba(28, 43, 51, .07);
  --shadow-lg: 0 2px 4px rgba(28, 43, 51, .06), 0 18px 48px rgba(28, 43, 51, .12);
  --wrap: 1120px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(28, 43, 51, .05); }
.head-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 21px; letter-spacing: .12em; font-weight: 800; }
.brand-name small { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
.gnav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.gnav a:hover { background: var(--soft); color: var(--brand-deep); }
.gnav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.gnav .nav-cta a { background: var(--accent); color: #fff; padding: 9px 18px; margin-left: 6px; }
.gnav .nav-cta a:hover { background: var(--accent-deep); color: #fff; }
.gnav .nav-cta a[aria-current="page"] { background: var(--accent-deep); color: #fff; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .head-in { height: 62px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name b { font-size: 19px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .menu-btn svg { width: 18px; height: 18px; }
  .gnav {
    position: fixed; inset: 62px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 16px 18px; display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .gnav a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .gnav .nav-cta a { margin: 8px 0 0; text-align: center; padding: 14px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(224, 134, 42, .32); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--brand-deep); border-color: var(--brand-tint); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 共通の区切り ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tint { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .16em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 12px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ページ見出し（下層） */
.page-hero { padding: 64px 0 48px; background:
  radial-gradient(900px 300px at 85% -40%, rgba(14, 107, 102, .14), transparent 70%),
  radial-gradient(700px 260px at 0% 120%, rgba(224, 134, 42, .10), transparent 70%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 40px); margin-top: 10px; }
.page-hero p { color: var(--ink-2); margin-top: 14px; max-width: 720px; }
.crumb { font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px;
  background:
    radial-gradient(1000px 420px at 100% 0%, rgba(14, 107, 102, .16), transparent 65%),
    radial-gradient(800px 360px at 0% 100%, rgba(224, 134, 42, .12), transparent 65%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.3vw, 50px); line-height: 1.35; font-weight: 800; letter-spacing: .02em; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: rgba(224, 134, 42, .28); z-index: -1; border-radius: 4px; }
.hero h1 .ib { display: inline-block; }
.hero .lead { font-size: clamp(16px, 1.7vw, 18px); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.hero-visual { position: relative; height: 480px; }
.hv-card { position: absolute; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); margin: 0; }
.hv-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hv-card figcaption { padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hv-card figcaption i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hv-1 { width: 70%; right: 0; top: 0; transform: rotate(2deg); }
.hv-2 { width: 58%; left: 0; top: 34%; transform: rotate(-2.5deg); z-index: 2; }
.hv-3 { width: 52%; right: 0; bottom: 0; transform: rotate(1.5deg); z-index: 3; }
.hv-badge {
  position: absolute; z-index: 4; left: 2%; top: 6%;
  background: var(--brand); color: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.5; font-weight: 700;
}
.hv-badge b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: .02em; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { height: 86vw; max-height: 520px; }
  .hv-card figcaption { font-size: 11.5px; padding: 7px 10px; }
  .hv-badge { padding: 9px 12px; font-size: 11.5px; } .hv-badge b { font-size: 20px; }
}

/* ---------- お悩みカード ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; gap: 14px; align-items: flex-start; }
.pain .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft-2); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.pain .ic svg { width: 24px; height: 24px; }
.pain h3 { font-size: 16.5px; }
.pain p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.pain-arrow { text-align: center; margin: 36px 0 0; font-weight: 800; font-size: clamp(18px, 2.4vw, 22px); color: var(--brand-deep); }
.pain-arrow span { background: linear-gradient(transparent 62%, rgba(224, 134, 42, .3) 62%); }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- テマトリについて ---------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.about-mark { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.about-mark .big { font-size: 40px; font-weight: 800; letter-spacing: .18em; color: var(--ink); }
.about-mark .eq { display: flex; justify-content: center; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.about-mark .eq span { background: var(--soft); color: var(--brand-deep); border-radius: 8px; padding: 2px 10px; font-weight: 800; }
.about-mark .eq em { font-style: normal; color: var(--muted); align-self: center; }
.about-mark p { font-size: 13px; color: var(--muted); margin-top: 14px; }
.about-body p { font-size: 17px; line-height: 2; color: var(--ink-2); }
.about-body .sign { margin-top: 20px; font-size: 14px; color: var(--muted); }
.about-body .sign b { color: var(--ink); font-size: 16px; margin-left: 6px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } .about-mark { max-width: 360px; } }

/* ---------- できること ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint); color: inherit; }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.svc .ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: 18px; margin-top: 4px; }
.svc p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.svc .more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--brand); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* できること詳細 */
.svc-detail { display: grid; gap: 28px; }
.sd {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; scroll-margin-top: 90px;
}
.sd-head { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.sd-head .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.sd-head .ic svg { width: 30px; height: 30px; }
.sd-head h2 { font-size: clamp(20px, 2.6vw, 25px); }
.sd-head p { color: var(--muted); font-size: 14.5px; }
.sd h3 { font-size: 14px; letter-spacing: .1em; color: var(--brand); margin-bottom: 10px; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.7; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4d4a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks.pain-list li::before { background: var(--soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9661a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sd-works { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 20px; }
.mini-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.mini-works a { display: block; text-decoration: none; color: var(--ink); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); transition: box-shadow .15s, transform .15s; height: 100%; }
.mini-works a:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.mini-works img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mini-works span { display: block; padding: 8px 10px; font-size: 13px; font-weight: 700; line-height: 1.5; }
@media (max-width: 900px) { .sd { grid-template-columns: 1fr; padding: 24px 20px; } .mini-works { grid-template-columns: 1fr 1fr; } }

/* ---------- 作品 ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--soft-2); border: 1px solid #f1d7b6; color: #5a3b14;
  border-radius: 14px; padding: 14px 18px; font-size: 14.5px; line-height: 1.75;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent-deep); }
.notice.info { background: var(--soft); border-color: var(--brand-tint); color: var(--brand-deep); }
.notice.info svg { color: var(--brand); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.filter button {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s;
}
.filter button:hover { border-color: var(--brand); color: var(--brand-deep); }
.filter button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.count { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; }
.work { height: 100%; }
.work a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s;
}
.work a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.work .thumb { position: relative; background: var(--soft); }
.work .thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.work .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work h3 { font-size: 16.5px; }
.work p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-size: 11.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); border-radius: 6px; padding: 1px 8px; }
.work .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent-deep); display: flex; align-items: center; gap: 6px; }
.work .go svg { width: 15px; height: 15px; }
.work[hidden] { display: none; }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; }
@media (max-width: 900px) { .pick-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 600px) { .pick-grid { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 36px; }

/* ---------- 進め方 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; counter-increment: st; }
.step::before {
  content: "STEP " counter(st); display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px;
}
.step h3 { font-size: 16.5px; }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.75; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.timeline { list-style: none; position: relative; display: grid; gap: 18px; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: var(--brand-tint); }
.tl { position: relative; padding-left: 68px; }
.tl .num { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 0 0 6px var(--bg); }
.tl .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.tl h3 { font-size: 18px; }
.tl p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.tl .meta { margin-top: 10px; font-size: 13.5px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 8px 12px; }

.price { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.price-text { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.price-text p { font-size: 16px; line-height: 2; color: var(--ink-2); }
.price-points { display: grid; gap: 14px; list-style: none; }
.price-points li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.price-points .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--soft-2); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.price-points .ic svg { width: 22px; height: 22px; }
.price-points b { display: block; font-size: 16px; }
.price-points span { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } .price-text { padding: 24px 20px; } }

.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.deliver li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.deliver .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: 12px; }
.deliver .ic svg { width: 24px; height: 24px; }
.deliver b { display: block; font-size: 16px; }
.deliver span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
@media (max-width: 900px) { .deliver { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .deliver { grid-template-columns: 1fr; } }

.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.promise li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.promise .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.promise .ic svg { width: 24px; height: 24px; }
.promise b { display: block; font-size: 16.5px; }
.promise span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 56px; position: relative; font-weight: 700; font-size: 16px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 22px 20px 56px; color: var(--ink-2); font-size: 15px; position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 18px; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--soft-2); color: var(--accent-deep); display: grid; place-items: center; font-size: 14px; font-weight: 800; }

/* ---------- プロフィール ---------- */
.prof { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.prof-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; text-align: center; box-shadow: var(--shadow); position: sticky; top: 96px; }
.avatar { width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; background: linear-gradient(140deg, var(--brand), #2a9a8f); display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 0 0 6px var(--brand-tint); }
.prof-card .role { margin-top: 18px; font-size: 13px; color: var(--muted); }
.prof-card .name { font-size: 24px; font-weight: 800; letter-spacing: .12em; }
.prof-card .kana { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.prof-card ul { list-style: none; text-align: left; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.prof-card li { display: flex; gap: 8px; align-items: flex-start; }
.prof-card li svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 5px; }
.prof-body p { font-size: 16.5px; line-height: 2.05; color: var(--ink-2); }
.prof-body p + p { margin-top: 1.1em; }
.career { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.career li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.career .when { font-weight: 800; color: var(--brand); font-size: 14.5px; }
.career b { display: block; font-size: 16px; }
.career span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tools li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) {
  .prof { grid-template-columns: 1fr; gap: 28px; }
  .prof-card { position: static; }
  .career li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- お問い合わせ ---------- */
.contact { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 15px; padding: 0; }
.req, .opt { display: inline-block; font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 0 7px; margin-left: 8px; vertical-align: 2px; }
.req { background: #fde6d2; color: var(--accent-deep); }
.opt { background: #eef0f1; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364737c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form textarea { min-height: 170px; resize: vertical; line-height: 1.75; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(14, 107, 102, .14); }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 20px 9px 14px; font-weight: 600; background: var(--bg); cursor: pointer; }
.radio span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b7c0c5; background: #fff; }
.radio input:checked + span { border-color: var(--brand); background: var(--soft); color: var(--brand-deep); }
.radio input:checked + span::before { border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; background: var(--brand); }
.radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.rule { background: var(--soft-2); border: 1px solid #f1d7b6; border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.8; color: #5a3b14; }
.rule.is-alert { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 134, 42, .2); }
.rule b { display: block; color: var(--accent-deep); margin-bottom: 4px; }
.form .btn { width: 100%; }
.form-msg { display: none; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.75; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--soft); border: 1px solid var(--brand-tint); color: var(--brand-deep); }
.form-msg.ng { background: #fdecea; border: 1px solid #f5c6c0; color: #8a2a1e; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.side-box h2 { font-size: 17px; }
.side-box p, .side-box li { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.side-box ul { list-style: none; display: grid; gap: 8px; }
.side-box li { display: flex; gap: 8px; }
.side-box li svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 5px; }
.mail-line { display: flex; align-items: center; gap: 8px; font-weight: 700; word-break: break-all; }
.mail-line svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form { padding: 24px 18px; } }

/* ---------- CTA 帯 ---------- */
.cta-band { padding: 72px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, #2a9a8f);
  color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-box h2 { font-size: clamp(22px, 3vw, 30px); }
.cta-box p { margin-top: 10px; opacity: .92; }
.cta-box .btn-row { position: relative; z-index: 1; }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 22px; } .cta-box .btn { width: 100%; } }

/* ---------- フッター ---------- */
.site-foot { background: #15232a; color: #c9d3d8; padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.site-foot .brand { color: #fff; }
.site-foot .brand-name small { color: #93a3ab; }
.foot-desc { margin-top: 14px; line-height: 1.85; color: #a9b7be; max-width: 30em; }
.foot-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.foot-nav a { color: #dfe7ea; text-decoration: none; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8597a0; font-size: 12.5px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* 小さい画面の余白 */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section.tight { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }
  .btn { width: 100%; }
  .hero .btn-row .btn, .center-cta .btn { width: 100%; }
}

/* 表示のアニメーション（動きを減らす設定では出さない） */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
.hero h1 { isolation: isolate; }
.ib { display: inline-block; }
