:root {
  --ink: #14221e;
  --muted: #64726d;
  --line: #dce5e1;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --brand: #087f67;
  --brand-dark: #075d4d;
  --brand-soft: #dff3ec;
  --accent: #ff9a62;
  --accent-soft: #fff0e7;
  --navy: #14354a;
  --shadow: 0 18px 45px rgba(20, 53, 45, .09);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 18px;
  color: #fff; background: var(--navy); border-radius: 10px;
}
.skip-link:focus { top: 16px; }
.content-shell, .header-inner, .footer-inner, .article-shell {
  width: min(calc(100% - 40px), var(--max)); margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 229, 225, .8); backdrop-filter: blur(16px);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { display: block; width: 112px; height: auto; object-fit: contain; }
.site-header .brand { gap: 16px; }
.site-header .brand-logo { width: auto; height: 44px; }
.brand-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
  white-space: nowrap;
}
.header-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.header-nav a:not(.contact-link):hover { color: var(--brand); }
.contact-link { padding: 10px 18px; color: #fff; background: var(--navy); border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero {
  position: relative; min-height: 510px; overflow: hidden;
  color: #fff; background: linear-gradient(135deg, #0b654f 0%, #087f67 58%, #17a07f 100%);
}
.hero::after {
  position: absolute; right: -100px; bottom: -280px; width: 580px; height: 580px;
  border: 110px solid rgba(255, 255, 255, .06); border-radius: 50%; content: "";
}
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 40px), 850px); margin: auto; padding: 88px 0 78px; text-align: center; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.hero-glow-one { top: -180px; left: -120px; width: 430px; height: 430px; background: rgba(255, 181, 124, .15); }
.hero-glow-two { right: 21%; bottom: -130px; width: 300px; height: 300px; background: rgba(135, 224, 205, .18); }
.eyebrow, .section-kicker { margin: 0 0 9px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #a8e6d4; }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 62px); line-height: 1.2; letter-spacing: -.045em; }
.hero h1 span { color: #ffd1b6; }
.hero-lead { margin: 17px 0 31px; color: rgba(255,255,255,.82); font-size: 16px; }
.search-form {
  display: flex; align-items: center; gap: 12px; overflow: hidden;
  background: #fff; border: 1px solid transparent; border-radius: 15px; box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.search-form:focus-within { border-color: #74cdb7; box-shadow: 0 0 0 4px rgba(116, 205, 183, .2), 0 18px 50px rgba(0,0,0,.16); }
.search-form svg { flex: 0 0 auto; width: 23px; margin-left: 21px; fill: none; stroke: #73817d; stroke-width: 2; stroke-linecap: round; }
.search-form input { flex: 1; min-width: 0; padding: 18px 0; color: var(--ink); border: 0; outline: 0; font-size: 15px; }
.search-form button { align-self: stretch; padding: 0 25px; color: #fff; background: var(--navy); border: 0; font-weight: 800; }
.search-suggestions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 17px; font-size: 12px; }
.search-suggestions span { color: rgba(255,255,255,.66); }
.search-suggestions button { padding: 5px 11px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }

.home-content { padding: 78px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .popular-intro h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.section-heading > p, .popular-intro > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.section-kicker { color: var(--brand); }
.text-link { color: var(--brand); font-size: 14px; font-weight: 800; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.start-section, .audience-section { margin-bottom: 88px; }
.start-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-card {
  position: relative; min-height: 210px; padding: 26px; overflow: hidden;
  background: var(--canvas); border: 1px solid #e4ebe8; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.start-card:hover { transform: translateY(-4px); border-color: #b9dcd1; box-shadow: var(--shadow); }
.start-card.featured { color: #fff; background: var(--navy); border-color: var(--navy); }
.start-card .step-number { color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.start-card.featured .step-number { color: #85d8c2; }
.start-card h3 { margin: 30px 0 7px; font-size: 20px; line-height: 1.45; }
.start-card p { margin: 0; color: var(--muted); font-size: 13px; }
.start-card.featured p { color: rgba(255,255,255,.66); }
.card-arrow { position: absolute; right: 23px; top: 23px; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #fff; color: var(--brand); }
.audience-cards .start-card h3 { margin-top: 22px; }
.audience-layout { display: grid; grid-template-columns: 1fr 270px; gap: 65px; padding: 60px 0 100px; }
.audience-start { margin-bottom: 48px; }
.audience-start .start-cards { margin-top: 8px; }
#audience-description { margin: 12px 0 0; color: rgba(255,255,255,.72); max-width: 720px; }

.category-section { margin-bottom: 88px; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category-card { display: flex; gap: 20px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.category-card:hover { border-color: #a9cfc2; box-shadow: var(--shadow); }
.category-icon { display: grid; flex: 0 0 auto; width: 52px; height: 52px; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 15px; font-size: 24px; }
.category-icon.large { width: 66px; height: 66px; color: #fff; background: rgba(255,255,255,.14); font-size: 28px; }
.category-card h3 { margin: 0 0 4px; font-size: 18px; }
.category-card p { margin: 0; color: var(--muted); font-size: 13px; }
.category-card ul { margin: 15px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.category-card li { margin-top: 5px; color: #43514c; font-size: 12px; }

.popular-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; margin-bottom: 88px; padding: 50px; background: var(--canvas); border-radius: 28px; }
.popular-intro > p:last-child { margin-top: 13px; max-width: 300px; }
.popular-list { margin: 0; padding: 0; list-style: none; counter-reset: popular; }
.popular-list li { counter-increment: popular; border-bottom: 1px solid var(--line); }
.popular-list li:last-child { border: 0; }
.popular-list a { display: flex; align-items: center; gap: 17px; padding: 14px 0; font-size: 14px; font-weight: 700; }
.popular-list a::before { content: "0" counter(popular); color: var(--brand); font-size: 11px; letter-spacing: .08em; }
.popular-list a span { margin-left: auto; color: var(--brand); }

.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 40px 46px; color: #fff; background: linear-gradient(120deg, var(--navy), #1e5062); border-radius: 25px; }
.support-banner h2 { margin: 0 0 5px; font-size: 24px; }
.support-banner p:not(.section-kicker) { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }
.support-banner .section-kicker { color: #86d7c2; }
.support-banner > a, .primary-button { flex: 0 0 auto; padding: 12px 20px; color: var(--navy); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 900; }
.support-banner > a span { margin-left: 8px; }

.subpage-hero { padding: 55px 0; color: #fff; background: linear-gradient(125deg, var(--navy), #176957); }
.subpage-hero.compact { padding: 42px 0; }
.subpage-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.04em; }
.subpage-hero .eyebrow { color: #8bd9c5; }
.subpage-search { max-width: 680px; margin-top: 22px; box-shadow: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: #70807a; font-size: 12px; }
.subpage-hero .breadcrumb { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { text-decoration: underline; }
.category-title-row { display: flex; align-items: center; gap: 22px; }
.category-title-row p:last-child { margin: 5px 0 0; color: rgba(255,255,255,.72); }
.result-layout { padding: 55px 0 90px; }
.result-summary { display: flex; justify-content: space-between; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.result-summary a { color: var(--brand); font-weight: 800; }
.category-layout { display: grid; grid-template-columns: 1fr 270px; gap: 65px; padding: 60px 0 100px; }
.audience-article-section { margin-top: 8px; }
.audience-article-section .section-heading { margin-bottom: 18px; }
.audience-article-section h2 { font-size: 22px; }
.article-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.article-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 16px 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(20, 34, 30, .02);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.article-button-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 5px;
}
.article-button strong {
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.article-button-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.article-button-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  font-size: 14px;
}
.article-button:hover {
  transform: translateY(-2px);
  border-color: #a9cfc2;
  background: #fbfffe;
  box-shadow: var(--shadow);
}
.article-button:hover .article-button-arrow { background: var(--brand); color: #fff; }
.article-list { border-top: 1px solid var(--line); }
.article-list a { display: block; padding: 23px 4px; border-bottom: 1px solid var(--line); }
.article-list a:hover h2 { color: var(--brand); }
.article-list h2 { margin: 0 0 6px; font-size: 18px; transition: color .2s; }
.article-list p { margin: 0; color: var(--muted); font-size: 13px; }
.article-meta { display: flex; gap: 10px; margin-top: 9px; color: #8b9893; font-size: 11px; }
.side-panel { align-self: start; padding: 24px; background: var(--canvas); border-radius: 18px; }
.side-panel h2 { margin: 0 0 14px; font-size: 14px; }
.side-panel nav { display: grid; gap: 8px; }
.side-panel a { color: var(--muted); font-size: 12px; }
.side-panel a.active, .side-panel a:hover { color: var(--brand); font-weight: 800; }

.article-shell { max-width: 1080px; padding: 38px 0 100px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 250px; gap: 70px; }
.article-content h1 { margin: 0 0 18px; font-size: clamp(30px, 5vw, 44px); line-height: 1.35; letter-spacing: -.04em; }
.article-lead { margin: 0 0 30px; color: var(--muted); font-size: 15px; }
.article-content h2 { margin: 42px 0 15px; padding-top: 8px; font-size: 23px; letter-spacing: -.025em; }
.article-content p { color: #3f4e49; font-size: 14px; }
.article-content ol, .article-content ul { padding-left: 24px; }
.article-content li { margin: 10px 0; color: #3f4e49; font-size: 14px; }
.article-gallery { display: grid; gap: 16px; margin: 24px 0; }
.article-gallery.multiple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-gallery.multiple.has-landscape { grid-template-columns: 1fr; }
.article-image { margin: 0; overflow: hidden; background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; }
.article-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.article-image figcaption { padding: 10px 14px; color: var(--muted); font-size: 11px; }
.article-gallery.example {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}
.article-gallery.example .article-image { width: min(220px, calc((100% - 24px) / 3)); }
.article-gallery.example .article-image.is-landscape { width: min(480px, 100%); }
.paired-step-list { display: grid; gap: 22px; margin: 20px 0 0; padding-left: 36px !important; }
.paired-step-list > li { margin: 0; padding-left: 6px; }
.paired-step-list > li::marker { color: var(--navy); font-size: 1.05rem; font-weight: 900; }
.paired-step-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(20,38,64,.06); }
.paired-step-text { margin: 0; padding: 16px 18px; color: var(--navy) !important; font-weight: 800; background: var(--brand-soft); }
.paired-step-card .article-gallery { margin: 0; }
.paired-step-card .article-image { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.paired-step-notes { padding: 13px 18px; border-top: 1px solid var(--line); background: #fffaf0; }
.paired-step-notes p { margin: 0; color: #675a3c; font-size: 12px; }
.paired-step-notes p + p { margin-top: 5px; }
.article-note {
  margin: 16px 0 24px; padding: 16px 18px; background: #fff8e8;
  border: 1px solid #f0dfb4; border-radius: 14px;
}
.article-note strong { display: block; margin-bottom: 6px; color: #7a5d1f; font-size: 12px; }
.article-note p { margin: 0; color: #675a3c !important; font-size: 13px !important; }
.article-cta {
  display: grid; gap: 8px; margin: 0 0 36px; padding: 22px 24px;
  color: #fff; background: linear-gradient(120deg, var(--navy), #1e5062); border-radius: 18px;
}
.article-cta strong { font-size: 16px; }
.article-cta p { margin: 0; color: rgba(255,255,255,.78) !important; font-size: 13px !important; }
.article-cta a {
  width: fit-content; margin-top: 6px; padding: 9px 16px;
  color: var(--navy); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 800;
}
.article-section-links { display: grid; gap: 7px; margin: 14px 0 24px; }
.article-section-links a { width: fit-content; color: var(--brand); font-size: 13px; font-weight: 800; }
.step-list { display: grid; gap: 15px; padding: 0 !important; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-height: 54px; margin: 0; padding: 15px 18px 15px 59px; background: var(--canvas); border: 1px solid #e6ece9; border-radius: 14px; }
.step-list li::before { position: absolute; left: 16px; top: 14px; display: grid; width: 30px; height: 30px; place-items: center; counter-increment: steps; content: counter(steps); color: #fff; background: var(--brand); border-radius: 50%; font-size: 12px; font-weight: 900; }
.article-visual { margin: 25px 0; padding: 25px; background: #edf2f0; border-radius: 18px; }
.browser-mock { overflow: hidden; background: #fff; border: 1px solid #d7e0dc; border-radius: 12px; box-shadow: 0 15px 30px rgba(30,58,49,.11); }
.browser-bar { display: flex; gap: 5px; padding: 9px 12px; background: #f7f9f8; border-bottom: 1px solid #e4e9e7; }
.browser-bar span { width: 7px; height: 7px; background: #c9d3cf; border-radius: 50%; }
.mock-body { display: grid; grid-template-columns: 85px 1fr; min-height: 205px; }
.mock-nav { padding: 18px 10px; background: var(--navy); }
.mock-nav i { display: block; height: 7px; margin-bottom: 11px; background: rgba(255,255,255,.28); border-radius: 8px; }
.mock-main { padding: 20px; }
.mock-main strong { font-size: 13px; }
.mock-line { height: 8px; margin-top: 12px; background: #e8eeeb; border-radius: 8px; }
.mock-line.short { width: 55%; }
.mock-action { width: 92px; height: 29px; margin-top: 22px; background: var(--brand); border-radius: 7px; }
.related-box { margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); }
.related-box h2 { margin-top: 0; font-size: 18px; }
.related-box nav { display: grid; gap: 9px; }
.related-box a { color: var(--brand); font-size: 13px; font-weight: 700; }
.article-aside { align-self: start; position: sticky; top: 110px; }
.toc-card { padding: 20px; background: var(--canvas); border-radius: 15px; }
.toc-card > p { margin: 0 0 12px; font-size: 12px; font-weight: 900; }
.toc-card nav { display: grid; gap: 9px; }
.toc-card a { color: var(--muted); font-size: 11px; }
.toc-card a:hover { color: var(--brand); }
.back-home { display: block; margin-top: 15px; color: var(--brand); font-size: 11px; font-weight: 800; text-align: center; }
.all-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 55px 0 100px; }
.all-group { padding: 25px; border: 1px solid var(--line); border-radius: 18px; }
.all-group h2 { margin: 0 0 14px; font-size: 18px; }
.all-group nav { display: grid; gap: 8px; }
.all-group nav a { color: var(--muted); font-size: 12px; }
.all-group nav a:hover { color: var(--brand); }
.not-found { min-height: 60vh; padding: 100px 20px; text-align: center; }
.not-found h1 { margin: 0 0 10px; }
.not-found p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); }
.not-found .primary-button { color: #fff; background: var(--brand); }

.site-footer { padding: 38px 0; color: #a8b8b2; background: #102620; font-size: 11px; }
.footer-inner { display: flex; align-items: center; gap: 30px; }
.footer-brand { margin-right: auto; color: #fff; }
.footer-brand .brand-logo { height: 32px; width: auto; padding: 7px; background: #fff; border-radius: 8px; }
.footer-brand .brand-help { color: #c5d4cf; }

@media (max-width: 820px) {
  .header-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .header-nav.open { display: grid; gap: 17px; }
  .menu-button { display: block; }
  .hero-inner { padding-top: 68px; }
  .start-cards { grid-template-columns: 1fr; }
  .category-grid, .all-categories { grid-template-columns: 1fr; }
  .popular-section { grid-template-columns: 1fr; gap: 25px; padding: 34px; }
  .category-layout, .audience-layout { grid-template-columns: 1fr; }
  .side-panel { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
}

@media (max-width: 560px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand-logo { height: 32px; }
  .brand-help { font-size: 11px; letter-spacing: .12em; }
  .content-shell, .header-inner, .footer-inner, .article-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 530px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 14px; }
  .search-form { gap: 7px; }
  .search-form svg { width: 19px; margin-left: 14px; }
  .search-form input { padding: 16px 0; font-size: 13px; }
  .search-form button { padding: 0 15px; font-size: 12px; }
  .search-suggestions span { width: 100%; }
  .home-content { padding-top: 58px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading .text-link { display: block; margin-top: 10px; }
  .category-card { padding: 21px; }
  .popular-section { padding: 27px 21px; }
  .support-banner { display: block; padding: 31px 25px; }
  .support-banner > a { display: inline-block; margin-top: 22px; }
  .category-title-row { align-items: start; }
  .category-icon.large { width: 52px; height: 52px; }
  .article-shell { padding-top: 25px; }
  .article-content h1 { font-size: 31px; }
  .article-gallery.multiple { grid-template-columns: 1fr; }
  .article-gallery.example .article-image { width: min(200px, 46%); }
  .article-button-grid { grid-template-columns: 1fr; }
  .footer-inner { display: grid; gap: 14px; }
  .footer-brand { margin: 0; }
  .copyright { margin: 0; }
}
