/* 制作例：あおば会計事務所（架空） */
:root {
  --navy: #1d2b45; --navy-2: #2c3d5e; --gold: #b8925a; --gold-2: #c9a76b; --paper: #f7f4ee; --white: #fff;
  --ink: #23272f; --ink-2: #5a606b; --line: #e3ddd1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; line-height: 1.9; overflow-x: clip; -webkit-text-size-adjust: 100%; }
svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.45; font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif; font-weight: 800; }
.tx-wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ヘッダー */
.tx-header { position: sticky; top: 34px; z-index: 50; background: rgb(255 255 255 / 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tx-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.tx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: "Shippori Mincho", serif; font-weight: 800; font-size: 18px; line-height: 1.25; }
.tx-logo small { display: block; font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: 11px; color: var(--ink-2); }
.tx-nav { display: none; gap: 22px; margin-left: auto; font-size: 14px; }
.tx-nav a { text-decoration: none; color: var(--ink); }
.tx-header__cta { margin-left: auto; }
@media (min-width: 960px) { .tx-nav { display: flex; } .tx-header__cta { margin-left: 0; } }

/* ボタン */
.tx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; white-space: nowrap; }
.tx-btn--gold { background: var(--gold); color: #fff; }
.tx-btn--gold:hover { background: #a37f4b; }
.tx-btn--ghost { border-color: rgb(255 255 255 / 0.6); color: #fff; }
.tx-btn--lg { min-height: 56px; padding: 12px 26px; font-size: 15px; white-space: normal; text-align: center; }
.tx-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ヒーロー */
.tx-hero { background: radial-gradient(120% 120% at 100% 0%, var(--navy-2) 0%, var(--navy) 60%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.tx-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border: 1px solid rgb(201 167 107 / 0.35); border-radius: 50%; }
.tx-hero__inner { display: grid; gap: 40px; position: relative; z-index: 1; }
.tx-hero__kicker { margin: 0 0 12px; color: var(--gold-2); font-size: 14px; letter-spacing: 0.12em; }
.tx-hero h1 { font-size: clamp(30px, 6.4vw, 52px); letter-spacing: 0.04em; }
.tx-hero__lead { margin: 20px 0 28px; max-width: 32em; color: rgb(255 255 255 / 0.85); }
.tx-hero__actions { display: grid; gap: 12px; }
@media (min-width: 640px) { .tx-hero__actions { grid-template-columns: repeat(2, max-content); } }
.tx-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgb(255 255 255 / 0.15); border: 1px solid rgb(255 255 255 / 0.15); }
.tx-trust li { background: var(--navy); padding: 16px; text-align: center; font-size: 13px; color: rgb(255 255 255 / 0.8); }
.tx-trust strong { display: block; font-family: "Shippori Mincho", serif; font-size: 30px; color: var(--gold-2); line-height: 1.3; }
.tx-trust small { font-size: 14px; margin-left: 2px; }
@media (min-width: 960px) { .tx-hero { padding: 96px 0; } .tx-hero__inner { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* セクション共通 */
.tx-section { padding: 72px 0; }
.tx-section--paper { background: var(--paper); }
.tx-section--navy { background: var(--navy); color: #fff; }
.tx-eyebrow { margin: 0; color: var(--gold); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.tx-h2 { font-size: clamp(24px, 4.6vw, 34px); margin: 6px 0 32px; }
.tx-note { font-size: 12px; color: var(--ink-2); margin: 0; }

/* お悩み */
.tx-worries { background: var(--paper); }
.tx-worries .tx-h2 { text-align: center; }
.tx-worries .tx-h2 span { display: block; font-size: 0.6em; color: var(--ink-2); }
.tx-checks { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; gap: 10px; }
@media (min-width: 640px) { .tx-checks { grid-template-columns: 1fr 1fr; } }
.tx-checks li { position: relative; background: #fff; border: 1px solid var(--line); padding: 14px 16px 14px 46px; font-weight: 500; }
.tx-checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 10px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: translateY(-75%) rotate(-45deg); }
.tx-worries__answer { text-align: center; margin: 28px 0 0; font-weight: 500; }

/* 業務内容 */
.tx-services { display: grid; gap: 20px; }
@media (min-width: 900px) { .tx-services { grid-template-columns: repeat(3, 1fr); } }
.tx-service { border-top: 3px solid var(--navy); padding: 20px 4px 0; }
.tx-service__no { margin: 0; font-family: "Shippori Mincho", serif; color: var(--gold); font-size: 28px; }
.tx-service h3 { font-size: 21px; margin-bottom: 8px; }
.tx-service p { margin: 0 0 12px; color: var(--ink-2); }
.tx-service ul { margin: 0; padding-left: 1.2em; font-size: 14px; }

/* 料金 */
.tx-price__lead { margin: -16px 0 24px; color: rgb(255 255 255 / 0.75); font-size: 14px; }
.tx-price { border-top: 1px solid rgb(255 255 255 / 0.25); }
.tx-price__row { display: grid; gap: 2px 24px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 0.25); }
@media (min-width: 720px) { .tx-price__row { grid-template-columns: 14em 12em 1fr; align-items: baseline; } }
.tx-price__row p { margin: 0; }
.tx-price__name { font-weight: 700; }
.tx-price__fee { font-family: "Shippori Mincho", serif; font-size: 22px; color: var(--gold-2); }
.tx-price__note { font-size: 13px; color: rgb(255 255 255 / 0.7); }

/* 流れ */
.tx-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: f; }
@media (min-width: 900px) { .tx-flow { grid-template-columns: repeat(4, 1fr); } }
.tx-flow li { counter-increment: f; background: var(--paper); padding: 22px 20px; position: relative; }
.tx-flow li::before { content: "STEP " counter(f); display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.2em; font-weight: 700; }
.tx-flow h3 { font-size: 19px; margin: 4px 0 6px; }
.tx-flow p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* 事務所案内 */
.tx-about { display: grid; gap: 32px; }
.tx-about > * { min-width: 0; }
.tx-about__photo { width: min(100%, 300px); }
.tx-about__photo svg { width: 100%; }
@media (min-width: 900px) { .tx-about { grid-template-columns: 300px 1fr; align-items: start; } }
.tx-sign { margin: 20px 0; font-size: 13px; color: var(--ink-2); }
.tx-sign strong { display: block; font-family: "Shippori Mincho", serif; font-size: 24px; color: var(--ink); }
.tx-dl { margin: 0; border-top: 1px solid var(--line); }
.tx-dl div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tx-dl dt { color: var(--ink-2); }
.tx-dl dd { margin: 0; }

/* よくある質問 */
.tx-faq { max-width: 820px; }
.tx-faq details { border-bottom: 1px solid var(--line); }
.tx-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; }
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary::before { content: "Q"; font-family: "Shippori Mincho", serif; color: var(--gold); margin-right: 12px; font-size: 20px; }
.tx-faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--navy); }
.tx-faq details[open] summary::after { content: "−"; }
.tx-faq details p { margin: 0 0 18px; padding-left: 28px; color: var(--ink-2); }

/* お問い合わせ */
.tx-contact { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0; }
.tx-contact__inner { display: grid; gap: 28px; }
.tx-contact__inner > * { min-width: 0; }
@media (min-width: 900px) { .tx-contact__inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.tx-contact__tel { font-family: "Shippori Mincho", serif; font-size: 34px; color: var(--gold-2); margin: 8px 0 0; letter-spacing: 0.04em; }
.tx-contact__tel small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 13px; color: rgb(255 255 255 / 0.7); letter-spacing: 0; }
.tx-form { background: #fff; color: var(--ink); padding: 24px; display: grid; gap: 14px; }
.tx-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.tx-form input, .tx-form select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; }
.tx-footer { background: #141e31; color: rgb(255 255 255 / 0.6); font-size: 12px; padding: 24px 0; }
.tx-footer p { margin: 0; }
