/* A bright, welcoming layer over the existing reading tools. */
:root {
  --paper: #fcfbf6;
  --ink: #30483b;
  --muted: #5b7062;
  --green: #35634e;
  --green-light: #edf4e9;
  --line: #dce6d7;
  --gold: #a67b2d;
  --sans: "Hiragino Maru Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
body { font-size: 1rem; line-height: 1.95; letter-spacing: .025em; }
h1, h2 { font-family: var(--sans); font-weight: 600; letter-spacing: .025em; }
h1 { font-size: clamp(2.25rem, 3.6vw, 3.125rem); line-height: 1.75; }
h1 em { color: #507b44; }
h2 { font-size: 2rem; line-height: 1.75; }
.hero-description, .calculator-copy > p:not(.eyebrow), .about-body, .three-concepts p,
.section-heading > p, .compatibility-lead, .star-description, .result-text, .reading-bits p,
.small-action, .social-card p, .profile-copy > p:not(.eyebrow):not(.profile-lead),
.faq-items p, .consultation-offer > p, .consultation-contents,
.consultation-sample > p:not(.eyebrow):not(.consultation-sample-note) { font-size: 1rem; line-height: 2; }
.eyebrow, .hero .eyebrow { font-size: .875rem; letter-spacing: .055em; color: #60744b; }
.small-note, .micro, .hero .micro, .privacy-note p, .field-help, .result-heading,
.result-star p, .result-basis, .reading-bits strong, .small-action span, .reflection,
.detail-topline, .star-keywords, .method-details, .pair-placeholder, .boundary-explainer,
.social-handle, .social-link, .post-themes > div > p:not(.eyebrow), .theme-items p,
.consultation-terms dt, .consultation-terms dd, .consultation-terms dd span,
.consultation-offer > .consultation-link-note, .consultation-sample-note,
.consultation-notice, .consultation-notice strong, .consultation-note p { font-size: .875rem; }
.calculator-copy .range-note { font-size: .8125rem !important; }
.site-header { height: auto; min-height: 100px; padding-block: 18px; border-bottom-color: #e9e9d8; }
.brand-seal { color: #8a6a31; background: #fff6df; border-color: #d7bd7d; border-radius: 12px; transform: none; }
.brand-name small { font-size: .6875rem; letter-spacing: .025em; }
.desktop-nav { font-size: .875rem; gap: 23px; }
.header-cta { border-radius: 999px; border-color: #cddcbf; background: #edf4e7; font-size: .875rem; gap: 0; }
.header-cta > span, .button > span[aria-hidden=true], .hero-actions .text-link > span { display: none; }
.hero { padding-top: 62px; padding-bottom: 54px; gap: 50px; }
.hero-art { border-radius: 44px 44px 100px 44px; background: #f4ecd3; box-shadow: 0 18px 50px #8b97541a; border: 1px solid #e8dfbb; }
.hero-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.art-topline { align-items: flex-start; top: 24px; left: 26px; width: auto; color: #496344; letter-spacing: .035em; font-size: .875rem; }
.art-topline span:first-child { font-size: .8125rem; letter-spacing: .08em; }
.art-caption { left: 24px; right: 24px; bottom: 24px; width: fit-content; max-width: calc(100% - 48px); padding: 14px 20px; border: 1px solid #ffffffb3; border-radius: 20px; background: #fffcf1e8; color: #42623e; font-family: var(--sans); font-size: 1rem; text-shadow: none; letter-spacing: .04em; }
.hero-actions { gap: 22px; flex-wrap: wrap; }
.button, .header-cta { min-height: 54px; }
.button { border-radius: 999px; font-size: 1rem; padding: 14px 24px; gap: 12px; line-height: 1.65; text-align: center; }
.primary { background: var(--green); box-shadow: 0 5px 14px #35634e18; }
.primary:hover { background: #284f3d; transform: translateY(-1px); }
.text-link { font-size: .875rem; }
.intro-strip { border: 1px solid #ebe3c8; border-radius: 24px; background: #fff8e8; padding: 22px; gap: 32px; }
.intro-strip p { font-size: .875rem; }
.intro-strip span { color: #9b7126; font-weight: 600; }
.calculator-section { margin-top: 48px; background: #f0f6eb; border-color: #e5edda; }
.compatibility-section { background: #f6f7ec; border-color: #e8e9d5; }
.calculator-copy h2 { font-size: 2.125rem; }
.calculator-card { min-width: 0; border: 1px solid #dfe7d5; border-radius: 28px; background: #fffefa; padding: 32px; box-shadow: 0 12px 36px #6373490c; }
.field-label, .pair-selects .field-label { font-size: 1rem; }
.field-label span { font-size: .8125rem; }
input[type=date], select { height: 58px; border-radius: 14px; border-color: #bfceb7; background: #fff; font-size: 1rem; }
.form-actions { gap: 16px; }
.form-actions .button { font-size: 1rem; }
.reset-button { font-size: .875rem; border-radius: 12px; border: 0; background: #f1f4e9; padding-inline: 12px; }
.result-placeholder { min-height: 120px; }
.result-placeholder p { font-size: .875rem; }
.result-star h3, .star-detail h3, .boundary-title, .relation-heading,
.social-card h3, .profile-lead, .consultation-offer h3, .consultation-sample h3,
.post-themes h3, .line-invitation h3, .reading-title { font-family: var(--sans); font-weight: 600; }
.reading-title { font-size: 1.125rem; }
.small-action { border-radius: 18px; background: #f4f1df; color: #425f3f; padding: 18px; }
.small-action span { color: #667047; }
.result-next { font-size: .875rem; line-height: 1.9; }
.star-choice { border-radius: 18px; background: #fffef9; min-height: 100px; }
.star-choice small { font-size: .875rem; }
.star-choice[aria-pressed=true] { background: #e8f1dd; border: 2px solid #739157; color: #304d33; }
.star-choice[aria-pressed=true] > span { color: #8d6d2d; }
.star-detail { border-radius: 28px; background: #f6f7ed; }
.three-concepts article { border: 1px solid #e5e6d5; border-radius: 24px; padding: 26px; background: #fffdf5; }
.concept-symbol { background: #edf2e1; }
.three-concepts h3 small { font-size: .8125rem; }
.social-card { border-radius: 28px; border-color: #dce5d2; background: #f0f5e9; color: var(--ink); }
.threads-card:hover { background: #e7f0dc; }
.threads-card p { color: var(--muted); }
.social-link, .x-card .social-link { border-color: #d0ddc4; }
.x-card { background: #fff8e5; border-color: #e8dec2; }
.profile-section { background: #edf3e5; }
.profile-emblem { background: #fff7df; border-color: #dec68b; box-shadow: inset 0 0 0 19px #edf3e5, inset 0 0 0 20px #cfbc7f; }
.profile-emblem > span { color: #4e7045; }
.profile-tags span, .consultation-status, .relation-label { border-radius: 999px; font-size: .8125rem; }
.profile-tags span { background: #fcfcf4; }
.theme-items details, .faq-items details, .theme-items details:last-child, .faq-items details:last-child { border: 1px solid #e2e6d6; border-radius: 18px; padding-inline: 20px; background: #fffefa; }
.theme-items details + details, .faq-items details + details { margin-top: 12px; }
.theme-items summary, .faq-items summary { font-size: 1rem; }
.consultation-offer, .consultation-sample { border-radius: 28px; }
.consultation-sample { background: #f7f0d8; color: var(--ink); border: 1px solid #e7d9af; }
.consultation-sample .eyebrow { color: #846323; }
.consultation-sample > p:not(.eyebrow):not(.consultation-sample-note), .consultation-contents, .consultation-sample-note { color: #57644c; }
.sample-pdf-link { background: #fffef8; border: 1px solid #d8c38b; color: var(--green); }
.consultation-notice { border: 1px solid #e9dfbd; border-radius: 18px; background: #fff8e8; }
.line-invitation { border: 1px solid #dfd4a5; border-radius: 24px; background: linear-gradient(135deg, #fff9e8, #f0f6e8); padding: 26px 22px; }
.line-invitation h3 { font-size: 1.375rem; }
.line-invitation-button { border-radius: 18px; background: var(--green); box-shadow: 0 5px 12px #35634e12; }
.line-invitation-button:hover { background: #284f3d; }
.closing { border-radius: 32px; background: #fff7e3; border-color: #e7d5a1; }
.wallpaper-section { display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 80px; padding: 52px 64px; margin-bottom: 48px; border: 1px solid #e7d9b1; border-radius: 36px; background: linear-gradient(120deg, #fff8e7, #f0f6e9); }
.wallpaper-copy h2 { margin-top: 14px; }
.wallpaper-copy > p:not(.eyebrow) { max-width: 34em; margin-top: 20px; font-size: 1rem; }
.wallpaper-copy .button { margin-top: 26px; }
.wallpaper-copy > .wallpaper-help { font-size: .875rem !important; color: var(--muted); }
.wallpaper-help a { display: inline-block; text-decoration: underline; text-underline-offset: 4px; }
.wallpaper-preview { width: 100%; margin: 0; }
.wallpaper-preview img { display: block; width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: 24px; border: 5px solid #fffef9; box-shadow: 0 12px 30px #84753a1a; }
.wallpaper-preview figcaption { margin-top: 12px; font-size: .8125rem; text-align: center; color: #786b43; }
.site-footer > p { font-size: .8125rem; }
.copyright { font-size: .75rem; }
@media(max-width:1100px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { gap: 32px; }
  .wallpaper-section { padding: 40px; gap: 36px; grid-template-columns: 1fr 240px; }
}
@media(max-width:900px) {
  .calculator-layout, .compatibility-layout { display: block; }
  .calculator-card, .compatibility-card { margin-top: 28px; }
  .privacy-note { margin-top: 24px; }
  .hero { grid-template-columns: 1.05fr 1fr; }
  h1 { font-size: 2.125rem; }
  .hero-art { min-height: 400px; }
  .art-caption { font-size: .875rem; padding: 12px 16px; }
}
@media(max-width:640px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 32px); min-height: 86px; gap: 10px; padding-block: 14px; }
  .brand { gap: 8px; }
  .brand-seal { width: 32px; height: 38px; border-radius: 10px; }
  .brand-name { font-size: 1.375rem; }
  .brand-name small { font-size: .6875rem; }
  .header-cta { font-size: .8125rem; padding: 9px 11px; min-height: 46px; }
  .hero { padding-top: 36px; padding-bottom: 28px; gap: 28px; }
  h1 { font-size: clamp(1.875rem, 7.8vw, 2.5rem); line-height: 1.8; }
  h2, .calculator-copy h2 { font-size: 1.75rem; }
  .hero-description { margin-top: 22px; }
  .hero-actions { gap: 18px; margin-top: 24px; }
  .hero-actions .button { font-size: 1rem; min-height: 56px; padding: 14px 20px; }
  .hero .micro { font-size: .8125rem; }
  .hero-art { min-height: 0; aspect-ratio: 1.1; max-width: 410px; border-radius: 30px 30px 64px 30px; }
  .art-topline { top: 18px; left: 20px; font-size: .8125rem; }
  .art-caption { left: 18px; right: 18px; bottom: 18px; max-width: calc(100% - 36px); font-size: .875rem; border-radius: 16px; }
  .intro-strip { gap: 14px; padding: 18px 14px; border-radius: 20px; align-items: start; }
  .intro-strip p { flex: 1; min-width: 0; font-size: .8125rem; }
  .intro-strip span { font-size: .8125rem; margin-bottom: 5px; }
  .calculator-section { margin-top: 32px; }
  .section-space { padding-block: 56px; }
  .calculator-card { border-radius: 24px; padding: 24px 20px; }
  .form-actions .button { min-height: 54px; padding-inline: 12px; }
  .pair-selects { gap: 12px; }
  .pair-selects .field-label { font-size: .875rem; }
  .star-choice { border-radius: 15px; min-height: 88px; }
  .star-choice small { font-size: .875rem; }
  .star-detail { border-radius: 24px; padding: 24px; }
  .three-concepts article { padding: 22px 18px; margin-top: 16px; }
  .three-concepts h3 small { display: block; margin-left: 0; }
  .profile-emblem { box-shadow: inset 0 0 0 12px #edf3e5, inset 0 0 0 13px #cfbc7f; }
  .profile-copy h2 small { font-size: .875rem; }
  .social-card { padding: 28px 24px; }
  .social-card h3 { font-size: 1.5rem; }
  .social-link { font-size: .875rem; }
  .consultation-offer, .consultation-sample { padding: 28px 22px; }
  .consultation-terms > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .sample-pdf-link { font-size: .875rem; padding-inline: 14px; }
  .sample-pdf-link span { font-size: .75rem; }
  .line-invitation { padding: 24px 16px; border-radius: 20px; }
  .line-invitation h3 { font-size: 1.25rem; }
  .wallpaper-section { grid-template-columns: 1fr; padding: 30px 22px; gap: 30px; margin-bottom: 28px; border-radius: 28px; }
  .wallpaper-preview { width: min(240px, 100%); justify-self: center; }
  .wallpaper-copy .button { width: 100%; padding-inline: 12px; }
  .closing { border-radius: 26px; padding-inline: 20px; }
  .closing h2 { font-size: 1.5rem; }
  .mobile-nav { background: #fffcf4f5; border-color: #dddcc2; }
  .mobile-nav a { font-size: .8125rem; border-radius: 14px; }
  .mobile-nav .mobile-main { font-size: .8125rem; border-radius: 16px; }
}
@media(max-width:360px) {
  .site-header { gap: 8px; }
  .brand-name small { font-size: .625rem; }
  .header-cta { font-size: .75rem; padding-inline: 9px; }
  .mobile-nav a, .mobile-nav .mobile-main { font-size: .75rem; }
  .line-invitation { padding-inline: 13px; }
}
