/* はじめに（/guide/）・このサイトについて（/about/） scripts/pages-about.mjs */

/* ---------- 見出しの帯 ---------- */
.ab-hero { position: relative; background: var(--velvet); color: #f7ecd9; padding: 46px 0 34px; text-align: center; overflow: hidden; }
.ab-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--goldgrad); }
.ab-hero .kicker { color: var(--gold2); }
.ab-hero h1 { font-family: var(--mincho); font-size: clamp(1.9rem, 5vw, 3.1rem); margin: 0 0 12px; color: #fff; }
.ab-hero h1 small { display: block; font-size: 0.42em; color: var(--gold2); margin-top: 8px; letter-spacing: 0.06em; }
.ab-hero-owl { width: 132px; height: 132px; margin: 0 auto 8px; display: block; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.ab-lead { max-width: 760px; margin: 0 auto 18px; color: #f1e2cf; text-align: left; }
.ab-lead b { color: #fff; }
.ab-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; }
.ab-chips span { border: 1px solid rgba(243, 217, 142, 0.55); color: var(--gold2); border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; font-weight: 700; background: rgba(0, 0, 0, 0.18); }
.ab-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 0 auto; }
.ab-toc a { color: #fff; text-decoration: none; font-size: 0.86rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); transition: background 0.2s; }
.ab-toc a:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
/* 暗い背景の上の枠だけボタンは白い字に（ふだんの .btn.ghost は明るい背景用の黒い字） */
.ab-hero .btn.ghost, .ab-hero .btn.ghost:hover, .gd-end .btn.ghost, .gd-end .btn.ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ---------- 数字 ---------- */
.gd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 860px; margin: 0 auto 22px; }
.gd-stats div { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 12px 6px; }
.gd-stats b { display: block; font-family: var(--en); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.05; color: var(--gold2); }
.gd-stats span { font-size: 0.78rem; color: #f1e2cf; }

/* ---------- 共通 ---------- */
.ab-wrap { padding: 10px 0 70px; }
.ab-sec { padding: 40px 0 10px; scroll-margin-top: 80px; }
.ab-h { font-family: var(--mincho); font-size: clamp(1.45rem, 3.4vw, 2rem); margin: 6px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--line); position: relative; }
.ab-h::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--goldgrad); }
.ab-h .en { font-size: 0.6em; color: var(--gold-ink); margin-left: 6px; font-style: italic; }
.ab-sec h2.ab-h + p, .ab-sec > p { max-width: 900px; }
.ab-sign { text-align: right; font-family: var(--mincho); font-weight: 800; font-size: 1.1rem; margin-top: 18px; }
.ab-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.ab-xbtn { background: #111; color: #fff; box-shadow: none; }
.ab-xbtn:hover { background: #333; color: #fff; }
.gd-end .ab-btns, .ab-sec .center + .ab-btns { justify-content: center; }

/* ふくろうのふきだし */
.ab-say { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.ab-say img { width: 84px; height: 84px; flex-shrink: 0; object-fit: contain; }
.ab-bub { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; font-weight: 700; box-shadow: var(--shadow); }
.ab-bub::before { content: ''; position: absolute; left: -8px; top: 50%; width: 14px; height: 14px; background: var(--card); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.ab-bub small { font-weight: 400; color: var(--muted); }
.ab-bub b { color: var(--wine); }

/* ---------- はじめに：メッセージ ---------- */
.gd-msg { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; margin-top: 30px; box-shadow: var(--shadow); }
.gd-msg-img img { width: 100%; height: auto; }
.ab-msg-h { font-family: var(--mincho); font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.5; margin: 0 0 14px; }

/* できること */
.gd-gh { font-family: var(--mincho); font-size: 1.15rem; margin: 26px 0 12px; display: flex; align-items: baseline; gap: 8px; }
.gd-gh .en { font-size: 0.85em; color: var(--gold-ink); font-style: italic; }
.gd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.gd-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.25s, border-color 0.25s; }
a.gd-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }
.gd-card > img { width: 52px; height: 52px; flex-shrink: 0; }
.gd-card b { display: block; font-size: 1.04rem; }
.gd-card small { display: block; font-family: var(--en); color: var(--gold-ink); font-size: 0.86rem; font-style: italic; }
.gd-p { display: block; font-size: 0.88rem; color: var(--ink2); margin-top: 4px; line-height: 1.7; }
.gd-mini .gd-card > img { width: 44px; height: 44px; }

/* 曲のページの使い方 */
.gd-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; counter-reset: st; }
.gd-steps li { counter-increment: st; display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--wine); border-radius: 16px; padding: 16px 18px; }
.gd-steps li > img { width: 48px; height: 48px; flex-shrink: 0; }
.gd-steps b { font-size: 1.1rem; }
.gd-steps b::before { content: counter(st) '. '; color: var(--wine); }
.gd-steps b .en { color: var(--gold-ink); font-size: 0.85em; font-style: italic; margin-left: 4px; }
.gd-steps p { margin: 4px 0 0; font-size: 0.93rem; }

