*, *::before, *::after { box-sizing: border-box; }

html {
  color: var(--sumi);
  background: var(--kinari);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-synthesis: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--sumi);
  background-color: var(--kinari);
  background-image: var(--paper-noise), var(--paper-tile);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p, ul, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-mincho); font-weight: 700; line-height: 1.45; }
h2 { margin-bottom: 48px; font-size: clamp(1.6rem, 2.3vw, 2.25rem); line-height: 1.65; letter-spacing: .04em; text-align: center; text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.8rem); letter-spacing: .06em; }

.visually-hidden, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sec { position: relative; }
.washi {
  background-color: var(--kinari);
  background-image: var(--paper-noise), var(--paper-tile);
}
.section-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 104px 0; }
.section-inner.wide { width: min(1400px, calc(100% - 72px)); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(24px, 4vw, 64px);
  background: var(--kinari);
  border-bottom: 1px solid rgba(168, 138, 76, .22);
  box-shadow: 0 3px 14px rgba(26, 26, 26, .055);
}

.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand-logo { width: auto; height: 42px; mix-blend-mode: normal; }

.global-nav { display: flex; justify-self: center; gap: clamp(18px, 2.2vw, 38px); font-family: var(--font-mincho); font-weight: 700; white-space: nowrap; }
.global-nav a { position: relative; padding: 8px 0; }
.global-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--shu); transform: scaleX(0); transition: transform .2s ease; }
.global-nav a:hover::after, .global-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .06em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(26, 26, 26, .12);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, background-color .2s ease, border-bottom-width .08s ease;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.05); }
.btn-primary {
  color: #fff;
  background: linear-gradient(#27B268, #17904F);
  border: 0;
  border-bottom: 4px solid var(--cta-deep);
  box-shadow: 0 6px 14px rgba(18, 113, 62, .35);
}
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 8px 18px rgba(18, 113, 62, .42); }
.btn-primary:active { transform: translateY(2px); border-bottom-width: 2px; box-shadow: 0 3px 8px rgba(18, 113, 62, .3); }
.btn-secondary { color: var(--cta-dark); background: #fff; border: 2px solid var(--cta); box-shadow: 0 4px 10px rgba(18, 113, 62, .18); }
.btn-secondary:hover, .btn-secondary:focus-visible { color: var(--cta-deep); background: #EAF7EF; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(18, 113, 62, .24); }
.btn-secondary:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(18, 113, 62, .18); }
.btn-large { min-height: 64px; padding: 17px 42px; font-size: clamp(1rem, 1.5vw, 1.35rem); }

.paper-card {
  position: relative;
  background-color: rgba(252, 250, 244, .94);
  background-image: var(--paper-noise);
  border: 1px solid rgba(168, 138, 76, .18);
  box-shadow: var(--shadow-paper);
}
.emphasis-dots { text-emphasis: dot var(--shu); -webkit-text-emphasis: dot var(--shu); text-emphasis-position: over; }
.tax-note { margin: 18px 0 40px; color: var(--shu); font-family: var(--font-mincho); font-weight: 700; text-align: center; }
.tax-note.align-right { text-align: right; }
.source-note { margin: 36px auto 0; color: var(--muted); font-size: .86rem; text-align: center; }
.sp-sticky { display: none; }

.site-footer {
  position: relative;
  z-index: 2;
  color: var(--sumi);
  background-color: var(--white-paper);
  background-image: var(--paper-noise), var(--paper-tile);
  border-top: 3px solid var(--kincha);
}
.site-footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 36px;
  text-align: center;
}
.site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(330px, 72vw);
  margin-bottom: 30px;
}
.site-footer-logo img { width: 100%; height: auto; }
.site-footer-links,
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
  font-family: var(--font-sans);
  line-height: 1.6;
}
.site-footer-links { font-size: .9rem; font-weight: 700; }
.site-footer-legal { margin-top: 20px; color: var(--muted); font-size: .84rem; }
.site-footer-links a,
.site-footer-legal a { display: inline-flex; align-items: center; }
.site-footer-links a + a::before,
.site-footer-legal a + a::before {
  content: "｜";
  margin: 0 8px;
  color: rgba(74, 74, 68, .45);
  font-weight: 400;
}
.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-footer-legal a:hover,
.site-footer-legal a:focus-visible {
  color: var(--shu);
  text-decoration: underline;
  text-underline-offset: .24em;
}
.site-footer-copyright {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .8rem;
}
