:root {
  --ink: #1a2e2c;
  --muted: #5a6f6c;
  --brand: #0d5c56;
  --brand-deep: #084842;
  --brand-soft: #d7ebe7;
  --mist: #e8f2ef;
  --paper: #f6faf8;
  --line: #c5d8d3;
  --accent: #d4893a;
  --accent-deep: #b86f24;
  --warn-bg: #f3f7f6;
  --line-green: #06c755;
  --shadow: 0 18px 40px rgba(8, 72, 66, 0.1);
  --radius: 18px;
  --font-sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(13, 92, 86, 0.12), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(212, 137, 58, 0.08), transparent 50%),
    linear-gradient(180deg, #f3f8f6 0%, var(--paper) 40%, #eef5f2 100%);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(246, 250, 248, 0.88);
  border-bottom: 1px solid rgba(197, 216, 211, 0.7);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff4e8;
  box-shadow: inset 0 0 0 1px rgba(13, 92, 86, 0.15);
  flex: 0 0 auto;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand__text { display: grid; gap: 2px; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav__list {
  list-style: none;
  display: flex;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav__list a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav__list a[aria-current="page"],
.site-nav__list a:hover {
  border-bottom-color: var(--brand);
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 16px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}
.nav-toggle__label { font-size: 0.8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-line {
  color: #fff !important;
  background: linear-gradient(135deg, #1aad55, var(--line-green));
  box-shadow: 0 10px 22px rgba(6, 199, 85, 0.28);
}
.btn-line:hover { filter: brightness(1.03); }
.btn-line--header { min-height: 40px; padding: 0 16px; font-size: 0.85rem; white-space: nowrap; }
.btn-line--lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-ghost {
  color: var(--brand-deep) !important;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(13, 92, 86, 0.25);
}

.hero {
  position: relative;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 82% 45%, #fff 0%, transparent 62%),
    linear-gradient(165deg, #f4fbf8 0%, #e7f6f1 55%, #d9efe8 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(13, 92, 86, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 36px 20px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.hero__copy { max-width: 36rem; }
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 18px;
  color: var(--brand-deep);
  animation: rise 0.9s ease both;
}
.hero__lead {
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 700;
  max-width: 30rem;
  animation: rise 0.9s ease 0.1s both;
}
.hero__sub {
  margin: 0 0 22px;
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--ink);
  animation: rise 0.9s ease 0.14s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.9s ease 0.18s both;
}
.hero__art {
  justify-self: end;
  align-self: center;
  width: min(100%, 340px);
  animation: float-in 1.1s ease 0.15s both;
}
.hero__art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(8, 72, 66, 0.12));
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 20px;
}
.section--narrow { max-width: 760px; }
.section--band {
  max-width: none;
  padding-inline: 0;
  background: linear-gradient(180deg, rgba(215, 235, 231, 0.55), rgba(246, 250, 248, 0.2));
  border-block: 1px solid rgba(197, 216, 211, 0.55);
}
.section--band > .section__inner,
.section--band > .grid,
.section--band > .steps,
.section--band > .split {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 20px;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}
.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-bottom: 0.45em;
}
.section__lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.blog-band__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.blog-band .section__lead { margin-bottom: 0; }
.blog-band__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.blog-carousel__nav { display: flex; gap: 8px; }
.blog-carousel__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.blog-carousel__btn:hover { border-color: var(--brand); }
.blog-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.blog-carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.blog-carousel__track::-webkit-scrollbar { display: none; }
.blog-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.blog-carousel__track:has(.blog-card:only-child) .blog-card {
  flex-basis: min(100%, 420px);
}
.blog-card:hover { color: inherit; border-color: var(--brand); }
.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--brand-soft);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}
.blog-card__meta time { color: var(--muted); font-weight: 500; }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
}
.blog-card__summary {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-body { max-width: 42rem; }
.article-body img {
  width: min(100%, 720px);
  height: auto;
  border-radius: 16px;
  margin: 1.2rem 0;
}
.article-meta {
  display: flex;
  gap: 12px;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
}
.article-meta time { color: var(--muted); font-weight: 500; }

.trust {
  display: grid;
  gap: 18px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(232, 242, 239, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.trust h2 { margin-bottom: 0.2em; }
.trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.trust__list li {
  position: relative;
  padding-left: 1.7em;
}
.trust__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--brand);
  font-weight: 700;
}

.grid-3,
.ask-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ask-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.ask-card__no {
  margin: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.ask-card h3 {
  font-size: 1.35rem;
  margin: 0;
}
.ask-card p { margin: 0; color: var(--muted); }
.ask-card a { margin-top: auto; font-weight: 700; }
.feature {
  padding: 8px 4px 0;
}
.feature__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

.worry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.worry-list li {
  padding: 16px 18px 16px 48px;
  position: relative;
  background: rgba(255,255,255,0.72);
  border-left: 3px solid var(--accent);
}
.worry-list li::before {
  content: "?";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 137, 58, 0.15);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: 0; }
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, #127a71, var(--brand-deep));
}
.step__meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.step p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.split__visual {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #d7ebe7, #b9d8d1);
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.split__visual img {
  width: min(100%, 320px);
  height: auto;
  display: block;
}
.split__visual--photo {
  padding: 0;
  background: transparent;
  min-height: 0;
  justify-self: start;
}
.split--photo-end .split__visual--photo {
  justify-self: end;
}
.split__visual--photo img {
  width: min(100%, 340px);
  max-width: 340px;
  height: auto;
  border-radius: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
}
.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
}
.card h3 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card__foot { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

.page-hero {
  padding: clamp(40px, 7vw, 72px) 20px 12px;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.35em;
}
.page-hero p { color: var(--muted); max-width: 40rem; }

.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.7);
}
table.data th,
table.data td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
table.data th {
  background: var(--brand-soft);
  font-weight: 700;
  white-space: nowrap;
}

.profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.profile__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f7e3c4, transparent 42%),
    linear-gradient(160deg, #1a7a6e, #084842);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.4rem;
  box-shadow: var(--shadow);
}
.profile__photo {
  width: 180px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.profile__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.profile__meta { color: var(--muted); font-size: 0.95rem; }

.final-cta {
  padding: clamp(48px, 8vw, 80px) 20px;
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(13, 92, 86, 0.08), transparent 60%),
    linear-gradient(180deg, #eef8f5, #f7fbf9);
  color: var(--ink);
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta .eyebrow { color: var(--brand); }
.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--brand-deep);
  max-width: 22em;
  margin-inline: auto;
}
.final-cta__lead {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 24px;
}
.final-cta__note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  background: #e7f3ef;
  color: var(--muted);
  padding: 40px 20px 28px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.site-footer__name {
  font-family: var(--font-display);
  color: var(--brand-deep);
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.site-footer__person,
.site-footer__desc { margin: 0 0 4px; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.site-footer__nav a {
  color: var(--brand);
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--brand-deep); text-decoration: underline; }
.site-footer__copy {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.line-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(92vw, 420px);
}
.line-toast.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.line-toast p { margin: 0; font-size: 0.9rem; }
.line-toast button {
  border: 0;
  background: var(--mist);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.note-box {
  margin-top: 1.5rem;
  padding: 16px 18px;
  background: var(--warn-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero__inner,
  .split,
  .grid-3,
  .ask-grid,
  .cards,
  .profile {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero__inner {
    padding-top: 48px;
    padding-bottom: 40px;
    align-items: start;
  }
  .hero__art {
    justify-self: center;
    width: min(86%, 320px);
    order: -1;
  }
  .blog-band__head { flex-direction: column; align-items: flex-start; }
  .blog-card,
  .blog-carousel__track:has(.blog-card:only-child) .blog-card {
    flex-basis: 86%;
  }
  .split--photo-end .split__visual--photo {
    order: -1;
    justify-self: center;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 16px 20px 24px;
    background: rgba(246, 250, 248, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 4px;
  }
  .site-nav__list a {
    display: block;
    padding: 10px 0;
    border-bottom: 0;
  }
  body.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
