/* 制作見本：若草通り税理士事務所（架空）。深い緑と生成り、ゆったりした行間。 */
:root {
  --ivory: #fbfaf5;
  --tint: #f1f4ea;
  --green: #1f4a3a;
  --green-mid: #2f6b52;
  --green-light: #a9c97a;
  --ink: #1d2a24;
  --muted: #4d5a52;
  --line: #d5dccb;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --banner: 7rem;
}
@media (min-width: 768px) { :root { --banner: 3rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--banner) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 2; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 2px; }

.sample-banner { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding: 0.375rem 1rem 0; background: #fff8d6; border-bottom: 1px solid #b89a2e; color: #3d3300; font-size: 0.75rem; line-height: 1.5; }
.sample-banner__text { flex: 1 1 28rem; }
.sample-banner__links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.sample-banner__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 768px) { .sample-banner { padding-top: 0; } }

.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
.phrase { display: inline-block; }

.header { border-bottom: 1px solid var(--line); background: var(--ivory); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.875rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; color: var(--green); text-decoration: none; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.3; }
.brand__name span { margin-left: 0.25rem; font-size: 0.875rem; }
.nav { display: flex; gap: 0.125rem; max-width: 100%; overflow-x: auto; }
.nav a { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding-inline: 0.75rem; font-size: 0.875rem; text-decoration: none; }
.nav a:hover { color: var(--green-mid); text-decoration: underline; }
.nav .nav__contact { border-radius: 6px; background: var(--green); color: #fff; }
.nav .nav__contact:hover { background: var(--green-mid); color: #fff; }
@media (max-width: 767px) { .header__inner { padding-bottom: 0; } .nav { width: calc(100% + 1.5rem); max-width: none; margin-inline: -0.75rem; } }

.hero { padding-block: 3rem 4rem; }
.hero__inner { display: grid; gap: 2rem; align-items: center; }
.hero__tag { color: var(--green-mid); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; }
.hero h1 { margin-top: 1rem; color: var(--green); font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); font-weight: 600; letter-spacing: 0.06em; line-height: 1.5; }
.hero__lead { max-width: 32em; margin-top: 1.5rem; color: var(--muted); }
.hero__points { display: grid; gap: 0.25rem; margin-top: 1.5rem; }
.hero__points li { padding-left: 1.75rem; background: url("images/leaf.svg") left center / 1.125rem no-repeat; font-weight: 700; }
.hero .button { margin-top: 2rem; }
.hero__visual { width: min(100%, 32rem); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.75rem 1.75rem; border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: #fff; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.button:hover { background: var(--green-mid); }
.button--disabled, .button--disabled:hover { border-color: var(--line); background: #e9ece4; color: var(--muted); cursor: not-allowed; }

.section { padding-block: 4.5rem; }
.section--tint { background: var(--tint); }
.section--green { background: var(--green); color: #fff; }
.heading { margin-bottom: 2.5rem; text-align: center; }
.heading--left { text-align: left; }
.heading__en { color: var(--green-mid); font-family: Georgia, "Times New Roman", serif; font-size: 0.875rem; letter-spacing: 0.24em; text-transform: uppercase; }
.heading h2 { margin-top: 0.25rem; color: var(--green); font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem); font-weight: 600; letter-spacing: 0.08em; line-height: 1.5; }
.heading__lead { max-width: 38em; margin: 1rem auto 0; color: var(--muted); font-size: 0.9375rem; }
.section--green .heading__en { color: var(--green-light); }
.section--green .heading h2 { color: #fff; }
.section--green .heading__lead { color: #dfe9d8; }

.services { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.services li { padding: 1.75rem 1.5rem; background: var(--ivory); }
.services h3 { padding-left: 1.75rem; background: url("images/leaf.svg") left 0.3em / 1.25rem no-repeat; color: var(--green); font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; }
.services p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.9; }

.table-scroll { overflow-x: auto; }
.fees { width: 100%; min-width: 36rem; border-collapse: collapse; background: #fff; font-size: 0.9375rem; }
.fees th, .fees td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fees thead th { background: var(--green); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.fees tbody th { color: var(--green); font-family: var(--serif); font-weight: 600; }
.fees__price { color: var(--ink); font-size: 1.125rem; font-weight: 700; white-space: nowrap; }

.features { display: grid; gap: 1.5rem; }
.features li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.features__number { color: var(--green-mid); font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; line-height: 1; }
.features h3 { color: var(--green); font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; }
.features p { margin-top: 0.375rem; color: var(--muted); font-size: 0.9375rem; }

.greeting { display: grid; gap: 2.5rem; align-items: center; }
.greeting__visual { width: min(100%, 20rem); margin-inline: auto; }
.greeting__body > p { margin-top: 1rem; }
.greeting__name { margin-top: 1.5rem; color: var(--green); font-family: var(--serif); font-size: 1.125rem; font-weight: 600; text-align: right; }
.greeting__name span { margin-left: 0.25rem; color: var(--muted); font-family: var(--sans); font-size: 0.8125rem; font-weight: 400; }

.access { display: grid; gap: 2rem; align-items: center; }
.access__list div { display: grid; gap: 0.125rem; padding-block: 0.875rem; border-bottom: 1px solid var(--line); }
.access__list dt { color: var(--green-mid); font-size: 0.8125rem; font-weight: 700; }
.access__map { width: 100%; border-radius: 12px; }

.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq details + details { margin-top: 0.75rem; }
.faq summary { display: flex; align-items: center; min-height: 56px; padding: 0.75rem 1.25rem; color: var(--green); font-weight: 700; cursor: pointer; line-height: 1.6; }
.faq summary::before { content: "Q"; flex: none; margin-right: 0.75rem; color: var(--green-mid); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.faq details p { padding: 0 1.25rem 1.25rem 3.125rem; color: var(--muted); font-size: 0.9375rem; }

.contact__box { display: grid; justify-items: center; gap: 1rem; max-width: 40rem; margin-inline: auto; padding: 2rem 1.5rem; border-radius: 12px; background: var(--ivory); color: var(--ink); text-align: center; }
.contact__tel { display: grid; justify-items: center; }
.contact__label { color: var(--green-mid); font-size: 0.8125rem; font-weight: 700; }
.contact__number { color: var(--green); font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: 0.06em; }
.contact__hours { color: var(--muted); font-size: 0.875rem; }
.contact__notice { color: #8a2f1f; font-weight: 700; }
.contact__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-weight: 700; }

.footer { padding-block: 2.5rem; background: #163428; color: #dfe9d8; font-size: 0.875rem; }
.footer__inner { display: grid; gap: 0.375rem; }
.footer__name { color: #fff; font-family: var(--serif); font-size: 1.125rem; letter-spacing: 0.08em; }
.footer__name span { margin-left: 0.5rem; color: #dfe9d8; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0; }
.site-credit { margin-top: 1rem; }
.site-credit a { color: #fff; }
.footer__copy { color: #b9cbb0; }

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features li { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--green); padding-top: 1.5rem; }
  .access__list div { grid-template-columns: 7rem 1fr; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 4.5rem 6rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .greeting { grid-template-columns: 20rem 1fr; gap: 4rem; }
  .access { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; }
  .faq { margin-inline: auto; }
  .section { padding-block: 6rem; }
}
@media (forced-colors: active) { .button, .services li, .contact__box, .faq details { border: 1px solid CanvasText; } }
@media print { .sample-banner { position: static; } .section--green, .footer { background: none; color: #000; } }
