/* ===== なんばさん 公式サイト 共通スタイル ===== */
:root {
  --teal: #2F6F73;
  --teal-dark: #245A5E;
  --teal-50: #EEF5F5;
  --teal-100: #DCEBEB;
  --teal-200: #C6E3E9;
  --ink: #23333F;
  --body: #42505B;
  --muted: #56636D;
  --line: #E2E9EB;
  --alt: #F3F7F8;
  --yellow: #F6DE8D;
  --navy: #26394A;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(31, 45, 58, .06);
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.85; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--teal); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--teal); transition: background .15s, color .15s, transform .15s, box-shadow .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(47,111,115,.22); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; box-shadow: 0 8px 20px rgba(47,111,115,.28); }
.btn-outline { background: #fff; color: var(--teal); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-dark); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-pill { border-radius: 999px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 30px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name strong { font-family: var(--font-round); font-size: 21px; }
.brand-name span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.global-nav { display: flex; align-items: center; gap: 24px; }
.global-nav ul { display: flex; gap: 22px; list-style: none; }
.global-nav ul a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.global-nav ul a:hover { color: var(--teal); }
.nav-actions { display: flex; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- section common ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--alt); }
.sec-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.sec-head h2 { font-family: var(--font-round); font-size: 28px; font-weight: 700; position: relative; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 6px; border-radius: 999px; background: var(--teal-200); }
.sec-head > p { margin-top: 16px; font-size: 15px; color: var(--body); line-height: 1.9; }
.sub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sub-head h3 { font-family: var(--font-round); font-size: 21px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid var(--teal-200); color: var(--teal-dark); background: #fff; line-height: 1.6; vertical-align: middle; }
.chip-fill { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip-soft { background: var(--teal-50); border-color: var(--teal-50); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.check-list { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list .icon { width: 18px; height: 18px; margin-top: 5px; color: var(--teal); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(600px 360px at 8% 110%, rgba(198,227,233,.55), transparent 70%),
  radial-gradient(520px 320px at 95% 0%, rgba(220,235,235,.8), transparent 70%),
  linear-gradient(180deg, #F2F7F8 0%, #FAFCFC 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 64px 24px 72px; }
.hero-eyebrow { font-size: 16px; font-weight: 500; color: var(--body); }
.hero h1 { margin-top: 14px; font-family: var(--font-round); font-weight: 700; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.32; letter-spacing: .02em; }
.hero h1 .mark { background: linear-gradient(transparent 68%, rgba(198,227,233,.95) 68%, rgba(198,227,233,.95) 92%, transparent 92%); }
.hero-lead { margin-top: 22px; font-size: 18px; color: var(--body); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-work { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--teal-200); }
.hero-work .icon { width: 20px; height: 20px; color: var(--teal); }
.hero-work .arrow { width: 16px; height: 16px; transition: transform .15s; }
.hero-work:hover { color: var(--teal); }
.hero-work:hover .arrow { transform: translateX(3px); }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 4.2; border-radius: 28px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 16px 40px rgba(31,45,58,.12); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }


/* ---------- hero: 「これなんだ？」の仕掛け ---------- */
.hero-inner { position: relative; z-index: 1; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 240px; pointer-events: none; z-index: 0; }
.hero-waves path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-waves .w1 { stroke: #2F6F73; stroke-opacity: .28; stroke-width: 2.5; }
.hero-waves .w2 { stroke: #C6E3E9; stroke-width: 7; }
.hero-waves .w3 { stroke: #2F6F73; stroke-opacity: .14; stroke-width: 1.5; }
.wob { display: inline-flex; }
.wob span { display: inline-block; transition: transform .9s cubic-bezier(.3,1.7,.5,1); }
.hero-title.loosen .wob span:first-child { transform: rotate(-10deg) translateY(-5px); }
.hero-title.loosen .wob span:last-child { transform: rotate(8deg) translateY(4px); transition-delay: .08s; }
.hero-title:hover .wob span:first-child { animation: jiggle-a .7s ease; }
.hero-title:hover .wob span:last-child { animation: jiggle-b .7s ease; }
@keyframes jiggle-a { 0%,100% { transform: rotate(-10deg) translateY(-5px); } 30% { transform: rotate(8deg) translateY(-8px); } 60% { transform: rotate(-12deg); } }
@keyframes jiggle-b { 0%,100% { transform: rotate(8deg) translateY(4px); } 30% { transform: rotate(-9deg) translateY(-6px); } 60% { transform: rotate(10deg); } }

/* ---------- hero: 支援者さんへ ステッカー（シンプル） ---------- */
.ai-sticker { position: absolute; left: -56px; bottom: -24px; z-index: 2; width: 156px; height: 156px; border-radius: 50%; background: var(--yellow); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; box-shadow: 0 12px 26px rgba(31,45,58,.22), inset 0 0 0 5px rgba(255,255,255,.55); transform: rotate(-8deg); animation: st-in .8s cubic-bezier(.2,1.6,.4,1) 1s both, st-float 4s ease-in-out 2s infinite; transition: box-shadow .2s ease; }
.ai-sticker:hover, .ai-sticker:focus-visible { color: var(--ink); box-shadow: 0 16px 32px rgba(31,45,58,.28), inset 0 0 0 5px rgba(255,255,255,.7); }
.st-for { font-size: 13px; font-weight: 700; color: #fff; background: var(--teal); padding: 1px 10px; border-radius: 999px; }
.ai-sticker strong { font-family: var(--font-round); font-size: 21px; line-height: 1.25; }
.ai-sticker .icon { width: 20px; height: 20px; stroke-width: 2.6; color: var(--teal); transition: transform .2s ease; }
.ai-sticker:hover .icon { transform: translateX(4px); }
@keyframes st-in { from { transform: rotate(-40deg) scale(0); } to { transform: rotate(-8deg) scale(1); } }
@keyframes st-float { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-8px); } }

/* ---------- stats (compact) ---------- */
.stats { padding: 36px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.stats-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 18px; }
.stats-head h2 { display: flex; align-items: center; gap: 8px; font-family: var(--font-round); font-size: 21px; }
.stats-head h2 .icon { width: 26px; height: 26px; color: #A8862E; }
.media-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.media-list li { padding: 4px 14px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.stats-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 18px 10px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-round); font-weight: 700; font-size: 32px; line-height: 1.2; }
.stat-num .count { color: var(--teal); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 15px; margin-left: 2px; }
.stat-label { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.js-anim .stat { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js-anim.is-in .stat { opacity: 1; transform: none; }
.js-anim.is-in .stat:nth-child(2) { transition-delay: .08s; }
.js-anim.is-in .stat:nth-child(3) { transition-delay: .16s; }
.js-anim.is-in .stat:nth-child(4) { transition-delay: .24s; }
.js-anim.is-in .stat:nth-child(5) { transition-delay: .32s; }
.stat.is-done .stat-num { animation: stat-pop .5s ease; }
@keyframes stat-pop { 50% { transform: scale(1.08); } }

/* ---------- profile ---------- */
.profile-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.profile-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.profile-name { font-family: var(--font-round); font-size: 24px; }
.profile-sub { margin-top: 2px; font-size: 15px; color: var(--muted); }
.profile-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-text { margin-top: 18px; display: grid; gap: 12px; font-size: 16px; color: var(--body); }
.message { margin-top: 32px; position: relative; padding: 32px 36px 28px 92px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.message-mark { position: absolute; left: 32px; top: 30px; width: 40px; height: 32px; fill: var(--teal-200); }
.message blockquote { margin: 0; }
.message blockquote p { font-family: var(--font-round); font-size: 21px; font-weight: 500; line-height: 1.8; }
.message blockquote strong { color: var(--teal); font-weight: 700; background: linear-gradient(transparent 70%, rgba(246,222,141,.6) 70%); }
.message figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.timeline { margin-top: 24px; display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.timeline-title { display: flex; align-items: center; padding: 14px 18px; font-family: var(--font-round); font-weight: 700; font-size: 15px; background: var(--teal-50); border-right: 1px solid var(--line); }
.timeline ol { display: contents; }
.timeline li { list-style: none; position: relative; padding: 12px 18px 12px 24px; }
.timeline li + li::before { content: ""; position: absolute; left: -4px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--teal-200); border-right: 2px solid var(--teal-200); transform: translateY(-50%) rotate(45deg); }
.timeline time { display: block; font-size: 14px; color: var(--muted); }
.timeline strong { font-size: 15px; }

/* ---------- activities ---------- */
.yt-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; padding: 30px 32px; border-radius: 20px; background: linear-gradient(135deg, var(--teal-50), #fff 70%); border: 2px solid var(--teal-200); }
.yt-feature h3 { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-family: var(--font-round); font-size: 26px; }
.yt-feature h3 .icon { width: 32px; height: 32px; color: var(--teal); }
.yt-feature p { margin-top: 8px; font-size: 16px; color: var(--body); }
.yt-feature-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.yt-num { font-size: 15px; color: var(--muted); }
.yt-num strong { font-family: var(--font-round); font-size: 22px; color: var(--teal); }
.act-grid { margin-top: 16px; }
.act-card { padding: 18px 20px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.act-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.act-card h3 .icon { color: var(--teal); }
.act-card p { font-size: 15px; color: var(--body); flex: 1; }
.act-links { display: flex; flex-wrap: wrap; gap: 0 16px; }

.videos-block { margin-top: 44px; }
.videos { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.videos > :first-child { grid-row: span 2; }
.video-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s; }
.video-card:hover { transform: translateY(-2px); color: var(--ink); }
.video-thumb { aspect-ratio: 16 / 9; background: var(--teal-50); position: relative; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(31,45,58,.78); display: flex; align-items: center; justify-content: center; }
.video-thumb .play svg { width: 15px; height: 15px; fill: #fff; margin-left: 3px; }
.video-title { padding: 12px 16px 4px; font-size: 15px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.videos > :first-child .video-title { font-size: 18px; padding-top: 16px; }
.video-date { padding: 0 16px 14px; font-size: 13px; color: var(--muted); }
.video-fallback { grid-column: 1 / -1; grid-row: auto !important; padding: 28px; text-align: center; background: var(--alt); border-radius: 14px; border: 1px dashed var(--teal-200); }
.video-skeleton { border-radius: 14px; background: linear-gradient(90deg, var(--alt), var(--teal-50), var(--alt)); background-size: 200% 100%; min-height: 180px; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- products ---------- */
.book-feature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 40px; border-radius: 22px; background: #fff; border: 2px solid var(--teal-200); box-shadow: 0 12px 30px rgba(31,45,58,.08); }
.book-feature img { width: 220px; border-radius: 6px; box-shadow: 0 14px 30px rgba(31,45,58,.22); transform: rotate(-2deg); }
.book-kicker { font-size: 15px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.book-feature h3 { margin-top: 12px; font-family: var(--font-round); font-size: 28px; line-height: 1.5; }
.book-feature p:not(.book-kicker) { margin-top: 12px; font-size: 16px; color: var(--body); }
.book-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.prod-grid { margin-top: 20px; }
.prod-card { padding: 22px 22px 16px; display: flex; flex-direction: column; gap: 10px; }
.prod-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.prod-card h3 .icon { color: var(--teal); }
.prod-card > p { font-size: 15px; color: var(--body); }
.prod-price { font-family: var(--font-round); font-weight: 700; font-size: 22px; }
.prod-price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.prod-list { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.prod-list li { position: relative; padding-left: 16px; color: var(--body); line-height: 1.65; }
.prod-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-200); }
.prod-list a { color: var(--ink); text-decoration-color: var(--teal-200); text-underline-offset: 3px; }
.prod-list a:hover { color: var(--teal); }
.ebooks { display: flex; gap: 12px; }
.ebooks figure { flex: 1; min-width: 0; }
.ebooks img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 10px rgba(31,45,58,.15); }
.ebooks figcaption { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--body); }
.prod-card.is-line { border: 2px solid var(--teal); }
.prod-foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- community ---------- */
.com-card { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.com-head { display: flex; align-items: center; gap: 14px; }
.com-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-50); display: flex; align-items: center; justify-content: center; color: var(--teal); flex: none; }
.com-icon .icon { width: 30px; height: 30px; }
.com-head h3 { font-family: var(--font-round); font-size: 23px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.com-head p { font-size: 14px; color: var(--muted); }
.com-benefit { font-size: 16px; font-weight: 700; padding: 10px 14px; background: var(--teal-50); border-radius: 10px; }
.com-story { font-size: 15px; color: var(--body); }
.com-card .note { font-size: 14px; color: var(--muted); }
.com-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- work ---------- */
.work-sec { background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); }
.work-card { padding: 22px 22px 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.work-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 17px; }
.work-card h3 .icon { color: var(--teal); }
.work-card > p { font-size: 15px; color: var(--body); }
.work-card .link-arrow { margin-top: auto; }
.work-proof { font-size: 14px !important; color: var(--muted) !important; }
.work-card.is-main { padding: 28px 28px 26px; gap: 12px; box-shadow: 0 10px 28px rgba(31,45,58,.08); border: 2px solid var(--teal-200); }
.work-card.is-main h3 { font-family: var(--font-round); font-size: 23px; }
.work-card.is-main h3 .icon { width: 28px; height: 28px; }
.work-card.is-main > p { font-size: 16px; }
.work-card.is-main .btn { align-self: flex-start; margin-top: auto; }
.work-card.is-ai { background: linear-gradient(160deg, #fff 40%, var(--teal-50)); }
.work-for { font-size: 14px !important; font-weight: 700; color: var(--teal) !important; }
.work-btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.work-btns .btn { margin-top: 0 !important; }
.work-sub { margin-top: 20px; }

/* ---------- contact ---------- */
.assure { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.assure .icon { color: var(--teal); margin-top: 3px; }
.mail-line { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.mail-line .icon { color: var(--teal); margin-top: 3px; }
.mail-line a { word-break: break-all; font-size: 15px; }
.contact-box { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field.full { grid-column: 1 / -1; }
.field .req { margin-left: 8px; font-size: 12px; color: #fff; background: #B4553D; padding: 1px 7px; border-radius: 4px; vertical-align: 1px; }
.field input, .field select, .field textarea { min-height: 54px; padding: 12px 16px; border: 1px solid #BFCBCF; border-radius: 10px; background: #fff; font-size: 16px; font-weight: 400; }
.field ::placeholder { color: #8A979F; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { font-size: 14px; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: 15px; display: none; }
.form-status.is-ok { display: block; background: #E7F3EC; color: #1F5A3A; }
.form-status.is-error { display: block; background: #FBEDE8; color: #7A2F1C; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 40px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #C9D3D6; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer-nav a { color: #E4E9EB; font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.sns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sns a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-size: 14px; text-decoration: none; }
.sns a:hover { background: rgba(255,255,255,.1); color: #fff; }
.sns .icon { width: 16px; height: 16px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #C9D3D6; }
.footer-bottom a { color: #C9D3D6; }


/* =====================================================
   v2：見て理解できるレイアウト（カードを減らし、余白で区切る）
   ===================================================== */
.sec { padding: 88px 0; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 36px; }
.sec-head-row p { font-size: 15px; color: var(--muted); }
.sec-title { font-family: var(--font-round); font-size: 30px; font-weight: 700; position: relative; padding-bottom: 12px; }
.sec-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 6px; border-radius: 999px; background: var(--teal-200); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--teal); }
.btn-primary { box-shadow: 0 4px 12px rgba(47,111,115,.18); }

/* 実績：箱をなくして数字だけ */
.stats { padding: 44px 0 40px; }
.stats-row { border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
.stat { padding: 6px 8px; }
.stat-num { font-size: 38px; }
.stat-label { font-size: 14px; }
.media-line { margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted); }
.media-line span { margin-right: 12px; font-weight: 700; color: var(--teal); }

/* プロフィール */
.profile-v2 { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.profile-v2 .profile-photo { border-radius: 24px; box-shadow: none; }
.profile-v2 .profile-name { margin-top: 6px; font-family: var(--font-round); font-size: 28px; font-weight: 700; }
.profile-v2 .message { margin-top: 28px; padding: 0 0 0 56px; background: none; box-shadow: none; border-radius: 0; }
.profile-v2 .message-mark { left: 0; top: 4px; width: 38px; height: 30px; }
.profile-v2 .message blockquote p { font-size: 25px; line-height: 1.7; }
.more { margin-top: 24px; border-top: 1px solid var(--line); }
.more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; color: var(--teal); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more-body { padding: 4px 0 8px; display: grid; gap: 18px; }
.more-body p { font-size: 16px; color: var(--body); }
.timeline-v2 { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.timeline-v2 li { font-size: 15px; font-weight: 700; padding-top: 10px; border-top: 3px solid var(--teal-200); }
.timeline-v2 time { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }

/* 活動内容：枠なし、アイコン＋名前＋一言＋リンク */
.act-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.act-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.act-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-50); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.act-icon .icon { width: 26px; height: 26px; }
.act-list h3 { margin-top: 8px; font-size: 19px; }
.act-list p { font-size: 15px; color: var(--body); }
.act-links { display: flex; gap: 0 16px; }

/* 新着動画：サムネイルが主役 */
.videos-block { margin-top: 64px; }
.videos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 20px; }
.videos > :first-child { grid-row: auto; }
.video-card { border: 0; box-shadow: 0 6px 18px rgba(31,45,58,.10); border-radius: 14px; }
.video-skeleton { min-height: 0; aspect-ratio: 16 / 9; }

/* 商品：書籍が主役、ほかはコンパクトに */
.book-v2 { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 48px; background: #fff; border-radius: 24px; }
.book-v2 img { width: 200px; border-radius: 6px; box-shadow: 0 14px 30px rgba(31,45,58,.22); transform: rotate(-2deg); }
.book-v2 .book-kicker { font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 0; }
.book-v2 h3 { margin-top: 8px; font-family: var(--font-round); font-size: 28px; line-height: 1.5; }
.book-lead { margin-top: 10px; font-size: 16px; color: var(--body); }
.prod-rows { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prod-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 28px; }
.prod-row:first-child { padding-left: 0; }
.prod-row + .prod-row { border-left: 1px solid var(--line); }
.prod-row h3 { margin-top: 8px; font-size: 18px; }
.prod-row h3 small { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.prod-row .price { font-family: var(--font-round); font-size: 22px; font-weight: 700; }
.ebook-mini { display: flex; height: 52px; }
.ebook-mini img { width: 34px; height: 52px; object-fit: cover; border-radius: 3px; box-shadow: 0 3px 8px rgba(31,45,58,.18); }
.ebook-mini img + img { margin-left: -8px; }
.line-strip { margin-top: 36px; display: flex; align-items: center; gap: 18px; padding: 22px 28px; background: var(--teal-50); border-radius: 18px; }
.line-strip > div { flex: 1; min-width: 0; }
.line-strip h3 { font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.line-strip .free { padding: 0 10px; border-radius: 999px; background: var(--yellow); font-size: 14px; }
.line-strip p { margin-top: 2px; font-size: 14px; color: var(--muted); }

/* コミュニティ：何ができる場所かを一言で */
.com-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.com-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px; border-radius: 24px; background: var(--teal-50); }
.com-panel.is-app { background: #fff; border: 1px solid var(--line); }
.com-name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--teal); }
.com-name .icon { width: 22px; height: 22px; }
.com-panel h3 { font-family: var(--font-round); font-size: 23px; line-height: 1.55; }
.com-panel .com-story { font-size: 16px; color: var(--body); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.com-panel .btn { margin-top: 8px; }
.com-note { font-size: 14px; color: var(--muted); }

/* お仕事：大きい2つ＋一覧 */
.work-main-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px; border-radius: 22px; background: #fff; }
.work-feature.is-ai { background: #fff; box-shadow: inset 0 0 0 2px var(--teal-200); }
.work-feature h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-round); font-size: 24px; }
.work-feature h3 .icon { width: 28px; height: 28px; color: var(--teal); }
.work-feature > p { font-size: 16px; color: var(--body); }
.work-feature .work-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--teal); }
.work-feature .work-proof { font-size: 14px; color: var(--muted); }
.work-feature .btn, .work-feature .work-btns { margin-top: auto; }
.work-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.work-rows { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.work-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.work-rows h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.work-rows h3 .icon { color: var(--teal); }
.work-rows p { font-size: 15px; color: var(--muted); }

/* お問い合わせ */
.contact-v2 { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-lead { margin-top: 22px; font-size: 16px; color: var(--body); }
.contact-v2 .mail-line { margin-top: 18px; align-items: center; }
.contact-v2 .contact-box { box-shadow: none; background: var(--alt); border: 0; }

@media (max-width: 900px) {
  .sec { padding: 60px 0; }
  .sec-head-row { margin-bottom: 26px; }
  .sec-title { font-size: 26px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .stat { border: 0 !important; }
  .stat-num { font-size: 32px; }
  .media-line { text-align: left; line-height: 1.9; }
  .media-line span { display: block; }
  .profile-v2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .profile-v2 .profile-photo { max-width: 240px; }
  .profile-v2 .message { padding-left: 46px; }
  .profile-v2 .message-mark { width: 30px; height: 24px; }
  .profile-v2 .message blockquote p { font-size: 18px; }
  .profile-v2 .message blockquote br { display: inline; }
  .timeline-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .act-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .act-list li .act-icon { grid-row: span 3; align-self: start; }
  .act-list h3 { margin-top: 0; font-size: 18px; }
  .act-list .link-arrow, .act-list .act-links { grid-column: 2; }
  .videos-block { margin-top: 48px; }
  .videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 18px 14px; margin: 0 -18px; }
  .videos > * { flex: 0 0 82%; scroll-snap-align: start; }
  .videos > .video-fallback { flex-basis: 100%; }
  .book-v2 { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 26px 22px; }
  .book-v2 img { width: 120px; }
  .book-v2 h3 { font-size: 20px; }
  .prod-rows { grid-template-columns: minmax(0, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
  .prod-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 14px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .prod-row > :first-child { grid-row: span 2; }
  .prod-row h3 { margin-top: 0; }
  .prod-row .link-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .prod-row .price { font-size: 18px; }
  .ebook-mini img { width: 26px; height: 40px; }
  .ebook-mini { height: 40px; }
  .line-strip { flex-wrap: wrap; padding: 20px; }
  .line-strip .btn { width: 100%; }
  .com-v2, .work-main-v2 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .com-panel, .work-feature { padding: 26px 22px; }
  .com-panel h3 { font-size: 20px; }
  .com-panel h3 br { display: none; }
  .com-panel .btn, .work-feature .btn { align-self: stretch; }
  .work-btns { align-self: stretch; }
  .work-btns .btn { flex: 1 1 140px; }
  .work-rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .work-rows p { grid-column: 1; grid-row: 2; }
  .work-rows .link-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .contact-v2 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .book-v2 { grid-template-columns: minmax(0, 1fr); }
  .book-v2 img { width: 150px; }
  .book-v2 .book-actions .btn { flex: 1 1 130px; }
}

/* ---------- sticky LINE bar (mobile) ---------- */
.sp-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .global-nav ul { gap: 16px; }
  .global-nav ul a { font-size: 14px; }
}
@media (max-width: 980px) {
  .global-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; flex-direction: column; align-items: stretch; gap: 14px; box-shadow: 0 12px 24px rgba(31,45,58,.08); }
  .global-nav.is-open { display: flex; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 50px; font-size: 16px; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .sec { padding: 52px 0; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sec-head h2 br { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 44px; gap: 26px; }
  .hero-visual { justify-self: center; order: -1; max-width: 340px; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .ai-sticker { width: 118px; height: 118px; left: -10px; bottom: -22px; }
  .ai-sticker strong { font-size: 16px; }
  .st-for { font-size: 11px; padding: 0 8px; }
  .ai-sticker .icon { width: 16px; height: 16px; }
  .hero-waves { height: 160px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat + .stat { border-left: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .profile-body { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { max-width: 260px; }
  .message { padding: 64px 22px 22px; }
  .message-mark { left: 22px; top: 22px; width: 32px; height: 26px; }
  .message blockquote p { font-size: 18px; }
  .message blockquote br { display: none; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline-title { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li + li::before { left: 24px; top: -4px; transform: rotate(135deg); }
  .yt-feature { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  .yt-feature-cta { align-items: stretch; }
  .yt-feature-cta .btn { width: 100%; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .videos { grid-template-columns: minmax(0, 1fr); }
  .videos > :first-child { grid-row: auto; }
  .book-feature { grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding: 24px 22px; }
  .book-feature img { width: 140px; }
  .book-feature h3 { font-size: 21px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  body.has-sp-cta { padding-bottom: 80px; }
  .sp-cta { 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(255,255,255,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
  .sp-cta.is-show { transform: none; }
  .sp-cta .btn { width: 100%; border-radius: 999px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .brand-name strong { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .book-feature { grid-template-columns: minmax(0, 1fr); }
  .book-feature img { width: 160px; }
  .book-actions .btn { flex: 1 1 140px; }
  .contact-box { padding: 22px 18px; }
  .stat-num { font-size: 28px; }
  .work-card.is-main { padding: 22px 20px; }
  .work-card.is-main h3 { font-size: 21px; }
  .work-card.is-main .btn, .work-btns .btn { width: 100%; }
  .com-card .btn { align-self: stretch; }
  .pc-only, .hero-lead br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ai-sticker { animation: none; }
  .wob span, .ai-sticker .icon { transition: none; }
  .hero-title:hover .wob span { animation: none !important; }
  .btn, .video-card, .link-arrow .icon, .hero-work .arrow { transition: none; }
  .video-skeleton { animation: none; }
}

/* =====================================================
   スマホ・タブレット：基本はセンター寄せ
   （入力フォームの中だけは、読みやすさのため左寄せのまま）
   ===================================================== */
@media (max-width: 900px) {
  .hero-inner > div:first-child { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; width: 100%; }
  .hero-work { align-self: center; }

  .sec-head-row { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .sec-title { text-align: center; }
  .sec-title::after { left: 50%; transform: translateX(-50%); }
  .sub-head { flex-direction: column; gap: 4px; text-align: center; }

  .media-line { text-align: center; }

  .profile-v2 { justify-items: center; text-align: center; }
  .profile-v2 .profile-tags { justify-content: center; }
  .profile-v2 .message { padding-left: 0; padding-top: 36px; }
  .profile-v2 .message-mark { left: 50%; transform: translateX(-50%); top: 0; }
  .more { width: 100%; }
  .more summary { justify-content: center; width: 100%; }
  .more-body { justify-items: center; }
  .timeline-v2 { width: 100%; text-align: center; }

  .act-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; border-top: 0; }
  .act-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0; border-bottom: 0; }
  .act-list li .act-icon { align-self: center; }
  .act-list h3 { margin-top: 6px; }
  .act-links { justify-content: center; flex-wrap: wrap; }

  .book-v2 { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .book-v2 img { width: 150px; }
  .book-v2 .book-actions { justify-content: center; }

  .prod-rows { border-top: 0; gap: 0; }
  .prod-row { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 0 !important; }
  .prod-row + .prod-row { border-top: 1px solid var(--line); }
  .prod-row > :first-child { grid-row: auto; }

  .line-strip { flex-direction: column; text-align: center; }
  .line-strip h3 { justify-content: center; }

  .com-panel, .work-feature { align-items: center; text-align: center; }
  .com-name, .work-feature .work-for { justify-content: center; }
  .tags { justify-content: center; }
  .work-feature h3 { justify-content: center; }
  .work-btns { justify-content: center; }

  .work-rows li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 4px; }
  .work-rows h3 { justify-content: center; }

  .contact-v2 > div:first-child { text-align: center; }
  .contact-v2 .mail-line { justify-content: center; }

  .footer-top { flex-direction: column; text-align: center; }
  .footer-nav ul, .sns { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* 日本語の改行を読みやすく（ことばの途中で折り返さない・行の長さをそろえる） */
.btn { white-space: nowrap; }
.media-line i { font-style: normal; white-space: nowrap; }
@media (max-width: 900px) {
  main h1, main h2, main h3, main p, main li, main figcaption { word-break: auto-phrase; text-wrap: balance; }
  .work-btns .btn { padding: 0 14px; }
}

/* =====================================================
   CTA：ボタンの縁を光が一周する（画面に入ったら回る）
   ===================================================== */
.btn-primary, .btn-yellow, .ai-cta { --fill: var(--teal); --fill-hover: var(--teal-dark); position: relative; overflow: hidden; isolation: isolate; border: 0; background: var(--fill); }
.btn-yellow { --fill: var(--yellow); --fill-hover: #F1D26B; }
.btn-primary.btn-sm { padding: 0 20px; }
.btn-primary::before, .btn-yellow::before, .ai-cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(255,255,255,.95) 82%, var(--yellow) 88%, transparent 96%);
  transform: translate(-50%, -50%) rotate(0deg); opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.btn-primary::after, .btn-yellow::after, .ai-cta::after {
  content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: inherit; background: var(--fill); transition: background .15s; pointer-events: none;
}
.btn-primary:hover, .btn-yellow:hover, .ai-cta:hover { background: var(--fill); }
.btn-primary:hover::after, .btn-yellow:hover::after, .ai-cta:hover::after { background: var(--fill-hover); }
.is-lit::before { opacity: 1; animation: cta-spin 3s linear infinite; }
@keyframes cta-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .is-lit::before { animation: none; opacity: 0; }
}

/* =====================================================
   実績：青緑の帯＋大きな白い数字で、ほかのセクションと差をつける
   ===================================================== */
.stats { background: var(--teal); color: #fff; padding: 60px 0 52px; border-top: 0; }
.stats-row { gap: 0; }
.stat { padding: 4px 8px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
.stat-num { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.1; color: #fff; letter-spacing: .01em; white-space: nowrap; }
.stat-num .count { color: #fff; }
.stat-num small { margin-left: 3px; font-size: .4em; font-weight: 700; color: var(--yellow); }
.stat-label { margin-top: 10px; font-size: 15px; font-weight: 500; color: #DCEBEB; }
.media-line { margin-top: 34px; color: #DCEBEB; }
.media-line span { color: var(--yellow); }
@media (max-width: 900px) {
  .stats { padding: 48px 0 44px; }
  .stats-row { row-gap: 30px; }
  .stat-num { font-size: 44px; }
  .stat-label { margin-top: 6px; }
}

/* 見出しは、どの画面幅でも2行に収める */
.nowrap { white-space: nowrap; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); }
@media (max-width: 560px) { .hero h1 { font-size: min(38px, 9.4vw); } }
@media (min-width: 561px) and (max-width: 900px) { .hero h1 { font-size: min(52px, 6.4vw); } }

/* ファーストビューの説明文：指定の2行を基本に。幅が足りないときだけ、ことばの区切りで折り返す */
.hero-lead .lead-line { display: inline; }
.hero-lead .ph { display: inline-block; }
@media (max-width: 560px) { .hero-lead br { display: inline; } .hero-lead { font-size: 16px; } }

/* 実績：スマホでは「角丸のパネル」にして、数字も少し小さく（主張しすぎない強調） */
@media (max-width: 560px) {
  .stats { background: #fff; padding: 28px 0 12px; }
  .stats .container { margin: 0 14px; padding: 26px 14px 22px; background: var(--teal); border-radius: 20px; }
  .stats-row { row-gap: 20px; }
  .stat { padding: 0 4px; }
  .stat-num { font-size: 31px; }
  .stat-num small { font-size: .48em; }
  .stat-label { margin-top: 4px; font-size: 14px; }
  .stat:last-child { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18) !important; }
  .media-line { margin-top: 20px; font-size: 14px; line-height: 1.8; }
}

/* =====================================================
   スクロールで「ふわっ」と表示（JSが有効なときだけ）
   ===================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 新着のnote（RSSから自動で表示） */
.notes-block { margin-top: 48px; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.note-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(31,45,58,.08); transition: transform .15s; }
.note-card:hover { transform: translateY(-2px); color: var(--ink); }
.note-thumb { position: relative; overflow: hidden; aspect-ratio: 1.91 / 1; background: var(--teal-50); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.note-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.note-thumb .icon { width: 34px; height: 34px; }
.note-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.note-title { font-size: 16px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-date { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .notes-block { margin-top: 40px; }
  .notes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 18px 14px; margin: 0 -18px; }
  .notes > * { flex: 0 0 78%; scroll-snap-align: start; }
  .notes > .video-fallback { flex-basis: 100%; }
  .note-body { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .note-card { transition: none; } }

/* ファーストビュー：当事者向け／支援者向けの2つのボタン */
.aud-btn { flex-direction: column; gap: 0; min-height: 66px; padding: 8px 26px; line-height: 1.35; }
.aud-btn .aud { font-size: 13px; font-weight: 500; opacity: .9; }
.aud-btn .main { display: inline-flex; align-items: center; gap: 8px; }
.profile-v2 .real-name { margin-left: 12px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.stats-note { margin-top: 18px; text-align: center; font-size: 13px; color: #C9DADB; }
.stats-note + .media-line { margin-top: 10px; }
@media (max-width: 900px) { .profile-v2 .real-name { display: block; margin: 2px 0 0; } }
