:root {
  --content-ink: #1e2522;
  --content-muted: #61706a;
  --content-green: #059653;
  --content-green-bright: #20c58b;
  --content-soft: #f4faf6;
  --content-line: #dce8e2;
}

.content-page-main { min-height: 65vh; padding-top: 72px; }
.content-page-hero { position: relative; overflow: hidden; padding: 84px 20px 72px; background: #f4faf6; text-align: center; }
.content-page-hero::before,
.content-page-hero::after { content: ''; position: absolute; border: 1px solid #b9e6d2; border-radius: 50%; pointer-events: none; }
.content-page-hero::before { width: 230px; height: 230px; left: -110px; top: -80px; }
.content-page-hero::after { width: 170px; height: 170px; right: -70px; bottom: -80px; }
.content-page-label { margin: 0 0 12px; color: var(--content-green); font-size: 13px; font-weight: 900; letter-spacing: .15em; }
.content-page-hero h1 { margin: 0; color: var(--content-ink); font-size: clamp(32px, 5vw, 54px); line-height: 1.35; font-weight: 900; }
.content-page-hero p:last-child { max-width: 760px; margin: 22px auto 0; color: var(--content-muted); font-size: 16px; line-height: 1.9; }

.content-page-section { padding: 76px 20px; }
.content-page-section.is-soft { background: #f7faf8; }
.content-page-inner { width: min(100%, 960px); margin: 0 auto; }
.content-page-inner.is-reading { width: min(100%, 760px); }
.content-page-title { margin: 0 0 34px; color: var(--content-ink); font-size: clamp(26px, 3.5vw, 38px); line-height: 1.45; font-weight: 900; text-align: center; }
.content-page-copy { color: #34413b; font-size: 16px; line-height: 2; }
.content-page-copy p { margin: 0 0 1.5em; }
.content-page-copy h2 { margin: 2.6em 0 .8em; color: var(--content-ink); font-size: 24px; line-height: 1.55; }
.content-page-copy h3 { margin: 2em 0 .7em; color: var(--content-ink); font-size: 19px; }
.content-page-copy ul { margin: 0 0 1.7em; padding-left: 1.4em; }
.content-page-copy li { margin: .65em 0; }
.content-page-copy a { color: var(--content-green); text-underline-offset: 3px; }

.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 48px; align-items: center; }
.about-intro-character { display: flex; align-items: center; justify-content: center; min-height: 330px; }
.about-intro-character img { display: block; width: min(100%, 330px); height: auto; }
.about-point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-point { padding: 30px 26px; border: 1px solid var(--content-line); border-radius: 18px; background: #fff; }
.about-point-number { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: #eaf8f2; color: var(--content-green); font-weight: 900; }
.about-point h3 { margin: 0 0 12px; color: var(--content-ink); font-size: 19px; line-height: 1.55; }
.about-point p { margin: 0; color: var(--content-muted); line-height: 1.85; }
.about-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-group { padding: 22px 24px; border-left: 6px solid var(--group-color); background: #fff; border-radius: 10px; }
.about-group strong { display: block; margin-bottom: 5px; color: var(--content-ink); }
.about-group span { color: var(--content-muted); }
.content-page-cta { padding: 70px 20px; text-align: center; background: #eaf8f2; }
.content-page-cta h2 { margin: 0 0 22px; color: var(--content-ink); font-size: clamp(25px, 4vw, 38px); line-height: 1.5; }

.content-list { display: grid; gap: 18px; }
.content-card { border: 1px solid var(--content-line); border-radius: 18px; background: #fff; overflow: hidden; }
.content-card a { display: block; padding: 30px 32px; color: inherit; text-decoration: none; transition: background .18s ease; }
.content-card a:hover { background: #fbfdfc; }
.content-card-meta, .content-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--content-muted); font-size: 13px; font-weight: 700; }
.content-card-category, .content-detail-category { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #eaf8f2; color: var(--content-green); }
.content-card h2 { margin: 14px 0 10px; color: var(--content-ink); font-size: clamp(20px, 3vw, 27px); line-height: 1.55; }
.content-card p { margin: 0; color: var(--content-muted); line-height: 1.85; }
.content-card-link { display: inline-block; margin-top: 18px; color: var(--content-green); font-weight: 800; }
.content-empty { padding: 56px 28px; border: 1px solid var(--content-line); border-radius: 18px; background: #fff; text-align: center; color: var(--content-muted); line-height: 1.8; }

.content-detail { width: min(100%, 800px); margin: 0 auto; }
.content-detail-header { padding-bottom: 34px; border-bottom: 1px solid var(--content-line); }
.content-detail-header h1 { margin: 18px 0 18px; color: var(--content-ink); font-size: clamp(29px, 5vw, 46px); line-height: 1.45; }
.content-detail-excerpt { margin: 0; color: var(--content-muted); font-size: 17px; line-height: 1.9; }
.content-detail-body { padding-top: 42px; color: #34413b; font-size: 17px; line-height: 2; }
.content-detail-body p { margin: 0 0 1.55em; }
.content-detail-body h2 { margin: 2.8em 0 .8em; padding-left: 16px; border-left: 5px solid var(--content-green-bright); color: var(--content-ink); font-size: clamp(22px, 3vw, 29px); line-height: 1.55; }
.content-detail-lead { font-size: 18px; font-weight: 600; color: #27332e; }
.content-back { margin-top: 50px; text-align: center; }

.legal-toc { margin: 0 0 42px; padding: 24px 28px; border: 1px solid var(--content-line); border-radius: 14px; background: #f8fbf9; }
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--content-ink); }
.legal-toc ol { margin: 0; padding-left: 1.4em; }
.legal-toc li { margin: .45em 0; }
.legal-toc a { color: var(--content-green); }
.legal-updated { margin-top: 46px; color: var(--content-muted); font-size: 14px; text-align: right; }

.not-found-main { min-height: 75vh; display: grid; place-items: center; padding: 110px 20px 70px; background: #f4faf6; text-align: center; }
.not-found-code { margin: 0; color: var(--content-green-bright); font-size: clamp(72px, 18vw, 170px); line-height: .9; font-weight: 900; letter-spacing: -.04em; }
.not-found-main h1 { margin: 24px 0 14px; color: var(--content-ink); font-size: clamp(27px, 5vw, 42px); }
.not-found-main p { margin: 0 auto 28px; max-width: 560px; color: var(--content-muted); line-height: 1.9; }
.not-found-character { width: min(250px, 60vw); margin: 0 auto 18px; }
.not-found-character img { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
  .content-page-main { padding-top: 64px; }
  .content-page-hero { padding: 60px 20px 54px; }
  .content-page-section { padding: 56px 20px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-intro-character { min-height: 230px; order: -1; }
  .about-intro-character img { width: min(70vw, 260px); }
  .about-point-grid, .about-groups { grid-template-columns: 1fr; }
  .content-card a { padding: 24px 22px; }
  .content-detail-body { font-size: 16px; }
  .legal-toc { padding: 20px; }
}


/* --- v1.3.1: separator-based article lists --- */
.content-list {
  display: block;
  border-top: 1px solid var(--content-line);
}
.content-card {
  border: 0;
  border-bottom: 1px solid var(--content-line);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.content-card a {
  display: block;
  padding: 30px 0;
  transition: background .18s ease, padding .18s ease;
}
.content-card a:hover { background: transparent; padding-left: 8px; }
.content-card-body { min-width: 0; }
.content-card h2 { margin: 12px 0 8px; }
.content-card-link { margin-top: 14px; }

body[data-content-page="columns"] .content-card a {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.content-card-thumbnail {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eef8f3;
}
.content-card-thumbnail::before,
.content-detail-image::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid currentColor;
  border-radius: 50%;
  left: -32px;
  top: -36px;
  opacity: .22;
}
.content-card-thumbnail::after,
.content-detail-image::after {
  content: '✦';
  position: absolute;
  right: 18px;
  top: 12px;
  color: currentColor;
  font-size: 24px;
  opacity: .48;
}
.content-card-thumbnail img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 8px 18px 0;
}
.content-card-thumbnail.is-purple,
.content-detail-image.is-purple { color: #8b5bb5; background: #f5eff9; }
.content-card-thumbnail.is-yellow,
.content-detail-image.is-yellow { color: #b7840b; background: #fff8df; }
.content-card-thumbnail.is-green,
.content-detail-image.is-green { color: #059653; background: #eef8f3; }

body[data-content-page="news"] .content-page-inner {
  width: min(100%, 960px);
}
body[data-content-page="news"] .content-card a {
  display: block;
}
body[data-content-page="news"] .content-card-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: 100%;
}
body[data-content-page="news"] .content-card-meta { grid-column: 1; }
body[data-content-page="news"] .content-card h2 { grid-column: 2; margin: 0; font-size: clamp(18px, 2.5vw, 23px); }
body[data-content-page="news"] .content-card-link { grid-column: 3; margin: 0; white-space: nowrap; }

.content-detail-image {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 3 / 2;
  margin: 44px auto 0;
  overflow: hidden;
}
.content-detail-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 20px 80px 0;
}

/* --- v1.3.1: About page, master-based and borderless --- */
.about-page-main { padding-top: 0; }
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 20px 86px;
  background: #f4faf6;
}
.about-hero::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  left: -170px;
  top: -170px;
  border: 1px solid #a9ddc4;
  border-radius: 50%;
}
.about-hero::after {
  content: '✦';
  position: absolute;
  right: 7%;
  top: 70px;
  color: #20c58b;
  font-size: 42px;
  transform: rotate(9deg);
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  gap: 54px;
  align-items: center;
}
.about-hero-copy h1 {
  margin: 0 0 28px;
  color: var(--content-ink);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.035em;
}
.about-hero-lead { color: #34413b; font-size: 17px; line-height: 2; }
.about-hero-lead p { margin: 0 0 1.25em; }

.about-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-illustration img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.about-hero-characters.about-illustration img { width: min(100%, 600px); }
.about-story-characters.about-illustration img,
.about-result-character.about-illustration img { width: min(100%, 500px); }

.about-illustration-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  border: 1.5px dashed #b7d3c4;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  text-align: center;
}
.about-illustration-placeholder > div {
  display: grid;
  gap: 8px;
}
.about-illustration-placeholder strong {
  color: var(--content-ink);
  font-size: 22px;
  font-weight: 900;
}
.about-illustration-placeholder span {
  color: #54635c;
  font-size: 14px;
  line-height: 1.75;
}
.about-hero-characters {
  min-height: 410px;
}

.about-section-index {
  margin: 0 0 16px;
  color: var(--content-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}
.about-story-section { padding: 110px 20px; }
.about-story-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 72px;
  align-items: center;
}
.about-story-copy h2,
.about-pharmacy-heading h2,
.about-result-copy h2,
.about-display-title {
  margin: 0 0 30px;
  color: var(--content-ink);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -.025em;
}
.about-story-copy > p:not(.about-section-index),
.about-pharmacy-copy p,
.about-result-copy p {
  color: #34413b;
  font-size: 16px;
  line-height: 2;
}
.about-story-copy > p { margin: 0 0 1.45em; }
.about-pull-line {
  margin-top: 34px !important;
  padding-left: 22px;
  border-left: 5px solid #20c58b;
  color: var(--content-ink) !important;
  font-size: 18px !important;
  font-weight: 800;
}
.about-story-characters {
  min-height: 420px;
}

.about-discovery-section { padding: 104px 20px; background: #f7faf8; }
.about-display-title { text-align: center; }
.about-discovery-section .about-section-index { text-align: center; }
.about-discovery-lead { width: min(100%, 760px); margin: 0 auto 56px; color: #45524c; text-align: center; line-height: 1.95; }
.about-discovery-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-discovery-item { padding: 0 36px; }
.about-discovery-item + .about-discovery-item { border-left: 1px solid #cfded6; }
.about-discovery-item > span { display: block; margin-bottom: 18px; color: #20c58b; font-size: 42px; line-height: 1; font-weight: 900; }
.about-discovery-item h3 { margin: 0 0 14px; color: var(--content-ink); font-size: 20px; line-height: 1.55; }
.about-discovery-item p { margin: 0; color: var(--content-muted); line-height: 1.9; }

.about-pharmacy-section { padding: 112px 20px 90px; overflow: hidden; }
.about-pharmacy-inner { width: min(100%, 1080px); margin: 0 auto; }
.about-pharmacy-heading { width: min(100%, 850px); }
.about-pharmacy-copy { width: min(100%, 780px); margin: 50px auto 0; }
.about-pharmacy-copy p { margin: 0 0 1.55em; }
.about-pharmacy-quote {
  margin: 54px -90px !important;
  padding: 30px 90px;
  border-top: 1px solid #9fd8bb;
  border-bottom: 1px solid #9fd8bb;
  color: var(--content-ink) !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  line-height: 1.7 !important;
  font-weight: 900;
  text-align: center;
}

.about-result-section { padding: 96px 20px; background: #eaf8f2; }
.about-result-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.about-result-character { min-height: 320px; }
.about-result-character img { width: 100%; }
.about-result-copy p { margin: 0 0 1.4em; }
.about-note { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid #a8d9c0; color: #59665f !important; font-size: 14px !important; }
.about-final-cta p:not(.about-section-index) { margin: -8px auto 24px; color: var(--content-muted); }
.about-final-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .about-hero-inner,
  .about-story-inner,
  .about-result-inner { grid-template-columns: 1fr; }
  .about-hero-characters { min-height: 330px; }
  .about-story-characters { width: min(100%, 520px); margin: 0 auto; }
  .about-result-character { width: min(48vw, 250px); margin: 0 auto; }
}

@media (max-width: 760px) {
  body[data-content-page="columns"] .content-card a {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  body[data-content-page="news"] .content-card-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body[data-content-page="news"] .content-card-meta,
  body[data-content-page="news"] .content-card h2,
  body[data-content-page="news"] .content-card-link { grid-column: 1; }
  body[data-content-page="news"] .content-card-link { margin-top: 0; }
  .content-card-thumbnail { width: 100%; }
  .content-detail-image img { padding-inline: 30px; }

  .about-hero { padding: 68px 20px 56px; }
  .about-hero-inner { gap: 26px; }
  .about-hero-copy h1 { font-size: clamp(36px, 11vw, 48px); }
  .about-hero-characters { min-height: 260px; }
  .about-story-section,
  .about-discovery-section,
  .about-pharmacy-section,
  .about-result-section { padding: 76px 20px; }
  .about-story-inner { gap: 38px; }
  .about-story-characters { min-height: 300px; }
  .about-discovery-list { grid-template-columns: 1fr; }
  .about-discovery-item { padding: 30px 0; }
  .about-discovery-item:first-child { padding-top: 0; }
  .about-discovery-item + .about-discovery-item { border-left: 0; border-top: 1px solid #cfded6; }
  .about-pharmacy-copy { margin-top: 34px; }
  .about-pharmacy-quote { margin: 42px 0 !important; padding: 26px 0; }
  .about-result-inner { gap: 20px; }
  .about-final-actions { align-items: stretch; }
  .about-illustration-placeholder { min-height: 240px; padding: 20px; }
  .about-illustration-placeholder strong { font-size: 18px; }
}

/* v1.3.16: HOW TO READ uses the same content/image proportions as 01 / WHY */
.about-result-inner {
  width: min(100%, 1120px);
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 72px;
}
.about-result-character {
  min-height: 420px;
  width: 100%;
}

@media (max-width: 900px) {
  .about-result-inner {
    grid-template-columns: 1fr;
  }
  .about-result-copy {
    order: 1;
  }
  .about-result-character {
    order: 2;
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .about-result-inner {
    gap: 34px;
  }
  .about-result-character {
    min-height: 300px;
  }
}

/* v1.3.17: microCMS content states and rich editor output */
.content-loading {
  padding: 48px 24px;
  color: var(--content-muted);
  text-align: center;
  line-height: 1.8;
}
.content-detail-body h3 {
  margin: 2.1em 0 .7em;
  color: var(--content-ink);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.6;
}
.content-detail-body h4,
.content-detail-body h5 {
  margin: 1.8em 0 .65em;
  color: var(--content-ink);
  line-height: 1.65;
}
.content-detail-body ul,
.content-detail-body ol { margin: 0 0 1.55em; padding-left: 1.5em; }
.content-detail-body li { margin: .55em 0; }
.content-detail-body a { color: var(--content-green); text-underline-offset: 3px; }
.content-detail-body blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 5px solid var(--content-green-bright);
  background: #f4faf6;
}
.content-detail-body figure { margin: 2.2em 0; }
.content-detail-body img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.content-detail-body figcaption { margin-top: 8px; color: var(--content-muted); font-size: 13px; text-align: center; }
.content-detail-body table { width: 100%; margin: 2em 0; border-collapse: collapse; overflow-wrap: anywhere; }
.content-detail-body th,
.content-detail-body td { padding: 12px; border: 1px solid var(--content-line); text-align: left; vertical-align: top; }
.content-detail-body th { background: #f4faf6; }
.content-detail-body pre { overflow-x: auto; padding: 18px; border-radius: 10px; background: #f4f6f5; line-height: 1.65; }