/* おすすめコース */
.gd-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gd-route { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.gd-rt { margin: 0 0 8px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.gd-rt span { background: var(--goldgrad); color: #2a1a05; border-radius: 10px; padding: 2px 10px; font-size: 0.9rem; flex-shrink: 0; }
.gd-route ol { margin: 0; padding-left: 1.3em; font-size: 0.92rem; }
.gd-route li { margin: 3px 0; }

/* 英語のコツ */
.gd-tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gd-tips li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.gd-no { color: var(--wine); font-size: 1.3rem; font-weight: 900; margin-right: 6px; }
.gd-tips b { font-size: 1.05rem; }
.gd-tips p { margin: 6px 0 0; font-size: 0.92rem; }

/* 本物を聴きに行こう */
.gd-manners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.gd-manners div { background: var(--bg2); border-radius: 16px; padding: 14px 16px; }
.gd-manners b { display: block; color: var(--wine); }
.gd-manners p { margin: 4px 0 0; font-size: 0.92rem; }
.gd-words { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0 0 16px; }
.gd-words ul { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gd-words li { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; display: flex; flex-direction: column; }
.gd-words li b { font-size: 1.15rem; color: var(--navy); }
.gd-words li span { font-size: 0.85rem; color: var(--muted); }

/* FAQ */
.ab-faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 20px; margin-bottom: 18px; }
.ab-q { border-bottom: 1px solid var(--line); padding: 12px 0; }
.ab-q:last-child { border-bottom: 0; }
.ab-q summary { font-weight: 900; cursor: pointer; list-style: none; padding-left: 2em; position: relative; }
.ab-q summary::-webkit-details-marker { display: none; }
.ab-q summary::before { content: 'Q'; position: absolute; left: 0; top: 0; font-family: var(--en); color: var(--wine); font-size: 1.2rem; line-height: 1.5; }
.ab-q[open] summary { color: var(--wine); }
.ab-q > div { padding: 8px 0 2px 2em; font-size: 0.94rem; }

/* 最後のよびかけ */
.gd-end { text-align: center; margin-top: 30px; background: var(--velvet); color: #f7ecd9; border-radius: var(--r); padding: 30px 20px; }
.gd-end-owl { width: 120px; height: 120px; margin: 0 auto; display: block; }
.gd-end-t { font-family: var(--mincho); font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; color: #fff; margin: 8px 0 0; }
.gd-end .en { color: var(--gold2); font-size: 1.15rem; font-style: italic; margin: 0; }

/* ---------- このサイトについて：ふくろうの自己紹介 ---------- */
.ab-owlprof { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.ab-owlprof-img img { width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(50, 20, 30, 0.25)); }
.ab-dl { display: grid; grid-template-columns: 9em 1fr; gap: 0; margin: 0 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ab-dl dt, .ab-dl dd { margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.ab-dl dt { background: var(--bg2); font-weight: 900; color: var(--gold-ink); }
.ab-dl dt:last-of-type, .ab-dl dd:last-of-type { border-bottom: 0; }

/* 作った人 */
.ab-maker { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 24px; align-items: start; }
.ab-card { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--wine); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.ab-role { margin: 0; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.ab-name { font-family: var(--mincho); font-size: 1.9rem; font-weight: 800; margin: 2px 0 10px; }
.ab-name small { font-size: 0.45em; color: var(--muted); margin-left: 10px; font-family: var(--jp); }
.ab-road { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ab-road li { font-size: 0.82rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; position: relative; }
.ab-road li:not(:last-child)::after { content: '›'; position: absolute; right: -6px; color: var(--muted); }
.ab-road li.now { background: var(--wine); color: #fff; border-color: var(--wine); font-weight: 700; }
.ab-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ab-badges span { background: var(--goldgrad); color: #2a1a05; font-weight: 900; font-size: 0.85rem; border-radius: 8px; padding: 3px 10px; }
.ab-badges em { font-style: normal; font-size: 0.82rem; color: var(--muted); }
.ab-msg { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }

/* 原田英語.com */
.ab-harada-in { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.ab-harada-img { width: 100%; height: auto; border-radius: 14px; }

/* 仲間のサイト */
.ab-sisters { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.ab-sisters a { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); height: 100%; box-sizing: border-box; transition: border-color 0.2s, transform 0.2s; }
.ab-sisters a:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.ab-rank { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--goldgrad); color: #2a1a05; font-family: var(--en); font-weight: 700; font-size: 1.1rem; display: grid; place-items: center; }
.ab-st b { display: block; }
.ab-st em { display: block; font-style: normal; font-size: 0.8rem; color: var(--wine); font-weight: 700; }
.ab-st small { display: block; font-size: 0.85rem; color: var(--ink2); line-height: 1.65; margin-top: 2px; }

/* リンク集 */
.ab-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0 0 18px; }
.ab-link { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.ab-link:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.ab-link h3 { font-size: 1.04rem; margin: 0; }
.ab-link h3 a { color: var(--ink); text-decoration: none; }
.ab-link h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.ab-link h3 a:focus-visible::after { outline: 3px solid var(--gold); }
.ab-arrow { color: var(--gold-ink); margin-left: 4px; font-size: 0.9em; }
.ab-link > .en { font-size: 0.92rem; color: var(--gold-ink); font-style: italic; }
.ab-link small { font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.ab-link p { margin: 6px 0 0; font-size: 0.88rem; color: var(--ink2); line-height: 1.7; }
.ab-link .ab-pre { position: relative; z-index: 1; margin-top: auto; padding-top: 8px; font-size: 0.84rem; font-weight: 700; }
.ab-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 900; border-radius: 6px; padding: 1px 8px; margin-top: 4px; }
.ab-tag-free { background: #dff3e8; color: #13623f; }
.ab-tag-pd { background: #e3e9ff; color: #1f2a5c; }
.ab-tag-cond { background: #fff0c7; color: #6b4d06; }
.ab-tag-pay { background: #fbe1e7; color: #8e1f3d; }
.ab-tag-info { background: var(--bg2); color: var(--ink2); }

/* 音源のほんとうの話 */
.ab-pdbox { background: var(--hl); color: #3b2c05; border-radius: 16px; padding: 14px 18px; margin: 0 0 14px; }
.ab-pdbox p { margin: 0; }
.ab-pdbox .en { font-style: italic; margin-top: 4px; font-size: 1.05rem; }

/* 出典 */
.ab-credit { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px 16px 2.2em; margin: 0 0 14px; }
.ab-credit li { margin: 8px 0; font-size: 0.93rem; }

/* お問い合わせ */
.ab-contact { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-top: 30px; box-shadow: var(--shadow); }
.ab-contact-owl { width: 140px; height: 140px; }

/* 夜の部 */
:root[data-mode='night'] .ab-tag-free { background: #133a28; color: #9de3bd; }
:root[data-mode='night'] .ab-tag-pd { background: #1f2850; color: #c3ceff; }
:root[data-mode='night'] .ab-tag-cond { background: #3d3110; color: #ffe08f; }
:root[data-mode='night'] .ab-tag-pay { background: #45182a; color: #ffb3c6; }
:root[data-mode='night'] .ab-xbtn { background: #f4ecdf; color: #111; }
:root[data-mode='night'] .ab-pdbox { color: #ffe9a8; }

/* スマホ */
@media (max-width: 760px) {
  .gd-stats { grid-template-columns: repeat(2, 1fr); }
  .gd-msg, .ab-owlprof, .ab-maker, .ab-harada-in, .ab-contact { grid-template-columns: 1fr; }
  .gd-msg { padding: 20px; }
  .gd-msg-img img, .ab-owlprof-img img { max-width: 180px; display: block; margin: 0 auto; }
  .ab-harada-img { max-width: 260px; margin: 0 auto; display: block; }
  .ab-contact { text-align: center; }
  .ab-contact-owl { margin: 0 auto; }
  .ab-contact .ab-btns { justify-content: center; }
  .ab-dl { grid-template-columns: 7em 1fr; }
  .ab-say img { width: 64px; height: 64px; }
  .gd-cards, .ab-sisters, .ab-links, .gd-tips, .gd-routes, .gd-manners { grid-template-columns: 1fr; }
  .ab-hero-owl { width: 104px; height: 104px; }
}
/* 授業でのコピー・リンクの方針（museum と同じ） */
.ab-policy { background: var(--hl); color: #3b2c05; border-radius: 14px; padding: 12px 16px; margin: 12px 0; }
