/* ===== Smart Treats Design System v2.0 ===== */
/* Inspired by KUMON Harmonies — warm, family-friendly, approachable */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Poppins:wght@400;600;700&display=swap');

:root {
  /* Core palette — warm & approachable */
  --st-primary: #374653;
  --st-primary-light: #4a5b6a;
  --st-accent-pink: #ed99a3;
  --st-accent-pink-dark: #e07882;
  --st-accent-blue: #70bee6;
  --st-accent-green: #95cb4d;
  --st-accent-purple: #9b51e0;

  /* Backgrounds */
  --st-bg-white: #ffffff;
  --st-bg-warm: #f5f5f2;
  --st-bg-light: #fafaf8;
  --st-bg-pink-light: #f7e9ea;
  --st-bg-blue-light: #e9f2f7;
  --st-bg-green-light: #f3f7e9;
  --st-bg-cream: #fefff0;

  /* Text */
  --st-text: #374653;
  --st-text-sub: #5a6b78;
  --st-text-muted: #8b8b87;

  /* Borders & separators */
  --st-border: #e8e8e5;
  --st-border-dotted: #c5c5c0;

  /* Sizing */
  --st-radius: 20px;
  --st-radius-sm: 16px;
  --st-radius-xs: 4px;
  --st-max-width: 1080px;
  --st-article-width: 800px;

  /* Effects */
  --st-shadow: 0 0 26px rgba(128, 139, 149, 0.12);
  --st-shadow-hover: 0 4px 32px rgba(128, 139, 149, 0.2);
  --st-transition: 0.3s cubic-bezier(0.33, 1, 0.68, 1);

  /* Category colors (Harmonies-style) */
  --st-cat-recipe: #ed99a3;
  --st-cat-recipe-bg: #f7e9ea;
  --st-cat-column: #70bee6;
  --st-cat-column-bg: #e9f2f7;
  --st-cat-product: #95cb4d;
  --st-cat-product-bg: #f3f7e9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: #a7d5ed; color: #fff; }

body {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--st-text);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  background: var(--st-bg-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%; height: auto; display: block;
  border-radius: var(--st-radius-sm);
}

a {
  color: #209cdb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--st-transition), text-decoration-color var(--st-transition);
}
a:hover { color: var(--st-accent-pink); text-decoration-color: transparent; }

/* ===== Navbar ===== */
.st-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--st-border);
  padding: 0 24px;
}
.st-nav__inner {
  max-width: var(--st-max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.st-nav__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--st-primary);
  letter-spacing: 0.02em; text-decoration: none;
}
.st-nav__logo span { color: var(--st-accent-pink); }
.st-nav__links { display: flex; gap: 28px; list-style: none; }
.st-nav__links a {
  font-size: 14px; font-weight: 500; color: var(--st-text);
  text-decoration: none; padding: 4px 0; position: relative;
  transition: color var(--st-transition);
}
.st-nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 2px;
  background: var(--st-accent-pink);
  transition: width var(--st-transition);
}
.st-nav__links a:hover { color: var(--st-accent-pink); }
.st-nav__links a:hover::after { width: 100%; }
.st-nav__cta {
  background: var(--st-primary); color: #fff !important;
  padding: 10px 24px; border-radius: 100px; font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: background var(--st-transition), transform var(--st-transition);
}
.st-nav__cta:hover { background: var(--st-accent-pink); color: #fff !important; transform: translateY(-1px); }
.st-nav__cta::after { display: none !important; }

/* Mobile menu */
.st-nav__hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
}
.st-nav__hamburger span {
  display: block; width: 22px; height: 2px; background: var(--st-primary);
  position: absolute; left: 7px; transition: var(--st-transition);
  border-radius: 1px;
}
.st-nav__hamburger span:nth-child(1) { top: 10px; }
.st-nav__hamburger span:nth-child(2) { top: 17px; }
.st-nav__hamburger span:nth-child(3) { top: 24px; }

@media (max-width: 768px) {
  .st-nav__hamburger { display: block; }
  .st-nav__links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px;
    border-bottom: 1px solid var(--st-border); gap: 0;
    box-shadow: var(--st-shadow);
  }
  .st-nav__links.active { display: flex; }
  .st-nav__links li {
    padding: 14px 0;
    border-bottom: 1px dotted var(--st-border-dotted);
  }
  .st-nav__links li:last-child { border-bottom: none; }
  .st-nav__links a { font-size: 16px; }
}

