:root {
  --ivory: #f7f4eb;
  --paper: #fffdf7;
  --forest: #173f35;
  --forest-2: #245a4a;
  --teal: #477b72;
  --charcoal: #25322f;
  --muted: #68736e;
  --line: #d8ded5;
  --leaf: #dfe8d4;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .035em;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; font-weight: 600; }

.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; padding: .6rem 1rem; background: var(--paper); color: var(--forest); border: 2px solid var(--forest); }
.skip-link:focus { top: 1rem; }
a:focus-visible { outline: 3px solid #bd6e30; outline-offset: 4px; border-radius: 3px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.header-inner { width: min(calc(100% - 48px), var(--max)); min-height: 90px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--forest); font-family: "Yu Mincho", "YuMincho", serif; font-weight: 700; font-size: 1.18rem; letter-spacing: .09em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 25%; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: #314a43; font-size: .82rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover { border-color: currentColor; }

.hero { min-height: 740px; max-width: 1440px; margin: auto; padding: 126px clamp(24px, 5vw, 72px) 70px; display: grid; grid-template-columns: minmax(320px, .82fr) minmax(460px, 1.18fr); align-items: center; gap: clamp(44px, 6vw, 92px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 1.5rem; color: var(--teal); font-size: .76rem; font-weight: 700; letter-spacing: .19em; }
.eyebrow span { margin-right: .55rem; }
h1 { margin-bottom: 1.6rem; color: var(--forest); font-size: clamp(2.7rem, 5vw, 4.85rem); line-height: 1.32; letter-spacing: .04em; }
h1 em { position: relative; font-style: normal; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; z-index: -1; left: -.05em; right: -.05em; bottom: .09em; height: .23em; border-radius: 50%; background: #d9e5c8; transform: rotate(-1deg); }
.hero-lead { margin-bottom: 2.2rem; color: #44534f; font-size: clamp(.96rem, 1.2vw, 1.08rem); line-height: 2.05; }
.button { display: inline-flex; align-items: center; gap: 1.4rem; padding: .78rem 1.25rem .78rem 1.45rem; background: var(--forest); color: white; border: 1px solid var(--forest); border-radius: 2px; font-size: .86rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button span { font-size: 1.05rem; }
.button:hover { background: transparent; color: var(--forest); transform: translateY(-2px); }
.hero-visual { position: relative; margin: 0; aspect-ratio: 1.1 / 1; }
.hero-visual::before { content: ""; position: absolute; inset: -12px 16px 16px -12px; z-index: -1; border: 1px solid #b9cabc; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; border-radius: 46% 46% 8px 8px / 21% 21% 8px 8px; }
.hero-visual figcaption { position: absolute; right: 1rem; bottom: -2.2rem; color: #6e7b75; font-family: "Yu Mincho", serif; font-size: .72rem; letter-spacing: .12em; writing-mode: vertical-rl; }

.section { padding: clamp(88px, 11vw, 150px) max(24px, calc((100vw - var(--max)) / 2)); }
.section-label { display: flex; align-items: center; gap: .85rem; margin-bottom: 3.5rem; color: var(--teal); }
.section-label span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: .67rem; }
.section-label p { margin: 0; font-size: .73rem; font-weight: 700; letter-spacing: .16em; }
.about { background: var(--paper); }
.about-content { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 8vw, 8rem); }
h2 { color: var(--forest); font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.5; letter-spacing: .045em; }
.about-text { max-width: 620px; color: #4b5955; }
.about-text .intro { margin-bottom: 2.2rem; }
.purpose-list { margin: 0 0 2.2rem; padding: 1.65rem 0; list-style: none; border-block: 1px solid var(--line); }
.purpose-list li + li { margin-top: .45rem; }
.purpose-list span { margin-right: .8rem; color: var(--teal); }

.toolbox { overflow: hidden; background: var(--forest); color: #edf1e9; }
.section-label.light { color: #bbcec4; }
.toolbox-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.6rem; }
.toolbox h2 { margin-bottom: .9rem; color: white; }
.toolbox-heading p { margin: 0; color: #c9d4cd; }
.tool-count { flex: none; color: #b5cabe; font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; }
.tool-count small { display: block; margin-top: .45rem; font-family: inherit; font-size: .65rem; letter-spacing: .16em; text-align: center; }
.empty-state { min-height: 260px; display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); padding: 3rem; border: 1px solid #527266; background: rgba(255,255,255,.035); }
.empty-icon { display: grid; width: 112px; height: 112px; flex: none; place-items: center; border-radius: 50%; background: #274f43; }
.empty-icon svg { width: 64px; fill: none; stroke: #b8cdbf; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h3 { margin-bottom: .55rem; color: white; font-family: "Yu Gothic", sans-serif; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.empty-state p { margin: 0; color: #c9d4cd; }
.notice { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1.15rem 1.3rem; color: #c6d2cb; background: #12352d; font-size: .78rem; }
.notice span { display: grid; width: 1.4rem; height: 1.4rem; flex: none; place-items: center; border: 1px solid #759287; border-radius: 50%; font-family: Georgia, serif; font-style: italic; }
.notice p { margin: 0; }

footer { padding: 3.2rem 24px; background: #102e27; color: #adc1b7; }
.footer-inner { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-brand { color: #f2f0e8; }
.footer-inner > p { margin: 0; font-size: .72rem; letter-spacing: .1em; }
.copyright { justify-self: end; }
.mobile-break { display: none; }

@media (max-width: 840px) {
  .header-inner { width: min(calc(100% - 32px), var(--max)); min-height: 76px; }
  nav { gap: 1rem; }
  nav a { font-size: .72rem; }
  .hero { min-height: auto; padding: 116px 24px 84px; grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { width: min(100%, 680px); justify-self: end; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .hero-visual img { border-radius: 34% 34% 6px 6px / 25% 25% 6px 6px; }
  .about-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p:first-of-type { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1rem; }
  .brand img { width: 30px; height: 30px; }
  nav a:first-child { display: none; }
  .hero { padding-inline: 20px; padding-top: 100px; gap: 46px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero-lead br { display: none; }
  .hero-visual { aspect-ratio: 4 / 5; }
  .hero-visual img { object-position: 55% center; border-radius: 42% 42% 5px 5px / 16% 16% 5px 5px; }
  .hero-visual figcaption { right: .4rem; }
  .section { padding-inline: 20px; }
  .section-label { margin-bottom: 2.5rem; }
  .about-text br { display: none; }
  .toolbox-heading { align-items: start; margin-bottom: 2.4rem; }
  .tool-count { font-size: 2.7rem; }
  .empty-state { min-height: 300px; flex-direction: column; gap: 1.5rem; padding: 2rem 1.4rem; text-align: center; }
  .empty-icon { width: 90px; height: 90px; }
  .mobile-break { display: initial; }
  .notice { align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
  .footer-brand, .copyright { justify-self: center; }
}

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