/*
 * みんなのワケル サイト全体のデザイン（色・ヘッダー/フッター・トップページ・各ページの見出し帯）。
 * body.wk-site の中だけに効く。無効にするには wp-config.php で define( 'WAKERU_TOOLS_DISABLE_SITE_STYLE', true );
 * 色の調整は、下の :root の変数だけ変えればよい。
 */
:root {
  --wk-ink: #14213d;
  --wk-ink-soft: #3d4a66;
  --wk-teal: #0b8f82;
  --wk-teal-d: #076b61;
  --wk-teal-l: #e0f5f2;
  --wk-coral: #e0533b;
  --wk-coral-d: #b83a25;
  --wk-coral-l: #fdebe7;
  --wk-violet: #5b4bd6;
  --wk-violet-d: #4332b3;
  --wk-violet-l: #ece9ff;
  --wk-amber: #ffb703;
  --wk-amber-l: #fff5d6;
  --wk-sky: #1d9bf0;
  --wk-paper: #faf9ff;
  --wk-c1: #14213d;
  --wk-c2: #5b4bd6;
}
body.wk-page-warikan   { --wk-c1: #076b61; --wk-c2: #19b5a5; }
body.wk-page-sogi      { --wk-c1: #b83a25; --wk-c2: #f08a5d; }
body.wk-page-souzoku   { --wk-c1: #4332b3; --wk-c2: #7c6cf0; }
body.wk-page-funeral-issues, body.wk-page-family-meeting, body.wk-page-experts { --wk-c1: #1b3a6b; --wk-c2: #2f80c9; }
body.wk-page-story { --wk-c1: #b83a25; --wk-c2: #f2a65a; }
body.wk-page-about, body.wk-page-disclaimer, body.wk-page-privacy, body.wk-page-contact { --wk-c1: #263554; --wk-c2: #5b6b91; }

body.wk-site { overflow-x: hidden; color: var(--wk-ink); background: var(--wk-paper); }
body.wk-site a { color: var(--wk-violet-d); text-underline-offset: .18em; }
body.wk-site a:hover { color: var(--wk-coral-d); }

/* ---------- ヘッダー ---------- */
body.wk-site header.wp-block-template-part { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, var(--wk-teal), var(--wk-violet), var(--wk-coral), var(--wk-amber)) 1; box-shadow: 0 6px 24px rgba(20,33,61,.07); }
body.admin-bar.wk-site header.wp-block-template-part { top: 32px; }
body.wk-site .wp-block-site-title { font-weight: 800; letter-spacing: .02em; }
body.wk-site .wp-block-site-title a { color: var(--wk-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
body.wk-site .wp-block-site-title a::before { content: ""; width: 1.75em; height: 1.5em; flex: none; background: url("../img/logo-mark-256.png") center / contain no-repeat; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
body.wk-site .wp-block-site-title a:hover::before { transform: translateY(-2px) scale(1.12) rotate(-4deg); }
body.wk-site header .wp-block-navigation a { font-weight: 700; color: var(--wk-ink); text-decoration: none; padding-block: .35em; background: linear-gradient(90deg, var(--wk-coral), var(--wk-amber)) 0 100% / 0 3px no-repeat; transition: background-size .25s ease, color .2s; }
body.wk-site header .wp-block-navigation a:hover, body.wk-site header .wp-block-navigation .current-menu-item > a { background-size: 100% 3px; color: var(--wk-violet-d); }
body.wk-site header .wp-block-navigation__submenu-container { border-radius: 12px; box-shadow: 0 12px 32px rgba(20,33,61,.18); border: 0; }

/* ---------- フッター ---------- */
body.wk-site footer.wp-block-template-part { margin-top: 0; background: radial-gradient(1200px 400px at 85% -20%, rgba(91,75,214,.55), transparent 60%), radial-gradient(900px 400px at 0% 120%, rgba(11,143,130,.45), transparent 60%), var(--wk-ink); color: #e9ecf7; position: relative; }
body.wk-site footer.wp-block-template-part::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--wk-teal), var(--wk-violet), var(--wk-coral), var(--wk-amber)); }
body.wk-site footer a { color: #fff; text-decoration: none; font-weight: 700; }
body.wk-site footer a:hover { color: var(--wk-amber); text-decoration: underline; }
body.wk-site footer .wp-block-site-title a { color: #fff; font-size: 1.5rem; }
body.wk-site footer .wp-block-site-title a::before { background-image: url("../img/logo-mark-white-256.png"); width: 2em; height: 1.7em; }
body.wk-site .wk-operator { text-align: center; font-size: .85rem; }
body.wk-site footer p { color: #cfd5e8; }

/* ---------- 各ページの見出し帯（トップ以外） ---------- */
body.wk-site .wp-site-blocks > main, body.wk-site .wp-site-blocks > footer { margin-block-start: 0 !important; }
body.wk-site main.wp-block-group { margin-top: 0 !important; }
body.wk-site main.wp-block-group > .wp-block-group { padding-top: 0 !important; }
body.wk-site:not(.home) .wp-block-post-title { position: relative; overflow: hidden; width: 100vw; max-width: 100vw !important; margin: 0 0 clamp(24px, 4vw, 48px) calc(50% - 50vw) !important; padding: clamp(36px, 7vw, 76px) max(20px, calc((100vw - 880px) / 2)); color: #fff; font-weight: 800; line-height: 1.35; font-size: clamp(1.6rem, 4.6vw, 2.6rem); word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; background: linear-gradient(120deg, var(--wk-c1), var(--wk-c2)); }
body.wk-site:not(.home) .wp-block-post-title::before, body.wk-site:not(.home) .wp-block-post-title::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
body.wk-site:not(.home) .wp-block-post-title::before { width: 340px; height: 340px; right: -80px; top: -140px; background: rgba(255,255,255,.12); animation: wk-drift 14s ease-in-out infinite; }
body.wk-site:not(.home) .wp-block-post-title::after { width: 180px; height: 180px; right: 18%; bottom: -90px; background: rgba(255,183,3,.35); animation: wk-drift 11s ease-in-out infinite reverse; }
body.wk-site .wp-block-post-content > *:not(.alignfull):not(.alignleft):not(.alignright) { max-width: 860px; }
body.wk-site .wp-block-post-content > h2 { position: relative; margin-top: 2.2em; padding: .15em 0 .15em .75em; font-weight: 800; border-left: 7px solid var(--wk-c2); line-height: 1.4; }
body.wk-site .wp-block-post-content > h3 { color: var(--wk-c1); font-weight: 800; }
body.wk-site .wp-block-post-content > ul li::marker, body.wk-site .wp-block-post-content > ol li::marker { color: var(--wk-c2); font-weight: 800; }
body.wk-site .wp-block-post-content > table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(20,33,61,.08); }
body.wk-site .wp-block-post-content > table th { background: var(--wk-violet-l); color: var(--wk-ink); text-align: left; width: 10em; }
body.wk-site .wp-block-post-content > table th, body.wk-site .wp-block-post-content > table td { padding: .8em 1em; border-bottom: 1px solid #e5e2f7; }
body.wk-site .wp-block-post-content .wk-small { font-size: .88rem; color: var(--wk-ink-soft); }

/* シェアリンク（小さな丸いアイコン） */
.wk-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .8em; max-width: 860px; margin: 2.4em auto 1em; padding: .8em 0 0; border-top: 1px dashed #c9c4e8; }
.wk-share-label { font-size: .85rem; font-weight: 800; color: var(--wk-ink-soft); letter-spacing: .08em; }
.wk-share ul { display: flex; gap: .55em; list-style: none; margin: 0; padding: 0; }
.wk-share li { margin: 0; padding: 0; }
.wk-share-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #fff !important; background: var(--wk-ink); cursor: pointer; text-decoration: none; box-shadow: 0 3px 8px rgba(20,33,61,.2); transition: transform .2s, box-shadow .2s, filter .2s; }
.wk-share-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 16px rgba(20,33,61,.28); filter: brightness(1.08); }
.wk-share-btn:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
.wk-share-btn.s-x { background: #111; }
.wk-share-btn.s-fb { background: #1877f2; }
.wk-share-btn.s-line { background: #06a94d; }
.wk-share-btn.s-hb { background: #0089b8; }
.wk-share-btn.s-copy { background: var(--wk-violet); }
.wk-share-status { font-size: .85rem; color: var(--wk-teal-d); font-weight: 700; }
@media print { .wk-share { display: none !important; } }

/* 運営者のメッセージ（story ページ） */
body.wk-site .wp-block-post-content .wk-lede { font-size: 1.18rem; font-weight: 700; line-height: 2; padding: 1em 1.2em; border-radius: 14px; background: linear-gradient(135deg, #fff4e8, #fdebe7); border-left: 7px solid var(--wk-coral); }
body.wk-site .wp-block-post-content .wk-sign { margin-top: 2.4em; text-align: right; font-weight: 800; line-height: 1.9; }

/* ツールごとの色 */
body.wk-site .wk.wk-warikan { --wk-accent: #076b61; --wk-accent-bg: #e0f5f2; }
body.wk-site .wk.wk-sogi { --wk-accent: #b83a25; --wk-accent-bg: #fdebe7; }
body.wk-site .wk.wk-souzoku { --wk-accent: #4332b3; --wk-accent-bg: #ece9ff; }
body.wk-site .wk .wk-btn { box-shadow: 0 6px 16px rgba(20,33,61,.18); transition: transform .15s ease, box-shadow .15s ease, filter .15s; border-radius: 999px; padding-inline: 1.6em; }
body.wk-site .wk .wk-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,33,61,.22); filter: brightness(1.08); }
body.wk-site .wk .wk-btn-sub { box-shadow: none; }
body.wk-site .wk .wk-privacy { border-radius: 12px; border-left-width: 6px; }
body.wk-site .wk fieldset, body.wk-site .wk .wk-card, body.wk-site .wk .wk-item { border-radius: 14px; box-shadow: 0 3px 14px rgba(20,33,61,.06); }
body.wk-site .wk .wk-result { border-radius: 18px; box-shadow: 0 14px 40px rgba(20,33,61,.12); border-width: 3px; background: linear-gradient(180deg, #fff, var(--wk-accent-bg, #fff) 220%); }
body.wk-site .wk .wk-tab { border-radius: 999px; }
body.wk-site .wk .wk-notice { border-radius: 12px; }

/* ---------- トップページ ---------- */
body.home .wp-block-post-title { display: none; }
body.home main.wp-block-group { margin-top: 0 !important; padding-top: 0 !important; }
body.home .wp-block-post-content > * { max-width: none !important; }
body.home .wp-block-post-content { margin-top: 0 !important; }
.wk-home { color: var(--wk-ink); font-size: 1.02rem; line-height: 1.85; }
.wk-home * { box-sizing: border-box; }
.wk-home a { text-decoration: none; }
.wk-wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
/* トップの各セクションは画面幅いっぱいに（テーマの左右余白の外まで）広げる */
.wk-home .wk-sec, .wk-home .wk-caution { position: relative; left: 50%; width: 100vw; margin-left: -50vw; }
.wk-home .wk-stats { position: relative; left: 50%; width: min(1120px, 100vw - 32px); margin-left: calc(min(1120px, 100vw - 32px) / -2); }
.wk-full { position: relative; left: 50%; width: 100vw; margin-left: -50vw; }

/* ヒーロー */
.wk-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 9vw, 110px) 0 clamp(90px, 12vw, 150px); background: radial-gradient(900px 500px at 85% 10%, rgba(255,183,3,.28), transparent 60%), radial-gradient(700px 500px at 5% 95%, rgba(11,143,130,.55), transparent 60%), linear-gradient(135deg, #0f1a33 0%, #232a85 48%, #5b4bd6 100%); }
.wk-hero .wk-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: wk-drift 13s ease-in-out infinite; pointer-events: none; }
.wk-hero .wk-blob.b1 { width: 260px; height: 260px; left: -70px; top: 12%; background: radial-gradient(circle at 30% 30%, #ff9a86, var(--wk-coral)); }
.wk-hero .wk-blob.b2 { width: 120px; height: 120px; left: 46%; bottom: 14%; background: radial-gradient(circle at 30% 30%, #ffe08a, var(--wk-amber)); animation-duration: 9s; animation-direction: reverse; }
.wk-hero .wk-blob.b3 { width: 70px; height: 70px; right: 8%; top: 8%; background: radial-gradient(circle at 30% 30%, #7ee8dc, var(--wk-teal)); animation-duration: 7s; }
.wk-hero-grid { position: relative; display: grid; gap: 40px; align-items: center; grid-template-columns: 1.05fr .95fr; }
.wk-eyebrow { display: inline-flex; align-items: center; gap: .6em; padding: .35em 1em; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); font-weight: 700; font-size: .9rem; letter-spacing: .08em; }
.wk-eyebrow::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--wk-amber); box-shadow: 0 0 0 4px rgba(255,183,3,.3); }
.wk-hero h1 { margin: .5em 0 .4em; font-size: clamp(2rem, 5.6vw, 3.7rem); line-height: 1.25; font-weight: 900; letter-spacing: .01em; color: #fff; }
.wk-hero h1 { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.wk-hero h1 .nw { white-space: nowrap; }
.wk-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255,183,3,.75) 62%); padding: 0 .1em; }
.wk-hero .wk-lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: #e8ebff; max-width: 34em; }
.wk-hero .wk-note { margin-top: 1.4em; padding: .8em 1.1em; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); font-size: .95rem; color: #f1f3ff; max-width: 34em; }
.wk-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.wk-pill { display: inline-flex; align-items: center; gap: .5em; min-height: 52px; padding: .7em 1.5em; border-radius: 999px; font-weight: 800; color: #fff !important; box-shadow: 0 10px 24px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease; }
.wk-pill:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 30px rgba(0,0,0,.34); }
.wk-pill.t1 { background: linear-gradient(135deg, #0b8f82, #19b5a5); }
.wk-pill.t2 { background: linear-gradient(135deg, #d6432d, #f08a5d); }
.wk-pill.t3 { background: linear-gradient(135deg, #4332b3, #7c6cf0); border: 1px solid rgba(255,255,255,.35); }
.wk-hero-art { position: relative; display: grid; place-items: center; }
.wk-hero-art img { display: block; width: min(560px, 100%); height: auto; border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.55); }
.wk-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 90px); display: block; }

@keyframes wk-drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-18px) scale(1.06); } }

/* 数字の帯 */
.wk-stats { position: relative; margin-top: -64px; z-index: 2; }
.wk-stats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.wk-stats li { background: #fff; border-radius: 20px; padding: 1.1em 1em; text-align: center; box-shadow: 0 16px 40px rgba(20,33,61,.16); border-top: 6px solid var(--wk-teal); }
.wk-stats li:nth-child(2) { border-top-color: var(--wk-coral); }
.wk-stats li:nth-child(3) { border-top-color: var(--wk-violet); }
.wk-stats li:nth-child(4) { border-top-color: var(--wk-amber); }
.wk-stats i { font-style: normal; }
.wk-stats u { text-decoration: none; font-size: .5em; margin-left: .1em; }
.wk-stats b { display: block; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.1; font-weight: 900; background: linear-gradient(135deg, var(--wk-violet), var(--wk-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wk-stats li > span { display: block; margin-top: .3em; font-size: .88rem; font-weight: 700; color: var(--wk-ink-soft); line-height: 1.5; }

/* セクション共通 */
.wk-sec { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.wk-sec-tint { background: linear-gradient(180deg, #f1eeff, #fdf7f4); }
.wk-sec h2 { margin: 0 0 .3em; text-align: center; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.35; font-weight: 900; border: 0; padding: 0; color: var(--wk-ink); }
.wk-sec h2 small { display: block; margin-bottom: .5em; font-size: .78rem; font-weight: 800; letter-spacing: .28em; color: var(--wk-coral-d); }
.wk-sec .wk-sub { text-align: center; max-width: 40em; margin: 0 auto 2.4em; color: var(--wk-ink-soft); }

/* ツールのカード */
.wk-tools { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.wk-tool { position: relative; display: flex; flex-direction: column; padding: 2em 1.6em 1.6em; border-radius: 26px; background: #fff; color: var(--wk-ink) !important; overflow: hidden; box-shadow: 0 10px 34px rgba(20,33,61,.1); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.wk-tool::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; background: var(--g); }
.wk-tool::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: var(--g); opacity: .13; transition: transform .5s ease; }
.wk-tool:hover { transform: translateY(-10px); box-shadow: 0 26px 50px rgba(20,33,61,.2); }
.wk-tool:hover::after { transform: scale(1.5); }
.wk-tool.t1 { --g: linear-gradient(135deg, #0b8f82, #19b5a5); --c: #076b61; --l: #e0f5f2; }
.wk-tool.t2 { --g: linear-gradient(135deg, #d6432d, #f08a5d); --c: #b83a25; --l: #fdebe7; }
.wk-tool.t3 { --g: linear-gradient(135deg, #4332b3, #7c6cf0); --c: #4332b3; --l: #ece9ff; }
.wk-ico { width: 68px; height: 68px; display: grid; place-items: center; font-size: 2rem; border-radius: 20px; background: var(--g); box-shadow: 0 10px 20px rgba(20,33,61,.2); margin-bottom: 1em; position: relative; z-index: 1; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.wk-tool:hover .wk-ico { transform: rotate(-8deg) scale(1.1); }
.wk-tag { align-self: flex-start; padding: .15em .8em; border-radius: 999px; background: var(--l); color: var(--c); font-size: .78rem; font-weight: 800; position: relative; z-index: 1; }
.wk-tool h3 { margin: .5em 0 .4em; font-size: 1.35rem; line-height: 1.4; font-weight: 900; color: var(--c); position: relative; z-index: 1; }
.wk-tool p { margin: 0 0 1.2em; color: var(--wk-ink-soft); font-size: .96rem; position: relative; z-index: 1; }
.wk-tool ul { list-style: none; margin: 0 0 1.4em; padding: 0; font-size: .9rem; position: relative; z-index: 1; }
.wk-tool li { padding-left: 1.6em; margin: .3em 0; position: relative; font-weight: 600; }
.wk-tool li::before { content: "✓"; position: absolute; left: 0; width: 1.25em; height: 1.25em; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: .75em; top: .25em; }
.wk-go { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .6em 1.4em; border-radius: 999px; font-weight: 800; color: #fff; background: var(--g); position: relative; z-index: 1; transition: gap .2s; }
.wk-tool:hover .wk-go { gap: .9em; }

/* 考え方 */
.wk-points { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: p; }
.wk-point { position: relative; padding: 2.6em 1.6em 1.6em; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,61,.08); counter-increment: p; }
.wk-point::before { content: counter(p); position: absolute; top: -22px; left: 1.4em; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 1.5rem; color: #fff; box-shadow: 0 8px 18px rgba(20,33,61,.25); background: linear-gradient(135deg, var(--wk-violet), #8b7bff); }
.wk-point:nth-child(2)::before { background: linear-gradient(135deg, var(--wk-teal-d), #19b5a5); }
.wk-point:nth-child(3)::before { background: linear-gradient(135deg, var(--wk-coral-d), #f08a5d); }
.wk-point h3 { margin: 0 0 .5em; font-size: 1.15rem; font-weight: 900; }
.wk-point p { margin: 0; font-size: .95rem; color: var(--wk-ink-soft); }

/* 流れ */
.wk-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); position: relative; }
.wk-flow li { position: relative; padding: 1.4em 1.1em; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 8px 24px rgba(20,33,61,.08); }
.wk-flow li:not(:last-child)::after { content: "➜"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--wk-coral); font-weight: 900; z-index: 1; }
.wk-flow .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: .6em; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--wk-violet), var(--wk-coral)); }
.wk-flow b { display: block; font-size: 1.02rem; margin-bottom: .3em; }
.wk-flow span { font-size: .88rem; color: var(--wk-ink-soft); line-height: 1.6; display: block; }
.wk-flow-cta { text-align: center; margin-top: 2em; }
.wk-flow-cta a { display: inline-flex; align-items: center; min-height: 52px; padding: .7em 1.8em; border-radius: 999px; font-weight: 800; color: #fff !important; background: linear-gradient(135deg, #d6432d, #f08a5d); box-shadow: 0 12px 26px rgba(214,67,45,.35); transition: transform .2s; }
.wk-flow-cta a:hover { transform: translateY(-3px); color: #fff !important; }

/* 読みもの */
.wk-reads { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.wk-read { display: block; padding: 1.4em 1.4em 1.2em; border-radius: 20px; color: var(--wk-ink) !important; background: #fff; border: 2px solid #e6e1fb; transition: transform .25s, border-color .25s, box-shadow .25s; }
.wk-read:hover { transform: translateY(-6px); border-color: var(--wk-violet); box-shadow: 0 18px 34px rgba(91,75,214,.18); }
.wk-read small { display: inline-block; padding: .1em .7em; border-radius: 999px; font-weight: 800; font-size: .75rem; background: var(--wk-amber-l); color: #8a5a00; }
.wk-read b { display: block; margin: .5em 0 .3em; font-size: 1.08rem; line-height: 1.5; }
.wk-read span { font-size: .9rem; color: var(--wk-ink-soft); display: block; }
.wk-read em { display: block; margin-top: .7em; font-style: normal; font-weight: 800; color: var(--wk-violet-d); }

/* トップのメッセージ */
.wk-msg { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(2em, 5vw, 3.2em) clamp(1.4em, 5vw, 3.4em); border-radius: 28px; background: linear-gradient(135deg, #fff7ee 0%, #fdebe7 55%, #ece9ff 130%); box-shadow: 0 18px 50px rgba(20,33,61,.12); overflow: hidden; }
.wk-msg::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffe08a, var(--wk-amber)); opacity: .35; }
.wk-msg-mark { position: absolute; top: -.1em; left: .25em; font-size: 8rem; line-height: 1; font-weight: 900; color: var(--wk-coral); opacity: .28; font-family: Georgia, serif; }
.wk-msg h2 { position: relative; text-align: left; font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: .8em; }
.wk-msg p { position: relative; margin: .8em 0; font-size: 1.02rem; line-height: 2; color: var(--wk-ink); }
.wk-msg .wk-msg-sign { text-align: right; font-weight: 800; color: var(--wk-coral-d); margin-top: 1.4em; }
.wk-msg .wk-msg-go { text-align: right; margin: .4em 0 0; }
.wk-msg .wk-msg-go a { display: inline-flex; align-items: center; min-height: 48px; padding: .6em 1.6em; border-radius: 999px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #d6432d, #f08a5d); box-shadow: 0 10px 22px rgba(214,67,45,.3); transition: transform .2s; }
.wk-msg .wk-msg-go a:hover { transform: translateY(-3px); color: #fff; }

/* 注意帯 */
.wk-caution { padding: 2.4em 0; background: var(--wk-amber-l); border-block: 3px solid var(--wk-amber); text-align: center; font-size: .92rem; color: #5b4300; }
.wk-caution p { margin: .2em auto; max-width: 52em; }

/* スクロール表示 */
.wk-js .wk-reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.wk-js .wk-reveal.wk-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .wk-hero-grid { grid-template-columns: 1fr; }
  .wk-hero-art { order: -1; }
  .wk-hero-art img { width: min(420px, 100%); }
  .wk-stats ul { grid-template-columns: repeat(2, 1fr); }
  .wk-tools, .wk-points, .wk-reads { grid-template-columns: 1fr; }
  .wk-flow { grid-template-columns: repeat(2, 1fr); }
  .wk-flow li:nth-child(2)::after { display: none; }
  body.admin-bar.wk-site header.wp-block-template-part { top: 46px; }
}
@media (max-width: 520px) {
  .wk-pill { width: 100%; justify-content: center; }
  .wk-flow { grid-template-columns: 1fr; }
  .wk-flow li::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-hero .wk-blob,
  body.wk-site:not(.home) .wp-block-post-title::before, body.wk-site:not(.home) .wp-block-post-title::after { animation: none !important; }
  .wk-js .wk-reveal { opacity: 1; transform: none; transition: none; }
  .wk-tool, .wk-read, .wk-pill { transition: none; }
}

/* イラスト（各ページ冒頭・ツールカード） */
.wk-figure { margin: 0 0 1.8em; }
.wk-figure img { display: block; width: 100%; max-width: 720px; height: auto; margin-inline: auto; border-radius: 24px; box-shadow: 0 12px 32px rgba(20,33,61,.14); background: #faf9ff; }
.wk-tool .wk-thumb { display: block; margin: -2em -1.6em 1.2em; position: relative; z-index: 1; aspect-ratio: 3 / 2; overflow: hidden; background: #faf9ff; }
.wk-tool .wk-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.wk-tool:hover .wk-thumb img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .wk-tool .wk-thumb img { transition: none; } .wk-tool:hover .wk-thumb img { transform: none; } }
