:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #201f1c;
  --muted: #504f45;
  --rule: #c6c8b9;
  --green: #283c32;
  --green-light: #e9ece2;
  --serif: "Times New Roman", "BIZ UDMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 400 1rem/1.8 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #287052; outline-offset: 5px; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4; }
p { overflow-wrap: anywhere; }

.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(calc(100% - 3rem), 71rem); margin-inline: auto; }
.site-header {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-size: clamp(1.42rem, 3vw, 1.88rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.4rem; }
nav a { padding-block: .66rem; font-size: .91rem; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(1.5rem, 5.5vw, 5.35rem); padding-block: clamp(2.6rem, 5.3vw, 4.75rem); }
.hero h1 { font-size: clamp(2.6rem, 5.55vw, 5rem); line-height: 1.22; letter-spacing: -.065em; }
.hero p, .tool-intro > p { margin-top: 1.45rem; max-width: 34em; color: var(--muted); line-height: 1.95; }
.hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: #e8e5db; }

.services { padding-block: 1.4rem 3.4rem; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.section-label { font-size: 1.2rem; }
.service-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 3vw, 2.45rem);
  min-width: 0;
  background: var(--green-light);
  border-top: 4px solid var(--green);
}
.service-tool { background: #efebe3; border-top-color: #736049; }
.audience { font-size: .9rem; font-weight: 700; color: var(--green); }
.service-tool .audience { color: #584732; }
.service h3 { margin-top: .28rem; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.32; }
.service h3 + p { margin: .9rem 0 1.25rem; max-width: 33em; color: var(--muted); }
.action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .55rem 1.1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--green);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.service .action { margin-top: auto; }
.action:hover { text-decoration: underline; }
.primary { background: var(--green); color: white; border-color: var(--green); }
.primary:focus-visible { outline-color: #287052; }

.tool-hero {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.3rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4.25rem);
  margin-block: clamp(1.7rem, 4.7vw, 3.7rem);
  background: var(--green-light);
  border-top: 4px solid var(--green);
}
.tool-hero h1 { font-size: clamp(3.1rem, 7vw, 5.4rem); line-height: 1.2; }
.tool-lead { margin-top: .8rem; font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: bold; line-height: 1.55; }
.tool-intro > p:first-child { margin-top: 0; }
.tool-intro .action { margin-top: 1.25rem; }
.workflow { padding-block: .4rem 2.65rem; scroll-margin-top: 1rem; }
.steps { list-style-position: inside; padding: 0; margin-top: 1.35rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { padding: 1.15rem 1.3rem 1.15rem 0; border-top: 1px solid var(--rule); }
.steps li::marker { font-family: var(--serif); font-weight: bold; color: var(--green); }
.steps h3 { display: inline; font-size: 1.23rem; }
.steps p { margin-top: .65rem; color: var(--muted); }
.release { background: #efebe3; padding: clamp(1.15rem, 3.5vw, 2.6rem); margin-bottom: 3.35rem; scroll-margin-top: 1rem; }
.release p { margin-top: .7rem; color: var(--muted); }
.site-footer { display: flex; align-items: center; min-height: 70px; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--muted); }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 68px; }
  .hero, .tool-hero, .service-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.35rem; padding-block: 2.1rem 1.55rem; }
  .hero p, .tool-intro > p { margin-top: .75rem; }
  .hero-image { aspect-ratio: 2.1; }
  .desktop-break { display: none; }
  .services { padding-block: 1rem 2.35rem; }
  .service-grid { margin-top: .75rem; gap: 1rem; }
  .steps li { padding-right: 0; }
}
