/* ============================================================
   サイバー寺子屋 — 共通スタイル（複数ページ構成）
   ============================================================ */
:root {
  --bg: #ffffff;
  --soft: #f6f7fa;
  --ink: #2b2a33;
  --sub: #5d5a66;
  --line: #e7e6ee;

  /* 3色（塗り用／文字用／淡色／ごく淡い背景） */
  --orange: #b87858; --orange-ink: #8a5238; --orange-pale: #f1dccb; --orange-tint: #faf3ee;
  --teal: #4a8b7f;   --teal-ink: #2f6258;   --teal-pale: #d5e6e2;   --teal-tint: #eff5f3;
  --blue: #43698a;   --blue-ink: #2f4f6b;   --blue-pale: #d6dfe8;   --blue-tint: #eef2f5;

  --r-l: 24px;
  --r-m: 18px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(43, 42, 51, .04), 0 10px 28px rgba(43, 42, 51, .06);
  --gutter: clamp(20px, 4vw, 40px);
  /* 書体は丸ゴシック1種類にそろえる（見出しも本文も同じ） */
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--maru);
  font-size: 16px; line-height: 1.9; letter-spacing: .02em; line-break: strict;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }

/* スクロールバー：細く、角を丸く、落ち着いた色に（溝は見せず、つまみだけを見せる） */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: #8f8c9b; border: 4px solid transparent; border-radius: 999px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--sub); }
::-webkit-scrollbar-thumb:active { background-color: var(--ink); }
::-webkit-scrollbar-corner { background: transparent; }
/* 上の書き方が使えないブラウザ（Firefox など）向け */
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: #8f8c9b transparent; } }
h1, h2, h3, h4, p, li, dt, dd { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; }
a { color: inherit; }
img, svg { display: block; }
.nb { display: inline-block; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
section[id], article[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.c-o { color: var(--orange-ink); }
.c-t { color: var(--teal-ink); }
.c-b { color: var(--blue-ink); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.brand-name small { font-size: 10px; letter-spacing: .22em; color: var(--sub); }
.nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 14.5px; font-weight: 500; color: var(--sub); white-space: nowrap; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--soft); color: var(--ink); font-weight: 700; }
.nav-cta { background: var(--ink) !important; color: #fff !important; padding-inline: 20px !important; margin-left: 8px; font-weight: 700 !important; }
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .container { flex-direction: column; align-items: stretch; gap: 4px; padding-block: 12px 10px; min-height: 0; }
  .nav { justify-content: space-between; }
  .nav a { padding: 6px 8px; font-size: 13.5px; }
  .nav-cta { padding-inline: 14px !important; margin-left: 0; }
  .nav .hide-sm { display: none; }
}

/* ===== Buttons / small parts ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(43, 42, 51, .18); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid #dcdbe5; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* 見出しの上のラベル（色付きの丸いチップ） */
.label { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; padding: 4px 13px; border-radius: 999px; background: var(--soft); color: var(--sub); }
.label-o { background: var(--orange-pale); color: var(--orange-ink); }
.label-t { background: var(--teal-pale); color: var(--teal-ink); }
.label-b { background: var(--blue-pale); color: var(--blue-ink); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.soft { background: var(--soft); }
.tint-o { background: var(--orange-tint); }
.tint-t { background: var(--teal-tint); }
.tint-b { background: var(--blue-tint); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 36px); }
.lead { margin-top: 12px; color: var(--sub); font-size: clamp(15px, 1.6vw, 17px); }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-row .sec-head { margin-bottom: 0; }
.container > .sec-row:last-child { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
.tag-note { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--sub); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; vertical-align: middle; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--sub); }

.icon-circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.icon-circle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-o { background: var(--orange-pale); color: var(--orange-ink); }
.ic-t { background: var(--teal-pale); color: var(--teal-ink); }
.ic-b { background: var(--blue-pale); color: var(--blue-ink); }
.ic-mix { background: linear-gradient(135deg, var(--orange-pale), var(--teal-pale) 55%, var(--blue-pale)); color: var(--ink); }

/* ===== Hero（トップ） ===== */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); }
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { font-size: clamp(32px, 4.7vw, 58px); line-height: 1.4; }
.hero h1 > span { display: block; }
/* 3つの名前から始まる一文（「…は、もともとひとつでした。」）。見出し「サイバー」のすぐ下に置く。
   名前だけを別の行にしない：行の間があき、文としてつながらなくなるため（依頼者の指摘） */