/* ===== Hero (Top) ===== */
.st-hero-top {
  background: var(--st-bg-warm);
  color: var(--st-text); padding: 100px 24px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.st-hero-top::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(237, 153, 163, 0.08);
}
.st-hero-top::after {
  content: ''; position: absolute; bottom: -25%; left: -8%;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(112, 190, 230, 0.06);
}
.st-hero-top__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.st-hero-top__badge {
  display: inline-block; background: var(--st-accent-pink);
  color: #fff;
  padding: 8px 20px; border-radius: 100px; font-size: 13px;
  font-weight: 700; margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}
.st-hero-top h1 {
  font-size: clamp(26px, 5vw, 42px); line-height: 1.5;
  margin-bottom: 20px; font-weight: 700;
  color: var(--st-primary);
}
.st-hero-top h1 em {
  font-style: normal; color: var(--st-accent-pink);
}
.st-hero-top__sub {
  font-size: 16px; color: var(--st-text-sub); line-height: 2.0; margin-bottom: 40px;
}
.st-hero-top__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.st-btn {
  display: inline-block; padding: 14px 36px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  transition: transform var(--st-transition), box-shadow var(--st-transition);
  text-align: center; text-decoration: none;
}
.st-btn:hover { transform: translateY(-2px); box-shadow: var(--st-shadow); }
.st-btn--primary { background: var(--st-primary); color: #fff; }
.st-btn--primary:hover { color: #fff; background: var(--st-primary-light); }
.st-btn--outline { background: transparent; color: var(--st-primary); border: 2px solid var(--st-border-dotted); }
.st-btn--outline:hover { color: var(--st-accent-pink); border-color: var(--st-accent-pink); }

/* ===== Section ===== */
.st-section {
  padding: 80px 24px; max-width: var(--st-max-width); margin: 0 auto;
}
.st-section--alt { background: var(--st-bg-warm); }
.st-section--alt .st-section { padding-top: 0; padding-bottom: 0; }
.st-section__header { text-align: center; margin-bottom: 56px; }
.st-section__en {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; color: var(--st-accent-pink); font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px;
}
.st-section__title {
  font-size: clamp(22px, 4vw, 30px); color: var(--st-primary); line-height: 1.5;
  font-weight: 700;
}
.st-section__lead {
  font-size: 15px; color: var(--st-text-sub); margin-top: 16px;
  max-width: 600px; margin-left: auto; margin-right: auto; line-height: 2.0;
}

/* ===== Pain Cards ===== */
.st-pain-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.st-pain-card {
  background: #fff; border-radius: var(--st-radius); padding: 36px 28px;
  box-shadow: var(--st-shadow); text-align: center;
  transition: transform var(--st-transition), box-shadow var(--st-transition);
}
.st-pain-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow-hover); }
.st-pain-card__icon { font-size: 40px; margin-bottom: 16px; }
.st-pain-card__who { font-size: 13px; color: var(--st-accent-pink); font-weight: 700; margin-bottom: 6px; }
.st-pain-card__pain { font-size: 18px; font-weight: 700; color: var(--st-primary); margin-bottom: 12px; }
.st-pain-card__desc { font-size: 14px; color: var(--st-text-sub); margin-bottom: 20px; line-height: 1.8; }
.st-pain-card__solution {
  background: var(--st-bg-pink-light); color: var(--st-accent-pink-dark);
  font-weight: 700; font-size: 13px; padding: 8px 20px; border-radius: 100px;
  display: inline-block;
}

/* ===== Feature Grid ===== */
.st-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.st-feature { display: flex; gap: 16px; align-items: flex-start; }
.st-feature__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--st-radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.st-feature__icon--blue { background: var(--st-bg-blue-light); }
.st-feature__icon--pink { background: var(--st-bg-pink-light); }
.st-feature__icon--green { background: var(--st-bg-green-light); }
.st-feature__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.st-feature__desc { font-size: 14px; color: var(--st-text-sub); line-height: 1.8; }

