/*
Theme Name: Hadou no Nami 2026
Template: hadou-nami
Description: 2026年リニューアル版。白・淡いピンク・ゴールドで統一し、「波動調整の無料体験」への導線をそろえた子テーマ。これまでの子テーマ hadou-nami-studio の関数と設定を引き継ぐ。
Version: 2.0.0
Text Domain: hadou-nami-v2
*/

/* =========================================================
   1. 色・文字・余白（ここを変えると全ページに反映）
   レイアウト：白地に淡いピンクの面とゴールドの細線。濃いピンクは「無料体験」のボタンだけに使う。
   ========================================================= */
:root {
  --bg: #fffbf8;
  --paper: #ffffff;
  --blush: #fdf0f4;
  --blush-2: #f9dde7;
  --gold: #c69a45;
  --gold-soft: #ecd9a8;
  --rose: #d6487f;
  --rose-hi: #f06a9f;
  --rose-lo: #b52d66;
  --ink: #4a3340;
  --sub: #85697a;
  --line: #f1e1e6;
  --line-green: #06a34a;

  --f-display: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-latin: "Cormorant Garamond", "Times New Roman", serif;

  --w: 1120px;
  --r-card: 18px;
  --shadow: 0 10px 30px rgba(181, 45, 102, .08);
  --cta-grad: linear-gradient(135deg, #fde4e8 0%, #f9cfd8 50%, #f3bbc8 100%); /* 2026-11-04 桜ピンクに変更。文字は濃いローズ */
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.95; letter-spacing: .03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.55; letter-spacing: .06em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.eyebrow { font-family: var(--f-latin); font-style: italic; color: var(--rose); font-size: 19px; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 13px; }
.sec-head { text-align: center; display: grid; gap: 8px; justify-items: center; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 28px); display: inline-flex; align-items: center; gap: 12px; }
.sec-head p { color: var(--sub); font-size: 14px; }
.lotus { width: 30px; height: 20px; flex: none; }

/* =========================================================
   2. ボタン
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border-radius: 999px; font-weight: 700; letter-spacing: .08em; transition: transform .2s, box-shadow .2s, filter .2s; line-height: 1.5; }
.chev { width: 16px; height: 16px; flex: none; }
.link-more .chev { width: 13px; height: 13px; }
.btn-cta { position: relative; overflow: hidden; color: #7a2e4a; background: var(--cta-grad); padding: 18px 34px; font-size: 17px; min-height: 60px; box-shadow: 0 6px 16px rgba(214, 120, 150, .2), 0 0 0 1px #efb6c6, 0 0 0 4px rgba(255, 255, 255, .7); }
.btn-cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: hn2-glint 3.2s ease-in-out infinite; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(214, 120, 150, .3), 0 0 0 1px #e9a6b9, 0 0 0 4px rgba(255, 255, 255, .8); filter: brightness(1.02); color: #7a2e4a; }
.btn-cta .gem { width: 26px; height: 23px; flex: none; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.btn-cta.lg { padding: 20px 44px; font-size: 18px; min-height: 66px; }
@keyframes hn2-glint { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-sub { color: var(--ink); background: var(--paper); border: 1px solid var(--gold); padding: 14px 28px; font-size: 15px; min-height: 52px; }
.btn-sub:hover { background: #fffaf0; }
.btn-line { color: var(--line-green); background: var(--paper); border: 1.5px solid var(--line-green); padding: 13px 26px; font-size: 15px; min-height: 52px; }
.btn-line:hover { background: #f2fbf5; }
.btn-line .line-ico { width: 24px; height: 24px; flex: none; }
.cta-note { font-size: 13px; color: var(--rose); text-align: center; letter-spacing: .06em; }
.cta-note::before { content: "＼ "; } .cta-note::after { content: " ／"; }
.link-more { color: var(--rose); font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-more:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--gold-soft); font-size: 14px; font-weight: 500; }
.chip svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* =========================================================
   3. ヘッダー（全ページ共通）
   ========================================================= */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, .96); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gold-soft); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 96px; height: auto; }
.brand-name { display: grid; line-height: 1.3; }
.brand-name small { font-size: 11px; color: var(--sub); letter-spacing: .14em; font-family: var(--f-display); }
.brand-name b { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: .1em; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gnav a { text-decoration: none; font-size: 14px; letter-spacing: .08em; position: relative; padding: 6px 0; white-space: nowrap; }
.gnav > a:not(.btn):hover::after, .gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }
.btn-head { padding: 12px 22px; font-size: 14px; min-height: 46px; box-shadow: 0 4px 12px rgba(214, 120, 150, .18), 0 0 0 1px #efb6c6; }
.btn-head .gem { width: 20px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.sp-menu { display: none; }
.sp-menu[data-open] { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--gold-soft); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); box-shadow: var(--shadow); }
.sp-menu a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.sp-menu .btn-cta { margin-top: 16px; width: 100%; }

.crumb { font-size: 12px; color: var(--sub); display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px; }
.crumb a { text-decoration: none; }
.crumb span[aria-hidden] { color: var(--gold); }

/* =========================================================
   4. 記事カード・無料体験の案内カード（共通）
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--paper); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.card-cat { font-size: 12px; color: var(--rose); font-weight: 700; letter-spacing: .08em; }
.card-title { font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 1.7; }
.card-date { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }

.trial-box { position: relative; border-radius: 24px; padding: 40px 36px; background: radial-gradient(120% 90% at 100% 0%, #fde6ef 0%, rgba(253, 230, 239, 0) 60%), radial-gradient(90% 80% at 0% 100%, #fff3dc 0%, rgba(255, 243, 220, 0) 60%), var(--paper); border: 1px solid var(--gold-soft); box-shadow: var(--shadow); text-align: center; display: grid; gap: 18px; justify-items: center; overflow: hidden; }
.trial-box h2, .trial-box h3 { font-size: clamp(21px, 2.4vw, 26px); }
.trial-box p { font-size: 15px; max-width: 34em; }
.trial-box .chips { justify-content: center; }

/* =========================================================
   5. フッター直前のCTA・フッター・スマホ固定CTA
   ========================================================= */
.pre-footer { position: relative; overflow: hidden; padding-block: 72px; background: linear-gradient(180deg, var(--bg) 0%, var(--blush) 100%); border-top: 1px solid var(--gold-soft); text-align: center; }
.pre-footer .wrap { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: center; }
.pre-footer h2 { font-size: clamp(22px, 3vw, 32px); }
.pre-footer p { font-size: 15px; }
.pre-footer .bloom { position: absolute; bottom: -30px; width: 300px; height: 220px; opacity: .9; }
.pre-footer .bloom.l { left: -40px; } .pre-footer .bloom.r { right: -40px; transform: scaleX(-1); }

