:root {
  color-scheme: light;
  --ink: #262624;
  --sub: #60605b;
  --accent: #ffb000;
  --paper: #fff;
  --soft: #f5f5f2;
  --pale: #eef5f1;
  --line: #dcdcd6;
  --danger: #a53b2a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.85 "Noto Sans CJK JP", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
a { color: var(--ink); }
a:visited { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.label { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--accent); }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .18s ease; }
.arrow-link:hover::after { transform: translateX(5px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: #fffffff2;
  backdrop-filter: blur(12px);
}
.site-header .wrap {
  width: calc(100% - 40px);
  max-width: 1600px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 48px; color: #111; font-weight: 700; text-decoration: none; }
.brand:visited, .brand span { color: #111; }
.brand-logo { width: 39px; height: 42px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; }
.company-name { font-size: 14px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: #745200; }
.nav-contact { display: inline-flex; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--ink); }

.page-hero { position: relative; min-height: 540px; overflow: hidden; border-bottom: 1px solid var(--ink); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 112px; padding-bottom: 92px; }
.page-hero .label { margin-bottom: 22px; }
.page-hero h1 { max-width: 1080px; font-size: clamp(52px, 7vw, 96px); line-height: 1.1; }
.page-hero-copy { max-width: 650px; margin-top: 38px; color: var(--sub); font-size: 18px; }
.page-hero.compact { min-height: 280px; }
.page-hero.compact .wrap { padding-top: 58px; padding-bottom: 50px; }
.page-hero.compact h1 { font-size: 42px; }
.page-hero.compact .page-hero-copy { margin-top: 18px; }
.page-hero-dots {
  position: absolute;
  right: -220px;
  bottom: -330px;
  width: 900px;
  height: 680px;
  background-image: radial-gradient(circle, #ffb000 0 1.25px, transparent 1.65px);
  background-size: 14px 14px;
  opacity: .46;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0 47%, #000 47.5% 55%, transparent 55.5%);
  mask-image: radial-gradient(ellipse at center, transparent 0 47%, #000 47.5% 55%, transparent 55.5%);
  transform: rotate(-10deg);
}

.section { padding: 130px 0; }
.section.soft { background: var(--soft); }
.section.pale { background: var(--pale); }
.section-grid { display: grid; grid-template-columns: .34fr .66fr; gap: 70px; align-items: start; }
.section-heading h2 { margin-top: 10px; font-size: clamp(38px, 5vw, 64px); }
.section-heading p:not(.label) { max-width: 330px; margin-top: 24px; color: var(--sub); }
.lead { color: var(--ink); font-size: clamp(23px, 2.6vw, 34px); font-weight: 700; line-height: 1.6; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 24px; }
.prose p { color: var(--sub); }
.prose h2 { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--ink); font-size: clamp(28px, 3vw, 42px); }
.prose h3 { margin-top: 42px; font-size: 23px; }
.prose ul { margin: 18px 0 0; padding-left: 1.4em; color: var(--sub); }
.prose li + li { margin-top: 8px; }
.prose a { text-underline-offset: 4px; }

.company-data { margin: 0; border-top: 1px solid var(--ink); }
.company-data div { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.company-data dt { font-weight: 700; }
.company-data dd { margin: 0; color: var(--sub); }
.statement { position: relative; padding-left: 42px; border-left: 5px solid var(--accent); }
.statement p + p { margin-top: 24px; }
.signature-name { margin-top: 42px!important; color: var(--ink)!important; font-weight: 700; text-align: right; }

.document-layout { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: 90px; align-items: start; }
.document-nav { position: sticky; top: 112px; }
.document-nav p { margin-bottom: 16px; }
.document-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--sub); font-size: 14px; text-decoration: none; }
.document-nav a:hover { color: var(--ink); }
.document-meta { margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--sub); font-size: 13px; }

/* 方針・取組は、告知ページではなく読むための文書として静かな文字階層にする。 */
.document-page .page-hero { min-height: 320px; }
.document-page h1, .document-page h2, .document-page h3, .document-page .label { letter-spacing: 0; }
.document-page .page-hero .wrap { padding-top: 64px; padding-bottom: 56px; }
.document-page .page-hero .label { margin-bottom: 16px; }
.document-page .page-hero h1 { max-width: 760px; font-size: clamp(38px, 4.2vw, 52px); line-height: 1.2; }
.document-page .page-hero-copy { margin-top: 22px; font-size: 16px; }
.document-page .section { padding: 88px 0 104px; }
.document-page .prose h2 { margin-top: 48px; padding-top: 32px; font-size: clamp(24px, 2vw, 30px); line-height: 1.45; }
.document-page .prose h3 { margin-top: 32px; font-size: 20px; line-height: 1.5; }

.contact-layout { display: grid; grid-template-columns: .34fr .66fr; gap: 70px; align-items: start; }
.contact-page .section { padding: 90px 0 110px; }
.contact-aside h2 { margin-top: 10px; font-size: clamp(38px, 5vw, 64px); }
.contact-page .contact-aside h2 { font-size: 38px; }
.contact-aside > p:not(.label) { max-width: 330px; margin-top: 24px; color: var(--sub); }
.contact-note { margin-top: 42px; padding: 22px; border-left: 4px solid var(--accent); background: var(--soft); color: var(--sub); font-size: 14px; }
.form { border-top: 1px solid var(--ink); }
.field { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.field-label { padding-top: 11px; font-weight: 700; }
.required { margin-left: 8px; color: var(--danger); font-size: 12px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #c8c8c2;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field input, .field select { min-height: 52px; padding: 11px 14px; }
.field textarea { min-height: 210px; padding: 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #999994; }
.field-help { margin-top: 7px; color: var(--sub); font-size: 13px; }
.privacy-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; }
.privacy-check input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--accent); }
.privacy-check label { color: var(--sub); }
.form-action { display: flex; align-items: center; gap: 24px; margin-top: 38px; }
.button {
  min-width: 220px;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: #3b3b37; }
.form-status { color: var(--sub); font-size: 14px; }
.form-status[hidden] { display: none; }

.contact-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.contact-band-link { display: grid; grid-template-columns: .34fr .56fr .1fr; gap: 40px; align-items: center; min-height: 220px; text-decoration: none; }
.contact-band-link h2 { font-size: clamp(42px, 5.4vw, 70px); }
.contact-band-link p { max-width: 580px; color: var(--sub); }
.contact-arrow { justify-self: end; font-size: 42px; transition: transform .18s ease; }
.contact-band-link:hover .contact-arrow { transform: translateX(8px); }

.site-footer { padding: 88px 0 40px; background: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 56px; padding-bottom: 72px; }
.site-footer .brand { align-items: flex-start; }
.site-footer .brand-logo { width: 48px; height: 52px; }
.footer-brand p { max-width: 320px; margin-top: 26px; color: var(--sub); font-size: 13px; }
.footer-col h3 { font-size: 13px; }
.footer-col nav { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.footer-col a { color: var(--sub); font-size: 13px; text-decoration: none; }
.footer-col a:visited { color: var(--sub); }
.footer-col a:hover { color: #745200; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--sub); font-size: 11px; }

@media (max-width: 900px) {
  .section-grid, .contact-layout { grid-template-columns: 1fr; }
  .document-layout { grid-template-columns: 1fr; gap: 52px; }
  .document-nav { position: static; }
  .contact-band-link { grid-template-columns: 1fr auto; }
  .contact-band-link p { grid-column: 1; }
  .contact-arrow { grid-column: 2; grid-row: 1 / 3; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .site-header .wrap { width: calc(100% - 24px); height: 62px; }
  .brand { gap: 8px; min-height: 42px; }
  .brand-logo { width: 31px; height: 34px; }
  .company-name { font-size: 12.5px; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .site-header nav { gap: 0; }
  .nav-contact { font-size: 12px; }
  .page-hero { min-height: 450px; }
  .page-hero .wrap { padding-top: 76px; padding-bottom: 70px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 54px); }
  .page-hero-copy { margin-top: 28px; font-size: 16px; }
  .page-hero.compact { min-height: 240px; }
  .page-hero.compact .wrap { padding-top: 48px; padding-bottom: 42px; }
  .page-hero.compact h1 { font-size: 34px; }
  .page-hero-dots { right: -360px; bottom: -300px; width: 720px; height: 560px; background-size: 12px 12px; }
  .section { padding: 88px 0; }
  .section-grid, .contact-layout { gap: 44px; }
  .section-heading h2, .contact-aside h2 { font-size: 40px; }
  .company-data div, .field { grid-template-columns: 1fr; gap: 6px; }
  .field-label { padding-top: 0; }
  .statement { padding-left: 24px; }
  .contact-page .section { padding: 70px 0 88px; }
  .contact-page .contact-aside h2 { font-size: 32px; }
  .document-layout { gap: 36px; }
  .document-nav { display: none; }
  .document-page .page-hero { min-height: 0; }
  .document-page .page-hero .wrap { padding-top: 52px; padding-bottom: 48px; }
  .document-page .page-hero h1 { font-size: 32px; line-height: 1.35; }
  .document-page .page-hero-copy { margin-top: 18px; }
  .document-page .section { padding: 56px 0 72px; }
  .document-page .prose h2 { margin-top: 40px; padding-top: 28px; font-size: 24px; }
  .document-page .prose h3 { margin-top: 28px; font-size: 19px; }
  .form-action { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .contact-band-link { min-height: 250px; padding: 42px 0; }
  .contact-band-link h2 { font-size: 42px; }
  .contact-arrow { font-size: 32px; }
  .site-footer { padding: 68px 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 46px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
