@charset "UTF-8";
/* =========================================================
   猪瀬将一税理士事務所  サイト共通スタイル
   ========================================================= */
:root {
  --navy: #1e3a5f;
  --navy-dark: #152b47;
  --teal: #007399;
  --gold: #b78b2b;
  --ink: #1f2933;
  --muted: #5b6770;
  --line: #d9e0e6;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-note: #fff8e6;
  --radius: 8px;
  --maxw: 1080px;
  --shadow: 0 2px 12px rgba(30, 58, 95, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
table { border-collapse: collapse; width: 100%; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .5em 1em; z-index: 1000;
}
.skip:focus { left: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 1.25rem; letter-spacing: .04em; }
.brand small { font-size: .72rem; color: var(--muted); letter-spacing: .12em; margin-top: 3px; }
.header-tel { display: none; }
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px;
  position: relative; flex-shrink: 0;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); transition: .2s;
}
.nav-toggle-label span { top: 21px; }
.nav-toggle-label span::before { top: -7px; left: 0; }
.nav-toggle-label span::after { top: 7px; left: 0; }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.global-nav a {
  display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; color: var(--ink); font-size: .95rem; border-radius: 6px; font-weight: 500;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.global-nav a.cta {
  background: var(--navy); color: #fff; margin-left: 6px;
}
.global-nav a.cta:hover { background: var(--navy-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #24507f 60%, #2b6a96 100%);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero .eyebrow { font-size: .9rem; letter-spacing: .15em; opacity: .85; margin-bottom: 12px; }
.hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 18px; letter-spacing: .03em; }
.hero p.lead { font-size: 1.05rem; max-width: 640px; opacity: .95; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 2px solid transparent; transition: .15s; line-height: 1.3; text-align: center;
}
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: #a1781f; border-color: #a1781f; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Page title (sub pages) ---------- */
.page-title { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-title h1 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.page-title .en { display: block; font-size: .78rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 6px; font-weight: 700; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .en { display: block; font-size: .78rem; letter-spacing: .2em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.section-title h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); color: var(--navy); }
.section-title h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 2px; }
h2.h { font-size: 1.45rem; color: var(--navy); border-left: 5px solid var(--gold); padding-left: 14px; margin: 44px 0 18px; }
h2.h:first-child { margin-top: 0; }
h3.h { font-size: 1.15rem; color: var(--navy); border-bottom: 2px solid var(--line); padding-bottom: 8px; margin: 32px 0 14px; }
h4.h { font-size: 1.02rem; color: var(--teal); margin: 20px 0 8px; }
.lead { font-size: 1.05rem; }
.content { max-width: 860px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: .95rem; margin-bottom: 0; color: var(--ink); }
.card .num { font-size: .8rem; color: var(--gold); letter-spacing: .15em; font-weight: 700; margin-bottom: 8px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30,58,95,.14); color: inherit; }
.card-link .more { display: inline-block; margin-top: 12px; color: var(--teal); font-weight: 700; font-size: .9rem; }

/* ---------- Greeting ---------- */
.greeting { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.greeting img { border-radius: var(--radius); box-shadow: var(--shadow); }
.greeting .name { margin-top: 12px; font-weight: 700; color: var(--navy); text-align: center; }
.greeting .name small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 12px 0 18px; }
.fee-table th, .fee-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: .95rem; }
.fee-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.fee-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table tr:nth-child(even) td { background: #fbfcfd; }

/* ---------- Definition list ---------- */
.dl { margin: 0 0 1.5em; }
.dl div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); padding: 14px 4px; gap: 12px; }
.dl div:first-child { border-top: 1px solid var(--line); }
.dl dt { font-weight: 700; color: var(--navy); }
.dl dd { margin: 0; }

/* ---------- Fee lists ---------- */
.fee-list { list-style: none; padding: 0; margin: 0 0 1em; }
.fee-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fee-list li strong { color: var(--navy); }
.fee-list li .price { color: var(--ink); }

/* ---------- Notes / boxes ---------- */
.note { background: var(--bg-note); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 6px 6px 0; font-size: .93rem; margin: 16px 0; }
.note ul { margin-bottom: 0; }
.box { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; margin: 16px 0; }
.box h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.box ul { margin-bottom: 0; }
.caution { color: #b3261e; font-weight: 700; }
.service-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block h2.h { margin-top: 0; }
.service-nav { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-nav a {
  display: inline-block; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 500;
}
.service-nav a:hover { border-color: var(--navy); background: var(--bg-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { font-size: 1.5rem; margin-bottom: 10px; }
.cta-band p { opacity: .9; margin-bottom: 22px; }
.cta-band .tel { font-size: 2rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: #fff; display: inline-block; }
.cta-band .tel small { display: block; font-size: .85rem; font-weight: 400; opacity: .85; letter-spacing: .05em; }
.cta-band .hours { font-size: .9rem; opacity: .85; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0 8px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.contact-card .label { font-size: .8rem; letter-spacing: .15em; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.contact-card .big { font-size: 1.6rem; font-weight: 700; color: var(--navy); text-decoration: none; display: block; word-break: break-all; }
.contact-card p { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- Map ---------- */
.map { position: relative; width: 100%; padding-top: 56%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 16px 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #d6dee7; padding: 44px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.site-footer p { margin-bottom: .5em; }
.site-footer a { color: #d6dee7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .8rem; text-align: center; color: #9fb0c3; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.small { font-size: .88rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .hero h1 br { display: none; }
  .header-inner { min-height: 64px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }
  .nav-toggle-label { display: block; }
  .global-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav-toggle:checked ~ .global-nav { display: block; }
  .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
  .global-nav ul { flex-direction: column; gap: 0; padding: 8px 12px 14px; }
  .global-nav a { padding: 12px 10px; border-radius: 6px; font-size: 1rem; }
  .global-nav a.cta { margin: 8px 0 0; text-align: center; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 40px 0; }
  .grid-3, .grid-2, .contact-cards { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 1fr; }
  .greeting img { width: 200px; margin: 0 auto; }
  .dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-band .tel { font-size: 1.7rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
