/* 星のきざし（試作キャンバス 2026/11/14 確定版をもとに） */
:root {
  --kinari: #F6F2EA; --band: #EFE8DA; --sumi: #2A2826; --sub: #5E5850; --sub2: #6B6458; --line: #E4DCCB; --line2: #EEE7D9;
  --kin: #9A7638; --kin-text: #7A5C28; --yozora: #131A2C; --yozora2: #1C2540; --yozora-line: #4A5370; --yozora-kin: #E2C98F;
  --on-night: #EDE8DE; --on-night-sub: #CFC8BA;
  --mincho: 'Shippori Mincho', serif; --gothic: 'Zen Kaku Gothic New', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--kinari); color: var(--sumi); font-family: var(--gothic); line-height: 1.8; }
a { color: var(--kin-text); }
a:hover { color: #5C4419; }
summary { cursor: pointer; }
select, input, button { font-family: inherit; }
.mincho { font-family: var(--mincho); }
.wrap { max-width: 1080px; margin: 0 auto; }
.section { padding: 64px 20px; }
.section--band { background: var(--band); }
.eyebrow { margin: 0; font-size: 13px; color: var(--kin-text); letter-spacing: 0.2em; }
.h2 { margin: 4px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 28px; line-height: 1.5; }
.lead-s { margin: 8px 0 0; font-size: 14px; color: var(--sub); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ① 夜空 */
.sky { position: relative; overflow: hidden; background: var(--yozora); color: var(--on-night); padding: 24px 20px 72px; }
.sky .star { position: absolute; border-radius: 50%; background: var(--yozora-kin); }
.sky__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.logo { text-decoration: none; color: var(--on-night); display: inline-flex; flex-direction: column; align-items: flex-start; }
.logo__box { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding-right: 22px; }
.logo__ja { font-family: var(--mincho); font-weight: 700; font-size: 26px; letter-spacing: 0.12em; line-height: 1.3; }
.logo__en { font-size: 9px; letter-spacing: 0.32em; color: var(--yozora-kin); line-height: 1.4; margin-right: -22px; padding-right: 22px; }
.logo__stars { position: absolute; right: 0; top: -4px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.nav a { color: var(--on-night); text-decoration: none; padding: 10px 0; }
.hero { max-width: 560px; margin: 64px auto 0; text-align: center; }
.hero h1 { margin: 0; font-family: var(--mincho); font-weight: 500; font-size: clamp(28px, 5vw, 44px); line-height: 1.5; letter-spacing: 0.06em; }
.hero__lead { margin: 20px 0 0; font-size: 15px; color: var(--on-night-sub); }
.form { margin: 36px auto 0; text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(226,201,143,0.35); border-radius: 16px; padding: 24px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-size: 14px; color: var(--yozora-kin); margin-bottom: 10px; padding: 0; }
.form__ymd { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.form__more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--on-night-sub); }
.field select, .field input { height: 48px; border-radius: 10px; border: 1px solid var(--yozora-line); background: var(--yozora2); color: var(--on-night); font-size: 16px; padding: 0 10px; width: 100%; }
.field input { color-scheme: dark; }
.form__toggle { margin-top: 12px; background: none; border: 0; padding: 10px 0; color: var(--yozora-kin); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.form__hint { margin: 8px 0 0; font-size: 12px; color: #B9B2A4; }
.form__error { margin: 10px 0 0; font-size: 13px; color: #F2C4B4; }
.btn-gold { margin-top: 18px; width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--yozora-kin); color: var(--yozora); font-family: var(--mincho); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; cursor: pointer; }
.hero__safe { margin: 16px 0 0; font-size: 13px; color: var(--on-night-sub); }

/* ② 今日の暦 */
.koyomi-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.koyomi-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.koyomi-card__label { margin: 0; font-size: 12px; color: var(--sub2); }
.koyomi-card__value { margin: 2px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 20px; line-height: 1.5; }
.koyomi-card__note { margin: 2px 0 0; font-size: 12px; color: var(--sub); }
.next-lucky { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--band); border-radius: 14px; padding: 16px 18px; }
.next-lucky__label { font-size: 13px; color: var(--sub2); }
.next-lucky__item { font-size: 15px; }
.next-lucky__more { margin-left: auto; font-size: 14px; padding: 10px 0; }

/* ③ 手帖の見本 */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; }
.split__text { flex: 1 1 360px; min-width: 0; }
.points { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points__n { font-family: var(--mincho); color: var(--kin-text); font-weight: 700; }
.phone { flex: 0 0 auto; width: 320px; max-width: 100%; background: var(--kinari); border: 8px solid var(--sumi); border-radius: 36px; padding: 22px 18px; }
.badge { font-size: 11px; background: var(--line); color: #4A453E; border-radius: 999px; padding: 2px 10px; }

/* 手帖の部品（見本と本物で共通） */
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t-date { font-size: 12px; color: var(--sub); }
.t-headline { margin: 10px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 17px; line-height: 1.6; }
.t-box { margin-top: 12px; background: #fff; border-radius: 12px; padding: 6px 14px; }
.t-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.t-row:last-child { border-bottom: 0; }
.t-stars { color: var(--kin-text); letter-spacing: 0.1em; font-size: 14px; white-space: nowrap; }
.t-hints { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-hint { background: #fff; border-radius: 12px; padding: 10px 12px; }
.t-hint__label { margin: 0; font-size: 11px; font-weight: 700; color: var(--kin-text); }
.t-hint__label--off { color: var(--sub); }
.t-hint__act { margin: 2px 0 0; font-size: 13px; font-weight: 700; line-height: 1.5; }
.t-hint__why { margin: 2px 0 0; font-size: 11px; color: var(--sub); line-height: 1.5; }
.t-next { margin-top: 12px; background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13px; }
.t-next p { margin: 0; }
.t-small { font-size: 11px; color: var(--sub2); }
.btn-night { margin-top: 12px; width: 100%; min-height: 44px; border: 0; border-radius: 999px; background: var(--yozora); color: var(--yozora-kin); font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ④ 3つのちがい */
.center { text-align: center; }
.grid3 { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.diff { padding: 28px 24px; }
.diff__n { margin: 0; font-family: var(--mincho); font-size: 34px; color: var(--kin); line-height: 1; }
.diff h3 { margin: 14px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; }
.diff p { margin: 8px 0 0; font-size: 14px; color: var(--sub); }

/* ⑤ やりたいこと別 */
.purposes { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.purpose { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; text-decoration: none; color: var(--sumi); min-height: 120px; }
.purpose__name { font-family: var(--mincho); font-weight: 700; font-size: 17px; line-height: 1.4; }
.purpose__sub { font-size: 12px; color: var(--sub); line-height: 1.5; }

/* ⑥ 相性 */
.split--rev { flex-wrap: wrap-reverse; }
.share { flex: 0 0 auto; width: 340px; max-width: 100%; margin: 0; }
.share__card { position: relative; background: var(--yozora); color: var(--on-night); border-radius: 20px; padding: 32px 26px 26px; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; }
.share__label { margin: 0; font-size: 12px; color: var(--yozora-kin); letter-spacing: 0.2em; }
.share__title { margin: 10px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 28px; line-height: 1.5; }
.share__stars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px; }
.share__stars b { color: var(--yozora-kin); font-weight: 400; }
.share__logo { margin: 0; text-align: right; font-family: var(--mincho); font-size: 13px; letter-spacing: 0.1em; color: var(--yozora-kin); }
.share figcaption { margin-top: 8px; font-size: 12px; color: var(--sub2); text-align: center; }
.pairs { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.pair { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--kin); border-radius: 999px; text-decoration: none; color: var(--sumi); font-size: 15px; background: #fff; }

/* ⑦ 今月の空 */
.skylist { margin: 24px 0 0; padding: 0; list-style: none; }
.skylist li { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; padding: 16px 22px; border-bottom: 1px solid var(--line2); }
.skylist li:last-child { border-bottom: 0; }
.skylist__date { font-family: var(--mincho); font-weight: 700; font-size: 17px; min-width: 88px; }
.skylist__text { flex: 1 1 240px; font-size: 15px; }

/* ⑧ 読みもの */
.articles { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.article { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--sumi); padding: 22px 20px; }
.article__cat { font-size: 12px; color: var(--kin-text); display: flex; justify-content: space-between; }
.article__title { font-family: var(--mincho); font-weight: 700; font-size: 17px; line-height: 1.6; }

/* ⑨ 安心 */
.anshin { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 48px; }
.anshin h2 { margin: 0; font-family: var(--mincho); font-weight: 700; font-size: 22px; }
.anshin__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.anshin__item { display: flex; gap: 14px; }
.anshin__item p { margin: 0; font-size: 14px; }

/* ⑩ よくある質問 */
.faq { max-width: 760px; margin: 0 auto; }
.faq__list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 14px; padding: 4px 20px; }
.faq summary { padding: 14px 0; font-weight: 700; font-size: 15px; }
.faq details p { margin: 0 0 16px; font-size: 14px; color: #4A453E; }

/* ⑪ フッター */
.footer { padding: 40px 20px 48px; background: var(--sumi); color: #DDD6C8; }
.footer__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.footer__logo { font-family: var(--mincho); font-weight: 700; font-size: 20px; letter-spacing: 0.12em; color: var(--kinari); }
.footer p { margin: 0; font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; }
.footer nav a, .footer nav button { color: var(--yozora-kin); padding: 8px 0; background: none; border: 0; font-size: 13px; cursor: pointer; text-decoration: underline; }

/* 手帖（ひらいた画面） */
.sky--techo { padding: 18px 20px 28px; }
.techo-hero { max-width: 560px; margin: 24px auto 0; }
.techo-hero__date { margin: 0; font-size: 14px; color: var(--on-night-sub); }
.techo-hero__headline { margin: 6px 0 0; font-family: var(--mincho); font-weight: 600; font-size: clamp(22px, 5vw, 28px); line-height: 1.55; }
.techo-hero__signs { margin: 10px 0 0; font-size: 12px; color: var(--yozora-kin); letter-spacing: 0.04em; }
.techo { max-width: 560px; margin: 0 auto; padding: 20px 16px 120px; }
.tsec { margin-top: 28px; }
.tsec:first-child { margin-top: 0; }
.tsec__h { margin: 0 0 10px; font-family: var(--mincho); font-weight: 700; font-size: 19px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tsec__h small { font-family: var(--gothic); font-weight: 400; font-size: 12px; color: var(--sub2); }
.luck { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.luck details { border-bottom: 1px solid var(--line2); }
.luck details:last-child { border-bottom: 0; }
.luck summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-size: 15px; min-height: 48px; }
.luck summary::-webkit-details-marker { display: none; }
.luck summary::after { content: '＋'; color: var(--kin); font-size: 13px; margin-left: 6px; }
.luck details[open] summary::after { content: '−'; }
.luck__name { flex: 1; }
.luck__stars { color: var(--kin-text); letter-spacing: 0.1em; white-space: nowrap; }
.luck__body { padding: 0 16px 14px; font-size: 13px; color: #4A453E; }
.luck__body ul { margin: 0; padding-left: 1.2em; }
.luck__note { margin: 6px 0 0; color: var(--sub); }
.luck__caution { margin: 6px 0 0; color: var(--sub); }
.hint2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint2 .t-hint { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.hint2 .t-hint__act { font-size: 15px; }
.hint2 .t-hint__why { font-size: 12px; }
.nextlist { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
.nextlist__row { display: grid; grid-template-columns: 3.2em 1fr; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.nextlist__row:last-child { border-bottom: 0; }
.nextlist__kind { color: var(--sub2); }
.nextlist__date b { font-weight: 700; }
.nextlist__sub { grid-column: 2; font-size: 12px; color: var(--sub); }
.cal-links { margin-top: 8px; font-size: 13px; }
.cal-links ul { margin: 6px 0 0; padding-left: 1.2em; }
.flow { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.flow p { margin: 0; }
.flow p + p { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line2); }
.techo .koyomi-grid { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 10px; }
.techo .koyomi-card { padding: 12px 14px; }
.techo .koyomi-card__value { font-size: 17px; }
.aisho-card { background: var(--yozora); color: var(--on-night); border-radius: 16px; padding: 20px; }
.aisho-card p { margin: 0; font-size: 14px; color: var(--on-night-sub); }
.aisho-card .h3 { margin: 0 0 6px; font-family: var(--mincho); font-weight: 700; font-size: 19px; color: var(--on-night); }
.aisho-card .btn-gold { margin-top: 14px; min-height: 48px; font-size: 16px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.techo-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.techo-foot a, .techo-foot button { color: var(--kin-text); background: none; border: 0; padding: 8px 0; font-size: 13px; cursor: pointer; text-decoration: underline; }
.note-s { margin: 8px 0 0; font-size: 12px; color: var(--sub); }
.confirm { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.confirm button { margin: 8px 12px 0 0; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--kin); background: #fff; cursor: pointer; }
.confirm button.danger { background: var(--sumi); color: #fff; border-color: var(--sumi); }
.has-birth .footer { padding-bottom: 110px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,242,234,0.94); border-top: 1px solid var(--line); display: flex; justify-content: center; z-index: 10; }
.bottom-bar a { width: 100%; max-width: 528px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: var(--yozora); color: var(--yozora-kin); text-decoration: none; font-weight: 700; font-size: 15px; }
.sunpick { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.sunpick button { margin: 8px 8px 0 0; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--kin); background: #fff; cursor: pointer; }
.sunpick button[aria-pressed="true"] { background: var(--yozora); color: var(--yozora-kin); border-color: var(--yozora); }

/* 準備中のページ */
.stub { max-width: 640px; margin: 0 auto; padding: 64px 20px; }
.stub h1 { font-family: var(--mincho); font-size: 28px; margin: 0; }

/* 2回目から：最初に手帖を出すまで、トップの中身を隠す */
.has-birth #top { display: none; }
.loading { display: none; padding: 80px 20px; text-align: center; color: var(--sub); }
.has-birth .loading { display: block; }
.has-birth.ready .loading { display: none; }

@media (max-width: 480px) {
  .sky { padding-bottom: 48px; }
  .hero { margin-top: 40px; }
  .form { padding: 18px; }
  .form__ymd { gap: 8px; }
  .section { padding: 48px 20px; }
  .nav--main { display: none; }
  .topbar .menu { display: block; }
}
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu .nav { position: absolute; right: 0; top: 46px; background: var(--yozora2); border: 1px solid var(--yozora-line); border-radius: 12px; padding: 6px 16px; flex-direction: column; gap: 0; min-width: 190px; z-index: 5; }

/* わたしの星 */
.hoshi-card { background: var(--yozora); color: var(--on-night); border-radius: 16px; padding: 22px 20px; border: 1px solid rgba(226,201,143,0.35); }
.hoshi-card__label { margin: 0; font-size: 12px; color: var(--yozora-kin); letter-spacing: 0.2em; }
.hoshi-card__title { margin: 6px 0 0; font-family: var(--mincho); font-weight: 700; font-size: 24px; line-height: 1.5; color: var(--on-night); }
.hoshi-card__signs { margin: 4px 0 0; font-size: 12px; color: var(--yozora-kin); }
.hoshi-card__sum { margin: 12px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--on-night-sub); }
.hoshi-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hoshi-card__btns .btn-gold { margin: 0; min-height: 46px; font-size: 15px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-line { min-height: 46px; border-radius: 999px; border: 1px solid var(--yozora-kin); background: transparent; color: var(--yozora-kin); font-size: 14px; font-weight: 700; cursor: pointer; }
.hrow { padding: 10px 0; border-top: 1px solid var(--line2); }
.hrow:first-child { border-top: 0; padding-top: 0; }
.hrow__label { margin: 0; font-size: 12px; color: var(--kin-text); font-weight: 700; }
.hrow__text { margin: 2px 0 0; font-size: 14px; }
.hrow__lead { margin: 0 0 4px; font-family: var(--mincho); font-weight: 700; font-size: 17px; }
.flow .hrow + p, .flow p + .hrow { border-top: 1px solid var(--line2); }
.sum3 { padding-left: 2em; margin: 0; }
.ebar { display: grid; grid-template-columns: 2em 1fr 3em; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.ebar__track { height: 8px; background: var(--line2); border-radius: 999px; overflow: hidden; }
.ebar__fill { display: block; height: 100%; background: var(--kin); border-radius: 999px; }
.ebar__pct { text-align: right; color: var(--sub); font-size: 12px; }
.flow .hrow p + p { border-top: 0; padding-top: 0; margin-top: 2px; }

/* 相性 */
.aform__box { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; margin: 0 0 12px; }
.aform__box legend { font-family: var(--mincho); font-weight: 700; font-size: 16px; padding: 0 6px; }
.aform .field { color: var(--sub); }
.aform .field select, .aform .field input { background: #fff; color: var(--sumi); border-color: var(--line); color-scheme: light; }
.aform__saved { margin: 0; font-size: 14px; }
.linkbtn { background: none; border: 0; color: var(--kin-text); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--kin); border-radius: 999px; font-size: 14px; cursor: pointer; }
.chip input:checked + span { background: var(--yozora); color: var(--yozora-kin); border-color: var(--yozora); }
.chip input:focus-visible + span { outline: 2px solid var(--kin); outline-offset: 2px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.tabs button { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--kinari); cursor: pointer; font-size: 13px; }
.tabs button[aria-selected="true"] { background: var(--yozora); color: var(--yozora-kin); border-color: var(--yozora); }
.more2 { margin-top: 8px; font-size: 13px; color: var(--kin-text); }
.more2 summary { padding: 6px 0; }
.linkbox { margin-top: 10px; }
.linkbox__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.linkbox__row input { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: 13px; min-width: 0; }
.linkbox__row .btn-line { color: var(--kin-text); border-color: var(--kin); padding: 0 14px; }
.invited { background: var(--yozora); color: var(--on-night); border-radius: 14px; padding: 16px; margin-bottom: 12px; font-size: 14px; }
.invited p { margin: 0; }
.invited__label { color: var(--yozora-kin); font-family: var(--mincho); font-weight: 700; font-size: 17px; margin-bottom: 4px !important; }
.t-row--night { color: var(--on-night); border-bottom-color: rgba(255,255,255,0.1); }
.t-row--night .t-stars { color: var(--yozora-kin); }
.t-row--night .t-small { color: var(--on-night-sub); }
.kuwashiku summary { font-family: var(--mincho); font-weight: 700; font-size: 16px; padding: 10px 0; }
.techo .faq__list details { background: #fff; border-radius: 14px; padding: 4px 16px; border: 1px solid var(--line); }
.techo .faq__list summary { padding: 12px 0; font-weight: 700; font-size: 14px; }
.techo .faq__list p { margin: 0 0 12px; font-size: 13px; color: #4A453E; }

.hoshi-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-decoration: none; background: var(--yozora); color: var(--on-night); border-radius: 14px; padding: 14px 18px; }
.hoshi-link__label { font-size: 11px; color: var(--yozora-kin); letter-spacing: 0.2em; grid-column: 1; }
.hoshi-link__title { font-family: var(--mincho); font-weight: 700; font-size: 17px; grid-column: 1; }
.hoshi-link__more { grid-column: 2; grid-row: 1 / span 2; font-size: 13px; color: var(--yozora-kin); }

/* ---------- 1年の運勢・今月の運勢（v1.6） ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ytable-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.ytable { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; min-width: 420px; }
.ytable th, .ytable td { padding: 7px 4px; border-bottom: 1px solid var(--line2); }
.ytable thead th { font-weight: 400; color: var(--sub2); font-size: 12px; }
.ytable tbody th { font-weight: 700; white-space: nowrap; }
.ytable tr.is-now { background: #FBF6EA; }
.ytable tr:last-child th, .ytable tr:last-child td { border-bottom: 0; }
.ystar { color: var(--kin-text); letter-spacing: -1px; white-space: nowrap; }
.ystar--2 { color: var(--sub2); }
.ystar--5 { font-weight: 700; }
.mgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.mcell { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.mcell__name { font-size: 12px; color: var(--sub2); }
.mcell__star { font-size: 11px; color: var(--kin-text); letter-spacing: -1px; white-space: nowrap; }
.tsec .hoshi-link { margin-top: 10px; }
@media (max-width: 380px) { .mgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 称号の紹介ページ ---------- */
.btn-block { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.tsec .chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--sumi); text-decoration: none; font-size: 13px; }
.tsec .chips a:hover { border-color: var(--kin); }

/* ---------- 12星座の今日の運勢 ---------- */
.slist { display: flex; flex-direction: column; gap: 6px; }
.srow { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "rank name star" "rank text text"; gap: 2px 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--sumi); text-decoration: none; }
.srow__rank { grid-area: rank; font-family: var(--mincho); font-weight: 700; font-size: 16px; color: var(--kin-text); }
.srow__name { grid-area: name; font-weight: 700; font-size: 15px; }
.srow__name small { font-weight: 400; color: var(--sub2); font-size: 11px; margin-left: 6px; }
.srow__star { grid-area: star; color: var(--kin-text); font-size: 12px; letter-spacing: -1px; white-space: nowrap; }
.srow__text { grid-area: text; font-size: 13px; color: var(--sub); }
.mgrid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 380px) { .mgrid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ホロスコープの図 ---------- */
.chart-wrap { display: flex; justify-content: center; padding: 12px 0; }
.chart { width: 100%; max-width: 340px; height: auto; }
.ctable { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 12px; overflow: hidden; }
.ctable th, .ctable td { padding: 6px 10px; border-bottom: 1px solid var(--line2); text-align: left; }
.ctable th { font-weight: 400; color: var(--sub); width: 40%; }

/* ---------- やりたいこと別のいい日 ---------- */
.nextrow__why { font-size: 13px; color: var(--sub); margin: 4px 0 2px; }
.iihi-months .g5 { color: var(--kin-text); font-weight: 700; }
.iihi-months .g4 { color: var(--sub); }
.nextrow { display: grid; grid-template-columns: 3.2em 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.nextrow:last-child { border-bottom: 0; }
.nextrow p { margin: 0; }
.nextrow__name { color: var(--sub2); }
.nextrow__date { grid-column: 2; font-weight: 700; }
.nextrow__name + .nextrow__date { grid-column: 2; }
.nextrow > .nextrow__date:first-child { grid-column: 1 / -1; }
.nextrow__why, .nextrow > a { grid-column: 2; }

/* ---------- 紹介枠・読みもの・案内ページ ---------- */
.pr { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.pr__label { display: inline-block; font-size: 11px; padding: 1px 8px; border: 1px solid var(--sub2); border-radius: 999px; color: var(--sub2); margin: 0 0 6px; }
.pr__list { margin: 0; padding-left: 1.2em; font-size: 14px; }
.pr__list span { display: block; font-size: 12px; color: var(--sub); }
.article { font-size: 15px; line-height: 1.9; }
.article h2 { font-family: var(--mincho); font-size: 19px; margin: 28px 0 8px; }
.article__lead { font-size: 15px; }
.atable td { text-align: left; font-size: 13px; line-height: 1.8; }
.atable { min-width: 0; }
.doc h2 { font-family: var(--mincho); font-size: 18px; margin: 24px 0 6px; }
.doc { font-size: 14px; line-height: 1.9; }
.doc table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.doc th, .doc td { border: 1px solid var(--line2); padding: 6px 8px; text-align: left; }
.aisho-card .btn-block, .tsec .btn-block { font-size: 15px; letter-spacing: 0.04em; padding: 0 14px; }
.pr-notice { font-size: 12px; color: var(--sub2); margin: 0 0 8px; text-align: right; }

.flow-list{margin:12px 0 0;padding-left:1.2em;font-size:14px;line-height:1.8}
.flow-list li{margin:4px 0}
.techo-hero__yomi{margin:10px auto 0;max-width:34em;font-size:14px;line-height:1.8;opacity:.92}

.ytable--pair th,.ytable--pair td{padding:6px 4px;font-size:11px;text-align:center;white-space:nowrap}
.ytable--pair td a{color:var(--kin-text);text-decoration:none}
