/* ==========================================================================
   SUPRAX site stylesheet  ―  明るいオフィス基調
   色・余白はすべて :root の変数で管理しています。
   ========================================================================== */

:root{
  /* --- 文字 --- */
  --ink:#15263d;        /* 見出し。真っ黒にせず濃紺にして柔らかく */
  --text:#3f5165;       /* 本文 */
  --muted:#7c8ca0;      /* 補足 */

  /* --- 面 --- */
  --white:#ffffff;
  --bg:#f6f9fc;         /* うっすら青みのある明るい下地 */
  --bg-warm:#fdf8f1;    /* 温かみのある面（アクセント用） */
  --line:#e6edf4;
  --line-soft:#f0f5fa;

  /* --- アクセント --- */
  --blue:#0f8fe8;
  --blue-light:#4fb3f7;
  --blue-bg:#eaf5fe;
  --teal:#12b5a4;
  --teal-light:#3ed3c3;
  --teal-bg:#e6faf7;
  --sun:#ffb020;        /* 明るさを作る差し色 */
  --sun-bg:#fff6e3;
  --coral:#ff7a66;
  --coral-bg:#fff0ed;

  --radius:8px;
  --radius-lg:12px;
  --radius-xl:16px;

  --shadow-xs:0 1px 2px rgba(21,38,61,.05);
  --shadow:0 1px 2px rgba(21,38,61,.03), 0 10px 24px -16px rgba(21,38,61,.14);
  --shadow-lg:0 4px 10px rgba(21,38,61,.04), 0 26px 54px -30px rgba(21,38,61,.24);

  --wrap:1160px;
  --wrap-narrow:780px;
  --nav-h:74px;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-en: "Inter", var(--font);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.9;
  color:var(--text);
  background:var(--white);
  overflow-x:hidden;
  font-feature-settings:"palt";
  -webkit-font-smoothing:antialiased;
}

img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }
h1,h2,h3,h4{ line-height:1.5; letter-spacing:.01em; color:var(--ink); margin:0; font-weight:700; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; }
:focus-visible{ outline:3px solid var(--blue-light); outline-offset:2px; border-radius:6px; }