/* ===== Article Cards ===== */
.st-article-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.st-article-card {
  background: #fff; border-radius: var(--st-radius); overflow: hidden;
  box-shadow: var(--st-shadow);
  transition: transform var(--st-transition), box-shadow var(--st-transition);
  text-decoration: none; color: var(--st-text);
}
.st-article-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow-hover); color: var(--st-text); }
.st-article-card__thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 48px; border-radius: 0;
}
.st-article-card__thumb img { border-radius: 0; }
.st-article-card__thumb--blue { background: linear-gradient(135deg, #e9f2f7, #d4e8f3); }
.st-article-card__thumb--pink { background: linear-gradient(135deg, #f7e9ea, #f0d4d7); }
.st-article-card__thumb--purple { background: linear-gradient(135deg, #f0eaf7, #e0d4f0); }
.st-article-card__thumb--green { background: linear-gradient(135deg, #f3f7e9, #e4efd4); }
.st-article-card__body { padding: 24px; }
.st-article-card__cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; margin-bottom: 10px;
  padding: 3px 12px; border-radius: 10px;
  border: 1px dotted var(--st-border-dotted);
  color: var(--st-text-sub);
}
.st-article-card__cat::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--st-accent-pink);
  margin-right: 6px; vertical-align: middle;
}
.st-article-card__title { font-size: 16px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
.st-article-card__excerpt { font-size: 13px; color: var(--st-text-sub); line-height: 1.8; }

/* ===== CTA Section ===== */
.st-cta-section {
  background: var(--st-bg-warm);
  color: var(--st-text); padding: 80px 24px; text-align: center;
}
.st-cta-section__inner { max-width: 600px; margin: 0 auto; }
.st-cta-section h2 { font-size: 26px; margin-bottom: 20px; color: var(--st-primary); }
.st-cta-section p { color: var(--st-text-sub); margin-bottom: 28px; font-size: 15px; line-height: 2.0; }

/* ===== Article Page ===== */
.st-article-hero {
  background: var(--st-bg-warm);
  padding: 60px 24px 48px; text-align: center;
  position: relative;
}
.st-article-hero__inner {
  max-width: var(--st-article-width); margin: 0 auto;
}
.st-article-hero__cat {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 5px 16px; border-radius: 10px;
  border: 1px dotted var(--st-border-dotted);
  color: var(--st-text-sub);
  margin-bottom: 20px;
  text-decoration: none;
}
.st-article-hero__cat::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--st-accent-pink);
  margin-right: 8px; vertical-align: middle;
}
.st-article-hero h1, .st-article-hero__title {
  font-size: clamp(22px, 4.5vw, 28px); color: var(--st-primary);
  line-height: 1.6; margin-bottom: 16px; font-weight: 700;
}
.st-article-hero__lead {
  font-size: 15px; color: var(--st-text-sub); max-width: 640px; margin: 0 auto;
  line-height: 2.0;
}
.st-article-hero__meta { margin-top: 20px; font-size: 12px; color: var(--st-text-muted); }
.st-article-hero__meta .date {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}

/* Article Body */
.st-article-body {
  max-width: var(--st-article-width); margin: 0 auto; padding: 48px 24px 60px;
}
.st-article-body__inner {
  max-width: 700px; margin: 0 auto;
}

/* h2: Warm gray background box (Harmonies-style) */
.st-article-body h2 {
  font-size: 22px; color: var(--st-primary);
  font-weight: 700; letter-spacing: 0.02em; line-height: 1.6;
  margin: 80px 0 24px;
  padding: 16px 24px;
  background: var(--st-bg-warm);
  border-radius: var(--st-radius-xs);
  border: none;
}
.st-article-body h2:first-child { margin-top: 0; }
.st-article-body h2 .en {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: 11px; color: var(--st-accent-pink); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}

/* h3: Colored text, no border (Harmonies-style) */
.st-article-body h3 {
  font-size: 19px; color: var(--st-accent-pink);
  font-weight: 700; letter-spacing: 0.02em; line-height: 1.6;
  margin: 48px 0 16px;
  padding: 0; border: none;
}

/* h4 */
.st-article-body h4 {
  font-size: 17px; color: var(--st-primary);
  font-weight: 700; line-height: 1.6;
  margin: 32px 0 12px;
}

/* Paragraphs — generous line height like Harmonies */
.st-article-body p {
  margin: 1.3em 0; font-size: 15px; line-height: 2.4;
}
.st-article-body p + p { margin-top: 2.0em; }

/* Lists */
.st-article-body ul {
  list-style: none; padding-left: 0; margin: 20px 0;
}
.st-article-body ul li {
  position: relative; padding: 12px 0 12px 20px;
  border-bottom: 1px dotted var(--st-border-dotted);
  line-height: 1.8;
}
.st-article-body ul li:last-child { border-bottom: none; }
.st-article-body ul li::before {
  content: '・'; position: absolute; left: 0; top: 12px;
  color: var(--st-accent-pink); font-weight: 700;
}

.st-article-body ol {
  list-style: none; counter-reset: st-counter; padding-left: 0; margin: 20px 0;
}
.st-article-body ol li {
  counter-increment: st-counter;
  position: relative; padding: 14px 0 14px 44px;
  border-bottom: 1px dotted var(--st-border-dotted);
  line-height: 1.8;
}
.st-article-body ol li:last-child { border-bottom: none; }
.st-article-body ol li::before {
  content: counter(st-counter);
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: #fff; font-weight: 600;
  display: flex; justify-content: center; align-items: center;
  width: 26px; height: 26px;
  position: absolute; top: 16px; left: 0;
  border-radius: 50%;
  background: var(--st-primary);
}

/* Images in article */
.st-article-body img {
  margin: 24px 0; border-radius: var(--st-radius-sm);
}

/* Horizontal rule — dotted pattern */
.st-article-body hr {
  border: none; height: 1px; margin: 60px 0;
  background-image: linear-gradient(to right, var(--st-border-dotted) 3px, transparent 3px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}

/* Links in article body */
.st-article-body a {
  color: #209cdb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.st-article-body a:hover { text-decoration-color: transparent; }

/* Strong text */
.st-article-body strong {
  font-weight: 700;
  color: var(--st-primary);
}

/* Info boxes — softer, rounded */
.st-box { border-radius: 24px; padding: 28px 28px; margin: 32px 0; }
.st-box--blue { background: var(--st-bg-blue-light); }
.st-box--pink { background: var(--st-bg-pink-light); }
.st-box--green { background: var(--st-bg-green-light); }
.st-box--warm { background: var(--st-bg-warm); }
.st-box__title {
  font-size: 16px; font-weight: 700; color: var(--st-primary); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.st-box ul { padding-left: 0; list-style: none; }
.st-box li {
  margin: 8px 0; padding-left: 16px; position: relative;
}
.st-box li::before {
  content: '・'; position: absolute; left: 0; color: var(--st-accent-pink);
}

/* Keypoint — speech-bubble style */
.st-keypoint {
  background: var(--st-bg-warm);
  border-radius: 24px; padding: 28px 32px; margin: 40px 0;
  position: relative;
}
.st-keypoint__icon { font-size: 28px; margin-bottom: 8px; }
.st-keypoint__text { font-size: 16px; font-weight: 700; color: var(--st-primary); line-height: 1.8; }

/* Table — softer style */
.st-table-wrap { overflow-x: auto; margin: 32px 0; border-radius: var(--st-radius-sm); overflow: hidden; }
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.st-table th {
  background: var(--st-bg-warm); color: var(--st-primary);
  padding: 14px 18px; text-align: left; font-weight: 700;
  border-bottom: 2px solid var(--st-border);
}
.st-table td {
  padding: 14px 18px;
  border-bottom: 1px dotted var(--st-border-dotted);
}
.st-table tr:last-child td { border-bottom: none; }
.st-table tr:nth-child(even) td { background: var(--st-bg-light); }
.st-table .highlight { background: var(--st-bg-pink-light) !important; font-weight: 700; }

/* TOC — beige container with speech-bubble label */
.st-toc {
  background: var(--st-bg-warm); border: none; border-radius: 24px;
  padding: 32px 28px; margin: 40px 0;
  position: relative;
}
.st-toc__title {
  display: inline-block;
  font-size: 14px; font-weight: 700; color: var(--st-primary);
  background: #fff; border: 1px solid var(--st-primary);
  padding: 6px 20px; border-radius: 16px 16px 16px 0;
  position: absolute; top: -14px; left: 28px;
}
.st-toc ol { padding-left: 0; list-style: none; counter-reset: toc-counter; margin-top: 8px; }
.st-toc ol li {
  counter-increment: toc-counter; margin: 0;
  padding: 10px 0 10px 36px; border-bottom: 1px dotted var(--st-border-dotted);
  position: relative;
}
.st-toc ol li:last-child { border-bottom: none; }
.st-toc ol li::before {
  content: counter(toc-counter);
  font-family: 'Poppins', sans-serif;
  color: #fff; font-weight: 600; font-size: 12px;
  background: var(--st-primary, #1a237e); border-radius: 50%;
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: inline-block;
}
.st-toc a { color: var(--st-text); text-decoration: none; }
.st-toc a:hover { color: var(--st-accent-pink); }

/* FAQ — softer rounded style */
.st-faq { margin: 40px 0; }
.st-faq details {
  border: none; border-radius: var(--st-radius);
  margin-bottom: 16px; overflow: hidden;
  background: var(--st-bg-warm);
}
.st-faq summary {
  padding: 20px 24px; font-weight: 700; font-size: 15px;
  cursor: pointer; background: transparent; list-style: none;
  transition: color var(--st-transition);
}
.st-faq summary::before { content: "Q. "; color: var(--st-accent-pink); font-weight: 700; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq details[open] summary {
  border-bottom: 1px dotted var(--st-border-dotted);
}
.st-faq__answer {
  padding: 20px 24px; font-size: 15px; line-height: 2.0;
  background: #fff;
}
.st-faq__answer::before { content: "A. "; color: var(--st-accent-blue); font-weight: 700; }

/* Article CTA — softer */
.st-article-cta {
  background: var(--st-bg-warm);
  color: var(--st-text); border-radius: 24px; padding: 48px 32px; margin: 60px 0; text-align: center;
}
.st-article-cta h3 {
  color: var(--st-primary) !important; font-size: 20px;
  border: none; padding: 0; margin: 0 0 16px;
}
.st-article-cta p { color: var(--st-text-sub); margin-bottom: 24px; }

/* Link cards */
.st-link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 40px 0; }
.st-link-card {
  border: 1px dotted var(--st-border-dotted); border-radius: var(--st-radius);
  padding: 20px 24px;
  text-decoration: none; color: var(--st-text);
  transition: box-shadow var(--st-transition), transform var(--st-transition);
}
.st-link-card:hover { box-shadow: var(--st-shadow-hover); color: var(--st-text); transform: translateY(-2px); }
.st-link-card__label { font-size: 11px; color: var(--st-accent-pink); font-weight: 700; margin-bottom: 6px; }
.st-link-card__title { font-size: 15px; font-weight: 700; line-height: 1.6; }

/* Internal link section */
.st-internal-link {
  margin: 60px 0 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--st-border);
}
.st-internal-link h3 {
  color: var(--st-primary) !important;
  font-size: 18px;
  margin-bottom: 20px;
}
.st-internal-link ul {
  list-style: none; padding: 0;
}
.st-internal-link li {
  padding: 12px 0;
  border-bottom: 1px dotted var(--st-border-dotted);
}
.st-internal-link li:last-child { border-bottom: none; }
.st-internal-link a {
  color: #209cdb; text-decoration: none; font-weight: 500;
}
.st-internal-link a:hover { color: var(--st-accent-pink); }

/* ===== Product Cards (Listing) ===== */
.st-product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.st-product-card {
  background: #fff; border-radius: var(--st-radius); overflow: hidden;
  box-shadow: var(--st-shadow);
  transition: transform var(--st-transition), box-shadow var(--st-transition);
  text-decoration: none; color: var(--st-text);
}
.st-product-card:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-hover); color: var(--st-text); }
.st-product-card__visual {
  height: 220px; display: flex; align-items: center; justify-content: center;
  font-size: 64px; position: relative; overflow: hidden;
}
.st-product-card__visual--neon { background: linear-gradient(135deg, #ed99a3, #f5c6cb, #95cb4d); }
.st-product-card__visual--magma { background: linear-gradient(135deg, #4a3728, #8b6b4f, #c78a5a); }
.st-product-card__visual--galaxy { background: linear-gradient(135deg, #374653, #5a6b78, #70bee6); }
.st-product-card__badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(55, 70, 83, 0.8); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; backdrop-filter: blur(4px);
}
.st-product-card__body { padding: 28px; }
.st-product-card__name { font-size: 20px; font-weight: 700; color: var(--st-primary); margin-bottom: 6px; }
.st-product-card__sub { font-size: 13px; color: var(--st-accent-pink); font-weight: 600; margin-bottom: 14px; }
.st-product-card__desc { font-size: 14px; color: var(--st-text-sub); line-height: 1.8; margin-bottom: 20px; }
.st-product-card__specs { display: flex; gap: 10px; flex-wrap: wrap; }
.st-product-card__spec {
  background: var(--st-bg-warm); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--st-text-sub);
}

/* ===== Product Detail ===== */
.st-product-hero {
  padding: 80px 24px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.st-product-hero--neon { background: linear-gradient(135deg, #ed99a3, #f5c6cb); }
.st-product-hero--magma { background: linear-gradient(135deg, #4a3728, #8b6b4f); }
.st-product-hero--galaxy { background: linear-gradient(135deg, #374653, #5a6b78); }
.st-product-hero::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.st-product-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.st-product-hero__emoji { font-size: 80px; margin-bottom: 20px; }
.st-product-hero__badge {
  display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
  padding: 8px 22px; border-radius: 100px; font-size: 12px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: 0.05em;
}
.st-product-hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.4; margin-bottom: 14px; }
.st-product-hero__lead { font-size: 16px; opacity: 0.9; line-height: 1.8; margin-bottom: 28px; }
.st-product-hero__price {
  display: inline-block; background: rgba(255,255,255,0.15);
  padding: 10px 28px; border-radius: 100px; font-size: 20px; font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.st-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.st-spec-item {
  background: #fff; border-radius: var(--st-radius); padding: 28px; text-align: center;
  box-shadow: var(--st-shadow);
}
.st-spec-item__icon { font-size: 32px; margin-bottom: 10px; }
.st-spec-item__label { font-size: 12px; color: var(--st-text-muted); font-weight: 600; margin-bottom: 6px; }
.st-spec-item__value {
  font-size: 20px; font-weight: 700; color: var(--st-primary);
  font-family: 'Poppins', sans-serif;
}

.st-ingredient-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 28px 0; }
.st-ingredient {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: var(--st-bg-warm); border-radius: var(--st-radius-sm);
}
.st-ingredient__icon { font-size: 24px; flex-shrink: 0; }
.st-ingredient__name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.st-ingredient__desc { font-size: 13px; color: var(--st-text-sub); line-height: 1.6; }

/* ===== Contact Form ===== */
.st-form { max-width: 600px; margin: 0 auto; }
.st-form__group { margin-bottom: 28px; }
.st-form__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.st-form__required { color: var(--st-accent-pink); font-size: 12px; margin-left: 4px; }
.st-form input[type="text"],
.st-form input[type="email"],
.st-form input[type="tel"],
.st-form select,
.st-form textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--st-border);
  border-radius: var(--st-radius-sm); font-size: 15px; font-family: inherit;
  transition: border-color var(--st-transition);
  background: var(--st-bg-light);
}
.st-form input:focus, .st-form select:focus, .st-form textarea:focus {
  outline: none; border-color: var(--st-accent-blue);
  background: #fff;
}
.st-form textarea { min-height: 160px; resize: vertical; }
.st-form__submit {
  width: 100%; padding: 16px; background: var(--st-primary); color: #fff;
  border: none; border-radius: 100px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background var(--st-transition), transform var(--st-transition);
}
.st-form__submit:hover { background: var(--st-accent-pink); transform: translateY(-1px); }

/* ===== Footer ===== */
.st-footer {
  background: var(--st-bg-warm); color: var(--st-text-sub); padding: 60px 24px 40px;
  border-top: 1px solid var(--st-border);
}
.st-footer__inner {
  max-width: var(--st-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.st-footer__brand {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--st-primary); margin-bottom: 14px;
}
.st-footer__tagline { font-size: 14px; line-height: 1.8; color: var(--st-text-sub); }
.st-footer__heading { font-size: 13px; font-weight: 700; color: var(--st-primary); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.st-footer__links { list-style: none; }
.st-footer__links li { margin: 10px 0; }
.st-footer__links a { color: var(--st-text-sub); font-size: 14px; text-decoration: none; }
.st-footer__links a:hover { color: var(--st-accent-pink); }
.st-footer__bottom {
  max-width: var(--st-max-width); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px dotted var(--st-border-dotted); text-align: center;
  font-size: 12px; color: var(--st-text-muted);
  font-family: 'Poppins', sans-serif;
}

/* Last Updated Badge */
.st-last-updated {
  text-align: center;
  padding: 10px 16px;
  background: var(--st-bg-light);
  font-size: 12px;
  color: var(--st-text-muted);
  font-family: 'Poppins', sans-serif;
}
.st-last-updated time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.st-last-updated time::before {
  content: "\1F504";
  font-size: 13px;
}

/* Summary Box — warm beige */
.st-summary-box {
  background: var(--st-bg-warm);
  border-left: none;
  border-radius: 24px;
  padding: 28px 28px;
  margin: 32px 0;
  font-size: 15px;
  line-height: 2.0;
  position: relative;
}
.st-summary-box__title {
  font-weight: 700;
  color: var(--st-primary);
  margin-bottom: 10px;
  font-size: 16px;
  display: flex; align-items: center; gap: 8px;
}
.st-summary-box ul {
  margin: 10px 0 0 0; padding-left: 0; list-style: none;
}
.st-summary-box li {
  margin-bottom: 6px; padding-left: 16px; position: relative;
}
.st-summary-box li::before {
  content: '・'; position: absolute; left: 0; color: var(--st-accent-pink);
}

/* ===== Section Divider (double line) ===== */
.st-divider {
  position: relative; margin: 0; padding: 0;
  height: 5px; border: none;
}
.st-divider::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  border-top: 1px solid var(--st-text-muted);
}
.st-divider::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  border-bottom: 1px solid var(--st-text-muted);
}

/* ===== Persona Toggle (Search) ===== */
.st-persona-toggle {
  text-align: center; margin-bottom: 24px;
}
.st-persona-toggle__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px 10px 10px;
  background: var(--st-bg-warm);
  border: 2px solid var(--st-border);
  border-radius: 100px;
  cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 700;
  color: var(--st-text-sub);
  transition: all var(--st-transition);
}
.st-persona-toggle__btn:hover { border-color: var(--st-accent-pink); color: var(--st-accent-pink); }
.st-persona-toggle__btn.active {
  background: var(--st-bg-pink-light);
  border-color: var(--st-accent-pink);
  color: var(--st-accent-pink-dark);
}
.st-persona-toggle__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--st-accent-pink); color: #fff;
  font-size: 13px; font-weight: 700;
}

/* Article action buttons (save / hide) */
.st-article-actions {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 20px; flex-wrap: wrap;
}
.st-article-actions__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--st-bg-warm);
  border: 1px dotted var(--st-border-dotted);
  border-radius: 100px;
  cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600;
  color: var(--st-text-sub);
  transition: all var(--st-transition);
}
.st-article-actions__btn:hover {
  border-color: var(--st-accent-pink);
  color: var(--st-accent-pink);
}
.st-article-actions__save.active {
  background: var(--st-bg-pink-light);
  border-color: var(--st-accent-pink);
  color: var(--st-accent-pink-dark);
  border-style: solid;
}
.st-article-actions__hide.active {
  background: var(--st-bg-warm);
  border-color: var(--st-primary);
  color: var(--st-primary);
  border-style: solid;
}
.st-article-actions__icon { font-size: 16px; }

/* Article card match badge */
.st-article-card__match {
  position: absolute; top: 12px; right: 12px;
  background: var(--st-accent-pink); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.st-article-card__read-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(55,70,83,0.7); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.st-article-card__saved-badge {
  position: absolute; top: 12px; right: 12px;
  background: #fff; color: var(--st-accent-pink);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  border: 1px solid var(--st-accent-pink);
}
.st-article-card--read { opacity: 0.7; }
.st-article-card--read:hover { opacity: 1; }
.st-article-card__thumb { position: relative; }
.st-article-card__icon { position: relative; z-index: 1; }

/* ===== Child Switcher (Navbar) ===== */
.st-child-switcher {
  position: relative;
}
.st-child-switcher__btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--st-bg-warm); border: 1px dotted var(--st-border-dotted);
  border-radius: 100px; padding: 6px 14px 6px 6px;
  cursor: pointer; font-family: inherit; font-size: 13px;
  color: var(--st-text); font-weight: 600;
  transition: all var(--st-transition);
}
.st-child-switcher__btn:hover { border-color: var(--st-accent-pink); }
.st-child-switcher__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--st-accent-pink); color: #fff;
  font-size: 13px; font-weight: 700;
}
.st-child-switcher__name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-child-switcher__arrow { transition: transform var(--st-transition); flex-shrink: 0; }
.st-child-switcher__dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: var(--st-radius);
  box-shadow: var(--st-shadow-hover); min-width: 240px;
  padding: 8px; z-index: 200;
  border: 1px solid var(--st-border);
}
.st-child-switcher__dropdown.open { display: block; }
.st-child-switcher__item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 10px 12px; border: none;
  background: transparent; border-radius: 12px;
  cursor: pointer; font-family: inherit;
  transition: background var(--st-transition);
  text-align: left;
}
.st-child-switcher__item:hover { background: var(--st-bg-warm); }
.st-child-switcher__item.active { background: var(--st-bg-pink-light); }
.st-child-switcher__item-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--st-accent-pink); color: #fff;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.st-child-switcher__item-info { display: flex; flex-direction: column; }
.st-child-switcher__item-name { font-size: 14px; font-weight: 700; color: var(--st-primary); }
.st-child-switcher__item-persona { font-size: 11px; color: var(--st-text-muted); }
.st-child-switcher__add,
.st-child-switcher__manage {
  display: block; text-align: center;
  padding: 10px 12px; font-size: 13px; font-weight: 700;
  border-radius: 12px; margin-top: 4px;
  text-decoration: none;
  transition: background var(--st-transition);
}
.st-child-switcher__add {
  color: var(--st-accent-pink);
  border-top: 1px dotted var(--st-border-dotted);
  border-radius: 0;
}
.st-child-switcher__add:hover { background: var(--st-bg-pink-light); color: var(--st-accent-pink); }
.st-child-switcher__manage {
  color: var(--st-text-sub);
}
.st-child-switcher__manage:hover { background: var(--st-bg-warm); color: var(--st-text-sub); }

/* Persona badge on article pages */
.st-persona-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--st-bg-pink-light);
  color: var(--st-accent-pink-dark);
  padding: 6px 16px 6px 6px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  margin-top: 16px;
}
.st-persona-badge__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--st-accent-pink); color: #fff;
  font-size: 12px; font-weight: 700;
}

