:root {
  --paper: #f8f5ed;
  --paper-warm: #f2ecdf;
  --ink: #172b35;
  --ink-soft: #5c6a6e;
  --teal: #2f887f;
  --teal-dark: #17665f;
  --mint: #d9ece7;
  --coral: #e86f57;
  --line: #d7d0c2;
  --white: #fffdf9;
  --content: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 24px;
}
.brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
}
.brand b {
  display: block;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 24px;
  letter-spacing: .02em;
}
.brand small {
  display: block;
  margin-top: -7px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .16em;
}
.hibiya-link {
  color: var(--teal-dark);
  font-size: 14px;
  text-underline-offset: 5px;
}
.hero {
  width: var(--content);
  min-height: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 82px;
  right: 2%;
  width: min(32vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 136, 127, .28);
  border-radius: 50%;
  box-shadow: 44px 40px 0 -1px var(--paper), 44px 40px 0 0 rgba(232, 111, 87, .35);
}
.eyebrow,
.section-heading > p {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(48px, 6.2vw, 80px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .02em;
}
.hero-lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--ink-soft);
}
.primary-link,
.tool-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 15px 25px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.primary-link:hover,
.tool-link:hover { transform: translateY(-2px); background: var(--teal-dark); }
.tools-section {
  padding: 94px max(32px, calc((100% - 1320px) / 2));
  background: var(--paper-warm);
}
.section-heading { margin-bottom: 46px; }
.section-heading > p { margin-bottom: 6px; }
.section-heading .section-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.section-heading h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.45;
}
.tool-list {
  display: grid;
  gap: 38px;
}
.tool-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  min-width: 0;
  padding: clamp(46px, 5.5vw, 78px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
}
.tool-copy { min-width: 0; }
.tool-type {
  margin: 0 0 26px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.tool-kicker { margin: 0 0 9px; color: var(--coral); font-size: 15px; font-weight: 700; }
.tool-copy h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.tool-subtitle {
  margin: 10px 0 0;
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 700;
}
.tool-description { margin: 26px 0 0; color: var(--ink-soft); font-size: 17px; }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 5px 12px;
  border: 1px solid #b9d6d1;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #edf7f4;
  font-size: 13px;
}
.tool-image {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cec5b5;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(39, 54, 55, .11);
}
.tool-image img {
  width: 100%;
  height: auto;
  display: block;
}
.tool-image-link {
  display: block;
  color: inherit;
}
.tool-image-link:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: -3px;
}
footer {
  width: var(--content);
  min-height: 210px;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
footer > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
footer b { font-family: Georgia, "Yu Mincho", serif; font-size: 21px; }
footer span,
footer small { color: var(--ink-soft); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0; font-size: 14px; }
footer nav a { color: var(--teal-dark); text-underline-offset: 4px; }
footer small { display: block; max-width: 790px; margin-top: 6px; line-height: 1.7; }
@media (max-width: 980px) {
  .tool-feature { grid-template-columns: 1fr; }
  .tool-copy { max-width: 720px; }
  .tool-image { width: 100%; max-width: 680px; justify-self: center; }
}
@media (max-width: 600px) {
  :root { --content: min(100% - 36px, 1180px); }
  body { font-size: 16px; }
  .site-header { min-height: 80px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 24px; height: 24px; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 7px; }
  .hibiya-link { font-size: 12px; }
  .hero { min-height: 550px; padding: 62px 0; }
  .hero::after { top: 90px; right: 3%; width: 210px; opacity: .7; }
  .hero h1 { font-size: clamp(39px, 12vw, 55px); }
  .hero-lead { margin-top: 22px; }
  .primary-link { margin-top: 28px; }
  .tools-section { padding: 72px 18px; }
  .section-heading .section-lead { font-size: 16px; }
  .section-heading { margin-bottom: 28px; }
  .tool-list { gap: 24px; }
  .tool-feature { gap: 34px; padding: 30px 22px 24px; border-radius: 22px; }
  .tool-type { margin-bottom: 20px; }
  .tool-kicker { font-size: 13px; }
  .tool-copy h3 { font-size: clamp(31px, 10vw, 38px); }
  .tool-subtitle { font-size: 15px; }
  .tool-description { margin-top: 20px; font-size: 16px; }
  .tool-link { gap: 22px; }
  .tool-image { border-radius: 16px; }
  footer { min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