.skip-link{ position:absolute; left:-9999px; top:0; z-index:200; background:var(--ink); color:#fff; padding:12px 20px; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }

/* ---------- レイアウト ---------- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:22px; }
.wrap-narrow{ max-width:var(--wrap-narrow); }
.section{ padding:88px 0; }
.section-sm{ padding:60px 0; }
@media (max-width:768px){ .section{ padding:64px 0; } }

.bg-white{ background:var(--white); }
.bg-soft{ background:var(--bg); }
.bg-warm{ background:var(--bg-warm); }
.bg-tint{ background:linear-gradient(180deg,var(--blue-bg) 0%, var(--white) 100%); }

.grid{ display:grid; gap:30px; }
.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-mid{ align-items:center; }
@media (max-width:960px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px){ .grid-2,.grid-3{ grid-template-columns:1fr; } }
@media (max-width:560px){ .grid-4{ grid-template-columns:1fr; } }

.stack > * + *{ margin-top:18px; }
.stack-lg > * + *{ margin-top:34px; }
.center{ text-align:center; }
.mt-24{ margin-top:24px; } .mt-32{ margin-top:32px; } .mt-48{ margin-top:48px; } .mt-64{ margin-top:64px; }

/* ---------- ロゴ ---------- */
.logo{ font-family:var(--font-en); font-size:27px; letter-spacing:.05em; display:inline-block; line-height:1; text-decoration:none; }
.logo:hover{ text-decoration:none; }
.logo .sup{ font-weight:300; color:var(--ink); }
.logo .ra{ font-weight:700; color:var(--blue); }
.logo .x{ font-weight:900; background:linear-gradient(135deg,var(--blue),var(--teal)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.logo-light .sup{ color:#fff; }

/* ---------- ヘッダー（白・明るい） ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100; height:var(--nav-h);
  background:rgba(255,255,255,.88); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled{ background:rgba(255,255,255,.97); border-color:var(--line); box-shadow:0 4px 20px -12px rgba(21,38,61,.3); }
.site-header .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.site-nav{ display:flex; align-items:center; gap:28px; }
.site-nav a{ color:var(--text); font-size:14.5px; font-weight:600; text-decoration:none; transition:color .2s; }
.site-nav a:hover{ color:var(--blue); }
.site-nav a[aria-current="page"]{ color:var(--blue); }
.nav-toggle{ display:none; background:none; border:0; color:var(--ink); padding:8px; cursor:pointer; }

@media (max-width:940px){
  .site-nav{
    position:fixed; inset:var(--nav-h) 0 auto 0; flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-bottom:1px solid var(--line); padding:8px 0 20px; box-shadow:var(--shadow);
    max-height:0; overflow:hidden; visibility:hidden; transition:max-height .28s ease, visibility .28s;
  }
  .site-nav.open{ max-height:80vh; visibility:visible; overflow:auto; }
  .site-nav a{ padding:15px 26px; font-size:16px; border-bottom:1px solid var(--line-soft); }
  .site-nav .btn{ margin:16px 26px 0; justify-content:center; border-bottom:0; }
  .nav-toggle{ display:block; }
}

/* ---------- ボタン ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 32px; border-radius:6px; border:1.5px solid transparent;
  font-weight:700; font-size:15px; line-height:1.4; cursor:pointer; text-align:center;
  text-decoration:none; transition:transform .18s, background .18s, color .18s, box-shadow .18s, border-color .18s;
}
.btn:hover{ text-decoration:none; transform:translateY(-1px); }
.btn svg{ flex:0 0 auto; }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 10px 24px -10px rgba(15,143,232,.75); }
.btn-primary:hover{ background:var(--blue-light); color:#fff; box-shadow:0 14px 30px -10px rgba(15,143,232,.8); }
.btn-sun{ background:var(--sun); color:#4a3000; box-shadow:0 10px 24px -10px rgba(255,176,32,.8); }
.btn-sun:hover{ background:#ffc04d; color:#4a3000; }
.btn-ink{ background:var(--ink); color:#fff; }
.btn-ink:hover{ background:#22385a; color:#fff; }
.btn-line{ background:#fff; color:var(--ink); border-color:var(--line); box-shadow:var(--shadow-xs); }
.btn-line:hover{ border-color:var(--blue); color:var(--blue); }
.btn-block{ display:flex; width:100%; }
.btn-lg{ padding:19px 44px; font-size:16px; letter-spacing:.02em; }

/* ---------- 見出し ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-en); font-size:11.5px; font-weight:800;
  letter-spacing:.24em; text-transform:uppercase; color:var(--blue); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--blue); border-radius:2px; }
.eyebrow.c-teal{ color:var(--teal); } .eyebrow.c-teal::before{ background:var(--teal); }
.eyebrow.c-sun{ color:#c47f00; } .eyebrow.c-sun::before{ background:var(--sun); }

.h-lead{ font-size:clamp(27px,3.5vw,40px); margin-bottom:18px; }
.h-sec{ font-size:clamp(23px,2.7vw,31px); margin-bottom:16px; letter-spacing:.005em; }
.lead{ color:var(--text); font-size:16.5px; }
.sec-head{ max-width:760px; margin-inline:auto; margin-bottom:52px; text-align:center; }
.sec-head .eyebrow{ justify-content:center; }
.marker{ background:linear-gradient(transparent 62%, var(--sun-bg) 62%); padding:0 .1em; }
.sp-br{ display:inline; }
@media (max-width:640px){ .sp-br{ display:none; } }
.c-blue{ color:var(--blue); } .c-teal{ color:var(--teal); }

/* ---------- ヒーロー ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:calc(var(--nav-h) + 72px) 0 88px;
  background:
    radial-gradient(70% 90% at 88% 8%, #fff5e0 0%, rgba(255,245,224,0) 60%),
    radial-gradient(80% 90% at 6% 90%, #e4f6f3 0%, rgba(228,246,243,0) 60%),
    linear-gradient(170deg, #eef7fe 0%, #ffffff 62%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:980px){
  .hero{ padding:calc(var(--nav-h) + 48px) 0 64px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
}
.hero-badge{
  display:inline-flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line);
  border-radius:4px; padding:8px 18px 8px 10px; font-size:12.5px; font-weight:700; color:var(--text);
  box-shadow:var(--shadow-xs); margin-bottom:26px;
}
.hero-badge b{ background:var(--blue); color:#fff; border-radius:3px; padding:3px 11px; font-size:11.5px; letter-spacing:.04em; }
.hero-title{ font-size:clamp(30px,4.6vw,52px); line-height:1.38; letter-spacing:.002em; margin-bottom:24px; }
.hero-title .hl{
  background:linear-gradient(transparent 58%, #ffe6ab 58%, #ffe6ab 92%, transparent 92%);
  padding:0 .08em; border-radius:3px;
}
.hero-sub{ font-size:clamp(15px,1.6vw,17.5px); color:var(--text); max-width:560px; margin-bottom:34px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-note{ margin-top:22px; font-size:12.5px; color:var(--muted); }
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; filter:drop-shadow(0 30px 50px rgba(21,38,61,.13)); }

/* ヒーロー下の指標帯 */
.hero-strip{ background:#fff; border-top:1px solid var(--line); }
.hero-strip .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.hero-strip .cell{ padding:26px 20px; text-align:center; border-right:1px solid var(--line-soft); }
.hero-strip .cell:last-child{ border-right:0; }
.hero-strip .k{ display:block; font-family:var(--font-en); font-size:26px; font-weight:800; color:var(--ink); line-height:1.2; }
.hero-strip .k small{ font-size:14px; font-weight:700; margin-left:2px; }
.hero-strip .v{ font-size:12px; color:var(--muted); font-weight:600; }
@media (max-width:720px){
  .hero-strip .wrap{ grid-template-columns:repeat(2,1fr); }
  .hero-strip .cell:nth-child(2){ border-right:0; }
  .hero-strip .cell:nth-child(-n+2){ border-bottom:1px solid var(--line-soft); }
}

/* ---------- カード ---------- */
.card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px; box-shadow:var(--shadow-xs); transition:box-shadow .25s, transform .25s, border-color .25s; }
.card-hover:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#d3e3f2; }
.card h3{ font-size:19px; margin-bottom:12px; }
.card p{ font-size:14.8px; color:var(--text); }
.card-soft{ background:var(--bg); border-color:transparent; box-shadow:none; }
.card-tint{ background:var(--blue-bg); border-color:transparent; box-shadow:none; }
.card-warm{ background:var(--sun-bg); border-color:transparent; box-shadow:none; }

.icon-badge{ width:50px; height:50px; border-radius:8px; display:grid; place-items:center; flex:0 0 auto; }
.icon-badge svg{ width:26px; height:26px; }
.b-blue{ background:var(--blue-bg); color:var(--blue); }
.b-teal{ background:var(--teal-bg); color:var(--teal); }
.b-sun{ background:var(--sun-bg); color:#c47f00; }
.b-coral{ background:var(--coral-bg); color:#e04f36; }

.num-badge{
  width:44px; height:44px; border-radius:6px; display:grid; place-items:center; flex:0 0 auto;
  font-family:var(--font-en); font-weight:800; font-size:16px;
}

.feature{ display:flex; gap:18px; align-items:flex-start; }
.feature h3{ font-size:18.5px; margin-bottom:9px; }
.feature p{ font-size:14.8px; color:var(--text); margin:0; }

/* チェックリスト */
.checklist{ list-style:none; }
.checklist li{ position:relative; padding-left:30px; font-size:14.8px; color:var(--text); }
.checklist li + li{ margin-top:12px; }
.checklist li::before{
  content:""; position:absolute; left:0; top:.42em; width:19px; height:19px; border-radius:50%;
  background:var(--blue-bg) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230f8fe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.3l2.4 2.4L9.6 3.9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist.em li::before{ background-color:var(--teal-bg); background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2312b5a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.3l2.4 2.4L9.6 3.9'/%3E%3C/svg%3E"); }

/* 困りごとリスト（チェックボックス風） */
.pain-list{ list-style:none; display:grid; gap:14px; }
.pain-list li{
  display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:18px 22px; font-size:15px; color:var(--ink); font-weight:500;
  box-shadow:var(--shadow-xs);
}
.pain-list li::before{
  content:""; flex:0 0 auto; width:22px; height:22px; border-radius:6px; margin-top:.18em;
  background:var(--sun-bg) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23e59400' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.3l2.4 2.4L9.6 3.9'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- 数値・図 ---------- */
.stat{ background:var(--blue-bg); border-radius:6px; padding:24px; }
.stat .num{ display:block; font-family:var(--font-en); font-size:36px; font-weight:800; color:var(--blue); line-height:1.15; }
.stat .cap{ font-size:12.5px; font-weight:700; color:var(--text); }
.stat.em{ background:var(--teal-bg); } .stat.em .num{ color:var(--teal); }
.stat.sun{ background:var(--sun-bg); } .stat.sun .num{ color:#c47f00; }

/* Before / After */
.ba{ display:grid; grid-template-columns:1fr auto 1fr; gap:20px; align-items:stretch; }
@media (max-width:820px){ .ba{ grid-template-columns:1fr; } .ba .ba-arrow{ transform:rotate(90deg); margin:-4px auto; } }
.ba-box{ border-radius:var(--radius-lg); padding:26px; border:1px solid var(--line); background:#fff; }
.ba-box.before{ background:var(--bg); border-color:transparent; }
.ba-box.after{ background:linear-gradient(160deg,var(--teal-bg),#fff); border-color:#c9efe9; }
.ba-tag{ display:inline-block; font-family:var(--font-en); font-size:11.5px; font-weight:800; letter-spacing:.14em; padding:5px 12px; border-radius:3px; margin-bottom:14px; }
.ba-box.before .ba-tag{ background:#e5ebf2; color:#6b7c90; }
.ba-box.after .ba-tag{ background:var(--teal); color:#fff; }
.ba-box ul{ list-style:none; font-size:14.5px; }
.ba-box li{ position:relative; padding-left:20px; }
.ba-box li + li{ margin-top:10px; }
.ba-box li::before{ content:""; position:absolute; left:2px; top:.72em; width:7px; height:7px; border-radius:50%; background:#c2cedd; }
.ba-box.after li::before{ background:var(--teal); }
.ba-arrow{ display:grid; place-items:center; color:var(--teal); }

/* P&L 図（JS不要） */
.pl-figure{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 26px; box-shadow:var(--shadow-xs); }
.pl-legend{ display:flex; gap:22px; justify-content:center; margin-bottom:22px; font-size:12.5px; color:var(--text); }
.pl-legend span{ display:inline-flex; align-items:center; gap:8px; }
.pl-legend i{ width:13px; height:13px; border-radius:4px; display:inline-block; }
.pl-bars{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:end; height:260px; }
.pl-col{ display:flex; flex-direction:column; justify-content:flex-end; height:100%; }
.pl-stack{ display:flex; flex-direction:column; border-radius:10px 10px 0 0; overflow:hidden; }
.pl-seg{ display:grid; place-items:center; font-size:12.5px; font-weight:700; color:#fff; font-family:var(--font-en); }
.pl-seg.cost{ background:#dbe5ee; color:#6b7c90; }
.pl-seg.profit{ background:var(--blue); }
.pl-col.win .pl-seg.profit{ background:var(--teal); }
.pl-label{ font-size:11.5px; color:var(--muted); margin-top:12px; line-height:1.6; text-align:center; }
.pl-label b{ display:block; color:var(--ink); font-size:12.5px; }

/* ---------- シミュレーター（明るい版） ---------- */
.sim{ background:linear-gradient(150deg,#ffffff,#eef7fe); border:1px solid #d6e8f7; border-radius:var(--radius-xl); padding:40px; box-shadow:var(--shadow); }
@media (max-width:640px){ .sim{ padding:26px; } }
.sim label{ display:block; font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:9px; }
.sim input[type=number]{ width:100%; padding:14px 16px; border-radius:12px; font-size:16px; font-family:inherit; background:#fff; border:1px solid var(--line); color:var(--ink); }
.sim input[type=number]:focus{ outline:none; border-color:var(--blue-light); box-shadow:0 0 0 4px rgba(79,179,247,.16); }
.sim input[type=range]{ width:100%; accent-color:var(--blue); }
.sim-out{ background:var(--ink); border-radius:20px; padding:30px; display:flex; flex-direction:column; justify-content:center; gap:24px; }
.sim-out .cap{ display:block; font-size:12px; color:#9fb2c8; margin-bottom:6px; }
.sim-out .val{ font-family:var(--font-en); font-weight:800; color:#fff; line-height:1; }
.sim-out .val.big{ font-size:clamp(36px,5vw,50px); background:linear-gradient(120deg,var(--blue-light),var(--teal-light)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sim-out .val.mid{ font-size:30px; }
.sim-out .unit{ font-size:13px; color:#9fb2c8; margin-left:5px; }
.sim-out .div{ border-top:1px solid #2b425f; padding-top:20px; }
.sim-note{ font-size:11.5px; color:var(--muted); margin-top:18px; line-height:1.9; }

/* ---------- 流れ ---------- */
.flow{ position:relative; padding-left:38px; list-style:none; }
.flow::before{ content:""; position:absolute; left:13px; top:22px; bottom:22px; width:2px; background:linear-gradient(var(--blue-light),var(--teal-light)); border-radius:2px; }
.flow li{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 24px; box-shadow:var(--shadow-xs); }
.flow li + li{ margin-top:14px; }
.flow li::before{ content:""; position:absolute; left:-32px; top:22px; width:16px; height:16px; border-radius:50%; background:var(--blue); border:3px solid #fff; box-shadow:0 0 0 2px var(--blue-bg); }
.flow li.goal::before{ background:var(--teal); box-shadow:0 0 0 2px var(--teal-bg); }
.flow strong{ display:block; color:var(--ink); font-size:15.5px; }
.flow small{ color:var(--muted); font-size:12.8px; }

/* ステップ番号カード */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:s; }
@media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.step{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 24px; box-shadow:var(--shadow-xs); position:relative; }
.step::before{
  counter-increment:s; content:counter(s,decimal-leading-zero);
  font-family:var(--font-en); font-size:34px; font-weight:800; color:var(--blue-bg); line-height:1;
  position:absolute; top:18px; right:20px;
}
.step h3{ font-size:16.5px; margin:0 0 10px; position:relative; }
.step p{ font-size:13.8px; color:var(--text); }

/* ---------- 料金 ---------- */
.price-row{ display:flex; justify-content:space-between; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:6px; padding:15px 20px; }
.price-row + .price-row{ margin-top:10px; }
.price-row .name{ font-weight:700; font-size:14px; color:var(--ink); }
.price-row .val{ font-weight:800; font-size:15px; color:var(--blue); white-space:nowrap; font-family:var(--font-en); }
.price-row .val em{ font-style:normal; font-size:12px; color:var(--muted); font-family:var(--font); margin-left:3px; }
.note{ font-size:12px; color:var(--muted); line-height:1.9; }

/* ---------- ブログ ---------- */
.post-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media (max-width:960px){ .post-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .post-grid{ grid-template-columns:1fr; } }

.post-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform .22s, box-shadow .22s; }
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.post-card .thumb{ display:block; aspect-ratio:16/9; background:var(--bg); overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.post-card h3{ font-size:16.5px; line-height:1.65; }
.post-card h3 a{ color:var(--ink); text-decoration:none; }
.post-card h3 a:hover{ color:var(--blue); }
.post-card .excerpt{ font-size:13.5px; color:var(--muted); line-height:1.85; margin-top:auto; }

.post-meta{ display:flex; align-items:center; gap:11px; font-size:12px; color:var(--muted); flex-wrap:wrap; }
.post-meta time{ font-family:var(--font-en); }
.cat{ display:inline-block; padding:4px 11px; border-radius:3px; font-size:11.5px; font-weight:700; color:#fff; }

/* 記事本文 */
.post-header{ padding:calc(var(--nav-h) + 48px) 0 40px; background:linear-gradient(170deg,#eef7fe,#ffffff); }
.post-header h1{ font-size:clamp(24px,3.5vw,38px); margin:18px 0 18px; line-height:1.48; }
.post-hero{ margin-bottom:-40px; position:relative; z-index:2; }
.post-hero img{ width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }

.prose{ font-size:16.5px; line-height:2.05; color:var(--text); }
.prose > * + *{ margin-top:1.5em; }
.prose h2{
  font-size:24px; margin-top:2.8em; padding:0 0 14px 0; position:relative; color:var(--ink);
  border-bottom:2px solid var(--line);
}
.prose h2::after{ content:""; position:absolute; left:0; bottom:-2px; width:70px; height:2px; background:var(--blue); }
.prose h3{ font-size:19.5px; margin-top:2.3em; padding-left:15px; border-left:4px solid var(--blue-light); border-radius:2px; }
.prose h4{ font-size:17px; margin-top:2em; color:var(--ink); }
.prose ul,.prose ol{ padding-left:1.6em; }
.prose li + li{ margin-top:.55em; }
.prose ul{ list-style:disc; }
.prose ol{ list-style:decimal; }
.prose strong{ font-weight:700; color:var(--ink); background:linear-gradient(transparent 62%, var(--sun-bg) 62%); }
.prose blockquote{ margin-inline:0; padding:20px 26px; background:var(--blue-bg); border-left:4px solid var(--blue); border-radius:0 12px 12px 0; color:var(--text); font-size:15.5px; }
.prose blockquote > * + *{ margin-top:.8em; }
.prose code{ background:var(--line-soft); border:1px solid var(--line); border-radius:5px; padding:.16em .48em; font-size:.9em; font-family:ui-monospace,Menlo,Consolas,monospace; color:#1f6fb2; font-weight:600; }
.prose pre{ background:var(--ink); color:#e6eef7; padding:22px; border-radius:14px; overflow-x:auto; font-size:14px; line-height:1.75; }
.prose pre code{ background:none; border:0; padding:0; color:inherit; font-weight:400; }
.prose hr{ border:0; border-top:1px solid var(--line); margin:2.8em 0; }
.prose img{ border-radius:14px; }
.prose figure{ margin:0; }
.prose figcaption{ font-size:12.5px; color:var(--muted); text-align:center; margin-top:10px; }
.prose .table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.prose table{ width:100%; border-collapse:collapse; font-size:14.5px; min-width:460px; }
.prose th,.prose td{ border:1px solid var(--line); padding:12px 15px; text-align:left; }
.prose th{ background:var(--bg); font-weight:700; color:var(--ink); }
.prose tbody tr:nth-child(even){ background:#fbfdff; }

.toc{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px 30px; }
.toc > strong{ display:flex; align-items:center; gap:9px; font-size:14.5px; color:var(--ink); margin-bottom:14px; }
.toc > strong::before{ content:""; width:18px; height:2px; background:var(--blue); border-radius:2px; }
.toc ol{ list-style:none; font-size:14.2px; }
.toc li + li{ margin-top:9px; }
.toc li.lv3{ padding-left:20px; font-size:13.5px; }
.toc a{ color:var(--text); text-decoration:none; }
.toc a:hover{ color:var(--blue); }

.post-nav{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.post-nav a{ font-size:14px; font-weight:700; max-width:46%; }
@media (max-width:640px){ .post-nav a{ max-width:100%; } }

.pager{ display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap; }
.pager a,.pager span{ min-width:44px; height:44px; display:grid; place-items:center; padding:0 13px; border-radius:6px; border:1px solid var(--line); background:#fff; font-size:14px; font-weight:700; color:var(--text); text-decoration:none; }
.pager a:hover{ border-color:var(--blue); color:var(--blue); }
.pager .now{ background:var(--blue); border-color:var(--blue); color:#fff; }

.filter{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.filter a{ padding:9px 20px; border-radius:4px; border:1px solid var(--line); background:#fff; font-size:13px; font-weight:700; color:var(--text); text-decoration:none; transition:.18s; }
.filter a:hover{ border-color:var(--blue); color:var(--blue); text-decoration:none; }
.filter a.on{ background:var(--ink); border-color:var(--ink); color:#fff; }

/* ==========================================================================
   記事内のExcel図解パーツ（実際のExcelの画面に寄せた見た目）
   ========================================================================== */
.xl{
  border:1px solid #c8c6c4; border-radius:4px; overflow:hidden; background:#fff;
  box-shadow:0 1px 3px rgba(21,38,61,.10); margin-top:1.6em;
  font-family:"Segoe UI","Yu Gothic UI","Noto Sans JP",sans-serif;
}

/* 名前ボックス＋数式バー */
.xl-bar{ display:flex; align-items:stretch; background:#fff; border-bottom:1px solid #d0cece; }
.xl-name{
  flex:0 0 92px; display:flex; align-items:center; padding:0 10px; height:30px;
  font-size:12px; color:#201f1e; border-right:1px solid #d0cece; background:#fff;
}
.xl-fx{
  flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:34px;
  font-style:italic; font-weight:600; font-size:12.5px; color:#605e5c; border-right:1px solid #d0cece;
}
.xl-formula{
  flex:1 1 auto; display:flex; align-items:center; padding:0 10px; min-width:0;
  font-family:ui-monospace,Consolas,"Courier New",monospace; font-size:12.5px; color:#201f1e;
  overflow-x:auto; white-space:nowrap;
}
.xl-formula::-webkit-scrollbar{ height:5px; }
.xl-formula::-webkit-scrollbar-thumb{ background:#c8c6c4; border-radius:3px; }

/* シート本体 */
.xl-scroll{ overflow-x:auto; background:#fff; }
.xl-scroll::-webkit-scrollbar{ height:8px; }
.xl-scroll::-webkit-scrollbar-thumb{ background:#c8c6c4; border-radius:4px; }

table.xl-grid{ border-collapse:separate; border-spacing:0; width:100%; min-width:520px; font-size:12.5px; }
table.xl-grid th, table.xl-grid td{
  border-right:1px solid #d4d4d4; border-bottom:1px solid #d4d4d4;
  padding:0 7px; height:23px; line-height:21px; text-align:left; white-space:nowrap;
  color:#201f1e; background:#fff; font-weight:400;
}
/* 列見出し（A B C …）と行番号（1 2 3 …） */
table.xl-grid thead th{
  background:#f3f2f1; color:#605e5c; font-weight:400; text-align:center; height:21px; line-height:19px;
  border-bottom:1px solid #b7b5b3; font-size:11.5px;
}
table.xl-grid thead th:first-child{ width:34px; min-width:34px; background:#f3f2f1; }
table.xl-grid tbody th{
  background:#f3f2f1; color:#605e5c; font-weight:400; text-align:center;
  width:34px; min-width:34px; border-right:1px solid #b7b5b3; font-size:11.5px;
}
/* 選択中のセルがある行・列の見出しは色が変わる（Excelと同じ） */
table.xl-grid thead th.act, table.xl-grid tbody th.act{
  background:#d3e8dd; color:#0b6a3a; font-weight:600;
}
table.xl-grid td{ min-width:104px; }
table.xl-grid td.num{ text-align:right; font-variant-numeric:tabular-nums; }
table.xl-grid td.hd{ background:#f2f2f2; font-weight:600; color:#201f1e; }

/* セルの状態 */
table.xl-grid td.mark{ background:#fff2cc; }
table.xl-grid td.ok{ background:#e2efda; color:#1e6b41; font-weight:600; }
table.xl-grid td.ng{ background:#fce4e4; color:#b02418; font-weight:600; }
table.xl-grid td.dim{ color:#a6a6a6; background:#fafafa; }
table.xl-grid td.sel{ position:relative; background:#fff; }
table.xl-grid td.sel::after{
  content:""; position:absolute; left:-1px; top:-1px; right:-1px; bottom:-1px;
  border:2px solid #107c41; pointer-events:none; z-index:2;
}
/* 右下のフィルハンドル */
table.xl-grid td.sel::before{
  content:""; position:absolute; right:-3px; bottom:-3px; width:6px; height:6px;
  background:#107c41; border:1px solid #fff; z-index:3;
}
table.xl-grid td.sel.mark{ background:#fff2cc; }
table.xl-grid td.sel.ok{ background:#e2efda; }

/* シートタブ */
.xl-tabs{ display:flex; align-items:stretch; background:#f3f2f1; border-top:1px solid #d0cece; height:26px; }
.xl-tabs .tab{
  display:flex; align-items:center; padding:0 16px; font-size:11.5px; color:#605e5c;
  border-right:1px solid #d0cece;
}
.xl-tabs .tab.on{ background:#fff; color:#107c41; font-weight:600; box-shadow:inset 0 -2px 0 #107c41; }

/* 図の下の説明 */
.prose .xl-cap, .xl-cap{ font-size:12.5px; color:var(--muted); padding:11px 14px; background:#fafcfe; border-top:1px solid #eef2f7; line-height:1.8; font-family:var(--font); text-align:left; }
.xl-cap b,.xl-cap strong{ color:var(--ink); }

/* 構文の分解図 */
.syntax{ background:var(--ink); border-radius:14px; padding:24px 26px; margin-top:1.5em; overflow-x:auto; }
.syntax .line{ font-family:ui-monospace,Consolas,monospace; font-size:16px; color:#fff; white-space:nowrap; letter-spacing:.02em; }
.syntax .line .fn{ color:var(--sun); font-weight:700; }
.syntax .line .arg{ padding:2px 4px; border-radius:4px; }
.syntax .a1{ background:rgba(79,179,247,.28); color:#bfe3ff; }
.syntax .a2{ background:rgba(62,211,195,.24); color:#b6f0e8; }
.syntax .a3{ background:rgba(255,176,32,.24); color:#ffdb9b; }
.syntax .a4{ background:rgba(255,122,102,.24); color:#ffcabf; }
.syntax ol{ list-style:none; margin-top:18px; font-size:13.5px; color:#c3d2e2; }
.syntax ol li{ display:flex; gap:11px; align-items:flex-start; }
.syntax ol li + li{ margin-top:10px; }
.syntax ol .k{ flex:0 0 auto; font-family:ui-monospace,Consolas,monospace; font-size:12px; padding:2px 8px; border-radius:5px; font-weight:700; }
.syntax ol .k.a1{ background:rgba(79,179,247,.28); color:#bfe3ff; }
.syntax ol .k.a2{ background:rgba(62,211,195,.24); color:#b6f0e8; }
.syntax ol .k.a3{ background:rgba(255,176,32,.24); color:#ffdb9b; }
.syntax ol .k.a4{ background:rgba(255,122,102,.24); color:#ffcabf; }

/* 手順ステップ（記事内） */
.howto{ list-style:none; counter-reset:h; margin-top:1.5em; }
.howto > li{ position:relative; padding-left:52px; }
.howto > li + li{ margin-top:26px; }
.howto > li::before{
  counter-increment:h; content:"STEP " counter(h);
  position:absolute; left:0; top:.2em; width:38px; height:38px; border-radius:11px;
  background:var(--blue); color:#fff; font-family:var(--font-en); font-size:9.5px; font-weight:800;
  display:grid; place-items:center; text-align:center; line-height:1.15; letter-spacing:.04em;
}
.howto > li > strong:first-child{ display:block; color:var(--ink); font-size:17px; background:none; margin-bottom:8px; }

/* 注意・ポイント枠 */
.callout{ border-radius:14px; padding:20px 24px; margin-top:1.5em; font-size:14.8px; display:flex; gap:14px; align-items:flex-start; }
.callout .ci{ flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:14px; margin-top:.1em; }
.callout > div > * + *{ margin-top:.7em; }
.callout-tip{ background:var(--teal-bg); color:#0d5f57; } .callout-tip .ci{ background:var(--teal); color:#fff; }
.callout-warn{ background:var(--sun-bg); color:#7a5000; } .callout-warn .ci{ background:var(--sun); color:#fff; }
.callout-ng{ background:var(--coral-bg); color:#a0341f; } .callout-ng .ci{ background:var(--coral); color:#fff; }
.callout b,.callout strong{ background:none; color:inherit; font-weight:700; }

/* キーボードキー */
kbd{
  display:inline-block; font-family:var(--font-en); font-size:12px; font-weight:700; line-height:1;
  padding:5px 9px; border-radius:6px; background:#fff; color:var(--ink);
  border:1px solid #c9d5e2; border-bottom-width:2.5px; margin:0 2px; vertical-align:1px;
}

/* ---------- フォーム ---------- */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-xl); padding:44px; box-shadow:var(--shadow); }
@media (max-width:640px){ .form-card{ padding:26px; } }
.field + .field{ margin-top:24px; }
.field label{ display:block; font-size:14px; font-weight:700; color:var(--ink); margin-bottom:9px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:640px){ .field-row{ grid-template-columns:1fr; } }
.req{ display:inline-block; background:var(--coral-bg); color:#c0392b; font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:5px; margin-left:8px; vertical-align:2px; }
.opt{ display:inline-block; background:var(--line-soft); color:var(--muted); font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:5px; margin-left:8px; vertical-align:2px; }
.input{
  width:100%; padding:14px 16px; font-size:16px; font-family:inherit; line-height:1.6;
  border:1px solid var(--line); border-radius:6px; background:var(--bg); color:var(--ink);
  transition:border-color .2s, background .2s, box-shadow .2s;
}
.input::placeholder{ color:#a8b6c6; }
.input:focus{ outline:none; border-color:var(--blue-light); background:#fff; box-shadow:0 0 0 4px rgba(79,179,247,.16); }
textarea.input{ resize:vertical; min-height:160px; }
select.input{
  appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%237c8ca0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; background-size:12px; padding-right:44px;
}
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; overflow:hidden; }
.consent{ display:flex; gap:12px; align-items:flex-start; font-size:13.8px; color:var(--text); line-height:1.8; }
.consent input{ margin-top:.5em; width:18px; height:18px; accent-color:var(--blue); flex:0 0 auto; }

/* ---------- CTA ---------- */
.cta{
  border-radius:var(--radius-xl); padding:60px 44px; text-align:center; position:relative; overflow:hidden;
  background:
    radial-gradient(60% 100% at 88% 0%, #fff2d9 0%, rgba(255,242,217,0) 62%),
    radial-gradient(70% 100% at 6% 100%, #dff6f2 0%, rgba(223,246,242,0) 62%),
    linear-gradient(160deg,#eef7fe,#ffffff);
  border:1px solid #dcebf8;
}
.cta h2{ font-size:clamp(22px,2.7vw,30px); margin-bottom:16px; }
.cta p{ color:var(--text); font-size:15.5px; max-width:600px; margin:0 auto 30px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
@media (max-width:640px){ .cta{ padding:40px 24px; } }

/* ---------- フッター（明るい） ---------- */
.site-footer{ background:var(--bg); border-top:1px solid var(--line); color:var(--text); padding:64px 0 32px; font-size:14px; }
.site-footer a{ color:var(--text); text-decoration:none; }
.site-footer a:hover{ color:var(--blue); }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; margin-bottom:40px; }
.footer-links{ display:flex; gap:28px; flex-wrap:wrap; font-size:13.5px; font-weight:600; }
.footer-bottom{ border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:12px; color:var(--muted); }

/* ---------- パンくず ---------- */
.crumbs{ font-size:12.5px; color:var(--muted); display:flex; flex-wrap:wrap; gap:8px; align-items:center; list-style:none; }
.crumbs a{ color:var(--muted); }
.crumbs a:hover{ color:var(--blue); }
.crumbs li::after{ content:"›"; margin-left:8px; color:#c2cedd; }
.crumbs li:last-child::after{ content:""; }

/* ---------- 下層ページヘッダー ---------- */
.page-header{
  padding:calc(var(--nav-h) + 62px) 0 68px;
  background:
    radial-gradient(60% 110% at 92% 0%, #fff4de 0%, rgba(255,244,222,0) 60%),
    linear-gradient(170deg,#eef7fe 0%, #ffffff 100%);
}
.page-header h1{ font-size:clamp(26px,3.6vw,42px); margin:16px 0 18px; }
.page-header p{ color:var(--text); max-width:680px; font-size:16px; }

/* ---------- 出現アニメ ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* ==========================================================================
   写真パーツ
   ========================================================================== */

/* 汎用の写真枠 */
.ph{ position:relative; overflow:hidden; border-radius:var(--radius-lg); background:var(--bg); }
.ph img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.ph-wide{ aspect-ratio:16/9; }
.ph-4x3{ aspect-ratio:4/3; }
.ph-sq{ aspect-ratio:1/1; }
.ph-tall{ aspect-ratio:3/4; }
.ph-hero{ aspect-ratio:5/6; }
.ph-zoom:hover img{ transform:scale(1.045); }
.ph-shadow{ box-shadow:var(--shadow-lg); }

/* 写真の上に置くラベル */
.ph-label{
  position:absolute; left:0; bottom:0; right:0; padding:20px 22px 18px; color:#fff;
  background:linear-gradient(to top, rgba(8,20,36,.86) 0%, rgba(8,20,36,.45) 55%, rgba(8,20,36,0) 100%);
}
.ph-label b{ display:block; font-size:16px; font-weight:700; letter-spacing:.01em; }
.ph-label span{ display:block; font-size:12.5px; color:#c8d6e6; margin-top:4px; }

/* ---------- ヒーロー（全面写真） ---------- */
.hero{
  position:relative; overflow:hidden; background:var(--ink);
  min-height:min(84vh,720px); display:flex; align-items:center;
  padding:calc(var(--nav-h) + 76px) 0 84px;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; }
.hero-bg::after{
  content:""; position:absolute; inset:0;
  /* 写真を主役にしたいので、文字が乗る左側だけを暗くする */
  background:linear-gradient(90deg, rgba(6,18,34,.90) 0%, rgba(6,18,34,.72) 34%, rgba(6,18,34,.40) 62%, rgba(6,18,34,.18) 100%);
}
.hero .wrap{ position:relative; z-index:2; }
.hero-inner{ max-width:660px; }
.hero-badge{
  display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.26); backdrop-filter:blur(6px);
  border-radius:4px; padding:8px 16px 8px 8px; font-size:12.5px; font-weight:600; color:#e8f1fa;
  margin-bottom:28px; box-shadow:none;
}
.hero-badge b{ background:var(--blue); color:#fff; border-radius:3px; padding:4px 11px; font-size:11.5px; letter-spacing:.06em; }
.hero-title{ font-size:clamp(29px,4.2vw,48px); line-height:1.36; color:#fff; margin-bottom:26px; letter-spacing:.008em; }
.hero-title .hl{ background:none; padding:0; color:#5ec8ff; }
.hero-sub{ font-size:clamp(15px,1.55vw,17px); color:#c6d6e6; max-width:560px; margin-bottom:36px; }
.hero-note{ margin-top:26px; font-size:12.5px; color:#93a8bf; }
@media (max-width:900px){
  .hero{ min-height:auto; padding:calc(var(--nav-h) + 56px) 0 64px; }
  .hero-bg::after{ background:linear-gradient(180deg, rgba(6,18,34,.62) 0%, rgba(6,18,34,.84) 100%); }
}

/* ヒーロー下の指標帯 */
.hero-strip{ background:#fff; border-bottom:1px solid var(--line); }
.hero-strip .wrap{ display:grid; grid-template-columns:repeat(4,1fr); }
.hero-strip .cell{ padding:26px 20px; text-align:center; border-right:1px solid var(--line-soft); }
.hero-strip .cell:last-child{ border-right:0; }
.hero-strip .k{ display:block; font-family:var(--font-en); font-size:23px; font-weight:800; color:var(--ink); line-height:1.25; letter-spacing:.01em; }
.hero-strip .k small{ font-size:13px; font-weight:700; margin-left:2px; color:var(--blue); }
.hero-strip .v{ font-size:11.5px; color:var(--muted); font-weight:600; letter-spacing:.04em; }
@media (max-width:720px){
  .hero-strip .wrap{ grid-template-columns:repeat(2,1fr); }
  .hero-strip .cell:nth-child(2){ border-right:0; }
  .hero-strip .cell:nth-child(-n+2){ border-bottom:1px solid var(--line-soft); }
}

/* ---------- 写真＋文章の2カラム ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split.narrow-text{ grid-template-columns:1.1fr .9fr; }
.split.rev > *:first-child{ order:2; }
@media (max-width:900px){
  .split,.split.narrow-text{ grid-template-columns:1fr; gap:36px; }
  .split.rev > *:first-child{ order:0; }
}

/* 写真を2枚ずらして重ねる */
.ph-stack{ position:relative; padding-bottom:64px; padding-right:52px; }
.ph-stack .a{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.ph-stack .b{
  position:absolute; right:0; bottom:0; width:52%; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); border:5px solid #fff;
}
.ph-stack img{ width:100%; display:block; }
@media (max-width:560px){ .ph-stack{ padding-bottom:44px; padding-right:32px; } }

/* 数字を写真に重ねる小カード */
.ph-chip{
  position:absolute; left:-18px; bottom:34px; background:#fff; border-radius:var(--radius);
  padding:16px 20px; box-shadow:var(--shadow-lg); border:1px solid var(--line); z-index:3;
}
.ph-chip .k{ display:block; font-family:var(--font-en); font-size:26px; font-weight:800; color:var(--blue); line-height:1.1; }
.ph-chip .v{ font-size:11.5px; color:var(--muted); font-weight:700; }
@media (max-width:560px){ .ph-chip{ left:8px; } }

/* ---------- 写真つきカード ---------- */
.media-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden;
  display:flex; flex-direction:column; transition:box-shadow .25s, transform .25s, border-color .25s;
}
.media-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#d3e3f2; }
.media-card:hover .ph img{ transform:scale(1.045); }
.media-card .ph{ border-radius:0; }
.media-card .mc-body{ padding:26px 26px 30px; display:flex; flex-direction:column; gap:12px; flex:1; }
.media-card h3{ font-size:18.5px; margin:0; }
.media-card p{ font-size:14.5px; color:var(--text); margin:0; }
.media-card .checklist{ margin-top:auto; padding-top:4px; }

/* ---------- 全幅の写真帯 ---------- */
.photo-band{ position:relative; overflow:hidden; }
.photo-band > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo-band::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(6,18,34,.92) 0%, rgba(6,18,34,.80) 45%, rgba(6,18,34,.58) 100%); }
.photo-band .wrap{ position:relative; z-index:2; padding-block:104px; }
.photo-band h2{ color:#fff; }
.photo-band p{ color:#c6d6e6; }
.photo-band .eyebrow{ color:#7fc7f5; } .photo-band .eyebrow::before{ background:#7fc7f5; }
@media (max-width:768px){ .photo-band .wrap{ padding-block:72px; } }

/* ---------- 写真を横に並べる ---------- */
.photo-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .photo-row{ grid-template-columns:repeat(2,1fr); } }

/* ---------- 下層ページのヘッダー（写真背景） ---------- */
.page-header{ position:relative; overflow:hidden; background:var(--ink); padding:calc(var(--nav-h) + 60px) 0 64px; }
.page-header .bgimg{ position:absolute; inset:0; z-index:0; }
.page-header .bgimg img{ width:100%; height:100%; object-fit:cover; }
.page-header .bgimg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(6,18,34,.90) 0%, rgba(6,18,34,.74) 42%, rgba(6,18,34,.44) 100%); }
.page-header .wrap{ position:relative; z-index:2; }
.page-header h1{ color:#fff; font-size:clamp(25px,3.2vw,38px); margin:14px 0 16px; letter-spacing:.005em; }
.page-header p{ color:#c6d6e6; max-width:680px; font-size:16px; }
.page-header .eyebrow{ color:#7fc7f5; } .page-header .eyebrow::before{ background:#7fc7f5; }
.page-header .crumbs, .page-header .crumbs a{ color:#8ba1ba; }
.page-header .crumbs a:hover{ color:#fff; }
.page-header .crumbs li::after{ color:#54687f; }

/* 記事ヘッダーは明るいまま（読み物なので） */
.post-header{ background:linear-gradient(170deg,#eef7fe,#ffffff); }

/* ---------- CTA（写真背景） ---------- */
.cta{ position:relative; overflow:hidden; border:0; background:var(--ink); padding:0; border-radius:var(--radius-lg); }
.cta > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cta::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(6,18,34,.88) 0%, rgba(6,18,34,.78) 50%, rgba(6,18,34,.62) 100%); }
.cta .cta-in{ position:relative; z-index:2; padding:72px 44px; text-align:center; }
.cta h2{ color:#fff; }
.cta p{ color:#c6d6e6; }
.cta .eyebrow{ color:#7fc7f5; } .cta .eyebrow::before{ background:#7fc7f5; }
@media (max-width:640px){ .cta .cta-in{ padding:48px 24px; } }
