/*
Theme Name: Story Funnel
Description: 中村翔太｜Story Funnel®（nakamurashota.com）用テーマ。H.S BRIDGE テーマの兄弟デザイン（濃紺×金）
Version: 0.1.0
Text Domain: story-funnel
*/

:root {
  --bg: #001422;          /* H.S BRIDGE・HUMENA と同じ濃紺 */
  --bg-panel: #0f2b3f;    /* HUMENA パネル */
  --bg-panel-2: #0a2133;
  --accent: #f5c84c;      /* Story Funnel® の金（主役） */
  --accent-hover: #ffd96b;
  --on-accent: #001422;   /* 金の上に載せる文字色 */
  --blue: #1396f0;        /* H.S BRIDGE の青（補助） */
  --text: #dedede;        /* HUMENA 本文色 */
  --white: #ffffff;
  --muted: #9fb0bf;
  --line: rgba(255,255,255,.1);
  --radius: 16px;
  --max: 1200px;
  --font: "Nunito", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-head: "Urbanist", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--white); line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,20,34,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 400; font-size: 22px;
  letter-spacing: .18em; color: var(--white);
}
.logo-mark {
  font-family: var(--font-head); font-weight: 200; font-size: 34px; line-height: 1;
  color: var(--white); border-right: 1px solid rgba(255,255,255,.35); padding-right: 12px;
}
.logo span.accent { color: var(--accent); }
.logo-img { display: block; line-height: 0; }
.logo-img img { height: 34px; width: auto; display: block; }
.footer-name { color: var(--white); font-size: 14px; }
@media (max-width: 800px) {
  .logo-img img { height: 24px; }
}
.logo:hover { color: var(--white); }
.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.gnav a { color: var(--white); font-size: 13.5px; font-weight: 600; transition: color .2s; }
.gnav a:hover { color: var(--accent); }
.gnav .nav-cta a {
  background: var(--accent); color: var(--on-accent);
  padding: 10px 26px; border-radius: 500px;
}
.gnav .nav-cta a:hover { background: var(--accent-hover); color: var(--on-accent); }
.nav-toggle {
  display: none; background: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.6); border-radius: 8px; padding: 8px 9px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--white); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(245,200,76,.28), transparent 70%),
    linear-gradient(180deg, #02192b 0%, var(--bg) 100%);
  color: var(--white);
  padding: 150px 0 160px;
}
.hero::after {
  /* 橋（BRIDGE）をモチーフにしたアーチ */
  content: ""; position: absolute; right: -160px; bottom: -420px;
  width: 980px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(245,200,76,.35);
  box-shadow: 0 0 0 70px rgba(245,200,76,.05), 0 0 0 160px rgba(245,200,76,.03);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-tags li {
  font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.hero-tags li::before {
  content: "✓"; display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); font-size: 11px;
}
.hero-en {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -.03em; line-height: 1.02;
  color: var(--white); margin: 0;
}
.hero h1 {
  font-family: var(--font); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700;
  letter-spacing: .06em; margin-top: 22px; color: var(--white);
}
.hero-lead { margin: 22px 0 44px; max-width: 580px; color: var(--text); }
.btn {
  display: inline-block; padding: 15px 38px; border-radius: 500px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; transition: .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: var(--white); margin-left: 12px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-soft { background: var(--bg-panel-2); }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head .en {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-head .en::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700;
  letter-spacing: -.01em;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.about-catch {
  font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px);
  color: var(--white); font-weight: 700; line-height: 1.5; margin: 0;
}
.about-catch em { font-style: normal; color: var(--accent); }
.about-left { display: flex; flex-direction: column; gap: 8px; }
.about-visual { width: 100%; max-width: 480px; }
.sc-cable { stroke: rgba(255,231,163,.55); stroke-width: 1.5; }
.about-text p { color: var(--text); }
.about-coexist { margin-top: 1.4em; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(245,200,76,.06); border-radius: 0 10px 10px 0; color: var(--white) !important; }
.about-coexist strong { color: var(--gold); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px; transition: .25s;
}
.card:hover { border-color: rgba(245,200,76,.6); transform: translateY(-4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.card h3 { font-size: 22px; font-weight: 600; margin: 24px 0 14px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card ul { margin: 22px 0 0; padding: 22px 0 0; list-style: none; font-size: 14px; border-top: 1px solid var(--line); }
.card li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--text); }
.card li::before {
  content: "✓"; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--accent);
  color: var(--accent); font-size: 9px; display: grid; place-items: center; line-height: 1;
}

.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center;
  background: radial-gradient(ellipse 50% 120% at 0% 0%, rgba(245,200,76,.2), transparent 70%), var(--bg-panel); }
.card-wide-head h3 { font-size: 26px; margin: 14px 0 0; }
.card-tag { display: inline-block; margin-left: 14px; vertical-align: middle; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(245,200,76,.5); border-radius: 500px; padding: 2px 12px; }
.card-wide-head .card-icon { display: inline-grid; vertical-align: middle; }
.card-wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
@media (max-width: 960px) {
  .card-wide { grid-template-columns: 1fr; gap: 18px; }
  .card-wide ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card-wide-head h3 { font-size: 21px; }
}

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  padding: 44px 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
}
.strength .big {
  font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1;
  letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.strength h3 { font-size: 21px; font-weight: 600; margin: 22px 0 12px; }
.strength p { font-size: 15px; color: var(--muted); margin: 0; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.flow li {
  background: var(--bg-panel); border-radius: var(--radius); padding: 34px 26px;
  border: 1px solid var(--line); position: relative;
}
.flow li::before {
  counter-increment: step; content: "STEP " counter(step, decimal-leading-zero);
  display: inline-block; font-family: var(--font-head); font-size: 12px; letter-spacing: .12em;
  color: var(--on-accent); font-weight: 700; background: var(--accent);
  padding: 3px 14px; border-radius: 500px;
}
.flow h3 { font-size: 19px; font-weight: 600; margin: 18px 0 10px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }

/* Company */
.company-wrap { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 48px; max-width: 900px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 24px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { width: 26%; color: var(--accent); font-weight: 700; font-size: 15px; }
.company-table td { color: var(--white); }

/* Contact */
.contact {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(245,200,76,.22), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.contact .section-head .en::after { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.contact-lead { color: var(--text); margin-bottom: 44px; }
.contact-boxes { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.contact-box {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 44px; min-width: 320px;
}
.contact-box .label { font-size: 13px; color: var(--muted); }
.contact-box .value { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--white); display: block; margin: 6px 0; }
.contact-box .value:hover { color: var(--accent); }
.contact-box small { color: var(--muted); }
.contact-form { max-width: 720px; margin: 48px auto 0; text-align: left; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
/* Contact Form 7 等の外部フォームを使う場合 */
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%; background: var(--bg); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 14px; font: inherit;
}
.wpcf7 input[type="submit"] { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 500px; padding: 14px 40px; font-weight: 700; cursor: pointer; }

/* Footer */
.site-footer { background: #000d17; color: var(--muted); padding: 44px 0; font-size: 13px; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .logo { font-size: 18px; }
.site-footer .logo-mark { font-size: 28px; }
.group-link { color: var(--muted); }
.group-link:hover { color: var(--accent); }

/* Section sub text */
.section-sub { color: var(--muted); margin: 18px 0 0; max-width: 680px; }
.section-head.center .section-sub { margin-inline: auto; }
.sp-only { display: none; }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 80px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 30px 20px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stat-en { display: block; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: -.01em; }
.stat-ja { display: block; font-size: 13px; color: var(--accent); margin-top: 4px; font-weight: 700; }

/* Professional roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0 0 72px; padding: 0; }
.roles li { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: .25s; }
.roles li:hover { border-color: rgba(245,200,76,.6); }
.role-en { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(245,200,76,.5); border-radius: 500px; padding: 2px 12px; }
.roles h3 { font-size: 17px; font-weight: 700; margin: 16px 0 10px; line-height: 1.5; }
.roles p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

/* Footer extras */
.footer-address { margin: 0; font-size: 13px; line-height: 1.8; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---------- Contact form ---------- */
.contact-layout { text-align: left; max-width: 780px; margin: 0 auto; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .contact-box { min-width: 0; padding: 26px 28px; }
.contact-side .contact-box .value { font-size: 24px; }
.contact-note { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.contact-layout .contact-form { max-width: none; margin: 0; padding: 36px 40px; }
.hs-form { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 8px; }
.form-label em { font-style: normal; font-size: 11px; color: var(--on-accent); background: var(--accent); border-radius: 500px; padding: 1px 10px; }
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"], .hs-form select, .hs-form textarea {
  width: 100%; background: var(--bg); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 13px 14px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.hs-form input::placeholder, .hs-form textarea::placeholder { color: rgba(159,176,191,.55); }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,200,76,.25); }
.hs-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.hs-form textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.form-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-agree a { color: #ffd96b; text-decoration: underline; }
.form-submit { border: 0; cursor: pointer; align-self: center; min-width: 240px; margin-top: 6px; }
.hs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
.form-notice.is-success { background: rgba(245,200,76,.14); border: 1px solid rgba(245,200,76,.6); color: var(--white); }
.form-notice.is-error { background: rgba(240,80,80,.12); border: 1px solid rgba(240,90,90,.6); color: #ffd6d6; }
.contact-form { position: relative; }

/* ---------- Blog ---------- */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row .btn { margin: 0; padding: 12px 28px; font-size: 15px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { border-color: rgba(245,200,76,.6); transform: translateY(-4px); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-panel-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); letter-spacing: .18em; color: rgba(255,255,255,.75); font-size: 16px;
  background: radial-gradient(ellipse 70% 90% at 80% 20%, rgba(245,200,76,.35), transparent 70%), linear-gradient(160deg, #0f2b3f, #001422);
}
.post-thumb-placeholder .logo-mark { font-size: 26px; }
.post-body { padding: 24px 26px 28px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 13px; color: var(--muted); }
.post-cat { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid rgba(245,200,76,.5); border-radius: 500px; padding: 1px 12px; }
a.post-cat:hover { background: rgba(245,200,76,.12); }
.post-title { font-family: var(--font); font-size: 17px; font-weight: 700; line-height: 1.6; margin: 12px 0 10px; }
.post-title a { color: var(--white); }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }

.page-hero {
  padding: 96px 0 72px;
  background: radial-gradient(ellipse 50% 90% at 85% 0%, rgba(245,200,76,.25), transparent 70%), linear-gradient(180deg, #02192b, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero .en { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.page-hero .en::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: var(--muted); margin: 14px 0 0; }
.page-hero-post h1 { font-family: var(--font); font-size: clamp(24px, 3vw, 34px); line-height: 1.55; margin-top: 16px; }
.section-blog { padding-top: 64px; }
.container.narrow { width: min(100% - 40px, 820px); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.cat-filter a { display: block; padding: 6px 18px; border-radius: 500px; border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.cat-filter a:hover, .cat-filter a.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.no-posts { color: var(--muted); text-align: center; padding: 40px 0; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 10px; border-radius: 500px; border: 1px solid var(--line); color: var(--text); font-family: var(--font-head); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Single */
.single-body { padding: 56px 0 110px; }
.single-thumb { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 16.5px; line-height: 2; color: var(--text); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content p { margin: 1.2em 0 0; }
.entry-content > p:first-child { margin-top: 0; }
.entry-content h2 { font-family: var(--font); font-size: 24px; margin-top: 2.6em; padding: 14px 20px; background: var(--bg-panel); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
.entry-content h3 { font-family: var(--font); font-size: 20px; margin-top: 2.2em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.entry-content h4 { font-size: 17px; margin-top: 2em; color: var(--white); }
.entry-content a { color: #ffd96b; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content img { border-radius: 12px; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; background: var(--bg-panel); border-radius: 12px; border: 1px solid var(--line); color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-panel); color: var(--white); }
.entry-content code { background: var(--bg-panel); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.entry-content pre { background: #000d17; padding: 20px; border-radius: 12px; overflow-x: auto; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 64px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.post-nav a { color: var(--text); }
.post-nav a:hover { color: var(--accent); }
.post-nav-next { text-align: right; margin-left: auto; }
.single-cta { margin-top: 64px; padding: 44px 40px; text-align: center; border-radius: var(--radius); border: 1px solid rgba(245,200,76,.4); background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(245,200,76,.22), transparent 70%), var(--bg-panel); }
.single-cta-title { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.single-cta p { color: var(--muted); }
.single-cta .btn { margin-top: 12px; }

/* ---------- Service cards → 詳細ページへのリンク ---------- */
a.card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; position: relative; }
a.card-link p { flex: 1; }
.card-more {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: 24px; padding: 9px 20px; border-radius: 500px;
  border: 1px solid rgba(245,200,76,.6); color: #ffd96b; font-size: 14px; font-weight: 700; transition: .25s;
}
.card-more i { font-style: normal; transition: transform .25s; }
a.card-link:hover .card-more { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
a.card-link:hover .card-more i { transform: translateX(4px); }
a.card-link:hover h3 { color: #ffd96b; }
.card-wide .card-more { margin-top: 20px; }
.services-more { text-align: center; margin-top: 48px; }
a.card-link.card-wide { display: grid; }

/* ---------- Service page hero ---------- */
.svc-hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background: radial-gradient(ellipse 50% 80% at 80% 40%, rgba(245,200,76,.25), transparent 70%), linear-gradient(180deg, #02192b, var(--bg));
  border-bottom: 1px solid var(--line);
}
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }
.svc-en { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.svc-en::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.svc-hero h1 { font-family: var(--font); font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 10px; line-height: 1.4; }
.svc-catch { font-family: var(--font); font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: #ffd96b; margin-bottom: 18px; }
.svc-lead { color: var(--text); margin-bottom: 34px; }
.svc-hero-visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.svc-scene { width: 100%; aspect-ratio: 6 / 5; }
.svc-scene svg { width: 100%; height: 100%; overflow: visible; display: block; }
.svc-hero-visual .globe-canvas { width: 100%; aspect-ratio: 1; height: auto; }

/* Scene parts（アニメーションは7秒周期で繰り返し） */
.sc-t { font-family: var(--font); font-size: 13px; fill: var(--text); }
.sc-tw { fill: #fff; }
.sc-tb { font-weight: 700; }
.sc-tm { font-family: var(--font-head); font-size: 12px; fill: var(--muted); letter-spacing: .08em; }
.sc-big { font-family: var(--font-head); font-size: 44px; font-weight: 700; fill: #ffe7a3; }
.sc-aa { font-family: var(--font-head); font-size: 56px; font-weight: 700; fill: #fff; }
.sc-logo { font-family: var(--font-head); font-size: 24px; font-weight: 700; fill: #fff; }
.sc-star { font-size: 20px; fill: #f5c84c; }
.sc-draw { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-draw 7s ease-in-out infinite both; }
.sc-line { stroke: #ffe7a3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-story { stroke-width: 3; stroke-linecap: round; animation-name: sc-draw-long; }
.sc-mark { stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.sc-guide { stroke: #ffe7a3; stroke-width: 1; }
.sc-pop { transform-box: fill-box; transform-origin: center; animation: sc-pop 7s ease-out infinite both; }
.sc-grow { transform-box: fill-box; transform-origin: left center; animation: sc-grow 7s ease-out infinite both; }
.sc-rise { transform-box: fill-box; transform-origin: center bottom; animation: sc-rise 7s ease-out infinite both; }
.sc-dim { animation: sc-dim 7s ease-in-out infinite; }
.sc-glow rect, .sc-glow-rect { filter: drop-shadow(0 0 8px rgba(245,200,76,.9)); }
.sc-pulse { transform-box: fill-box; transform-origin: center; animation: sc-pulse 2.4s ease-in-out infinite; }
.sc-spin { animation: sc-spin 30s linear infinite; }
.sc-orbit { animation: sc-spin 40s linear infinite; }
.sc-counter { animation: sc-spin 40s linear infinite reverse; }
.sc-donut { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-donut 7s ease-in-out infinite; }
.sc-flow { animation: hv-dash 1.2s linear infinite; }
.sc-blink { animation: hv-blink 1.6s ease-in-out infinite; }
.sc-float { animation: sc-float 3s ease-in-out infinite; }
.sc-ring { transform-box: fill-box; transform-origin: center; animation: sc-ring 2s ease-out infinite; }
.sc-coin { animation: sc-coin 4s linear infinite both; }
.sc-head { filter: drop-shadow(0 0 8px #f5c84c); }
@keyframes sc-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 20%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sc-draw-long { 0% { stroke-dashoffset: 1; opacity: 1; } 70%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sc-pop { 0% { opacity: 0; transform: scale(.6); } 8%, 86% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes sc-grow { 0% { transform: scaleX(0); } 20%, 86% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes sc-rise { 0% { transform: scaleY(0); } 18%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes sc-dim { 0%, 35% { opacity: 1; } 45%, 88% { opacity: .35; } 100% { opacity: 1; } }
@keyframes sc-pulse { 50% { transform: scale(1.07); filter: drop-shadow(0 0 14px #f5c84c); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-donut { 0% { stroke-dashoffset: 1; } 30%, 86% { stroke-dashoffset: .28; } 100% { stroke-dashoffset: 1; } }
@keyframes sc-float { 50% { transform: translateY(-8px); } }
@keyframes sc-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
@keyframes sc-coin { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-360px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .svc-scene *, .viewfinder * { animation: none !important; }
  .sc-draw, .sc-donut { stroke-dashoffset: 0; }
  .sc-coin { opacity: 0; }
}

/* ---------- 登録商標マーク ---------- */
sup.reg { font-size: .5em; vertical-align: super; line-height: 0; margin-left: .05em; font-weight: 400; }

/* ---------- Story Funnel®（金色の特集カード） ---------- */
:root { --gold: #f5c84c; --gold-2: #ffe08a; }
.cf-gold { color: var(--gold) !important; }
.cf-gold::before { background: var(--gold) !important; }
a.card-link.card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; padding: 48px 52px; border: 1.5px solid rgba(245,200,76,.6);
  background: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(245,200,76,.16), transparent 65%), radial-gradient(ellipse 50% 80% at 100% 100%, rgba(245,200,76,.16), transparent 70%), var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(245,200,76,.08), 0 24px 60px rgba(0,0,0,.35); }
a.card-link.card-feature:hover { border-color: var(--gold); box-shadow: 0 0 40px rgba(245,200,76,.18), 0 24px 60px rgba(0,0,0,.35); }
a.card-link.card-feature:hover h3 { color: var(--gold-2); }
.cf-badge { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #001422; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 500px; padding: 4px 14px; }
.card-feature h3 { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.01em; margin: 16px 0 6px; color: var(--gold); }
.cf-catch { font-size: 19px; font-weight: 700; color: var(--white) !important; margin: 0 0 14px !important; }
.card-feature .cf-text > p:not(.cf-catch) { color: var(--text); font-size: 15px; }
.cf-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: cf; }
.cf-steps li { position: relative; font-size: 13px; font-weight: 700; color: var(--white); background: rgba(245,200,76,.1); border: 1px solid rgba(245,200,76,.35); border-radius: 500px; padding: 5px 14px; }
.card .cf-steps li { padding: 5px 14px; margin: 0; }
.card .cf-steps li::before { display: none; }
.cf-steps li:not(:last-child)::after { content: "›"; position: absolute; right: -8px; top: 50%; transform: translateY(-52%); color: var(--gold); font-weight: 700; }
.cf-more { border-color: rgba(245,200,76,.7) !important; color: var(--gold) !important; }
a.card-link.card-feature:hover .cf-more { background: var(--gold) !important; border-color: var(--gold) !important; color: #001422 !important; }
.cf-visual { width: 100%; max-width: 460px; justify-self: center; }
@media (max-width: 960px) {
  a.card-link.card-feature { grid-template-columns: 1fr; padding: 34px 28px; }
  .cf-visual { max-width: 380px; }
}
@media (max-width: 800px) { a.card-link.card-feature { padding: 28px 22px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .roles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards, .strengths { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: 80px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 12px 20px 24px; align-items: stretch; }
  .gnav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav .nav-cta a { text-align: center; margin-top: 16px; border: 0; }
}
@media (max-width: 800px) {
  .contact-layout .contact-form { padding: 26px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-submit { width: 100%; min-width: 0; }
  .hero { padding: 72px 0 90px; }
  .post-grid { grid-template-columns: 1fr; }
  .section-head-row .btn { margin: 0; }
  .single-cta { padding: 32px 22px; }
  .single-cta .btn { display: block; margin: 12px 0 0; }
  .entry-content h2 { font-size: 20px; }
  .page-hero { padding: 64px 0 48px; }
  .btn-ghost { margin: 12px 0 0; }
  .section { padding: 84px 0; }
  .flow { grid-template-columns: 1fr; }
  .company-wrap { padding: 8px 22px; }
  .company-table th, .company-table td { display: block; width: 100%; padding-left: 0; padding-right: 0; }
  .company-table th { border-bottom: 0; padding-bottom: 2px; }
  .company-table td { padding-top: 0; }
  .company-table tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
  .contact-box { min-width: 0; width: 100%; padding: 28px 20px; }
  .contact-form { padding: 24px; }
  .cards { grid-template-columns: 1fr !important; }
  .section-head h2 { font-size: 22px; }
  .roles { grid-template-columns: 1fr; gap: 12px; }
  .roles li { text-align: left; padding: 22px; }
  .roles h3 br { display: none; }
  .roles h3 { margin: 12px 0 6px; }
  .sp-only { display: inline; }
  .footer-right { align-items: flex-start; }
}

/* スマホでのトップ見出し（最後に置いて優先させる） */
@media (max-width: 800px) {
  .hero h1 { font-size: 17px; letter-spacing: 0; }
}

/* =====================================================================
   Story Funnel® 専用パーツ
   ===================================================================== */
.pc-only { display: inline; }
@media (max-width: 800px) { .pc-only { display: none; } }

/* ロゴ（文字） */
.sf-logo { display: inline-flex; flex-direction: column; line-height: 1.1; color: var(--white); }
.sf-logo-main { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .16em; color: var(--accent); }
.sf-logo-sub { font-size: 11px; letter-spacing: .3em; color: var(--muted); margin-top: 4px; }
.sf-logo:hover .sf-logo-main { color: var(--accent-hover); }
@media (max-width: 800px) { .sf-logo-main { font-size: 18px; } }

/* Hero */
.sf-hero {
  background:
    radial-gradient(ellipse 55% 70% at 82% 35%, rgba(245,200,76,.20), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(19,150,240,.12), transparent 70%),
    linear-gradient(180deg, #02192b 0%, var(--bg) 100%);
  padding: 110px 0 120px;
}
.sf-hero::after {
  /* 物語のページをめくるような、金の弧 */
  border-color: rgba(245,200,76,.28);
  box-shadow: 0 0 0 70px rgba(245,200,76,.035), 0 0 0 160px rgba(245,200,76,.02);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.sf-gold-text { background: linear-gradient(90deg, #ffe7a3, var(--accent) 45%, #e0a92e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tags li::before { border-color: var(--accent); color: var(--accent); }

.sf-hv { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.sf-hv-svg { width: 100%; height: auto; display: block; overflow: visible; }
.sf-hv-en { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; fill: #ffe7a3; }
.sf-hv-ja { font-family: var(--font); font-size: 14px; font-weight: 700; fill: #fff; }
.sf-flow { animation: hv-dash 1.2s linear infinite; }
@keyframes hv-dash { to { stroke-dashoffset: -24; } }
.sf-spark { filter: drop-shadow(0 0 6px #f5c84c); }
.sf-page { transform-box: fill-box; transform-origin: left center; animation: sf-page 4s ease-in-out infinite; }
@keyframes sf-page { 0%, 40% { transform: scaleX(1); } 55% { transform: scaleX(-1); opacity: .6; } 56%, 100% { transform: scaleX(1); opacity: 1; } }
.sf-tier path { transition: fill .4s; }
.sf-tier { animation: sf-tier 4.5s ease-in-out infinite; }
.sf-tier-2 { animation-delay: 1.5s; }
.sf-tier-3 { animation-delay: 3s; }
@keyframes sf-tier { 0%, 100% { filter: none; } 15% { filter: drop-shadow(0 0 14px rgba(245,200,76,.7)); } 35% { filter: none; } }
.sf-bars rect { fill: url(#sfg); transform-box: fill-box; transform-origin: center bottom; animation: sf-bar 4.5s ease-out infinite both; animation-delay: var(--d); }
@keyframes sf-bar { 0% { transform: scaleY(0); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

.sf-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(15,43,63,.92); border: 1px solid rgba(245,200,76,.35); border-radius: 14px;
  padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); backdrop-filter: blur(6px);
  transition: border-color .4s, box-shadow .4s, transform .4s;
  animation: sc-float 4s ease-in-out infinite;
}
.sf-chip.is-active { border-color: var(--accent); box-shadow: 0 0 24px rgba(245,200,76,.35), 0 10px 30px rgba(0,0,0,.35); }
.sf-chip-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 12px; flex: none; }
.sf-chip strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--accent); line-height: 1.2; }
.sf-chip strong.is-bump { animation: sf-bump .5s ease-out; }
@keyframes sf-bump { 40% { transform: scale(1.12); color: #fff; } }
.sf-chip-bar { display: block; width: 120px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); margin-top: 6px; overflow: hidden; }
.sf-chip-bar b { display: block; height: 100%; background: var(--accent); animation: sf-play 6s linear infinite; }
@keyframes sf-play { from { width: 0; } to { width: 100%; } }
.sf-chip-1 { left: -4%; top: 44%; }
.sf-chip-2 { right: -2%; top: 2%; animation-delay: 1s; }
.sf-chip-3 { left: 4%; bottom: 4%; animation-delay: 2s; }
@keyframes sc-float { 50% { transform: translateY(-8px); } }

/* 言葉（明朝） */
.sf-quote-section { padding: 100px 0; background: linear-gradient(180deg, var(--bg), #031a2b); }
.sf-quote { margin: 0 auto; max-width: 900px; text-align: center; position: relative; }
.sf-quote::before { content: "“"; display: block; font-family: var(--font-serif); font-size: 96px; line-height: .6; color: var(--accent); opacity: .7; margin-bottom: 18px; }
.sf-quote p { font-family: var(--font-serif); font-weight: 500; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.9; color: var(--white); letter-spacing: .04em; margin: 0; }
.sf-quote em { font-style: normal; color: var(--accent); font-weight: 700; }
.sf-quote footer { margin-top: 26px; font-size: 14px; color: var(--muted); letter-spacing: .08em; }

/* 悩み */
.sf-pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-pains li { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.sf-pains li::before { content: "?"; position: absolute; top: -16px; left: 26px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 700; }
.sf-pains h3 { font-family: var(--font); font-size: 19px; margin: 6px 0 10px; }
.sf-pains p { color: var(--muted); font-size: 15px; margin: 0; }
.sf-pains-answer { text-align: center; margin: 56px 0 0; font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 28px); color: var(--white); }
.sf-pains-answer strong { color: var(--accent); }

/* 3ステップ */
.sf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.sf-step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 24px; padding: 40px 48px; }
.sf-step:nth-child(even) .sf-step-visual { order: 2; }
.sf-step-visual { max-width: 420px; width: 100%; justify-self: center; }
.sf-step-num { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--on-accent); background: var(--accent); border-radius: 500px; padding: 3px 14px; }
.sf-step-en { display: block; margin-top: 16px; font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--accent); letter-spacing: -.01em; line-height: 1.2; }
.sf-step h3 { font-family: var(--font); font-size: 21px; margin: 10px 0 14px; }
.sf-step p { color: var(--text); margin: 0; }

/* サービス */
.sf-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sf-svc { padding: 32px 26px; }
.sf-svc-en { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sf-svc h3 { font-family: var(--font); font-size: 19px; margin: 10px 0 12px; }
.sf-svc.is-feature { border: 1.5px solid rgba(245,200,76,.7); background: radial-gradient(ellipse 80% 70% at 0% 0%, rgba(245,200,76,.18), transparent 70%), var(--bg-panel); box-shadow: 0 0 40px rgba(245,200,76,.12); }
.sf-svc.is-feature .card-more { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* AI × Story */
.about-visual .svc-scene { aspect-ratio: 6 / 5; }

/* プロフィール */
.sf-profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.sf-profile-visual { display: grid; place-items: center; }
.sf-monogram { width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(245,200,76,.22), transparent 60%), var(--bg-panel); border: 1.5px solid rgba(245,200,76,.5);
  box-shadow: 0 0 0 18px rgba(245,200,76,.04), 0 0 0 40px rgba(245,200,76,.025); }
.sf-monogram span { font-family: var(--font-serif); font-size: 120px; line-height: 1; color: var(--accent); }
.sf-monogram small { font-family: var(--font-head); letter-spacing: .3em; color: var(--muted); font-size: 12px; }
.sf-profile-role { color: var(--accent); font-weight: 700; margin: 10px 0 0; }
.sf-profile p { color: var(--text); }
.sf-btn-inline { margin-left: 0; margin-top: 10px; }

/* ノウハウ */
.sf-knowhow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sf-knowhow a { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--white); transition: background .25s, padding .25s; }
.sf-knowhow a:hover { background: rgba(245,200,76,.06); padding-left: 18px; }
.sf-kh-en { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sf-kh-title { font-size: 18px; font-weight: 700; }
.sf-knowhow i { font-style: normal; color: var(--accent); transition: transform .25s; }
.sf-knowhow a:hover i { transform: translateX(6px); }

/* 無料プレゼント */
.sf-free { background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(245,200,76,.14), transparent 70%), var(--bg); border-top: 1px solid rgba(245,200,76,.2); }
.sf-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.sf-offer { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; display: flex; flex-direction: column; }
.sf-offer h3 { font-family: var(--font); font-size: 21px; margin: 10px 0 12px; }
.sf-offer p { color: var(--muted); font-size: 15px; flex: 1; }
.sf-offer .btn { margin: 18px 0 0; text-align: center; }
.sf-offer.is-main { border: 1.5px solid var(--accent); background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(245,200,76,.2), transparent 70%), var(--bg-panel); box-shadow: 0 0 50px rgba(245,200,76,.15); }

/* フッター */
.sf-sns { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sf-sns a, .footer-nav a { color: var(--muted); font-size: 13px; }
.sf-sns a:hover, .footer-nav a:hover { color: var(--accent); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 520px; }
.site-footer .container { align-items: flex-start; }
.site-footer .footer-address { margin-top: 12px; }
.post-thumb-placeholder { font-family: var(--font-head); letter-spacing: .16em; color: var(--accent); }

@media (max-width: 1100px) {
  .sf-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .sf-hv { max-width: 520px; }
  .sf-pains, .sf-offers { grid-template-columns: 1fr; }
  .sf-step { grid-template-columns: 1fr; gap: 20px; padding: 30px 26px; }
  .sf-step:nth-child(even) .sf-step-visual { order: 0; }
  .sf-step-visual { max-width: 360px; }
  .sf-profile { grid-template-columns: 1fr; gap: 36px; }
  .sf-monogram { width: 220px; }
  .sf-monogram span { font-size: 80px; }
}
@media (max-width: 800px) {
  .sf-hero { padding: 56px 0 72px; }
  .sf-services { grid-template-columns: 1fr; }
  .sf-knowhow a { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 4px; }
  .sf-kh-en { grid-column: 1 / -1; }
  .sf-kh-title { font-size: 16px; }
  .sf-chip { font-size: 11.5px; padding: 8px 10px; gap: 8px; }
  .sf-chip-ic { width: 22px; height: 22px; font-size: 10px; }
  .sf-chip strong { font-size: 16px; }
  .sf-chip-bar { width: 84px; }
  .sf-chip-1 { left: 0; top: 46%; }
  .sf-chip-2 { right: 0; top: 0; }
  .sf-chip-3 { left: 0; bottom: 0; }
  .sf-quote-section { padding: 72px 0; }
  .sf-quote p { text-align: left; }
  .sf-quote { text-align: left; }
  .footer-right { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-hv *, .sf-chip, .sf-chip-bar b { animation: none !important; }
  .sf-chip-bar b { width: 70%; }
}
@media (max-width: 480px) {
  .sf-chip-1 { display: none; } /* スマホではファネルの文字と重なるため非表示 */
}
/* なぜ今ストーリーか */
.sf-why { background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(245,200,76,.08), transparent 70%), var(--bg); }
.sf-why .about-grid { grid-template-columns: 1.15fr 1fr; }
.sf-why .about-left { align-items: center; }
@media (max-width: 960px) { .sf-why .about-grid { grid-template-columns: 1fr; } }
/* マスタークラス（有料講座：無料欄とは分けて表示） */
.sf-mc-section { padding-top: 0; }
.sf-mc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 52px 56px; border-radius: 24px;
  border: 1.5px solid rgba(245,200,76,.55);
  background: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(245,200,76,.16), transparent 65%), radial-gradient(ellipse 50% 80% at 100% 100%, rgba(19,150,240,.12), transparent 70%), var(--bg-panel);
  box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.sf-mc-badge { display: inline-block; margin-left: 12px; vertical-align: middle; font-size: 12px; font-weight: 700; color: var(--on-accent); background: linear-gradient(90deg, #ffe7a3, var(--accent)); border-radius: 500px; padding: 3px 14px; }
.sf-mc h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--accent); margin: 14px 0 10px; }
.sf-mc-catch { font-size: 18px; font-weight: 700; color: var(--white); }
.sf-mc-text p:not(.sf-mc-catch) { color: var(--text); margin-bottom: 28px; }
.sf-mc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: mc; }
.sf-mc-points li { counter-increment: mc; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(0,20,34,.55); border: 1px solid var(--line); color: var(--white); font-weight: 700; }
.sf-mc-points li::before { content: counter(mc, decimal-leading-zero); font-family: var(--font-head); font-size: 20px; color: var(--accent); }
@media (max-width: 960px) { .sf-mc { grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; } }
@media (max-width: 800px) { .sf-mc .btn { display: block; text-align: center; } .sf-mc-badge { margin-left: 8px; } }

/* =====================================================================
   下層ページ
   ===================================================================== */
.sf-page-hero { padding: 64px 0 80px; background: radial-gradient(ellipse 50% 80% at 82% 40%, rgba(245,200,76,.16), transparent 70%), linear-gradient(180deg, #02192b, var(--bg)); }
.sf-page-hero .svc-hero-grid { grid-template-columns: 1.15fr 1fr; }
.sf-page-hero .svc-hero-visual { max-width: 440px; }
.sf-page-hero h1 { font-size: clamp(26px, 3.4vw, 42px); }
.breadcrumb em { font-style: normal; color: var(--text); }
.svc-en { color: var(--accent); }
.svc-en::before { background: var(--accent); }

/* 本文ページ：目次＋本文 */
.sf-article { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; padding-top: 72px; padding-bottom: 100px; }
.sf-article:not(.has-toc) { grid-template-columns: minmax(0, 820px); }
.sf-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; padding: 22px 20px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 16px; }
.sf-toc[hidden] { display: none; }
.sf-toc-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); margin: 0 0 10px; }
.sf-toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.sf-toc-list li { counter-increment: toc; }
.sf-toc-list a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); }
.sf-toc-list li:first-child a { border-top: 0; }
.sf-toc-list a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: rgba(245,200,76,.6); }
.sf-toc-list a:hover, .sf-toc-list a.is-current { color: var(--white); }
.sf-toc-list a.is-current::before { color: var(--accent); }
.entry-content img { height: auto; margin-inline: auto; }
.sf-embed { margin: 1.6em 0; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.sf-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.entry-content h2 { scroll-margin-top: 100px; }
.entry-content h3 { scroll-margin-top: 100px; }

/* ページ下の案内 */
.sf-cta-band { padding: 0 0 110px; }
.sf-kh-nav + .sf-cta-band, .section-soft + .sf-cta-band { padding-top: 100px; }
.sf-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px 52px; border-radius: 24px; border: 1.5px solid rgba(245,200,76,.55);
  background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(245,200,76,.18), transparent 65%), var(--bg-panel); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.sf-cta-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--white); margin: 8px 0 6px; line-height: 1.5; }
.sf-cta-text { color: var(--muted); margin: 0; }
.sf-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-cta-btns .btn-ghost { margin-left: 0; }

/* ノウハウ一覧 */
.sf-kh-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sf-kh-cards li:first-child { grid-column: 1 / -1; }
a.sf-kh-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 30px; height: 100%; }
.sf-kh-cards li:first-child a.sf-kh-card { grid-template-columns: 340px 1fr; padding: 40px 48px; border-color: rgba(245,200,76,.5); }
.sf-kh-card h2 { font-family: var(--font); font-size: 21px; margin: 8px 0 10px; line-height: 1.5; }
.sf-kh-cards li:first-child .sf-kh-card h2 { font-size: 26px; }
.sf-kh-card p { color: var(--muted); font-size: 15px; }
.sf-kh-card-visual .svc-scene { aspect-ratio: 6 / 5; }
.sf-kh-more-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.sf-kh-more-grid .sf-knowhow a { grid-template-columns: 1fr auto; }
.sf-cat-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sf-cat-chips a { display: inline-block; padding: 9px 18px; border-radius: 500px; border: 1px solid rgba(245,200,76,.45); color: var(--white); font-size: 14px; font-weight: 700; transition: .2s; }
.sf-cat-chips a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* プロフィール */
.sf-profile-hero { padding: 80px 0 96px; }
.hero h1.sf-profile-name { font-family: var(--font); font-size: clamp(34px, 4.4vw, 56px); margin: 10px 0 6px; letter-spacing: .08em; }
.sf-profile-catch { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px); color: var(--white); line-height: 1.9; margin-top: 22px; }
.sf-photo img { width: min(100%, 360px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1.5px solid rgba(245,200,76,.5); box-shadow: 0 0 0 18px rgba(245,200,76,.04); }
.sf-profile-story p { color: var(--text); font-size: 17px; line-height: 2.1; }
.sf-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: pl; }
.sf-pillars li { counter-increment: pl; position: relative; padding: 34px 30px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 20px; }
.sf-pillars li::after { content: counter(pl, decimal-leading-zero); position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 40px; font-weight: 700; color: rgba(245,200,76,.18); }
.sf-pillars h3 { font-family: var(--font); font-size: 21px; margin: 8px 0 10px; }
.sf-pillars p { color: var(--muted); margin: 0; font-size: 15px; }
.sf-sns-lg { margin: 22px 0 6px; gap: 10px; }
.sf-sns-lg a { display: inline-block; padding: 7px 16px; border-radius: 500px; border: 1px solid var(--line); color: var(--white); font-size: 13px; }
.sf-sns-lg a:hover { border-color: var(--accent); color: var(--accent); }

/* Q&A */
.sf-faq { display: grid; gap: 12px; }
.sf-faq-item { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.sf-faq-item[open] { border-color: rgba(245,200,76,.5); }
.sf-faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 20px; gap: 8px; align-items: center; padding: 20px 22px; font-weight: 700; color: var(--white); }
.sf-faq-item summary::-webkit-details-marker { display: none; }
.sf-faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); text-align: center; transition: transform .2s; }
.sf-faq-item[open] summary::after { transform: rotate(45deg); }
.sf-faq-t { min-width: 0; line-height: 1.6; }
.sf-faq-q { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.sf-faq-item p { margin: 0; padding: 0 22px 22px 78px; color: var(--text); }
.sf-faq-more { text-align: center; margin-top: 48px; }

/* お問い合わせ */
.sf-contact-card { text-align: center; padding: 48px 40px; border-radius: 24px; border: 1.5px solid rgba(245,200,76,.55); background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(245,200,76,.16), transparent 70%), var(--bg-panel); }
.sf-contact-card h2 { font-family: var(--font); font-size: 26px; margin: 8px 0 12px; }
.sf-contact-card p { color: var(--text); }
.sf-contact-note { font-size: 14px; margin: 22px 0 0; color: var(--muted) !important; }
.sf-contact-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

@media (max-width: 1100px) {
  .sf-article { grid-template-columns: minmax(0, 820px); }
  .sf-toc { position: static; max-height: none; }
}
@media (max-width: 960px) {
  .sf-page-hero .svc-hero-grid { grid-template-columns: 1fr; }
  .sf-page-hero .svc-hero-visual { max-width: 340px; }
  .sf-kh-cards { grid-template-columns: 1fr; }
  a.sf-kh-card, .sf-kh-cards li:first-child a.sf-kh-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .sf-kh-card-visual { max-width: 300px; }
  .sf-kh-more-grid, .sf-contact-sub, .sf-pillars { grid-template-columns: 1fr; gap: 40px 20px; }
}
@media (max-width: 800px) {
  .sf-page-hero { padding: 40px 0 56px; }
  .sf-article { padding-top: 40px; padding-bottom: 64px; }
  .sf-cta { padding: 32px 24px; }
  .sf-cta-btns, .sf-cta-btns .btn { width: 100%; text-align: center; }
  .sf-faq-item summary { grid-template-columns: 38px 1fr 18px; padding: 16px; font-size: 15px; }
  .sf-faq-item p { padding: 0 16px 18px; }
  .sf-contact-card { padding: 34px 22px; }
}

/* =====================================================================
   下層ページ（第2弾）
   ===================================================================== */
.sf-lp-hero { padding: 72px 0 96px; }
.sf-lp-hero .breadcrumb { margin-bottom: 22px; }
.sf-lp-step { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--on-accent); background: var(--accent); border-radius: 500px; padding: 3px 14px; margin: 0 0 14px; }
.hero h1.sf-lp-title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.4; margin-top: 14px; }
.sf-lp-sub { font-weight: 700; color: var(--accent); margin: 18px 0 0; }
.sf-step-for { margin-top: 14px !important; font-size: 14px; font-weight: 700; color: var(--accent) !important; }
.sf-step-text .card-more { margin-top: 18px; }
.sf-step-text a.card-more:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sf-check { list-style: none; margin: -18px 0 36px; padding: 0; display: grid; gap: 10px; }
.sf-check li { position: relative; padding-left: 32px; color: var(--white); font-weight: 700; }
.sf-check li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 12px; }
.sf-flow3 { grid-template-columns: repeat(3, 1fr); }
.sf-pillars li h3:first-child { margin-top: 0; }

/* ガイドブックの立体表紙 */
.sf-book3d-wrap { display: grid; place-items: center; perspective: 1400px; padding: 20px 0; }
.sf-book3d { width: min(300px, 70vw); aspect-ratio: 3 / 4; transform: rotateY(-24deg) rotateX(6deg); transform-style: preserve-3d; animation: sf-book 6s ease-in-out infinite; }
.sf-book3d::before { content: ""; position: absolute; inset: 6px -18px 6px auto; width: 22px; background: linear-gradient(90deg, #e9dcb5, #fff7e0 40%, #d9c89a); transform: rotateY(90deg) translateZ(-4px); transform-origin: left; border-radius: 2px; }
.sf-book3d-cover { position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(245,200,76,.35), transparent 70%), linear-gradient(160deg, #0f2b3f, #001422);
  border: 1.5px solid rgba(245,200,76,.7); box-shadow: -20px 30px 60px rgba(0,0,0,.5), inset 8px 0 0 rgba(255,255,255,.05); }
.sf-book3d-en { font-family: var(--font-head); font-weight: 700; letter-spacing: .2em; color: var(--accent); font-size: 13px; }
.sf-book3d-title { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.4; color: #fff; }
.sf-book3d-by { font-size: 13px; letter-spacing: .3em; color: var(--muted); }
@keyframes sf-book { 50% { transform: rotateY(-16deg) rotateX(4deg) translateY(-10px); } }

/* メールコースの演出 */
.sf-mail-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.sf-mail-days { position: absolute; inset: 0; }
.sf-mail-days span { position: absolute; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--white); background: rgba(15,43,63,.95); border: 1px solid rgba(245,200,76,.4); border-radius: 500px; padding: 6px 14px; animation: sf-day 9s ease-in-out infinite both; }
.sf-mail-days span:nth-child(1) { left: 4%; top: 8%; animation-delay: 0s; }
.sf-mail-days span:nth-child(2) { left: 38%; top: 0; animation-delay: .8s; }
.sf-mail-days span:nth-child(3) { right: 4%; top: 10%; animation-delay: 1.6s; }
.sf-mail-days span:nth-child(4) { right: 0; top: 44%; animation-delay: 2.4s; }
.sf-mail-days span:nth-child(5) { right: 8%; bottom: 8%; animation-delay: 3.2s; }
.sf-mail-days span:nth-child(6) { left: 40%; bottom: 0; animation-delay: 4s; }
.sf-mail-days span:nth-child(7) { left: 6%; bottom: 10%; animation-delay: 4.8s; }
.sf-mail-days span:nth-child(8) { left: 0; top: 44%; animation-delay: 5.6s; }
.sf-mail-days span.is-last { left: 50%; top: 50%; transform: translate(-50%, 120px); background: var(--accent); color: var(--on-accent); animation-delay: 6.4s; }
@keyframes sf-day { 0%, 100% { opacity: .35; } 8%, 20% { opacity: 1; box-shadow: 0 0 20px rgba(245,200,76,.45); } 30% { opacity: .6; box-shadow: none; } }
.sf-mail-env { position: relative; width: 240px; height: 160px; border-radius: 14px; background: linear-gradient(160deg, #163a52, #0f2b3f); border: 1.5px solid rgba(245,200,76,.7); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); animation: sc-float 4s ease-in-out infinite; }
.sf-mail-env i { position: absolute; top: 0; left: 0; right: 0; height: 90px; background: linear-gradient(160deg, rgba(245,200,76,.4), rgba(245,200,76,.1)); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.sf-mail-env b { font-family: var(--font-head); letter-spacing: .12em; color: var(--accent); }
.sf-mail-env small { color: var(--muted); font-size: 12px; }
.sf-gift { margin-top: 40px; text-align: center; padding: 34px 28px; border-radius: 20px; border: 1.5px dashed rgba(245,200,76,.6); background: rgba(245,200,76,.05); }
.sf-gift p { color: var(--white); font-weight: 700; margin: 14px 0 22px; }

/* お客様の声 */
.sf-voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sf-voice { margin: 0; padding: 30px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 20px; }
.sf-voice blockquote { margin: 0; color: var(--text); position: relative; padding-top: 30px; }
.sf-voice blockquote::before { content: "“"; position: absolute; top: -18px; left: 0; font-family: var(--font-serif); font-size: 64px; color: var(--accent); }
.sf-voice figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.sf-voice figcaption span { color: var(--muted); font-size: 13px; }
.sf-empty { text-align: center; padding: 56px 24px; border: 1px dashed rgba(245,200,76,.4); border-radius: 20px; color: var(--muted); }
.sf-empty-title { font-family: var(--font-serif); font-size: 22px; color: var(--white); }

/* 404 */
.sf-404 { padding: 120px 0; min-height: 60vh; }
.sf-404 .hero-lead { max-width: 640px; }

/* パスワード保護ページ */
.post-password-form { max-width: 520px; margin: 0 auto; padding: 34px 30px; background: var(--bg-panel); border: 1px solid rgba(245,200,76,.4); border-radius: 18px; }
.post-password-form p { color: var(--text); }
.post-password-form label { display: block; color: var(--white); font-weight: 700; }
.post-password-form input[type="password"] { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #061826; color: #fff; font-size: 16px; }
.post-password-form input[type="submit"] { margin-top: 16px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 500px; padding: 12px 34px; font-weight: 700; cursor: pointer; }

@media (max-width: 960px) {
  .sf-flow3, .sf-voices { grid-template-columns: 1fr; }
  .sf-mail-visual { min-height: 320px; }
}
@media (max-width: 800px) {
  .sf-lp-hero { padding: 40px 0 64px; }
  .sf-404 { padding: 72px 0; }
  .sf-book3d { width: 220px; }
}

/* 旧サイトの記事に残っている文字色の指定（#000000 など）を無効にする。
   濃紺の背景で文字が見えなくなるのを防ぐため（36記事中27記事が該当、2026-11-30確認） */
.entry-content [style*="color"], .entry-content font[color] { color: inherit !important; }
.entry-content [style*="background"] { background: transparent !important; }
.entry-content strong[style*="color"], .entry-content [style*="color"] strong { color: var(--white) !important; }
.sf-pillars h3 { padding-right: 56px; }
h1, h2, h3, .hero-lead, .sf-quote p { word-break: auto-phrase; } /* 日本語の見出しを文節で折り返す（対応ブラウザのみ） */
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content blockquote.wp-embedded-content { border-left: 3px solid var(--accent); }
@media (max-width: 800px) {
  /* メールコース：スマホでは DAY を封筒の上に並べる */
  .sf-mail-visual { min-height: 0; gap: 22px; padding-top: 8px; }
  .sf-mail-days { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .sf-mail-days span, .sf-mail-days span.is-last { position: static; transform: none; }
}
.entry-content { position: relative; overflow-wrap: anywhere; }
.sf-kh-cards li, a.sf-kh-card > div { min-width: 0; } @media (max-width: 960px) { .sf-kh-cards { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   ブログ（一覧・記事）：読みやすさのため本文エリアだけ明るい背景に
   上部の見出し・メニュー・フッター・記事末の案内は濃紺のまま
   ===================================================================== */
.sf-light {
  --text: #2a3542; --white: #0b1f2e; --muted: #5d6a78; --line: rgba(0,20,34,.12);
  --bg-panel: #ffffff; --bg-panel-2: #efe9dd; --ink-gold: #9a6b00;
  background: #f7f4ee; color: var(--text);
}
.sf-light .entry-content { font-size: 17px; }
.sf-light .entry-content a { color: var(--ink-gold); }
.sf-light .entry-content h2 { background: #fff; border-left-color: var(--accent); box-shadow: 0 1px 0 rgba(0,20,34,.06); }
.sf-light .entry-content h3 { border-bottom-color: rgba(154,107,0,.35); }
.sf-light .entry-content li::marker { color: var(--ink-gold); }
.sf-light .entry-content blockquote { background: #fff; color: var(--text); border-left: 3px solid var(--accent); }
.sf-light .entry-content strong { color: #0b1f2e; background: linear-gradient(transparent 62%, rgba(245,200,76,.45) 62%); }
.sf-light .entry-content th { color: #0b1f2e; background: #efe9dd; }
.sf-light .entry-content pre, .sf-light .entry-content code { background: #efe9dd; color: #2a3542; }
.sf-light .entry-content strong[style*="color"], .sf-light .entry-content [style*="color"] strong { color: #0b1f2e !important; }
.sf-light .post-card { box-shadow: 0 2px 10px rgba(0,20,34,.06); }
.sf-light .post-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(0,20,34,.12); }
.sf-light .post-thumb { background: #0f2b3f; }
.sf-light .post-cat { color: var(--ink-gold); border-color: rgba(154,107,0,.45); }
.sf-light a.post-cat:hover { background: rgba(245,200,76,.18); }
.sf-light .post-title a:hover, .sf-light .post-nav a:hover { color: var(--ink-gold); }
.sf-light .cat-filter a { background: #fff; }
.sf-light .cat-filter a:hover, .sf-light .cat-filter a.is-current { color: #001422; }
.sf-light .pagination .page-numbers { background: #fff; }
/* 記事末の案内は濃紺のまま */
.sf-light .single-cta { --text: #dedede; --white: #ffffff; --muted: #9fb0bf; --line: rgba(255,255,255,.1); --bg-panel: #0f2b3f;
  color: var(--text); border-color: rgba(245,200,76,.5); }
.sf-light .single-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.sf-light .single-cta .btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.sf-light .entry-content :is(h2, h3, h4) strong { background: none; }
/* 本文ページ（ノウハウ・想い・規約など）も明るい背景に。目次は白いカード */
.sf-light .sf-toc { background: #fff; box-shadow: 0 2px 10px rgba(0,20,34,.06); }
.sf-light .sf-toc-title { color: var(--ink-gold); }
.sf-light .sf-toc-list a::before { color: rgba(154,107,0,.55); }
.sf-light .sf-toc-list a.is-current::before { color: var(--ink-gold); }
.sf-light .post-password-form { background: #fff; border-color: rgba(154,107,0,.35); }
.sf-light .post-password-form input[type="password"] { background: #fff; color: #0b1f2e; border-color: rgba(0,20,34,.2); }
.sf-light + .sf-kh-nav { border-top: 0; }
.sf-light + .sf-cta-band { padding-top: 100px; }

/* =====================================================================
   本文中のアニメーション図・ポイント枠・案内枠（ショートコード）
   ===================================================================== */
.entry-content .sf-figure { margin: 2.4em 0; padding: 28px 28px 20px; border-radius: 22px;
  background: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(245,200,76,.12), transparent 70%), #0f2b3f; border: 1px solid rgba(245,200,76,.35); }
.entry-content .sf-figure .svc-scene { max-width: 520px; margin: 0 auto; aspect-ratio: 6 / 5; }
.entry-content .sf-figure figcaption { margin-top: 10px; text-align: center; color: #dedede; font-size: 14px; font-weight: 700; }
.entry-content .sf-figure .sc-t { font-size: 13px; }
.sc-fade-out { animation: sc-fade-out 7s ease-in-out infinite both; }
@keyframes sc-fade-out { 0% { opacity: 0; } 10%, 40% { opacity: 1; } 70%, 100% { opacity: .12; } }
.entry-content .sf-point { margin: 2.2em 0; padding: 24px 26px; border-radius: 16px; background: rgba(245,200,76,.10); border: 1.5px solid rgba(245,200,76,.55); }
.sf-light .entry-content .sf-point { background: #fff8e6; border-color: rgba(154,107,0,.35); }
.entry-content .sf-point-title { margin: 0 0 6px !important; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--accent); }
.sf-light .entry-content .sf-point-title { color: var(--ink-gold); }
.sf-light .entry-content .sf-point-title::before { content: "✦ "; }
.entry-content .sf-point > p:not(.sf-point-title) { margin-top: .6em; }
.entry-content .sf-inline-cta { margin: 2.8em 0; padding: 30px 30px; border-radius: 20px; text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(245,200,76,.22), transparent 70%), #0f2b3f; border: 1.5px solid rgba(245,200,76,.55); color: #dedede; }
.entry-content .sf-inline-cta .sf-inline-cta-title { margin: 6px 0 6px; font-size: 20px; font-weight: 700; color: #fff; }
.entry-content .sf-inline-cta p { color: #c7d2dc; margin-top: 0; }
.entry-content .sf-inline-cta .btn { margin-top: 14px; text-decoration: none; color: var(--on-accent); }
@media (max-width: 800px) { .entry-content .sf-figure { padding: 18px 12px 14px; margin-inline: -4px; } .entry-content .sf-inline-cta { padding: 24px 18px; } }
.sf-pains-link { text-align: center; margin: 14px 0 0; }
.sf-pains-link a { color: var(--accent); font-weight: 700; border-bottom: 1px solid rgba(245,200,76,.5); padding-bottom: 2px; }

/* ノウハウ：柱ごとの記事 */
.sf-kh-step { display: inline-block; margin-right: 10px; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--on-accent); background: var(--accent); border-radius: 500px; padding: 2px 10px; vertical-align: middle; }
.sf-kh-cards li { display: flex; flex-direction: column; }
.sf-kh-cards li > a.sf-kh-card { height: auto; flex: 1; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.sf-kh-posts { list-style: none; margin: 0; padding: 14px 22px 18px; background: rgba(0,13,23,.6); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.sf-kh-posts li { display: block; }
.sf-kh-posts a { display: block; padding: 7px 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); border-top: 1px dashed rgba(255,255,255,.08); }
.sf-kh-posts li:first-child a { border-top: 0; }
.sf-kh-posts a:hover { color: var(--accent); }
.sf-new { display: inline-block; margin-right: 8px; font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--on-accent); background: var(--accent); border-radius: 4px; padding: 1px 6px; vertical-align: 1px; }
.sf-cluster { padding: 0 0 100px; }
.sf-cluster .container { padding: 36px 34px; background: #fff; border-radius: 20px; box-shadow: 0 2px 14px rgba(0,20,34,.07); }
.sf-cluster-en { margin: 0; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-gold); }
.sf-cluster-title { font-family: var(--font); font-size: 22px; margin: 6px 0 16px; color: var(--white); }
.sf-cluster-list { list-style: none; margin: 0; padding: 0; }
.sf-cluster-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; }
.sf-cluster-list a span:not(.sf-new) { grid-column: 2; }
.sf-cluster-list a:not(:has(.sf-new)) span { grid-column: 1 / 3; }
.sf-cluster-list a i { font-style: normal; color: var(--ink-gold); transition: transform .2s; }
.sf-cluster-list a:hover { color: var(--ink-gold); }
.sf-cluster-list a:hover i { transform: translateX(4px); }
@media (max-width: 800px) { .sf-cluster .container { padding: 26px 20px; } .sf-cluster { padding-bottom: 64px; } .sf-cluster-list a { font-size: 15px; } }
/* ノウハウ一覧：横に並ぶ2枚のカードの「本体」と「記事リスト」の高さをそろえる（subgrid） */
@supports (grid-template-rows: subgrid) {
  .sf-kh-cards { grid-auto-rows: auto; }
  .sf-kh-cards li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .sf-kh-cards li > a.sf-kh-card { flex: none; height: 100%; }
}
.single-cta .single-cta-title { color: #fff; }
/* 記事末の「次に読む」（本文に案内枠がある記事） */
.sf-next-read { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.sf-next-read a { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--white); font-weight: 700; transition: .2s; }
.sf-next-read a span { font-family: var(--font-head); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-gold); }
.sf-next-read a::after { content: "→"; align-self: flex-end; margin-top: -24px; color: var(--ink-gold); }
.sf-next-read a:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,20,34,.08); }
@media (max-width: 600px) { .sf-next-read { grid-template-columns: 1fr; } }

/* =====================================================================
   コンバージョン導線（2026-11-30）
   ===================================================================== */
.sf-hero-for { display: inline-block; margin: 26px 0 0; padding: 6px 16px; border-radius: 500px; border: 1px solid rgba(245,200,76,.45); color: var(--accent); font-weight: 700; font-size: 14px; }
.sf-hero-for + h1 { margin-top: 14px; }
.sf-hero-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.sf-btn-xl { padding: 18px 44px; font-size: 18px; }
.sf-offers { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* 比較表 */
.sf-compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-panel); }
.sf-compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.sf-compare th, .sf-compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.sf-compare thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.sf-compare tbody th { text-align: left; color: var(--white); font-weight: 700; }
.sf-compare td { color: var(--muted); font-size: 18px; }
.sf-compare .is-main { background: rgba(245,200,76,.10); color: var(--accent); font-weight: 700; }
.sf-compare thead .is-main { color: var(--accent); font-size: 16px; font-family: var(--font-head); }
.sf-compare tr:last-child th, .sf-compare tr:last-child td { border-bottom: 0; }
.sf-compare-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* 創業ストーリー（3幕） */
.sf-acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.sf-acts::before { content: ""; position: absolute; left: 8%; right: 8%; top: 22px; height: 2px; background: linear-gradient(90deg, rgba(245,200,76,.15), var(--accent)); }
.sf-acts li { position: relative; padding: 56px 28px 30px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 20px; }
.sf-acts li:last-child { border-color: rgba(245,200,76,.6); box-shadow: 0 0 40px rgba(245,200,76,.12); }
.sf-act { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-weight: 700; font-size: 14px; color: var(--on-accent); background: var(--accent); padding: 6px 16px; border-radius: 500px; }
.sf-acts h3 { font-family: var(--font-serif); font-size: 21px; margin: 0 0 10px; text-align: center; }
.sf-acts p { color: var(--text); margin: 0; font-size: 15px; }

/* 自社での実践 */
.sf-proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 24px; border: 1.5px solid rgba(245,200,76,.45); background: radial-gradient(ellipse 60% 100% at 0% 0%, rgba(245,200,76,.14), transparent 70%), var(--bg); }
.sf-proof-title { font-family: var(--font); font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 12px; line-height: 1.5; }
.sf-proof p { color: var(--text); }
.sf-proof-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sf-proof-items li { padding: 20px 22px; border-radius: 16px; background: var(--bg-panel); border: 1px solid var(--line); }
.sf-proof-items p { margin: 0; }
.sf-proof-name { color: var(--accent) !important; font-weight: 700; }
.sf-proof-place { font-size: 13px; color: var(--muted) !important; }
.sf-proof-result { margin-top: 6px !important; font-family: var(--font-serif); font-size: 19px; color: var(--white) !important; }

/* はじめての方へ */
.sf-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-path li { position: relative; padding: 32px 28px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; }
.sf-path li:not(:last-child)::after { content: "›"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--accent); z-index: 1; }
.sf-path li.is-goal { border-color: var(--accent); background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(245,200,76,.18), transparent 70%), var(--bg-panel); }
.sf-path-num { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: rgba(245,200,76,.45); line-height: 1; }
.sf-path h3 { font-family: var(--font); font-size: 19px; margin: 12px 0 8px; }
.sf-path p { color: var(--muted); font-size: 15px; flex: 1; }
.sf-path .card-more { margin-top: 12px; }
.sf-path a.card-more:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sf-mc-consult { margin: 18px 0 0 !important; font-size: 14px; color: var(--muted) !important; }
.sf-mc-consult a, .sf-final-sub a, .sf-apply-sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sf-final-sub { text-align: center; margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* スマホ固定ボタン */
.sf-sticky { display: none; }
@media (max-width: 800px) {
  .sf-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,20,34,.94); backdrop-filter: blur(8px); border-top: 1px solid rgba(245,200,76,.35); transform: translateY(110%); transition: transform .3s ease; }
  .sf-sticky.is-shown { transform: none; }
  .sf-sticky .btn { display: block; text-align: center; padding: 13px 20px; font-size: 16px; }
}

/* マスタークラスのページ */
.sf-forwho { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.sf-check-lg { margin: 0; gap: 14px; }
.sf-check-lg li { font-size: 17px; padding: 16px 18px 16px 50px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; }
.sf-check-lg li::before { left: 16px; top: 18px; }
.sf-notfor { padding: 24px 24px; border-radius: 16px; border: 1px dashed rgba(255,255,255,.2); }
.sf-notfor-title { margin: 0 0 10px; font-weight: 700; color: var(--white); }
.sf-notfor ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.sf-notfor li + li { margin-top: 6px; }
.sf-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.sf-ba-col { padding: 30px 30px; border-radius: 20px; background: var(--bg-panel); border: 1px solid var(--line); }
.sf-ba-col.is-after { border-color: var(--accent); background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(245,200,76,.16), transparent 70%), var(--bg-panel); }
.sf-ba-label { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.is-after .sf-ba-label { color: var(--accent); }
.sf-ba ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf-ba li { position: relative; padding-left: 26px; color: var(--text); }
.sf-ba li::before { content: "×"; position: absolute; left: 0; color: var(--muted); }
.is-after li { color: var(--white); font-weight: 700; }
.is-after li::before { content: "✓"; color: var(--accent); }
.sf-ba-arrow { align-self: center; font-size: 32px; color: var(--accent); }
.sf-step-text .sf-check { margin: 14px 0 0; }
.sf-style { grid-template-columns: repeat(4, 1fr); }
.sf-apply { text-align: center; padding: 52px 40px; border-radius: 24px; border: 1.5px solid var(--accent); background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(245,200,76,.2), transparent 70%), var(--bg-panel); box-shadow: 0 0 60px rgba(245,200,76,.12); }
.sf-apply h2 { font-family: var(--font); font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 16px; }
.sf-price { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--accent); }
.sf-price-note { color: var(--text); }
.sf-apply .btn { margin-top: 18px; }
.sf-apply-sub { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* ストーリー診断 */
.sf-check-section { padding-top: 64px; }
.sf-quiz { display: grid; gap: 16px; }
.sf-quiz-progress { position: sticky; top: 80px; z-index: 5; height: 6px; border-radius: 3px; background: rgba(0,20,34,.1); overflow: hidden; }
.sf-quiz-progress b { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.sf-q { margin: 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.sf-q.is-done { border-color: rgba(154,107,0,.35); }
.sf-q legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 17px; color: var(--white); line-height: 1.6; }
.sf-q-num { display: inline-block; margin-right: 10px; font-family: var(--font-head); color: var(--ink-gold); }
.sf-q-choices { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sf-q-choices label { cursor: pointer; }
.sf-q-choices input { position: absolute; opacity: 0; pointer-events: none; }
.sf-q-choices span { display: block; text-align: center; padding: 12px 8px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; color: var(--text); transition: .15s; }
.sf-q-choices label:hover span { border-color: var(--accent); }
.sf-q-choices input:checked + span { background: var(--accent); border-color: var(--accent); color: #001422; }
.sf-q-choices input:focus-visible + span { outline: 2px solid var(--ink-gold); outline-offset: 2px; }
.sf-quiz button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.sf-quiz .btn { justify-self: center; margin-top: 10px; border: 0; cursor: pointer; font-family: var(--font-head); }
.sf-quiz-hint { text-align: center; margin: 0; font-size: 13px; color: var(--muted); }
.sf-result { text-align: center; padding: 44px 34px; border-radius: 24px; background: #0f2b3f; color: #dedede; opacity: 0; transform: translateY(16px); transition: .6s; scroll-margin-top: 100px; }
.sf-result.is-shown { opacity: 1; transform: none; }
.sf-result-en { margin: 0; font-family: var(--font-head); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #f5c84c; }
.sf-result-score { margin: 6px 0 4px; font-family: var(--font-head); color: #fff; }
.sf-result-score b { font-size: 72px; line-height: 1; color: #f5c84c; }
.sf-result-score small { font-size: 20px; margin-left: 6px; color: #9fb0bf; }
.sf-result-type { font-weight: 700; color: #fff; margin: 0 auto 24px; max-width: 560px; }
.sf-result-bars { list-style: none; margin: 0 auto 28px; padding: 0; max-width: 520px; display: grid; gap: 12px; text-align: left; }
.sf-result-bars li { display: grid; grid-template-columns: 120px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; color: #dedede; }
.sf-result-bars i { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); overflow: hidden; }
.sf-result-bars b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffe7a3, #f5c84c); transition: width 1.2s ease .3s; }
.sf-result.is-shown .sf-result-bars b { width: var(--w); }
.sf-result-bars em { font-style: normal; font-family: var(--font-head); color: #f5c84c; text-align: right; }
.sf-result-advice { margin: 0 auto; max-width: 560px; padding: 24px 24px; border-radius: 16px; background: rgba(245,200,76,.08); border: 1px solid rgba(245,200,76,.4); }
.sf-result-advice-title { font-weight: 700; color: #fff; margin: 0 0 8px; }
.sf-result-advice-title span { color: #f5c84c; }
.sf-result-advice p:not(.sf-result-advice-title) { color: #c7d2dc; }
.sf-result-advice .btn { margin-top: 10px; color: #fff; border-color: rgba(255,255,255,.5); }
.sf-result-next { margin-top: 34px; }
.sf-result-next-title { font-family: var(--font-serif); font-size: 22px; color: #fff; margin: 0 0 6px; }
.sf-result-next p { color: #c7d2dc; }
.sf-result-next .btn { margin-top: 12px; }
.sf-result-sub { display: block; margin-top: 18px; color: #f5c84c; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.sf-result-retry { margin-top: 14px; background: none; border: 0; color: #9fb0bf; font-size: 13px; text-decoration: underline; cursor: pointer; }

@media (max-width: 960px) {
  .sf-acts, .sf-path, .sf-forwho, .sf-proof { grid-template-columns: 1fr; }
  .sf-acts::before { display: none; }
  .sf-path li:not(:last-child)::after { content: "⌄"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); }
  .sf-path { gap: 28px; }
  .sf-ba { grid-template-columns: 1fr; }
  .sf-ba-arrow { transform: rotate(90deg); justify-self: center; }
  .sf-style { grid-template-columns: 1fr 1fr; }
  .sf-proof { padding: 32px 26px; }
}
@media (max-width: 800px) {
  body { padding-bottom: 0; }
  .sf-q { padding: 20px 18px; }
  .sf-q-choices { grid-template-columns: 1fr; }
  .sf-result { padding: 34px 20px; }
  .sf-result-bars li { grid-template-columns: 96px 1fr 34px; }
  .sf-style { grid-template-columns: 1fr; }
  .sf-btn-xl { display: block; padding: 16px 20px; font-size: 16px; }
  .sf-apply { padding: 36px 22px; }
}
@media (max-width: 800px) {
  /* 比較表はスマホでも横スクロールなしで Story Funnel® の列まで見えるように */
  .sf-compare { min-width: 0; table-layout: fixed; }
  .sf-compare th, .sf-compare td { padding: 12px 4px; font-size: 12px; }
  .sf-compare tbody th { width: 38%; padding-left: 12px; font-size: 12.5px; line-height: 1.5; }
  .sf-compare thead th { font-size: 11px; line-height: 1.4; }
  .sf-compare thead .is-main { font-size: 12px; }
  .sf-compare td { font-size: 16px; }
}
@media (max-width: 800px) { .sf-compare thead th:first-child { width: 36%; } }

/* お客様の声 */
.sf-voice-num { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.sf-voices-hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-voice-hl { margin: 0; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 20px; background: var(--bg-panel); border: 1px solid var(--line); position: relative; }
.sf-voice-hl::before { content: "“"; position: absolute; top: 4px; right: 22px; font-family: var(--font-serif); font-size: 90px; line-height: 1; color: rgba(245,200,76,.18); }
.sf-voice-hl blockquote { margin: 12px 0 0; flex: 1; }
.sf-voice-catch { font-family: var(--font-serif); font-weight: 700; font-size: 19px; line-height: 1.7; color: var(--white); margin: 0 0 14px; }
.sf-voice-point { color: var(--text); font-size: 14.5px; margin: 0; }
.sf-voice-hl figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sf-voices-full { display: grid; gap: 28px; max-width: 860px; margin: 0 auto; }
.sf-voice-full { padding: 40px 44px; border-radius: 24px; background: var(--bg-panel); border: 1px solid var(--line); }
.sf-voice-full header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.sf-voice-role { margin: 0; color: var(--muted); font-size: 14px; }
.sf-voice-full .sf-voice-catch { font-size: clamp(20px, 2.4vw, 26px); margin: 14px 0 20px; }
.sf-voice-body p { color: var(--text); margin: 0 0 1em; }
.sf-voice-body p.is-point { color: var(--white); font-weight: 700; padding: 14px 18px; border-left: 3px solid var(--accent); background: rgba(245,200,76,.08); border-radius: 0 10px 10px 0; }
.sf-voice-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 24px 0 0; }
@media (max-width: 960px) { .sf-voices-hl { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .sf-voice-full { padding: 28px 22px; } }
.sf-apply-lead { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

/* LINE ボタン・診断結果の受け取り・ありがとうページ */
.btn.sf-btn-line { background: #06c755; color: #fff; }
.btn.sf-btn-line:hover { background: #05b34c; color: #fff; }
.sf-result-optin { margin: 30px auto 0; max-width: 560px; padding: 26px 24px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1.5px dashed rgba(245,200,76,.55); }
.sf-result-optin-title { margin: 0 0 6px; font-weight: 700; color: #fff; font-size: 17px; }
.sf-result-optin p:not(.sf-result-optin-title) { color: #c7d2dc; margin: 0; font-size: 14px; }
.sf-result-optin-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.sf-sticky.has-line { display: none; }
@media (max-width: 800px) {
  .sf-sticky.has-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .sf-sticky.has-line .sf-btn-line { padding: 13px 18px; }
}
.sf-thanks-hero { padding: 90px 0 100px; }
.sf-thanks { text-align: center; }
.sf-thanks .svc-en { justify-content: center; }
.sf-thanks .hero-lead { margin-inline: auto; }
.sf-thanks-mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--on-accent); background: var(--accent); box-shadow: 0 0 0 12px rgba(245,200,76,.15); animation: sf-bump .8s ease-out; }
.hero.sf-thanks-hero h1 { font-size: clamp(24px, 3vw, 34px); }
/* ドナルド・ミラー氏の考え方を参考にした「問題の内側・信念・避けたい失敗」 */
.sf-pains-heart { max-width: 760px; margin: 48px auto 0; text-align: center; }
.sf-pains-heart p { margin: 0 0 .6em; color: var(--text); font-size: 16.5px; }
.sf-pains-heart strong { color: var(--white); }
.sf-pains-stakes { color: var(--muted) !important; font-size: 14.5px !important; margin-top: 1.2em !important; }
.sf-pains-heart + .sf-pains-answer { margin-top: 28px; }
.sf-hero-result { color: var(--accent); font-weight: 700; }

/* ---------- 上位プラン Story Book（講座ページ） ---------- */
.sf-book { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 56px; align-items: center; margin-bottom: 40px; }
.sf-book-visual { display: flex; justify-content: center; position: relative; padding: 20px 0; }
.sf-book-visual::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(circle at 50% 50%, rgba(245,200,76,.22), transparent 62%); filter: blur(10px); }
.sf-sbook { position: relative; width: 240px; max-width: 100%; aspect-ratio: 3 / 4.3; transform: rotate(-5deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sf-sbook:hover { transform: rotate(-2deg) translateY(-6px); }
.sf-book-pages { position: absolute; top: 7px; bottom: 5px; right: -11px; width: 16px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(90deg, #f4ecd6 0 1px, #cdbf98 1px 2px); box-shadow: 4px 6px 14px rgba(0,0,0,.35); }
.sf-book-pages::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; border-radius: 0 0 4px 0; background: repeating-linear-gradient(0deg, #efe5c9 0 1px, #c8b98f 1px 2px); }
.sf-book-cover { position: absolute; inset: 0; overflow: hidden; border-radius: 3px 10px 10px 3px; padding: 34px 26px 26px 40px; display: flex; flex-direction: column; align-items: flex-start;
  color: var(--accent);
  background: radial-gradient(ellipse 90% 55% at 70% 0%, rgba(245,200,76,.16), transparent 60%), linear-gradient(155deg, #18405f 0%, #0d2337 45%, #071421 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(245,200,76,.55), inset 0 0 0 1px rgba(255,255,255,.04); }
.sf-book-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; background: linear-gradient(90deg, #04101a, #0d2337 70%, #163a57); box-shadow: inset -1px 0 0 rgba(245,200,76,.5); }
.sf-book-spine::before, .sf-book-spine::after { content: ""; position: absolute; left: 4px; right: 4px; height: 1px; background: rgba(245,200,76,.7); }
.sf-book-spine::before { top: 26px; } .sf-book-spine::after { bottom: 26px; }
.sf-book-frame { position: absolute; top: 14px; right: 14px; bottom: 14px; left: 32px; border: 1px solid rgba(245,200,76,.55); outline: 1px solid rgba(245,200,76,.22); outline-offset: 4px; pointer-events: none; }
.sf-book-cover-en { position: relative; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .42em; color: var(--accent); }
.sf-book-emblem { position: relative; width: 74px; height: 74px; margin: 22px 0 14px; color: var(--accent); filter: drop-shadow(0 0 6px rgba(245,200,76,.35)); }
.sf-book-cover-title { position: relative; font-family: var(--font-serif); font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; white-space: nowrap;
  background: linear-gradient(180deg, #fff6d6 0%, #f5c84c 55%, #b88a1e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-book-cover-sub { position: relative; margin-top: 10px; font-family: var(--font-head); font-size: 9.5px; letter-spacing: .28em; color: rgba(244,241,232,.7); }
.sf-book-cover-author { position: relative; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(245,200,76,.6); font-family: var(--font-head); font-size: 10px; letter-spacing: .3em; color: var(--accent); }
.sf-book-gloss { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.09) 42%, transparent 52%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .sf-sbook, .sf-sbook:hover { transition: none; transform: rotate(-5deg); } }
.sf-book-text h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 8px; }
.sf-book-catch { font-size: 18px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.sf-book-text p:not(.sf-book-catch) { color: var(--text); }
.sf-book-points { grid-template-columns: repeat(2, 1fr); }
.sf-book-points h3 { padding-right: 64px; }
.sf-book-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.sf-mc-book { margin: 4px 0 18px; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(245,200,76,.08); color: var(--white); font-size: 15px; }
@media (max-width: 960px) {
  .sf-book { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .sf-book-points { grid-template-columns: 1fr; }
  .sf-sbook { width: 210px; }
  .sf-book-cover { padding: 26px 20px 20px 34px; }
  .sf-book-cover-title { font-size: 28px; }
  .sf-book-emblem { width: 56px; height: 56px; margin: 16px 0 10px; }
  .sf-book-cover-sub { font-size: 8.5px; letter-spacing: .2em; }
}

/* 準備中のお知らせ（リンク先が未設定のとき） */
.sf-soon { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(245,200,76,.08); color: var(--text); font-size: 15px; }

/* ---------- 無料ガイドブック（/free-book/）：まもなく公開 ---------- */
.sf-gb-soon { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 16px 6px 12px; border: 1px solid rgba(245,200,76,.55); border-radius: 999px; background: rgba(245,200,76,.08); font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }
.sf-gb-soon i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sf-gb-soon i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: sf-gb-ping 1.8s ease-out infinite; }
@keyframes sf-gb-ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.sf-gb-progress { position: relative; width: min(360px, 100%); height: 6px; margin: 26px 0 12px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.sf-gb-progress span { position: absolute; inset: 0 auto 0 0; width: 82%; border-radius: 6px; background: linear-gradient(90deg, #b88a1e, var(--accent), #fff1c2); }
.sf-gb-progress span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: sf-gb-sweep 2.4s ease-in-out infinite; }
@keyframes sf-gb-sweep { to { transform: translateX(100%); } }
.sf-gb-note { margin: 0; font-size: 14px; color: var(--muted); }

.sf-gb-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.sf-gb-visual::before { content: ""; position: absolute; width: 380px; height: 380px; max-width: 90%; border-radius: 50%; background: radial-gradient(circle, rgba(245,200,76,.25), transparent 65%); filter: blur(6px); }
.sf-gb-orbit { position: absolute; width: 400px; height: 400px; max-width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(245,200,76,.28); animation: sf-gb-spin 40s linear infinite; }
.sf-gb-orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.sf-gb-orbit.is-2 { width: 300px; height: 300px; border-style: solid; border-color: rgba(245,200,76,.12); animation-duration: 28s; animation-direction: reverse; }
.sf-gb-orbit.is-2::after { width: 6px; height: 6px; top: auto; bottom: -3px; }
@keyframes sf-gb-spin { to { transform: rotate(360deg); } }
.sf-gb-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 10px #f5c84c; opacity: 0; animation: sf-gb-twinkle 3.2s ease-in-out infinite; }
.sf-gb-spark.is-1 { top: 16%; left: 22%; }
.sf-gb-spark.is-2 { top: 28%; right: 16%; animation-delay: 1.1s; }
.sf-gb-spark.is-3 { bottom: 18%; left: 30%; animation-delay: 2.2s; }
@keyframes sf-gb-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

.sf-gb-book { position: relative; width: 240px; max-width: 70%; aspect-ratio: 3 / 4.2; animation: sf-gb-float 6s ease-in-out infinite; }
@keyframes sf-gb-float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
.sf-gb-pages { position: absolute; top: 7px; bottom: 5px; right: -11px; width: 16px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(90deg, #f4ecd6 0 1px, #cdbf98 1px 2px); box-shadow: 4px 6px 14px rgba(0,0,0,.35); }
.sf-gb-cover { position: absolute; inset: 0; overflow: hidden; border-radius: 3px 10px 10px 3px; padding: 34px 24px 24px 40px; display: flex; flex-direction: column; align-items: flex-start;
  background: radial-gradient(ellipse 90% 55% at 70% 0%, rgba(245,200,76,.18), transparent 60%), linear-gradient(155deg, #18405f 0%, #0d2337 45%, #071421 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(245,200,76,.55); }
.sf-gb-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; background: linear-gradient(90deg, #04101a, #0d2337 70%, #163a57); box-shadow: inset -1px 0 0 rgba(245,200,76,.5); }
.sf-gb-frame { position: absolute; top: 14px; right: 14px; bottom: 14px; left: 32px; border: 1px solid rgba(245,200,76,.5); pointer-events: none; }
.sf-gb-en { position: relative; font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: var(--accent); }
.sf-gb-title { position: relative; margin-top: 26px; font-family: var(--font-serif); font-size: 31px; font-weight: 700; line-height: 1.35; white-space: nowrap;
  background: linear-gradient(180deg, #fff6d6 0%, #f5c84c 55%, #b88a1e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-gb-by { position: relative; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(245,200,76,.6); font-family: var(--font-head); font-size: 10px; letter-spacing: .3em; color: var(--accent); }
.sf-gb-shine { position: absolute; inset: -20% -60%; background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%); transform: translateX(-60%); animation: sf-gb-shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes sf-gb-shine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.sf-gb-seal { position: absolute; right: -26px; top: -20px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-size: 11px; font-weight: 800; line-height: 1.25; letter-spacing: .12em; color: var(--on-accent);
  background: radial-gradient(circle at 35% 30%, #fff1c2, var(--accent) 55%, #b88a1e); box-shadow: 0 10px 24px rgba(0,0,0,.4), 0 0 0 4px rgba(245,200,76,.25); transform: rotate(12deg); animation: sf-gb-seal 3s ease-in-out infinite; }
@keyframes sf-gb-seal { 0%, 100% { transform: rotate(12deg) scale(1); } 50% { transform: rotate(12deg) scale(1.06); } }

@media (max-width: 960px) { .sf-gb-visual { min-height: 380px; order: -1; } }
@media (max-width: 600px) {
  .sf-gb-visual { min-height: 320px; }
  .sf-gb-orbit { width: 290px; height: 290px; }
  .sf-gb-orbit.is-2 { width: 220px; height: 220px; }
  .sf-gb-book { width: 190px; }
  .sf-gb-cover { padding: 26px 18px 18px 32px; }
  .sf-gb-title { font-size: 24px; margin-top: 18px; }
  .sf-gb-seal { width: 66px; height: 66px; font-size: 9px; right: -30px; top: -34px; }
  .sf-gb-en { font-size: 9.5px; letter-spacing: .22em; }
  .hero h1.sf-lp-title { font-size: clamp(22px, 6.4vw, 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-gb-soon i::after, .sf-gb-progress span::after, .sf-gb-orbit, .sf-gb-spark, .sf-gb-book, .sf-gb-shine, .sf-gb-seal { animation: none; }
  .sf-gb-spark { opacity: .7; }
}

/* ---------- 表（会社概要・特定商取引法に基づく表記） ---------- */
.sf-table { margin: 0; border-top: 1px solid var(--line); }
.sf-table > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.sf-table dt { margin: 0; font-weight: 700; color: var(--accent); font-size: 15px; }
.sf-table dd { margin: 0; color: var(--text); line-height: 1.8; }
.sf-table dd a, .sf-table-links a, .sf-apply-legal a, .footer-address a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sf-table-links { display: flex; gap: 24px; justify-content: center; margin: 32px 0 0; font-size: 14px; }
.sf-apply-legal { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .sf-table > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
}
.sf-table-updated { margin: 16px 0 0; text-align: right; font-size: 13px; color: var(--muted); }

/* ---------- 本文の見出し：大・中・小の違いをはっきりさせる（2026-11-30） ---------- */
.entry-content h2 { background: linear-gradient(90deg, rgba(245,200,76,.16), var(--bg-panel) 55%); }
.entry-content h3 { padding: 2px 0 2px 14px; border-bottom: 0; border-left: 3px solid var(--accent); line-height: 1.5; }
.entry-content h4 { padding-left: 14px; position: relative; }
.entry-content h4::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sf-light .entry-content h2 { background: #0f2b3f; color: #fff; border-left: 5px solid var(--accent); box-shadow: 0 6px 18px rgba(0,20,34,.12); }
.sf-light .entry-content h3 { color: #10202e; border-left-color: #b8891c; background: none; }
.sf-light .entry-content h4 { color: #10202e; }
.sf-light .entry-content h4::before { background: #b8891c; }
.entry-content h2 + h3 { margin-top: 1.4em; }
