/* あおば税理士事務所 — コンセプト「数字の話を、ふつうの言葉で。」 書類のように端正に。紺・紙の白・金茶。 */
:root { --navy: #14233B; --paper: #FAF8F3; --gold: #B8975A; --ink: #1D2430; --line: #DDD6C8; --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif; --sans: "Noto Sans JP", "Hiragino Sans", sans-serif; --gut: clamp(20px, 5vw, 72px); --max: 1120px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/2 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sec-en { font-family: var(--serif); font-size: 14px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.sec-en::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }

.hd { display: flex; align-items: center; gap: 28px; padding: 14px var(--gut); background: #fff; border-bottom: 1px solid var(--line); }
.logo { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .1em; line-height: 1.4; }
.logo small { display: block; font-family: var(--sans); font-weight: 500; font-size: 9px; letter-spacing: .22em; color: var(--gold); }
.hd nav { margin-left: auto; display: flex; gap: clamp(14px, 2.2vw, 30px); font-size: 14px; }
.hd nav a:hover { color: var(--gold); }
.hd-btn { padding: 10px 22px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; }

.btn { display: inline-block; padding: 16px 36px; background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--navy); transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #fff; color: var(--navy); border-color: #fff; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: #fff; }
.hero-copy { padding: clamp(48px, 8vw, 120px) var(--gut); align-self: center; }
.hero-tag { display: inline-block; font-size: 13px; padding: 2px 16px; border: 1px solid var(--gold); color: #E6CF9F; letter-spacing: .08em; }
.hero h1 { margin-top: 24px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.5; }
.hero-lead { margin-top: 22px; max-width: 30em; opacity: .9; }
.hero .btn { margin-top: 34px; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero .btn:hover { background: #fff; border-color: #fff; }
.hero-photo { min-height: 420px; position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), rgba(20, 35, 59, 0) 22%); }

.service, .flow { max-width: var(--max); margin-inline: auto; padding: clamp(72px, 10vw, 130px) var(--gut); }
.service ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.service li { position: relative; padding: clamp(24px, 3.4vw, 44px); padding-left: clamp(70px, 8vw, 100px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service span { position: absolute; left: clamp(20px, 3vw, 36px); top: clamp(24px, 3.4vw, 44px); width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--serif); background: var(--navy); color: #fff; }
.service h3 { font-size: 1.25rem; }
.service p { margin-top: 8px; font-size: 15px; }

.fee { background: #F1ECE1; padding: clamp(72px, 10vw, 130px) var(--gut); }
.fee-in { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fee-in > div > p:not(.sec-en):not(.note) { margin-top: 18px; }
.fee figure { margin-top: 28px; aspect-ratio: 3 / 2; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 440px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
th, td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: .1em; font-size: 14px; }
tbody th { font-weight: 500; font-size: 15px; white-space: nowrap; }
td { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.note { margin-top: 14px; font-size: 13px; color: #5B6270; }

.flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.flow li { padding: 0 clamp(14px, 2vw, 28px) 0 0; position: relative; }
.flow b { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--navy); position: relative; }
.flow b::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 7px; height: 7px; background: var(--navy); border-radius: 50%; }
.flow h3 { font-size: 1.1rem; }
.flow p { margin-top: 6px; font-size: 14px; line-height: 1.9; }

.greeting { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: var(--max); margin-inline: auto; padding: 0 var(--gut) clamp(72px, 10vw, 130px); }
.greeting figure { aspect-ratio: 4 / 5; }
.greeting h2 + p { margin-top: 20px; }
.greeting p + p { margin-top: 14px; }
.sign { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .14em; margin-top: 26px !important; }
.sign small { font-family: var(--sans); font-size: 12px; letter-spacing: 0; margin-left: 10px; color: #5B6270; }

.contact { background: var(--navy); color: #fff; text-align: center; padding: clamp(64px, 9vw, 120px) var(--gut); }
.contact p { margin-top: 10px; opacity: .88; }
.btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; margin-top: 34px; }
.tel { font-family: var(--serif); font-size: 28px; letter-spacing: .08em; line-height: 1.3; }
.tel small { display: block; font-family: var(--sans); font-size: 12px; opacity: .8; letter-spacing: .04em; }

.ft { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding: 30px var(--gut); font-size: 12px; line-height: 1.8; }

@media (max-width: 860px) {
  .hd nav { display: none; }
  .hd-btn { margin-left: auto; font-size: 12px; padding: 9px 14px; }
  .hero, .fee-in, .greeting { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .hero-photo::after { background: linear-gradient(0deg, var(--navy), rgba(20, 35, 59, 0) 30%); }
  .service ul { grid-template-columns: 1fr; }
  .flow ol { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .greeting figure { aspect-ratio: 3 / 2; }
}

h1, h2, h3, .quote { text-wrap: balance; word-break: auto-phrase; }