.hero-three { margin-top: 14px; font-size: clamp(15px, 1.7vw, 19px); font-weight: 700; letter-spacing: .05em; line-height: 1.7; }
.hl { background: linear-gradient(transparent 62%, var(--orange-pale) 62%, var(--orange-pale) 92%, transparent 92%); } /* 文字の下に引く淡いマーカー線 */
.hero-sub { margin-top: 10px; font-size: clamp(15px, 1.7vw, 17px); color: var(--sub); }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ロゴ（組木）。ページを開いたとき、3つの部品が順にすべり込んで、かみ合う（1回だけ・約1.6秒）。
   依頼者の希望で、「動きを減らす」設定（prefers-reduced-motion）の人にも同じ動きを見せる */
.hero-art { width: 100%; max-width: 330px; height: auto; margin-inline: auto; overflow: visible; }
.hero-art .pc { animation: kumiki-in 1s cubic-bezier(.2, .75, .2, 1) both; }
.hero-art .pc-sec  { fill: var(--blue);   --dx: -29.4px; --dy: 17px;  animation-delay: .15s; }
.hero-art .pc-net  { fill: var(--teal);   --dx: 0px;     --dy: -34px; animation-delay: .37s; }
.hero-art .pc-prog { fill: var(--orange); --dx: 29.4px;  --dy: 17px;  animation-delay: .59s; }
@keyframes kumiki-in { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; }
}

/* ============================================================
   トップページ：1ページで順に読める構成
   （最初の画面 → なぜ分けてはいけないのか＋講師 → 講座の特徴 → 講座と日程 → よくある質問 → お問い合わせ）
   ============================================================ */

/* 左の列（広い画面）。ロゴ・目次・開催日程・問い合わせを置く。
   画面に固定しない。列だけ別にスクロールさせない。ページ全体と一緒に動かす（依頼者の指示） */
.shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); }
.side { padding: 32px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 30px; }
.side-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; }
.side-brand b { font-size: 21px; letter-spacing: .06em; line-height: 1.3; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 7px 0; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--sub); }
.side-nav a:hover { color: var(--ink); }
.side h2 { font-size: 14px; letter-spacing: .08em; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.side-sched ul { list-style: none; }
.side-sched li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; line-height: 1.5; }
.side-sched .d { color: var(--sub); }
.side-sched .n { grid-column: 1 / -1; font-weight: 700; font-size: 14px; }
.side-sched .st { grid-row: 1; grid-column: 2; color: var(--sub); }
.side-sched .st.is-open, .sched .s-state.is-open { color: var(--orange-ink); font-weight: 700; }
.side-all { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.side .btn { width: 100%; min-height: 46px; font-size: 15px; }

/* 章：とても大きな見出しと、細い線1本で区切る */
.sec { padding-block: clamp(64px, 9vw, 116px); }
.sec + .sec { padding-top: 0; }
.sec-title { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); margin-bottom: clamp(32px, 5vw, 56px); }
.sec-title h2 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 500; line-height: 1.35; letter-spacing: .04em; }
.sec-title::after { content: ""; flex: 1 1 32px; min-width: 32px; height: 1px; background: var(--ink); opacity: .6; }
.shell .hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }

/* なぜ、3つを分けてはいけないのか：左に文章、右に講師 */
.omoi { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.why-list { display: grid; gap: clamp(28px, 4vw, 40px); }
.why-item h3 { font-size: clamp(19px, 2.2vw, 22px); }
.why-item p { margin-top: 10px; font-size: clamp(15px, 1.7vw, 17px); line-height: 2; }
.why-item p + p { margin-top: .6em; }
.teacher .ph-box { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--soft); border: 1px dashed #c9c7d3; color: var(--sub); font-size: 13.5px; }
.teacher small { display: block; margin-top: 16px; font-size: 13px; color: var(--sub); }
.teacher b { display: block; margin-top: 2px; font-size: 22px; letter-spacing: .06em; }
.teacher p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--sub); }

/* 講座の特徴：実践・集合・統合 */
.feat { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 56px); padding-block: clamp(26px, 3.6vw, 40px); border-top: 1px solid var(--line); }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat-word { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: .1em; line-height: 1.3; }
.feat h3 { font-size: clamp(19px, 2.2vw, 22px); }
.feat p:not(.feat-word) { margin-top: 8px; font-size: clamp(15px, 1.7vw, 17px); line-height: 2; }

