:root {
  --main: #6fb7a8;
  --main-dark: #3d8f83;
  --deep: #2f5f58;
  --accent: #f7b267;
  --pink: #f7d6d0;
  --cream: #fff8ee;
  --soft: #f2fbf8;
  --text: #3d3d3d;
  --muted: #62736f;
  --white: #fff;
  --shadow: 0 12px 30px rgba(67,120,110,.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf2 0%, #f2fbf8 45%, #fff 100%);
  font-size: 16px;
  line-height: 1.85;
}

a { color: var(--main-dark); }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(111,183,168,.22);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(67,120,110,.18));
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 22px 72px;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--deep), var(--main-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.guide-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(247,178,103,.28);
}

.kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 10px;
  color: #ffe0b9;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .12em;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.28;
}

.guide-hero > p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.92);
}

.status {
  display: inline-block;
  margin-top: 18px !important;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  font-size: .92rem;
  font-weight: 900;
}

.guide-nav {
  margin: 22px 0;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(67,120,110,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--deep);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.guide-nav a[aria-current="page"] {
  background: var(--main);
  color: var(--white);
}

.guide-card {
  margin-top: 20px;
  padding: 30px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid rgba(111,183,168,.16);
  box-shadow: 0 10px 24px rgba(67,120,110,.1);
}

.guide-card h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.4;
}

.guide-card h3 {
  margin: 24px 0 8px;
  color: var(--main-dark);
  font-size: 1.15rem;
}

.guide-card p:first-child,
.guide-card h2 + p { margin-top: 0; }

.guide-card ul,
.guide-card ol { padding-left: 1.4em; }

.guide-card li + li { margin-top: 8px; }

.step-list {
  counter-reset: guide-step;
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 14px;
}

.step-list > li {
  position: relative;
  padding: 18px 18px 18px 64px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid rgba(111,183,168,.16);
}

.step-list > li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 16px;
  top: 17px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--main);
  color: var(--white);
  font-weight: 900;
}

.checklist {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 14px;
  background: #fbfefd;
  border: 1px solid rgba(111,183,168,.18);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: var(--main-dark);
  font-weight: 900;
}

.callout {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-left: 6px solid var(--accent);
  border-radius: 14px;
  background: var(--cream);
}

.callout strong { color: var(--deep); }

.danger {
  border-left-color: #d96767;
  background: #fff1f1;
}

.source-links {
  display: grid;
  gap: 10px;
}

.source-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--soft);
  font-weight: 800;
  text-decoration: none;
}

.qa-list {
  display: grid;
  gap: 12px;
}

.qa-list details {
  border: 1px solid rgba(111,183,168,.2);
  border-radius: 16px;
  background: #fbfefd;
  overflow: hidden;
}

.qa-list summary {
  padding: 16px 18px;
  color: var(--deep);
  font-weight: 900;
  cursor: pointer;
}

.qa-answer {
  padding: 0 18px 18px;
}

.keinyan-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8ee, #f2fbf8);
}

.keinyan-note img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.guide-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--main);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: var(--white);
  color: var(--main-dark);
  border: 1px solid rgba(111,183,168,.35);
  box-shadow: none;
}

.disclaimer {
  margin-top: 24px;
  color: var(--muted);
  font-size: .92rem;
}

footer {
  padding: 28px 20px;
  color: #6b7d79;
  font-size: .9rem;
  text-align: center;
}

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; }
  main { padding: 26px 16px 56px; }
  .guide-hero { padding: 28px 22px; border-radius: 24px; }
  .guide-card { padding: 22px 18px; }
  .guide-nav { flex-direction: column; }
  .guide-nav a { border-radius: 12px; }
  .keinyan-note { grid-template-columns: 1fr; text-align: center; }
  .keinyan-note img { margin: 0 auto; }
}
