/* Guide pages (/compare, /nijikai): the LP's look, for long-form reading */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:root {
  --gold: #9a7028; --gold-2: #b88838; --rose: #b85068;
  --bg: #fdfaf6; --bg2: #f5efe6; --ink: #1c1008; --muted: #7a6858; --border: rgba(154,112,40,0.2); --dark: #1a0d0a;
  --serif: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: -apple-system, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
}
html.wf {
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', -apple-system, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }

/* Nav */
nav { position: sticky; top: 0; z-index: 200; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
      background: rgba(253,250,246,0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 36px; border-radius: 3px; background: #fff; position: relative; box-shadow: 0 2px 8px rgba(154,112,40,0.25); border: 1px solid var(--border); }
.logo-mark::before { content: ''; position: absolute; top: 3px; left: 3px; right: 3px; height: 22px; border-radius: 1px; background: linear-gradient(135deg, var(--gold-2), var(--rose)); }
.logo-text { font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; white-space: nowrap; }
.logo-text b { font-weight: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); letter-spacing: 0.06em; white-space: nowrap; }
.nav-links .btn-sm { padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), #8a6020); color: #fff; }
@media (max-width: 760px) { .nav-links .nav-anchor { display: none; } }
@media (max-width: 480px) { nav { padding: 12px 16px; } .nav-links { gap: 10px; } .logo-text { font-size: 15px; } .nav-links .btn-sm { padding: 8px 12px; } .nav-links a[href="/login.html"] { display: none; } }
@media (max-width: 360px) { .logo-text { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; border-radius: 999px; font-size: 14px; font-weight: 600;
       letter-spacing: 0.1em; text-decoration: none; transition: transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), #8a6020); color: #fff; box-shadow: 0 6px 22px rgba(154,112,40,0.3); }
.btn-line { border: 1px solid var(--gold); color: var(--gold); background: rgba(255,255,255,0.6); }

/* Page header */
.crumbs { max-width: 860px; margin: 0 auto; padding: 18px 24px 0; font-size: 11px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--gold); }
.page-head { max-width: 860px; margin: 0 auto; padding: 34px 24px 10px; }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-weight: normal; font-size: clamp(28px, 5vw, 44px); line-height: 1.4; letter-spacing: 0.04em; }
h1 em { font-style: normal; color: var(--rose); }
.page-lead { margin-top: 20px; font-size: 15px; line-height: 2.05; color: var(--muted); }
.head-photo { max-width: 860px; margin: 28px auto 0; padding: 0 24px; }
.head-photo img { display: block; width: 100%; height: auto; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 18px 44px rgba(40,20,10,0.16); }

/* Body */
main section { max-width: 860px; margin: 0 auto; padding: 56px 24px 0; }
h2 { font-family: var(--serif); font-weight: normal; font-size: clamp(22px, 3.6vw, 30px); line-height: 1.5; letter-spacing: 0.05em; margin-bottom: 18px; }
h2 small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.35em; color: var(--gold); margin-bottom: 8px; }
h3 { font-family: var(--serif); font-weight: normal; font-size: 19px; letter-spacing: 0.04em; line-height: 1.5; }
main p, main li { font-size: 14.5px; line-height: 2; color: #4a3a30; }
main p + p { margin-top: 12px; }
.note { font-size: 11.5px; line-height: 1.8; color: var(--muted); margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 22px 20px; }
.card.me { border: 1.5px solid var(--gold); background: #fffaf0; }
.card h3 { margin-bottom: 10px; }
.card dl { display: grid; gap: 6px; }
.card dt { font-size: 11px; letter-spacing: 0.12em; color: var(--gold); margin-top: 6px; }
.card dd { font-size: 13.5px; line-height: 1.85; color: #4a3a30; }

.points { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: '♥'; position: absolute; left: 0; color: var(--rose); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px 18px 72px; }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
                      display: flex; align-items: center; justify-content: center; background: var(--gold); color: #fff; font-family: var(--serif); font-size: 16px; }
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: 13.5px; line-height: 1.9; }
.quote { margin-top: 10px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--bg2); border-radius: 0 10px 10px 0; font-size: 13.5px; line-height: 1.9; }

.prices { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; font-size: 13.5px; }
.prices th, .prices td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.7; }
.prices tr:first-child th, .prices tr:first-child td { border-top: none; }
.prices th { font-weight: normal; color: #4a3a30; }
.prices td { white-space: nowrap; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.prices td small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* Comparison table (as on the LP) */
.cmp-wrap { margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.cmp { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.cmp th, .cmp td { padding: 12px 14px; vertical-align: top; line-height: 1.6; border-left: 1px solid var(--border); text-align: left; }
.cmp thead th { padding: 18px 14px 14px; font-family: var(--serif); font-weight: normal; font-size: 15px; }
.cmp small { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.cmp .ax { position: sticky; left: 0; z-index: 3; width: 96px; background: var(--bg2); border-left: none; vertical-align: middle; font-size: 12px; font-weight: 600; }
.cmp thead .ax { background: #fff; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--border); }
.cmp .me { width: 26%; background: #fffaf0; font-weight: 600; }
.cmp .me small { font-weight: normal; }
.cmp thead .me { color: var(--gold); font-size: 16px; }
.cmp b { display: block; font-family: var(--serif); font-weight: normal; font-size: 20px; line-height: 1.2; margin-bottom: 3px; }
.cmp b.ma { color: var(--gold); } .cmp b.mb { color: var(--ink); } .cmp b.mc { color: #a89888; } .cmp b.md { color: #cdbfb2; }
.cmp-hint { display: none; font-size: 11px; color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .cmp-hint { display: block; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 4px; position: relative; font-family: var(--serif); font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q.'; color: var(--gold); margin-right: 10px; font-style: italic; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 8px 20px 30px; font-size: 14px; line-height: 2; color: var(--muted); }
.faq .a a { color: var(--gold); }

/* Closing call to action */
.cta { max-width: 860px; margin: 64px auto 0; padding: 0 24px; }
.cta-box { text-align: center; padding: 40px 24px; border-radius: 24px; background: linear-gradient(160deg, #fffaf0, #f5efe6); border: 1px solid var(--border); }
.cta-box h2 { margin-bottom: 8px; }
.cta-box p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }
.cta-box .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.related { max-width: 860px; margin: 40px auto 0; padding: 0 24px; font-size: 13px; }
.related a { color: var(--gold); text-decoration: none; margin-right: 18px; display: inline-block; margin-top: 6px; }

footer { margin-top: 80px; padding: 34px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
         background: #140908; color: #8a7060; font-size: 12px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #f5e6d0; }
footer .tm-note { order: 3; flex-basis: 100%; font-size: 10px; line-height: 1.7; color: #6a5448; }

/* Article pages: copyable example texts and an in-body link to the top */
.sample-text { margin: 14px 0; background: #fbf7ef; border: 1px dashed #c9b48a; border-radius: 12px; padding: 16px 18px; font-size: 14.5px; line-height: 1.9; color: #3a2a20; white-space: pre-line; }
.sample-text .tag { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 4px; white-space: normal; }
.inline-cta { margin: 22px 0 0; padding: 16px 18px; background: #fff; border-radius: 14px; border: 1px solid #e6dccb; font-size: 14px; line-height: 1.9; }
.inline-cta a { color: var(--gold); font-weight: 600; }

/* Article pages (body.article): eyecatch → title → opening paragraph → body, set in Mincho */
.eyecatch { max-width: 860px; margin: 16px auto 0; padding: 0 24px; }
.eyecatch img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.art-head { max-width: 860px; margin: 0 auto; padding: 30px 24px 0; }
.art-head .eyebrow { margin-bottom: 10px; }
.art-head h1 { font-size: clamp(28px, 4vw, 32px); line-height: 1.5; }
.lede { position: relative; max-width: 812px; margin: 34px max(24px, calc((100% - 812px) / 2)) 0; padding: 24px 22px 18px;
         border: 1px solid rgba(154,112,40,0.45); border-radius: 4px; background: #fff; }
.lede::before { content: '忙しい方へ　先に結論'; position: absolute; top: -9px; left: 16px; padding: 0 8px; background: var(--bg);
                font-family: var(--sans); font-size: 11px; line-height: 18px; letter-spacing: 0.2em; color: var(--gold); }
.lede p { font-family: var(--serif); font-size: 16px; line-height: 2.05; color: #3a2a20; }
.lede p + p { margin-top: 10px; }
.article main { font-family: var(--serif); }
.article main section h2 { padding-bottom: 14px; margin-bottom: 22px; word-break: auto-phrase; text-wrap: balance;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 56px 2px no-repeat,
              linear-gradient(rgba(154,112,40,0.28), rgba(154,112,40,0.28)) left bottom / 100% 1px no-repeat; }
.article main h3 { padding-left: 12px; border-left: 3px solid rgba(184,80,104,0.45); }
/* Article text sizes: body 16px, H1 28–32px, H2 24px, H3 19px */
.article main p, .article main li, .article .faq p.a, .article .sample-text { font-size: 16px; }
.article main section h2 { font-size: 24px; }
.article main h3 { font-size: 19px; }
