@font-face {
  font-family: "Pretendard Variable";
  src: url("/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #3f3945;
  background: #f7f1e9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --canvas: #f7f1e9;
  --surface: #fffdf9;
  --ink: #3f3945;
  --muted: #756e78;
  --line: #e8ddd3;
  --lilac: #d8c4dd;
  --lilac-soft: #eee5f0;
  --coral: #e86f54;
  --coral-deep: #bd4f3a;
  --shadow: 0 16px 44px rgba(82, 67, 73, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 4%, rgba(216, 196, 221, 0.34), transparent 23rem),
    var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid rgba(232, 111, 84, 0.42);
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid rgba(130, 112, 118, 0.12);
  background: rgba(255, 253, 249, 0.84);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(100% - 36px, 760px);
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #625968;
  text-decoration: none;
}

.page-shell {
  padding-block: 46px 72px;
}

.article-header {
  display: grid;
  gap: 22px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.guide-index-header {
  display: grid;
  gap: 22px;
  padding-bottom: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-block: 14px 20px;
}

.guide-card {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(82, 67, 73, 0.045);
  text-decoration: none;
}

.guide-card:hover {
  border-color: rgba(174, 146, 181, 0.62);
  background: #fffaf6;
}

.guide-card-topic {
  margin-bottom: 16px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 800;
}

.guide-card h2 {
  margin-bottom: 10px;
  color: #423b47;
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: -0.03em;
}

.guide-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.topic-label {
  margin: 0;
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 750;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 0;
  color: #3b3540;
  font-size: clamp(32px, 7.5vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: #675f69;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.015em;
}

.summary {
  padding: 22px 24px;
  border: 1px solid rgba(174, 146, 181, 0.34);
  border-radius: 22px;
  background: linear-gradient(145deg, #fbf7fb, #f2e9f3);
}

.summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.summary p {
  margin: 0;
  color: #625a65;
}

.content {
  padding-top: 12px;
}

.inline-action {
  display: grid;
  gap: 13px;
  margin-top: 2px;
  padding: 22px 24px;
  border: 1px solid rgba(232, 111, 84, 0.22);
  border-radius: 22px;
  background: #fffaf6;
}

.inline-action p {
  margin: 0;
  color: #6c6269;
  font-size: 15px;
}

.inline-action .cta-button {
  width: fit-content;
  min-height: 48px;
  padding-block: 12px;
}

.content section {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.content h2 {
  margin-bottom: 15px;
  color: #423b47;
  font-size: 25px;
  line-height: 1.36;
  letter-spacing: -0.035em;
}

.content h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.content p,
.content li {
  color: #5f5862;
}

.content p:last-child,
.content ul:last-child,
.content ol:last-child {
  margin-bottom: 0;
}

.content ul,
.content ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.content li + li {
  margin-top: 10px;
}

.observe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.observe-item {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.observe-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.care-note {
  margin-top: 20px;
  padding: 20px 22px;
  border-left: 4px solid var(--coral);
  border-radius: 0 16px 16px 0;
  background: #fff8f4;
}

.care-note strong {
  display: block;
  margin-bottom: 6px;
  color: #624339;
}

.care-note p {
  margin: 0;
  color: #6a5952;
}

.primary-cta {
  margin-block: 38px;
  padding: 28px;
  border-radius: 26px;
  background: #51495a;
  color: #fffdf9;
  box-shadow: var(--shadow);
}

.primary-cta p {
  margin-bottom: 18px;
  color: #e8e0ea;
}

.cta-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--coral);
  color: #fffdf9;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(232, 111, 84, 0.22);
}

.cta-button:hover {
  background: #dc644c;
}

.related {
  padding-top: 12px;
}

.related h2 {
  margin-bottom: 16px;
  font-size: 21px;
}

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

.related-list a {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.sources {
  padding-top: 32px;
}

.sources h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.sources ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 14px;
}

.sources li + li {
  margin-top: 9px;
}

.sources a {
  color: #65596b;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #efe6dc;
}

.footer-inner {
  display: grid;
  gap: 9px;
  padding-block: 28px 36px;
  color: #746b72;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
}

@media (max-width: 560px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy small {
    display: none;
  }

  .page-shell {
    padding-block: 32px 56px;
  }

  .article-header {
    gap: 17px;
    padding-bottom: 28px;
  }

  .guide-index-header {
    gap: 17px;
    padding-bottom: 22px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .guide-card {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .summary {
    padding: 19px 20px;
    border-radius: 18px;
  }

  .content section {
    padding-block: 26px;
  }

  .inline-action {
    padding: 19px 20px;
    border-radius: 18px;
  }

  .inline-action .cta-button {
    width: 100%;
  }

  .content h2 {
    font-size: 23px;
  }

  .observe-grid {
    grid-template-columns: 1fr;
  }

  .observe-item {
    min-height: 0;
  }

  .primary-cta {
    margin-block: 30px;
    padding: 22px;
    border-radius: 22px;
  }

  .cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