/* 講座と日程 */
.sched-lead { font-size: clamp(15px, 1.7vw, 17px); line-height: 2; max-width: 44em; }
.sched { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 15.5px; }
.sched th { text-align: left; font-size: 13px; letter-spacing: .08em; color: var(--sub); font-weight: 700; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.sched td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sched .s-date { white-space: nowrap; color: var(--sub); }
.sched .s-name a { font-weight: 700; text-decoration: none; }
.sched .s-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sched .s-who, .sched .s-state { white-space: nowrap; }
.sched .s-state { color: var(--sub); }
.sched-facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 36px; font-size: 15px; }
.sched-facts div { display: flex; gap: 10px; }
.sched-facts dt { color: var(--sub); }
.sched-more { margin-top: 24px; }

/* お問い合わせ */
.contact-box p { font-size: clamp(15px, 1.7vw, 17px); line-height: 2; }
.contact-box .contact-actions { margin-top: 20px; }

/* やや狭い画面：左の列がある分だけ右側が狭いので、最初の画面と思いの章を1列にする */
@media (max-width: 1180px) {
  .shell .hero .container { grid-template-columns: 1fr; }
  .shell .hero-art { max-width: 240px; }
  .omoi { grid-template-columns: 1fr; }
  .teacher { max-width: 320px; }
}
/* 狭い画面：左の列をやめて、上にロゴと目次だけを置く */
@media (max-width: 960px) {
  .shell { display: block; }
  .side { padding: 14px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); gap: 10px; }
  .side-brand { flex-direction: row; align-items: center; }
  .side-brand img { width: 34px; height: 34px; }
  .side-brand b { font-size: 18px; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .side-nav a { padding: 4px 0; font-size: 14px; }
  .side-sched, .side-contact { display: none; }
}
@media (max-width: 640px) {
  .feat { grid-template-columns: 1fr; }
  .sched thead { display: none; }
  .sched tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sched td { padding: 0; border: 0; }
  .sched .s-name { grid-column: 1 / -1; grid-row: 2; }
  .sched .s-who { grid-column: 1 / -1; grid-row: 3; color: var(--sub); font-size: 14px; }
}