/* ===== My Page (Diagnosis) ===== */
.st-mypage {
  max-width: 700px; margin: 0 auto; padding: 48px 20px;
}
.st-mypage__header {
  text-align: center; margin-bottom: 40px;
}
.st-mypage__title {
  font-size: 24px; font-weight: 700; color: var(--st-primary);
  margin-bottom: 8px;
}
.st-mypage__subtitle {
  font-size: 14px; color: var(--st-text-sub);
}
.st-mypage__child-card {
  background: #fff; border: 1px dotted var(--st-border-dotted);
  border-radius: 24px; padding: 28px;
  margin-bottom: 16px;
  transition: box-shadow var(--st-transition);
}
.st-mypage__child-card:hover { box-shadow: var(--st-shadow); }
.st-mypage__child-card.active {
  border: 2px solid var(--st-accent-pink);
  border-style: solid;
}
.st-mypage__child-top {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.st-mypage__child-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--st-accent-pink); color: #fff;
  font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.st-mypage__child-name { font-size: 18px; font-weight: 700; color: var(--st-primary); }
.st-mypage__child-persona {
  font-size: 13px; color: var(--st-accent-pink);
  font-weight: 600; margin-top: 2px;
}
.st-mypage__child-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--st-text-sub);
}
.st-mypage__child-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.st-mypage__child-actions {
  display: flex; gap: 8px; margin-top: 16px;
  padding-top: 16px; border-top: 1px dotted var(--st-border-dotted);
}
.st-mypage__child-actions button {
  padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  border: none;
  transition: all var(--st-transition);
}
.st-mypage__btn-select {
  background: var(--st-primary); color: #fff;
}
.st-mypage__btn-select:hover { background: var(--st-accent-pink); }
.st-mypage__btn-rediagnose {
  background: var(--st-bg-warm); color: var(--st-text);
}
.st-mypage__btn-rediagnose:hover { background: var(--st-border); }
.st-mypage__btn-delete {
  background: transparent; color: var(--st-text-muted);
  margin-left: auto;
}
.st-mypage__btn-delete:hover { color: #f25935; }
.st-mypage__add-btn {
  display: block; width: 100%; padding: 18px;
  background: var(--st-bg-warm); color: var(--st-accent-pink);
  border: 2px dashed var(--st-border-dotted);
  border-radius: 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all var(--st-transition);
  text-align: center; text-decoration: none;
}
.st-mypage__add-btn:hover {
  border-color: var(--st-accent-pink); background: var(--st-bg-pink-light);
  color: var(--st-accent-pink);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .st-footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .st-hero-top { padding: 60px 20px 48px; }
  .st-section { padding: 56px 20px; }
  .st-article-body { padding: 32px 20px 48px; }
  .st-article-body h2 { margin-top: 56px; font-size: 19px; padding: 14px 20px; }
  .st-article-body h3 { font-size: 17px; margin-top: 36px; }
  .st-article-body p { line-height: 2.1; }
  .st-article-hero { padding: 40px 20px 32px; }
  .st-toc { padding: 28px 20px; }
  .st-box { padding: 24px 20px; }
  .st-keypoint { padding: 24px 20px; }
  .st-child-switcher__dropdown { right: -20px; }
  .st-child-switcher__name { display: none; }
}