.site-footer { background: var(--paper); border-top: 1px solid var(--gold-soft); padding-block: 48px 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; align-items: start; }
.foot-brand { display: grid; gap: 12px; }
.foot-brand p { color: var(--sub); font-size: 13px; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.foot-links a { text-decoration: none; display: inline-flex; gap: 8px; }
.foot-links a::before { content: "›"; color: var(--gold); }
.foot-links a:hover { color: var(--rose); }
.disclaimer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--sub); font-size: 12px; text-align: center; line-height: 1.9; }
.copy { text-align: center; color: var(--sub); font-size: 12px; margin-top: 10px; font-family: var(--f-latin); letter-spacing: .1em; }
.sp-fixed { display: none; }

/* =========================================================
   6. トップページ
   ========================================================= */
.hero { position: relative; overflow: hidden; background: #fff6f0; }
.hero-bg { position: absolute; inset: 0; background-position: 20% 30%; background-size: cover; background-repeat: no-repeat; transform: scaleX(-1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(255, 251, 248, .97) 0%, rgba(255, 251, 248, .88) 36%, rgba(255, 251, 248, .2) 60%, rgba(255, 251, 248, 0) 100%); }
.hero .wrap { position: relative; padding-block: 80px 88px; }
.hero-copy { max-width: 560px; display: grid; gap: 22px; justify-items: start; }
.hero .eyebrow { font-size: 18px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.5; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-lead { font-size: 16px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
section.block { padding-block: 84px; }
.block.tint { background: linear-gradient(180deg, var(--bg), var(--blush)); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.three-card { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.three-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.three-card > div { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.three-card h3 { font-size: 20px; }
.three-card p { font-size: 14.5px; color: var(--sub); }
.three-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.three-card .tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--blush); }
.mid-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; text-align: left; justify-items: start; padding: 48px; }
.mid-cta .photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; width: 100%; }
.mid-cta .photo img { width: 100%; height: 100%; object-fit: cover; }
.mid-cta .txt { display: grid; gap: 16px; justify-items: start; }
.mid-cta .txt .chips { justify-content: flex-start; }
.list-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.list-head .sec-head { margin: 0; text-align: left; justify-items: start; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; display: grid; gap: 4px; transition: border-color .2s; }
.door:hover { border-color: var(--gold); }
.door small { font-family: var(--f-latin); font-style: italic; color: var(--gold); font-size: 15px; letter-spacing: .08em; }
.door b { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.door span { font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.about-box { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: center; background: var(--paper); border-radius: 24px; border: 1px solid var(--line); padding: 44px; }
.about-box img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--gold-soft), var(--shadow); }
.about-box .txt { display: grid; gap: 14px; justify-items: start; }
.about-box h2 { font-size: 24px; }
.about-box .name { font-size: 14px; color: var(--rose); font-weight: 700; letter-spacing: .1em; }
.line-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--paper); border: 1px solid #cfe9d8; border-radius: 20px; padding: 28px 32px; }
.line-band h2 { font-size: 20px; }
.line-band p { font-size: 14px; color: var(--sub); }
.gifts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gifts span { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: #f2fbf5; color: #2f6b46; }

/* =========================================================
   7. 記事一覧・カテゴリー一覧
   ========================================================= */
.list-hero { padding-block: 8px 40px; background: linear-gradient(180deg, var(--bg), var(--blush)); border-bottom: 1px solid var(--gold-soft); }
.list-hero h1 { font-size: clamp(26px, 3.4vw, 36px); }
.list-hero p { color: var(--sub); font-size: 14.5px; margin-top: 10px; max-width: 40em; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cat-nav a { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold-soft); background: var(--paper); text-decoration: none; }
.cat-nav a[aria-current="page"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.list-body { padding-block: 48px 80px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pager .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--gold-soft); background: var(--paper); text-decoration: none; font-size: 14px; }
.pager .page-numbers.current { background: var(--rose); border-color: var(--rose); color: #fff; }
.no-posts { text-align: center; color: var(--sub); padding-block: 40px; }

/* =========================================================
   8. 記事詳細
   ========================================================= */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 72px; }
.entry { min-width: 0; }
.entry-head { display: grid; gap: 14px; margin-bottom: 24px; }
.cat-pill { justify-self: start; font-size: 12px; font-weight: 700; color: var(--rose); background: var(--blush); border-radius: 999px; padding: 4px 14px; text-decoration: none; letter-spacing: .08em; }
.entry-head h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.6; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 15px; height: 15px; color: var(--gold); }
.eyecatch { border-radius: 20px; overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.eyecatch img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.end-cta { margin-top: 48px; }
.end-cta .btns { display: grid; gap: 14px; justify-items: center; width: 100%; }
.end-cta .or { font-size: 12px; color: var(--sub); }
.author { margin-top: 32px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.author b { font-family: var(--f-display); font-size: 16px; }
.author p { font-size: 13.5px; color: var(--sub); }
.related { margin-top: 48px; }
.related .cards { gap: 16px; }
.related .card-title { font-size: 14px; }
.side { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 28px; }
.admin-bar .side { top: 128px; }
.side .trial-box { padding: 28px 22px; gap: 14px; }
.side .trial-box h2 { font-size: 20px; }
.side .trial-box p { font-size: 13.5px; }
.side .chip { font-size: 12px; padding: 6px 10px; }
.side .btn-cta { width: 100%; padding: 14px 14px; font-size: 14.5px; letter-spacing: .02em; gap: 8px; min-height: 56px; }
.side .btn-cta .gem { width: 22px; height: 19px; }
.side-title { font-family: var(--f-display); font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.side-title small { font-family: var(--f-body); font-size: 11px; color: var(--sub); font-weight: 400; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: r; }
.rank li { counter-increment: r; }
.rank a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; position: relative; }
.rank a::before { content: counter(r); position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.rank img { width: 88px; height: 60px; object-fit: cover; border-radius: 8px; }
.rank span { font-size: 13px; line-height: 1.6; }
.side-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.side-cats a { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; text-decoration: none; text-align: center; line-height: 1.5; }
.side-cats a:hover { border-color: var(--gold); }

/* =========================================================
   9. 本文の装飾（記事・固定ページ共通。本文は変えず見た目だけ整える）
   ========================================================= */
.entry-content { display: grid; gap: 22px; font-size: 16.5px; }
.entry-content > * { margin: 0; min-width: 0; }
.entry-content a { color: var(--rose-lo); text-decoration-color: var(--blush-2); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--rose); }
.entry-content h2 { font-size: clamp(20px, 2.4vw, 24px); display: flex; align-items: center; gap: 12px; padding: 4px 0 14px; margin-top: 30px; border-bottom: 1px solid var(--gold-soft); position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 88px; height: 2px; background: linear-gradient(90deg, var(--rose-hi), var(--gold)); }
.entry-content h3 { font-size: 18px; padding-left: 14px; border-left: 3px solid var(--rose-hi); margin-top: 10px; }
.entry-content h4 { font-size: 16px; color: var(--rose-lo); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; display: grid; gap: 6px; }
.entry-content ol.wp-block-list > li, .entry-content ul.wp-block-list > li { padding-left: 2px; }
.entry-content strong { color: var(--rose-lo); }
.entry-content figure { margin: 0; }
.entry-content .wp-block-image img { border-radius: 14px; }
.entry-content .wp-block-image .aligncenter, .entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 12.5px; color: var(--sub); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 0; padding: 16px 22px; background: #fff7fb; border-left: 4px solid var(--rose-hi); border-radius: 0 12px 12px 0; }
.entry-content .wp-block-table { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; background: var(--paper); }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { background: #fff6e4; font-family: var(--f-display); font-weight: 600; }
.entry-content tbody td:first-child { background: var(--blush); font-weight: 500; }
/* 囲み枠 */
.entry-content .box-point { background: #fffaf0; border: 1px solid var(--gold-soft); border-left: 4px solid var(--rose-hi); border-radius: 12px; padding: 18px 22px; font-size: 15px; }
.entry-content .box-memo { background: var(--paper); border: 1px dashed var(--gold); border-radius: 16px; padding: 20px 24px; }
.entry-content .box-message { background: var(--blush); border-radius: 16px; padding: 22px 26px; }
.entry-content .box-note { background: #faf7f2; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; font-size: 14px; color: var(--sub); }
/* 本文中のLINEボタン */
.entry-content .hn-btn-wrap { text-align: center; }
.entry-content .hn-btn-wrap .btn { text-decoration: none; color: var(--line-green); }
/* 目次（元テーマが自動で作る） */
.entry-content .toc { background: var(--paper); border: 1px solid var(--gold-soft); border-radius: 16px; padding: 18px 24px 20px; }
.entry-content .toc details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.entry-content .toc details > summary::-webkit-details-marker { display: none; }
.entry-content .toc details > summary::after { content: "開く ﹀"; font-family: var(--f-body); font-size: 12px; color: var(--rose); font-weight: 500; }
.entry-content .toc details[open] > summary::after { content: "閉じる ︿"; }
.entry-content .toc ol, .entry-content .toc ul { list-style: none; counter-reset: t; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.entry-content .toc li { counter-increment: t; }
.entry-content .toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); font-size: 15px; line-height: 1.6; }
.entry-content .toc a::before { content: counter(t); width: 24px; height: 24px; border-radius: 50%; background: var(--blush-2); color: var(--rose-lo); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.entry-content .toc a::after { content: "›"; color: var(--gold); }
.entry-content .toc a:hover { color: var(--rose); }
/* ナミちゃん・ふさの会話（[nami] [fusa]） */
.hns-talk { display: flex; gap: 14px; align-items: flex-start; }
.hns-talk--fusa { flex-direction: row-reverse; }
.hns-talk__icon { margin: 0; flex: 0 0 68px; text-align: center; }
.hns-talk__icon img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 4px; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--gold-soft); background: #fff; }
.hns-talk--fusa .hns-talk__icon img { object-position: 50% 30%; }
.hns-talk__icon figcaption { font-size: 11.5px; color: var(--sub); line-height: 1.4; white-space: nowrap; }
.hns-talk__bubble { position: relative; flex: 1; min-width: 0; padding: 14px 18px; border-radius: 16px; font-size: 15.5px; line-height: 1.9; }
.hns-talk__bubble p { margin: 0 0 .6em; }
.hns-talk__bubble p:last-child { margin-bottom: 0; }
.hns-talk--nami .hns-talk__bubble { background: #fffaf0; border: 1px solid #ecd39a; }
.hns-talk--fusa .hns-talk__bubble { background: #fff3f7; border: 1px solid #f3c6d7; }

/* =========================================================
   10. 固定ページ
   ========================================================= */
.page-head { background: linear-gradient(180deg, var(--bg), var(--blush)); border-bottom: 1px solid var(--gold-soft); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 44px; }
.page-head.no-art .wrap { grid-template-columns: minmax(0, 1fr); }
.page-head .title { display: grid; gap: 12px; justify-items: start; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.page-head p { color: var(--sub); }
.page-head figure { margin: 0; border-radius: 120px 120px 16px 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-head figure img { width: 100%; height: 100%; object-fit: cover; }
.page-body { padding-block: 56px 80px; }
.page-body .entry-content { max-width: 760px; margin: 0 auto; }

/* =========================================================
   11. 無料体験ページ
   ========================================================= */
.t-hero { position: relative; overflow: hidden; background: #fff6f0; }
.t-hero-bg { position: absolute; inset: 0; background-position: 20% 30%; background-size: cover; background-repeat: no-repeat; transform: scaleX(-1); }
.t-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(255, 251, 248, .98) 0%, rgba(255, 251, 248, .92) 42%, rgba(255, 251, 248, .2) 66%, rgba(255, 251, 248, 0) 100%); }
.t-hero .wrap { position: relative; padding-block: 24px 72px; }
.t-hero-copy { max-width: 580px; display: grid; gap: 20px; justify-items: start; }
.t-hero h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.55; }
.t-hero p { font-size: 15.5px; }
.can { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.can-card { background: var(--paper); border: 1px solid var(--gold-soft); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.can-card .art { aspect-ratio: 3 / 2; background: linear-gradient(160deg, #fff7ef, #fde9f1); position: relative; }
.can-card .art svg { width: 100%; height: 100%; display: block; }
.can-card .num { position: absolute; left: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--rose-hi); color: #fff; font-family: var(--f-latin); font-style: italic; font-size: 18px; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.can-card .txt { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; text-align: center; }
.can-card h3 { font-size: 19px; }
.can-card p { font-size: 14px; color: var(--sub); text-align: left; }
.for-you { margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.for-you h3 { font-size: 17px; white-space: nowrap; }
.for-you ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 14.5px; }
.for-you li { display: flex; gap: 8px; }
.for-you li::before { content: "✓"; color: var(--rose); font-weight: 700; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--paper); border: 1px solid var(--gold-soft); border-radius: 18px; padding: 30px 20px 22px; text-align: center; display: grid; gap: 10px; justify-items: center; align-content: start; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 14px; top: -16px; width: 34px; height: 34px; border-radius: 50%; background: var(--rose-hi); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.step:not(:last-child)::after { content: "›"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 28px; }
.step .ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--blush); }
.step .ico svg { width: 32px; height: 32px; }
.step h3 { font-size: 16.5px; }
.step p { font-size: 13.5px; color: var(--sub); }
.step p em { font-style: normal; color: var(--rose); font-weight: 700; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: #fff; background: var(--rose-hi); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; margin-top: 4px; }
.faq .a { margin-top: 10px; display: flex; gap: 12px; font-size: 14.5px; }
.faq .a::before { content: "A"; color: var(--rose); background: var(--blush); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; margin-top: 3px; }
.notice { margin-top: 28px; text-align: center; font-size: 13px; color: var(--sub); }
.talk-link { margin-top: 10px; text-align: center; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .btn-cta::after { animation: none; display: none; } .card, .btn { transition: none; } }

/* =========================================================
   12. 中くらいの幅
   ========================================================= */
@media (max-width: 1100px) and (min-width: 861px) {
  .gnav > a:not(.btn) { display: none; }
  .menu-btn { display: inline-grid; place-items: center; margin-left: 4px; }
  .sp-menu .btn-cta { display: none; }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { position: static; }
  .related .cards { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   13. スマホ
   ========================================================= */
@media (max-width: 860px) {
  body { font-size: 15.5px; line-height: 1.9; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .admin-bar .site-header { top: 46px; }
  .site-header .wrap { min-height: 64px; gap: 10px; }
  .brand img { width: 64px; }
  .brand-name b { font-size: 16px; }
  .brand-name small { font-size: 10px; }
  .gnav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card { grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: none; }
  .card img { aspect-ratio: auto; height: 100%; }
  .card-body { padding: 12px 14px; gap: 4px; }
  .card-title { font-size: 14.5px; line-height: 1.6; }
  .trial-box { padding: 30px 20px; }
  .btn-line, .btn-sub { padding: 12px 16px; font-size: 14.5px; letter-spacing: .03em; }
  .btn-cta, .btn-cta.lg { width: 100%; max-width: 420px; padding: 16px 18px; font-size: 16px; letter-spacing: .04em; gap: 8px; min-height: 58px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pre-footer .bloom { width: 170px; height: 125px; opacity: .55; }
  .sp-fixed { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--gold-soft); box-shadow: 0 -6px 18px rgba(181, 45, 102, .08); }
  .sp-fixed .btn-cta { width: 100%; max-width: none; min-height: 54px; padding: 12px 18px; font-size: 16px; }

  .hero-bg { background-position: 32% 0%; background-size: auto 62%; background-color: #fff6f0; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(255, 251, 248, 0) 0%, rgba(255, 251, 248, .3) 30%, rgba(255, 251, 248, .97) 52%, rgba(255, 251, 248, 1) 100%); }
  .hero .wrap { padding-block: 230px 48px; }
  .hero-btns { width: 100%; }
  .hero-btns .btn { width: 100%; }
  section.block { padding-block: 56px; }
  .three { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .three-card { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; }
  .three-card img { aspect-ratio: auto; height: 100%; }
  .three-card > div { padding: 14px 16px; gap: 6px; }
  .three-card h3 { font-size: 17px; }
  .three-card p { font-size: 13px; }
  .three-card .tags { display: none; }
  .mid-cta { grid-template-columns: minmax(0, 1fr); padding: 0 0 28px; gap: 20px; text-align: center; justify-items: center; }
  .mid-cta .photo { border-radius: 24px 24px 0 0; aspect-ratio: 16 / 9; }
  .mid-cta .txt { justify-items: center; padding: 0 18px; }
  .mid-cta .txt .chips { justify-content: center; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-box { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 32px 20px; gap: 20px; }
  .about-box img { width: 160px; height: 160px; }
  .about-box .txt { justify-items: center; }
  .line-band { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 20px; }
  .gifts { justify-content: center; }

  .entry-content { font-size: 15.5px; }
  .hns-talk__icon { flex-basis: 56px; }
  .hns-talk__icon img { width: 50px; height: 50px; }
  .hns-talk__icon figcaption { font-size: 10px; letter-spacing: 0; }
  .hns-talk__bubble { font-size: 14.5px; padding: 12px 14px; }
  .author { grid-template-columns: 72px minmax(0, 1fr); padding: 16px; }
  .author img { width: 72px; height: 72px; }

  .page-head .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
  .page-head figure { border-radius: 90px 90px 14px 14px; aspect-ratio: 16 / 10; }
  .page-body { padding-block: 36px 56px; }

  .t-hero-bg { background-position: 30% 0%; background-size: auto 56%; background-color: #fff6f0; }
  .t-hero-bg::after { background: linear-gradient(180deg, rgba(255, 251, 248, 0) 0%, rgba(255, 251, 248, .4) 26%, rgba(255, 251, 248, .98) 46%, rgba(255, 251, 248, 1) 100%); }
  .t-hero .wrap { padding-block: 180px 40px; }
  .t-hero-copy { justify-items: stretch; }
  .t-hero h1 { font-size: 24px; letter-spacing: .04em; }
  .t-hero .cta-note { justify-self: center; }
  .can { grid-template-columns: minmax(0, 1fr); }
  .for-you { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .for-you ul { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step { grid-template-columns: 54px minmax(0, 1fr); text-align: left; justify-items: start; column-gap: 14px; row-gap: 4px; padding: 22px 18px 18px; }
  .step .ico { grid-row: span 2; }
  .step:not(:last-child)::after { content: "⌄"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); font-size: 22px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   14. 引き継ぎ：プレゼントページ・お問い合わせフォームの装飾
   （これまでの子テーマの追加CSSから、テーマを入れたあとにこの下へ写す）
   ※サーバー上の style.css には、ここに約2KBの引き継ぎ分（hn-sc / hn-ms / hn-kk / hns-cf / wpcf7）が入っている。
     手元のこのファイルで上書きアップロードするときは、先にサーバー版を控えること。
   ========================================================= */

/* ふさのプロフィール画像（2026-10-31 イラストに差し替え）：fusa-profile を使っている所はすべて、新しいイラスト（fusa-icon-2026.webp）を背景で見せる */
img[src*="fusa-profile"] { object-position: -9999px 0 !important; background: #fff url("/wp-content/uploads/2026/10/fusa-icon-2026.webp") no-repeat 50% 28% / cover !important; }

/* 引き継ぎここから（2026-10-21、hadou-nami-studio の追加CSSより） */
.hns-cf label { display: block; margin: 0px 0px 24px; font-weight: 600; color: var(--ink); }
.hns-cf .req { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: rgb(255, 240, 246); color: rgb(217, 100, 143); font-size: 12px; font-weight: 600; border: 1px solid rgba(240, 141, 180, 0.5); vertical-align: middle; }
.hns-cf input[type="text"], .hns-cf input[type="email"], .hns-cf select, .hns-cf textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid rgba(212, 162, 60, 0.45); border-radius: 12px; background: rgb(255, 255, 255); font-size: 16px; font-family: inherit; color: var(--ink); box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; }
.hns-cf textarea { min-height: 180px; line-height: 1.8; }
.hns-cf input:focus, .hns-cf select:focus, .hns-cf textarea:focus { outline: none; border-color: rgb(240, 141, 180); box-shadow: rgba(240, 141, 180, 0.18) 0px 0px 0px 4px; }
.hns-cf .wpcf7-quiz-label { display: block; margin-top: 6px; font-weight: 400; font-size: 14px; color: var(--sub); }
.hns-cf .wpcf7-acceptance { display: block; margin: 4px 0px 8px; }
.hns-cf .wpcf7-acceptance label { display: inline; margin: 0px; font-weight: 400; }
.hns-cf .wpcf7-acceptance input { margin-right: 8px; transform: scale(1.2); }
.hns-cf input[type="submit"] { display: block; margin: 30px auto 0px; padding: 14px 56px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 999px; background: linear-gradient(135deg, rgb(255, 233, 168) 0%, rgb(226, 180, 67) 45%, rgb(201, 143, 37) 100%); color: rgb(74, 46, 16); font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; box-shadow: rgba(212, 162, 60, 0.35) 0px 6px 20px; transition: background 0.3s, color 0.3s; }
.hns-cf input[type="submit"]:hover { background: linear-gradient(135deg, rgb(255, 214, 230) 0%, rgb(240, 141, 180) 55%, rgb(217, 100, 143) 100%); color: rgb(255, 255, 255); }
.hns-cf input[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
.wpcf7 .wpcf7-not-valid-tip { color: rgb(217, 100, 143); font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { border-radius: 12px; padding: 12px 16px; margin: 20px 0px 0px; }
/* 引き継ぎここまで */

/* 表の線（2026-10-21）：WordPress標準の濃い線（文字色1px・見出し下3px）を、細い淡い線にそろえる */
.entry-content .wp-block-table table, .entry-content table { border: 0; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td, .entry-content th, .entry-content td { border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.entry-content .wp-block-table tr > *:last-child, .entry-content tr > *:last-child { border-right: 0; }
.entry-content .wp-block-table tbody tr:last-child > *, .entry-content tbody tr:last-child > * { border-bottom: 0; }
.entry-content .wp-block-table thead, .entry-content thead { border-bottom: 1px solid var(--gold-soft); }
.entry-content .wp-block-table tfoot, .entry-content tfoot { border-top: 1px solid var(--gold-soft); }

/* ふきだしのしっぽ（2026-10-21）：話している人の方を指す小さな三角 */
.hns-talk__bubble::before { content: ""; position: absolute; top: 22px; width: 12px; height: 12px; border-style: solid; border-width: 0 0 1px 1px; }
.hns-talk--nami .hns-talk__bubble::before { left: -7px; transform: rotate(45deg); background: #fffaf0; border-color: #ecd39a; }
.hns-talk--fusa .hns-talk__bubble::before { right: -7px; transform: rotate(-135deg); background: #fff3f7; border-color: #f3c6d7; }
@media (max-width: 860px) { .hns-talk__bubble::before { top: 18px; } }

/* わたしについての写真（2026-10-21）：丸い写真の四隅に残る薄緑の角を、丸く切って見せない */
img[src*="fusa-profile-round"] { border-radius: 50% !important; box-shadow: none !important; }

/* はじめての方へのごあいさつ（2026-10-21）：旧テーマにあったカードの形を、写真を大きくして作り直す */
.entry-content .hns-welcome-note { display: flex; align-items: center; gap: 32px; margin: 32px 0 40px; padding: 28px 36px; background: #fff7f4; border: 1px solid #ead8c9; border-radius: 20px; box-shadow: 0 10px 28px rgba(112, 75, 40, .06); }
.entry-content .hns-welcome-note img { display: block; width: 150px; height: 150px; flex: 0 0 150px; margin: 0; border: 5px solid #fff; border-radius: 50% !important; box-shadow: 0 0 0 1px #ead8c9 !important; }
.entry-content .hns-welcome-note > div { flex: 1; min-width: 0; }
.entry-content .hns-welcome-note p { margin: 0; }
.entry-content .hns-welcome-note .hns-welcome-title { font-family: var(--mincho, serif); font-size: 22px; line-height: 1.8; margin: 0 0 12px; color: #704b28; }
.entry-content .hns-welcome-note .hns-welcome-sign { font-size: 13px; line-height: 1.8; color: #68555f; letter-spacing: .05em; }
.entry-content .hns-welcome-note .hns-welcome-sign strong { font-weight: 600; font-size: 18px; margin-left: 6px; background: none; color: #4d3a42; }
@media (max-width: 600px) {
  .entry-content .hns-welcome-note { flex-direction: column; text-align: center; gap: 16px; padding: 26px 18px 22px; margin: 24px 0 32px; }
  .entry-content .hns-welcome-note img { width: 132px; height: 132px; flex-basis: 132px; }
  .entry-content .hns-welcome-note .hns-welcome-title { font-size: 19px; }
}

/* トップの写真（2026-10-21）：反転せず元の向きのまま、ちょうちょまで写真全体を右側に見せる。左と上下のふちはぼかしてなじませる */
.hero-bg { inset: auto 0 auto auto; top: 50%; transform: translateY(-50%); width: min(60vw, 1000px); height: auto; aspect-ratio: 1136 / 605; max-width: none; background-size: cover; background-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-bg::after { display: none; }
@media (max-width: 860px) {
  .hero-bg { inset: 0 0 auto 0; top: 0; transform: none; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
}

/* 無料体験ページの上の写真（2026-10-21）：トップと同じく、反転せず元の向きのまま、ちょうちょまで写真全体を右側に見せる。左と上下のふちはぼかしてなじませる */
.t-hero-bg { inset: auto 0 auto auto; top: 50%; transform: translateY(-50%); width: min(60vw, 1000px); height: auto; aspect-ratio: 1136 / 605; max-width: none; background-size: cover; background-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.t-hero-bg::after { display: none; }
@media (max-width: 860px) {
  .t-hero-bg { inset: 0 0 auto 0; top: 0; transform: none; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
}

/* 記事カードの画像（2026-10-21）：スマホで横並びにすると画像が縦長に切り抜かれるので、画像を上に全体のまま出す */
@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .card img { aspect-ratio: 3 / 2; width: 100%; height: auto; }
  .card-body { padding: 14px 16px 16px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}

/* 申し込みの4ステップ（2026-10-21）：参考画像に合わせて、数字の丸・アイコン・見出し下の線・左寄せの説明にする */
.sec-head .num4 { font-family: var(--f-latin), serif; font-style: italic; font-weight: 500; font-size: 1.4em; line-height: 1; color: #b4466f; margin: 0 .1em 0 .06em; letter-spacing: 0; }
.sec-head h2 .keep { word-break: keep-all; }
.flow-v2 { gap: 34px; }
.flow-v2 .step { background: linear-gradient(180deg, #fffefb 0%, #fffaf3 100%); border: 1px solid #f0dfb9; border-radius: 14px; box-shadow: 0 6px 18px rgba(176, 128, 64, .07); padding: 24px 22px 20px; gap: 10px; justify-items: center; text-align: center; }
.flow-v2 .step::before { left: -10px; top: -12px; width: 40px; height: 40px; background: radial-gradient(circle at 35% 30%, #fbb6cb 0%, #ef7fa5 75%); font-family: var(--f-display); font-style: normal; font-weight: 600; font-size: 19px; box-shadow: 0 3px 8px rgba(214, 72, 127, .2); }
.flow-v2 .step:not(:last-child)::after { content: ""; right: -22px; width: 10px; height: 10px; border-top: 2px solid #e9b85a; border-right: 2px solid #e9b85a; transform: translateY(-50%) rotate(45deg); font-size: 0; }
.flow-v2 .step .ico { width: 54px; height: 54px; background: none; border-radius: 0; }
.flow-v2 .step .ico svg, .flow-v2 .step .ico img { width: 52px; height: 52px; display: block; }
.flow-v2 .step h3 { width: 100%; font-size: 19px; font-weight: 700; letter-spacing: .05em; padding-bottom: 10px; border-bottom: 1px solid #f1e2c4; }
.flow-v2 .step p { justify-self: stretch; text-align: left; font-size: 14px; line-height: 1.9; color: #5d4a52; }
.flow-v2 .step p em { color: #e8558d; }
@media (max-width: 860px) {
  .flow-v2 { gap: 28px; }
  .flow-v2 .step { grid-template-columns: 54px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; row-gap: 8px; padding: 22px 18px 18px 20px; }
  .flow-v2 .step::before { left: -8px; top: -12px; width: 34px; height: 34px; font-size: 18px; }
  .flow-v2 .step .ico { grid-row: span 2; align-self: center; }
  .flow-v2 .step h3 { font-size: 17px; padding-bottom: 8px; }
  .flow-v2 .step p { font-size: 13.5px; }
  .flow-v2 .step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -20px; transform: translateX(-50%) rotate(135deg); }
}

/* 無料体験でできること（2026-10-21）：参考画像に合わせて、カードの内側に横長の写真・数字の丸・明朝の見出し・下の角に花とキラキラ */
.can-v2 { gap: 26px; }
.can-v2 .can-card { position: relative; overflow: hidden; padding: 16px 16px 30px; border: 1px solid #f0dfb9; border-radius: 16px; background: linear-gradient(180deg, #fffefb 0%, #fff8f4 100%); box-shadow: 0 6px 18px rgba(176, 128, 64, .07); grid-template-rows: auto 1fr; }
.can-v2 .can-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: url("/wp-content/uploads/2026/10/hn2-can-deco.webp") no-repeat center bottom / 100% auto; opacity: .55; pointer-events: none; }
.can-v2 .art { position: static; aspect-ratio: 3 / 1; border-radius: 10px; overflow: hidden; background: #fde9f1; }
.can-v2 .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.can-v2 .num { left: 8px; top: 8px; width: 48px; height: 48px; background: radial-gradient(circle at 35% 30%, #fbb6cb 0%, #ef7fa5 75%); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(214, 72, 127, .2); font-size: 21px; z-index: 2; }
.can-v2 .txt { position: relative; z-index: 1; padding: 20px 14px 0; gap: 12px; text-align: center; }
.can-v2 h3 { font-size: 22px; font-weight: 700; letter-spacing: .08em; color: #5a2a35; }
.can-v2 p { text-align: center; font-size: 14.5px; line-height: 1.95; color: #5d4a52; }
@media (max-width: 860px) {
  .can-v2 .can-card { padding: 14px 14px 26px; }
  .can-v2 h3 { font-size: 20px; }
  .can-v2 p { font-size: 14px; }
}

/* 無料体験ページの一番上（2026-10-21）：参考デザインに合わせて、左に花飾りと中央寄せの文、右に雲海と花畑のイラスト（ChatGPTで作成）と添え書き */
.t-hero2 { background: linear-gradient(90deg, #fff7f5 0%, #fdeef1 45%, #fbe8ec 100%); }
.t-hero2-art { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: url("/wp-content/uploads/2026/10/hn2-trial-hero.webp") center 62% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.t-hero2-deco { position: absolute; left: 0; top: 0; bottom: 0; width: 320px; background: url("/wp-content/uploads/2026/10/hn2-trial-deco.webp") left center / auto 100% no-repeat; opacity: .9; pointer-events: none; }
.t-hero2 .wrap { position: relative; z-index: 1; min-height: 560px; display: grid; align-content: center; padding-block: 16px 48px; }
.t-hero2 .crumb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-hero2 .t-hero-copy { max-width: 600px; justify-items: center; text-align: center; gap: 18px; }
.t-hero2 h1 { font-size: clamp(28px, 3.1vw, 42px); word-break: keep-all; line-height: 1.45; letter-spacing: .06em; color: #5a2a35; }
.t-hero2 .t-hero-copy > p:not(.cta-note) { font-size: 15.5px; line-height: 1.95; color: #5d4a52; }
.t-hero2 .chips { justify-content: center; }
.t-hero2 .chip { background: rgba(255, 255, 255, .85); }
.t-hero2 .cta-note { justify-self: center; }
.t-hero2 .t-hero2-script { position: absolute; left: 30%; top: 13%; margin: 0; font-family: "Great Vibes", "Snell Roundhand", cursive; font-size: clamp(30px, 3vw, 48px); line-height: 1.15; color: #b9823a; transform: rotate(-8deg); text-shadow: 0 0 14px rgba(255, 255, 255, .85); }
.t-hero2 .t-hero2-script span { padding-left: 2.4em; }
.t-hero2 .t-hero2-poem { position: absolute; right: 5%; top: 18%; margin: 0; font-family: var(--f-display); font-size: clamp(14px, 1.3vw, 18px); line-height: 2; letter-spacing: .12em; color: #5a3a40; text-shadow: 0 0 10px rgba(255, 255, 255, .95); }
.t-hero2 .t-hero2-poem span { padding-left: 2em; }
.t-hero2 .t-hero2-poem .l3 { padding-left: 3em; }
@media (max-width: 1100px) {
  .t-hero2-art { width: 54%; }
  .t-hero2 .t-hero-copy { max-width: 470px; }
  .t-hero2 .t-hero-copy > p:not(.cta-note) br { display: none; }
  .t-hero2 .t-hero2-poem { top: 34%; }
}
@media (max-width: 860px) {
  .t-hero2-art { position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .t-hero2-deco { width: 150px; opacity: .3; }
  .t-hero2 .wrap { min-height: 0; display: block; padding-block: 0 40px; }
  .t-hero2 .t-hero-copy { max-width: none; margin-top: -8px; }
  .t-hero2 h1 { font-size: 26px; letter-spacing: .04em; }
  .t-hero2 .t-hero-copy > p:not(.cta-note) { font-size: 14.5px; text-align: left; }
  .t-hero2 .t-hero2-script { left: 6%; top: 9%; font-size: 26px; }
  .t-hero2 .t-hero2-poem { right: 4%; top: 12%; font-size: 12.5px; line-height: 1.9; }
}

/* 無料体験ページの一番上・左に続く絵（2026-10-21）：右の絵の続き（hn2-trial-hero-left）を左に並べて1枚の景色にし、縦幅はトップと同じ536px（スマホは絵の高さをトップと同じ比率）にそろえる */
.t-hero2 { background: #fdf1ee; }
.t-hero2-deco { display: none; }
.t-hero2-art-left { position: absolute; top: 0; bottom: 0; right: 604px; width: 804px; background: url("/wp-content/uploads/2026/10/hn2-trial-hero-left2.webp") center / cover no-repeat; filter: saturate(.88) hue-rotate(-8deg) brightness(1.03); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
.t-hero2 .t-hero2-art { width: 804px; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%); mask-image: linear-gradient(90deg, transparent 0%, #000 9%); }
.t-hero2::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 36% 66% at 27% 52%, rgba(255, 250, 247, .9) 0%, rgba(255, 250, 247, .72) 48%, rgba(255, 250, 247, 0) 100%); }
.t-hero2 .wrap { z-index: 3; min-height: 536px; padding-block: 10px 18px; }
.t-hero2 .t-hero-copy { gap: 14px; }
@media (max-width: 1100px) {
  .t-hero2 .t-hero2-art { width: 804px; }
  .t-hero2::after { background: radial-gradient(ellipse 48% 70% at 30% 52%, rgba(255, 250, 247, .92) 0%, rgba(255, 250, 247, .75) 50%, rgba(255, 250, 247, 0) 100%); }
}
@media (max-width: 860px) {
  .t-hero2-art-left, .t-hero2::after { display: none; }
  .t-hero2 .t-hero2-art { width: 100%; aspect-ratio: 15 / 8; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .t-hero2 .wrap { min-height: 0; padding-block: 0 40px; }
}

/* フッター（2026-10-23）：参考デザインに合わせて、無料体験の帯の左右に蓮と金のリボン（ChatGPTで作成した hn2-prefooter-bg）、フッター下の両角に花とキラキラ */
.pre-footer { padding-block: 70px 76px; background: linear-gradient(180deg, #fff7f5 0%, #fdeef0 100%); border-top: 1px solid #f3dfc0; }
.pre-footer::before, .pre-footer::after { content: ""; position: absolute; top: 0; bottom: 0; width: 330px; background: url("/wp-content/uploads/2026/10/hn2-prefooter-bg.webp") no-repeat; background-size: auto 115%; pointer-events: none; }
.pre-footer::before { left: 0; background-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 70%, transparent 100%); }
.pre-footer::after { right: 0; background-position: right center; -webkit-mask-image: linear-gradient(270deg, #000 70%, transparent 100%); mask-image: linear-gradient(270deg, #000 70%, transparent 100%); }
.pre-footer h2 { font-size: clamp(24px, 2.8vw, 36px); color: #5a2a35; letter-spacing: .06em; }
.pre-footer h2 em { font-style: normal; color: var(--rose); font-size: 1.1em; }
.pre-footer .wrap > p { color: #5d4a52; line-height: 1.9; text-shadow: 0 0 10px rgba(255, 255, 255, .9); }
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #fffaf6 0%, #fff2f1 100%); border-top: 1px solid #f3dfc0; }
.site-footer::before, .site-footer::after { content: ""; position: absolute; bottom: 0; width: 300px; height: 230px; background: url("/wp-content/uploads/2026/10/hn2-can-deco.webp") no-repeat; background-size: auto 230px; opacity: .55; pointer-events: none; }
.site-footer::before { left: 0; background-position: left bottom; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.site-footer::after { right: 0; background-position: right bottom; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%); mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.site-footer .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .pre-footer { padding-block: 56px 60px; }
  .pre-footer::before, .pre-footer::after { width: 130px; opacity: .55; }
  .site-footer::before, .site-footer::after { width: 190px; height: 150px; background-size: auto 150px; opacity: .45; }
}

/* 体験した方の声（2026-10-23）：似顔絵はChatGPTで作った架空の人物。仮の文のあいだは管理者にだけ表示（page-trial.php の current_user_can） */
.voices-draft { margin: 0 auto 22px; max-width: 760px; padding: 10px 16px; border: 1px dashed #e8a3bd; border-radius: 10px; background: #fff; color: var(--rose); font-size: 13px; text-align: center; }
.voice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.voice { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 28px 22px 26px; border: 1px solid #f0dfb9; border-radius: 16px; background: linear-gradient(180deg, #fffefb 0%, #fff8f4 100%); box-shadow: 0 6px 18px rgba(176, 128, 64, .07); text-align: center; }
.voice::before { content: "\201C"; position: absolute; left: 18px; top: 4px; font-family: var(--f-latin), serif; font-size: 64px; line-height: 1; color: #f2b8cc; }
.voice img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #fdeef3; border: 3px solid #fff; box-shadow: 0 0 0 1px #ecd39a, 0 4px 12px rgba(214, 72, 127, .12); }
.voice-who { margin: 0; font-size: 12.5px; color: var(--sub); letter-spacing: .06em; }
.voice h3 { font-size: 17px; line-height: 1.6; color: #5a2a35; padding-bottom: 10px; border-bottom: 1px solid #f1e2c4; width: 100%; }
.voice p:not(.voice-who) { margin: 0; text-align: left; font-size: 14px; line-height: 1.9; color: #5d4a52; }
.voices-note { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--sub); }
@media (max-width: 860px) {
  .voice-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .voice { padding: 24px 18px 22px; }
}

/* 吹き出しのふさの顔（2026-10-23）：テーマ切り替えで旧テーマの追加CSSが外れ、顔が小さく戻ったので、ナミちゃんと同じくらいの大きさに再設定 */
.hns-talk--fusa .hns-talk__icon img[src*="fusa-profile"] { background-position: 55% 16% !important; background-size: 170% auto !important; }

/* スクロールでヘッダーを小さく（2026-10-23）：旧テーマ（2026-10-18 追加CSS）にあった動きを作り直し。main.js が少しスクロールしたら is-scrolled を付ける */
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.site-header .wrap { transition: min-height .3s ease; }
.site-header .brand img { transition: width .3s ease; }
.site-header .brand-name small { max-height: 20px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; }
.site-header .brand-name b, .site-header .gnav > a:not(.btn) { transition: font-size .3s ease; }
.site-header .btn-head { transition: padding .3s ease, min-height .3s ease, font-size .3s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 22px rgba(212, 162, 60, .14), 0 2px 8px rgba(240, 141, 180, .1); }
.site-header.is-scrolled .wrap { min-height: 58px; }
.site-header.is-scrolled .brand img { width: 74px; }
.site-header.is-scrolled .brand-name small { max-height: 0; opacity: 0; }
.site-header.is-scrolled .brand-name b { font-size: 17px; }
.site-header.is-scrolled .gnav > a:not(.btn) { font-size: 13.5px; }
.site-header.is-scrolled .btn-head { padding: 8px 18px; min-height: 38px; font-size: 13.5px; }
@media (max-width: 860px) {
  .site-header.is-scrolled .wrap { min-height: 52px; }
  .site-header.is-scrolled .brand img { width: 64px; }
  .site-header.is-scrolled .brand-name b { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .wrap, .site-header .brand img, .site-header .brand-name small, .site-header .brand-name b, .site-header .gnav > a, .site-header .btn-head { transition: none; }
}

/* キーワード検索（2026-10-24）：右カラムの無料体験の案内の下と、検索結果ページの見出しの下 */
.hn2-search { display: flex; align-items: center; gap: 0; background: #fff; border: 1px solid var(--gold-soft); border-radius: 999px; padding: 4px 4px 4px 18px; box-shadow: 0 3px 10px rgba(176, 128, 64, .06); transition: border-color .2s ease, box-shadow .2s ease; }
.hn2-search:focus-within { border-color: #f08db4; box-shadow: 0 0 0 4px rgba(240, 141, 180, .18); }
.hn2-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; outline: none; -webkit-appearance: none; appearance: none; }
.hn2-search input[type="search"]::placeholder { color: #b49aa5; font-size: 14px; }
.hn2-search button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--cta-grad); color: #7a2e4a; display: grid; place-items: center; cursor: pointer; }
.hn2-search button svg { width: 20px; height: 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.list-hero .hn2-search { max-width: 520px; margin-top: 16px; }
.search-count { margin-top: 8px; font-size: 14px; color: var(--sub); }
.no-posts a { color: var(--rose); }

/* 無料体験のテーマ（2026-11-06） */
.plan-note { display: grid; gap: 8px; }
.plan-note-h { margin: 0; font-size: 15px; font-weight: 700; color: #7a2e4a; }
.plan-note-list { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-note-list a { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid #efb6c6; color: #7a2e4a; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.plan-note-list a:hover { background: #fde4e8; }
.plan-note-flow { margin: 0; font-size: 13px; color: var(--sub); }
.plan-note--compact { gap: 6px; }
.plan-note--compact .plan-note-h { font-size: 13.5px; }
.pre-footer .plan-note, .t-hero2 .plan-note { justify-items: center; text-align: center; }
.pre-footer .plan-note-list, .t-hero2 .plan-note-list { justify-content: center; }
.plans-sec { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan-card { scroll-margin-top: 110px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid #f3bbc8; border-radius: 0 0 18px 18px; padding: 22px 24px; }
.plan-card h3 { margin: 0 0 12px; font-size: 19px; color: #7a2e4a; }
.plan-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; }
.plan-card p:last-child { margin-bottom: 0; }
.plan-card .plan-label { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; color: var(--rose); }
.plans-note { margin: 16px 0 0; font-size: 12.5px; color: var(--sub); text-align: center; }
@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
}

.t-hero2 .cta-note { color: #7a2e4a; font-weight: 500; text-shadow: 0 0 6px #fff, 0 0 12px #fff; }
.t-hero2 .plan-note-h { text-shadow: 0 0 6px #fff, 0 0 12px #fff; }

/* 幅の狭いスマホ */
/* （360px以下）：固定ボタンの文字を1行に収める */
@media (max-width: 360px) {
  .sp-fixed .btn-cta { font-size: 14px; letter-spacing: 0; gap: 6px; padding: 12px 12px; }
  .sp-fixed .btn-cta .gem { width: 20px; height: 18px; }
}