/* ===== 下層ページの見出し ===== */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); background: linear-gradient(120deg, var(--orange-tint), var(--teal-tint) 55%, var(--blue-tint)); }
.page-head h1 { margin-top: 14px; font-size: clamp(30px, 4.4vw, 46px); }
.page-head .lead { max-width: 40em; }
.who { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.who li { font-weight: 700; font-size: 14px; letter-spacing: .06em; padding: 5px 16px; border-radius: 999px; background: #fff; border: 1.5px solid; }
.who li:nth-child(3n+1) { color: var(--orange-ink); border-color: #dcbcac; }
.who li:nth-child(3n+2) { color: var(--teal-ink); border-color: #a5c5bf; }
.who li:nth-child(3n)   { color: var(--blue-ink); border-color: #a1b4c5; }

/* ===== 講座：レベル・講座の形・一覧 ===== */
.lv { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 4px 14px 4px 11px; white-space: nowrap; }

/* トップ：どこから始める？ */
.guide { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow); padding: 26px 24px 22px;
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(43, 42, 51, .05), 0 16px 36px rgba(43, 42, 51, .10); }
.guide-who { font-weight: 700; font-size: 18px; line-height: 1.6; }
.guide-rec { width: 100%; background: var(--soft); border-radius: 14px; padding: 12px 16px; }
.guide-rec b { display: block; font-size: 12px; letter-spacing: .12em; color: var(--sub); margin-bottom: 4px; }
.guide-rec ul { list-style: none; display: grid; gap: 2px; font-size: 14.5px; font-weight: 500; }
.guide-rec li::before { content: "・"; color: var(--sub); }
.guide-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.guide-card .go svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; max-width: 560px; } }

/* 講座ページ：講座の形 */
.format { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.format > div { background: #fff; padding: 18px 22px; }
.format dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--sub); }
.format dd { margin-top: 2px; font-size: 16px; font-weight: 500; }
@media (max-width: 760px) { .format { grid-template-columns: 1fr 1fr; } .format > div { padding: 14px 16px; } .format dd { font-size: 15px; } }

/* 難しさの目盛り（電波のような3本の棒） */
.lv-meter i { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.lv-meter i b { width: 5px; border-radius: 2px; background: #d6d4de; }
.lv-meter i b:nth-child(1) { height: 6px; }
.lv-meter i b:nth-child(2) { height: 10px; }
.lv-meter i b:nth-child(3) { height: 14px; }
.lv-meter i b.on { background: var(--teal-ink); }
.lv-meter.big i { height: 20px; gap: 4px; }
.lv-meter.big i b { width: 7px; }
.lv-meter.big i b:nth-child(1) { height: 8px; }
.lv-meter.big i b:nth-child(2) { height: 14px; }
.lv-meter.big i b:nth-child(3) { height: 20px; }

/* 講座ページ：レベルの選択 */
.lv-index { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.lv-index a { height: 100%; display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; text-decoration: none; transition: border-color .2s; }
.lv-index a:hover { border-color: var(--ink); }
.lv-index b { display: block; font-size: 16px; line-height: 1.4; }
.lv-index small { display: block; font-size: 12.5px; color: var(--sub); }
@media (max-width: 760px) { .lv-index { grid-template-columns: 1fr; gap: 8px; } .lv-index a { padding: 10px 16px; } }

/* 講座ページ：レベルごとのパネル */
.level-panel { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 96px; }
.level-panel + .level-panel { margin-top: 28px; }
.level-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 20px 30px; background: linear-gradient(120deg, var(--teal-tint), var(--blue-tint)); }
.level-top h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(19px, 2.2vw, 22px); }
.level-top p { color: var(--sub); font-size: 15px; }
.course-rows { list-style: none; }
.course-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px 44px; align-items: center; padding: 26px 30px; }
.course-row + .course-row { border-top: 1px solid var(--line); }
.cr-main h4 { font-size: clamp(18px, 2vw, 20px); line-height: 1.5; }
.cr-desc { margin-top: 6px; font-size: 15px; color: var(--sub); }
.cr-main .tech { margin-top: 12px; }
.cr-can b { display: block; font-size: 12px; letter-spacing: .12em; color: var(--sub); margin-bottom: 4px; }
.cr-can p { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1.7; }
.cr-can svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--teal-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tech { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tech li { font-size: 13px; line-height: 1.6; padding: 3px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
@media (max-width: 860px) {
  .course-row { grid-template-columns: 1fr; padding: 22px 20px; }
  .level-top { padding: 16px 20px; }
  .cr-can { background: var(--teal-tint); border-radius: 14px; padding: 10px 14px; }
}

/* ===== 学び方 ===== */
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.point { background: #fff; border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow); }
.point h3 { font-size: 19px; margin: 16px 0 8px; }
.point p { color: var(--sub); font-size: 15px; }
@media (max-width: 860px) { .point-grid { grid-template-columns: 1fr; } }
.rule {
  border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
}
.rule-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #fff; background: var(--blue-ink); border-radius: 999px; padding: 4px 14px; }
.rule .rule-quote { margin-top: 12px; font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.3; color: var(--blue-ink); letter-spacing: .08em; white-space: nowrap; }
.rule h2 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 8px; }
.rule p { color: var(--sub); font-size: 15.5px; }
@media (max-width: 860px) { .rule { grid-template-columns: 1fr; } .rule-quote { white-space: normal; } }

.ph-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(360px, 44vw, 500px); }
.ph { position: relative; border-radius: var(--r-l); overflow: hidden; display: grid; place-items: center; padding: 16px; border: 1.5px dashed; }
.ph:first-child { grid-row: span 2; }
.ph-o { background: repeating-linear-gradient(135deg, #f0dccd 0 14px, #f8eee7 14px 28px); border-color: #dcbcac; }
.ph-t { background: repeating-linear-gradient(135deg, #d3e4e0 0 14px, #e9f2f0 14px 28px); border-color: #a5c5bf; }
.ph-b { background: repeating-linear-gradient(135deg, #d5dde6 0 14px, #eaeff3 14px 28px); border-color: #a1b4c5; }
.ph-label { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--sub); box-shadow: 0 2px 10px rgba(43, 42, 51, .06); text-align: center; line-height: 1.5; }
.ph-label svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--sub); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .ph-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .ph { min-height: 200px; }
  .ph:first-child { grid-row: auto; min-height: 240px; }
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(43, 42, 51, .03); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 30px 1fr 24px; gap: 12px; align-items: center;
  padding: 18px 22px; font-weight: 700; font-size: 16px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.q { color: var(--orange-ink); font-size: 20px; }
.plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 0 22px 20px; color: var(--sub); font-size: 15px; }
.faq .a b { color: var(--teal-ink); font-size: 20px; line-height: 1.5; }

/* ===== お問い合わせ ===== */
.contact-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--r-l); padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 760px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start;
}
.contact-card.cc-b::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--blue); }
.contact-card.center { margin-inline: auto; }
.contact-card .icon-circle { grid-row: span 4; margin-top: 4px; }
.contact-card h2, .contact-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 21px; }
.contact-card p { color: var(--sub); font-size: 15px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.mail { font-size: 13.5px; color: var(--sub); }
@media (max-width: 600px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .icon-circle { grid-row: auto; }
  .contact-actions .btn { width: 100%; }
}

/* ===== 見学への誘い（各ページの下） ===== */
.cta-band { background: linear-gradient(120deg, var(--orange-tint), var(--teal-tint) 55%, var(--blue-tint)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; padding-block: clamp(48px, 7vw, 80px); }
.cta-inner h2 { font-size: clamp(22px, 3vw, 30px); }
.cta-inner p { margin-top: 6px; color: var(--sub); }

/* ===== Footer ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 44px 36px; font-size: 14px; color: var(--sub); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-meta { margin-top: 12px; line-height: 1.9; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; max-width: 560px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy { width: 100%; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* ============================================================
   セキュリティ調査（business.html）
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: var(--blue-tint); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; right: -80px; top: -60px; width: 520px; height: 520px; pointer-events: none;
  background-image: radial-gradient(#c3cfdb 1.4px, transparent 1.7px); background-size: 22px 22px;
  mask-image: radial-gradient(circle, #000 0%, transparent 68%); -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
}
.page-hero .container { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero h1 { margin-top: 14px; font-size: clamp(32px, 5vw, 52px); line-height: 1.3; }
.badge-soon { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #7a4a06; background: #fff1c9; border: 1px solid #efd58c; border-radius: 999px; padding: 3px 12px; white-space: nowrap; vertical-align: middle; }
.badge-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d99a17; }
.page-hero-art { width: 100%; max-width: 360px; height: auto; margin-inline: auto; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { max-width: 260px; order: -1; }
}
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.menu-card { background: #fff; border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 12px; border: 1px solid #d3dbe3; }
.menu-card .icon-circle { width: 48px; height: 48px; }
.menu-card .icon-circle svg { width: 22px; height: 22px; }
.menu-card h3 { font-size: 17px; line-height: 1.6; }
.menu-card p { font-size: 14.5px; color: var(--sub); }
@media (max-width: 860px) { .menu-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border-radius: var(--r-m); padding: 22px 18px; border: 1px solid #d3dbe3; }
.step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-ink); color: #fff; font-weight: 700; font-size: 17px; }
.step h3 { font-size: 16px; line-height: 1.55; margin: 12px 0 6px; }
.step p { font-size: 13.5px; color: var(--sub); line-height: 1.75; }
.step.key { border: 2px solid var(--blue-ink); }
.step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; right: -13px; top: 38px;
  width: 10px; height: 10px; border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue);
  transform: rotate(45deg); border-radius: 1px;
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding: 18px 20px; }
  .step-num { grid-row: span 3; }
  .step h3 { margin: 4px 0 2px; }
  .step:not(:last-child)::after { right: auto; top: auto; left: 34px; bottom: -13px; transform: rotate(135deg); }
}
.promise { background: #fff; border-radius: var(--r-l); padding: clamp(26px, 4vw, 44px); border: 1.5px solid #cdd7e0; box-shadow: 0 10px 30px rgba(67, 105, 138, .06); }
.promise-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.promise-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.promise-head p { font-size: 14px; color: var(--sub); }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.8; padding-bottom: 14px; border-bottom: 1px dashed #dbe2e9; }
.checks strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, #dde5ec 62%); }
.check { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-ink); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .checks { grid-template-columns: 1fr; } }
.report { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.report-copy h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 36px); }
.report-copy p { color: var(--sub); margin-top: 14px; }
.doc { position: relative; background: #fff; border-radius: 14px; padding: clamp(22px, 3.4vw, 34px); border: 1px solid #e6e1d6; box-shadow: 0 18px 40px rgba(43, 42, 51, .08); }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.doc-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--sub); }
.doc-head b { font-size: 18px; }
.stamp { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #b8402c; border: 1.5px solid #b8402c; border-radius: 6px; padding: 1px 8px; transform: rotate(-4deg); }
.toc { list-style: none; counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; padding-bottom: 0; }
.toc li::before { content: counter(t); font-weight: 700; color: var(--blue-ink); }
.toc b { display: block; font-size: 15px; }
.toc span { display: block; font-size: 13px; color: var(--sub); }
@media (max-width: 860px) { .report { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover, .guide-card, .guide-card:hover { transition: none; transform: none; }
}
