/* ========================================
   Base Reset & Variables
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text-color: #333;
  --text-light: #666;
  --bg-color: #fff;
  --accent-pink: rgb(247, 225, 225);
  --accent-rose: #e8a0a0;
  --border-color: #e5e5e5;
  --font-main: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ========================================
   Typography
   ======================================== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Layout
   ======================================== */
.article-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

@media (min-width: 768px) {
  .article-wrapper {
    padding: 60px 32px 120px;
  }
}

/* ========================================
   Sections & Spacing
   ======================================== */
.section {
  margin-bottom: 48px;
}

.section--wide {
  margin-bottom: 72px;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 64px;
  }
  .section--wide {
    margin-bottom: 96px;
  }
}

/* ========================================
   Headings
   ======================================== */
.hero-title {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 56px;
  }
}

h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #f0a5a0, #d88a8a);
  padding: 6px 14px;
  border-radius: 6px;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

h2 .h2-em {
  color: #fff0a0;
}

h2 + p,
h2 + div {
  margin-top: 24px;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }
  h2 + p,
  h2 + div {
    margin-top: 32px;
  }
  h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
}

/* ========================================
   Body Text
   ======================================== */
p {
  font-size: 1.0625rem;
  line-height: 2;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  p {
    font-size: 1.125rem;
  }
}

p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Highlight / Marker Styles
   ======================================== */
.marker {
  background: linear-gradient(transparent 50%, var(--accent-pink) 50%);
  padding: 0 2px;
}

.underline {
  border-bottom: 3px solid var(--accent-pink);
  padding-bottom: 1px;
}

/* ========================================
   Quote / Voice
   ======================================== */
.quote {
  margin: 32px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent-pink);
}

.quote p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.8;
}

.quote p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .quote {
    margin: 40px 0;
    padding-left: 24px;
  }
  .quote p {
    font-size: 1.0625rem;
  }
}

/* ========================================
   Divider
   ======================================== */
.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 48px 0;
}

.divider--wide {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 72px 0;
}

@media (min-width: 768px) {
  .divider {
    margin: 64px 0;
  }
  .divider--wide {
    margin: 96px 0;
  }
}

/* ========================================
   Article Image
   ======================================== */
.article-image {
  margin: 40px 0;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.article-image--no-margin {
  margin-top: 0;
}

@media (min-width: 768px) {
  .article-image {
    margin: 56px 0;
  }
  .article-image--no-margin {
    margin-top: 0;
  }
}

.article-image--ellipse {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.article-image--ellipse img {
  border-radius: 50%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 768px) {
  .article-image--ellipse {
    max-width: 500px;
  }
}

/* ========================================
   Image Placeholder
   ======================================== */
.image-placeholder {
  background-color: #f9f9f9;
  border: 1px dashed #ddd;
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  margin: 40px 0;
}

.image-placeholder__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #999;
  margin-bottom: 8px;
}

.image-placeholder__note {
  font-size: 0.8125rem;
  color: #aaa;
  line-height: 1.6;
}

.image-placeholder--no-margin {
  margin-top: 0;
}

@media (min-width: 768px) {
  .image-placeholder {
    padding: 64px 32px;
    margin: 56px 0;
  }
}

/* ========================================
   Approach Items (3 pillars)
   ======================================== */
.approach-item {
  background-color: #faf7f7;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 24px 32px;
  margin-bottom: 24px;
  text-align: center;
}

.approach-item:last-child {
  margin-bottom: 0;
}

.approach-icon {
  width: 120px;
  height: 120px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.approach-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-rose);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.approach-item h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.approach-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .approach-item {
    padding: 48px 32px 40px;
    margin-bottom: 28px;
  }
  .approach-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 28px;
  }
  .approach-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 32px 24px;
}

.about-section h2 {
  color: var(--text-color);
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-list {
  list-style: none;
  margin: 24px 0;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--accent-pink);
  border-radius: 50%;
}

.about-list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 48px 40px;
  }
  .about-list li {
    font-size: 1.0625rem;
  }
}

/* ========================================
   Product Preview
   ======================================== */
.product-preview {
  background-color: #b09595;
  border-radius: 16px;
  padding: 32px 24px 40px;
  text-align: center;
}

.product-preview__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 10px 24px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.product-preview__badge svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-preview__image {
  margin: 0 0 32px;
}

.product-preview__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.product-preview__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.product-preview__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 8px;
}

.product-preview__quantity {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .product-preview {
    padding: 40px 32px 48px;
  }
  .product-preview__badge {
    font-size: 1rem;
    padding: 12px 28px;
    margin-bottom: 28px;
  }
  .product-preview__image {
    margin-bottom: 40px;
  }
  .product-preview__name {
    font-size: 1.375rem;
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.cta-lead {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 24px;
}

.cta-section > p {
  margin-bottom: 16px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-rose);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 40px 16px 44px;
  border-radius: 50px;
  margin-top: 32px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(232, 160, 160, 0.3);
}

.cta-button::after {
  content: '→';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  background-color: #d88a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 160, 160, 0.4);
}

.cta-button:hover::after {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .cta-section {
    margin-top: 0;
    padding-top: 0;
  }
  .cta-button {
    font-size: 1.125rem;
    padding: 18px 48px;
  }
}

/* ========================================
   Inline CTA (中間CTAボタン)
   ======================================== */
.cta-inline {
  text-align: center;
  margin: 3rem 0 0;
  padding: 2rem 0;
}

.cta-inline .cta-lead {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ========================================
   Dose Explanation (回数説明)
   ======================================== */
.dose-explanation {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #faf8f5;
  border-radius: 8px;
}

.dose-explanation h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.dose-explanation h3:first-child {
  margin-top: 0;
}

.dose-explanation p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  text-align: center;
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
}

.footer-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .footer {
    margin-top: 100px;
    padding: 40px 0;
  }
}

/* ========================================
   Fade-in Animation
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Constitution Type Cards (体質タイプカード)
   ======================================== */
.constitution-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.constitution-card {
  background-color: #faf7f7;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.constitution-label {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f0a5a0, #d88a8a);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.constitution-subtitle {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--accent-rose);
  margin-bottom: 20px;
}

.constitution-image {
  max-width: 240px;
  margin: 0 auto 24px;
}

.constitution-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.constitution-card > p:not(.constitution-label):not(.constitution-subtitle) {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 12px;
}

.constitution-card > p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .constitution-cards {
    gap: 28px;
    margin-bottom: 64px;
  }

  .constitution-card {
    padding: 40px 32px;
  }

  .constitution-label {
    font-size: 1.25rem;
    padding: 8px 28px;
  }

  .constitution-image {
    max-width: 300px;
  }
}

/* --- 湿熱タイプ：アンバー/オレンジ系 --- */
.constitution-card--shitsunetsu {
  background-color: #fdf8f1;
  border-color: #ebd5b3;
}

.constitution-card--shitsunetsu .constitution-label {
  background: linear-gradient(135deg, #e8b475, #d4964e);
}

.constitution-card--shitsunetsu .constitution-subtitle {
  color: #c08540;
}

/* --- 血虚タイプ：ローズ/ピンク系 --- */
.constitution-card--kekkyo {
  background-color: #faf5f5;
  border-color: #e8c8c8;
}

.constitution-card--kekkyo .constitution-label {
  background: linear-gradient(135deg, #f0a5a0, #d88a8a);
}

.constitution-card--kekkyo .constitution-subtitle {
  color: #c87878;
}

/* --- 肝鬱気滞タイプ：ティールグリーン系 --- */
.constitution-card--kanutsukitai {
  background-color: #f3f9f7;
  border-color: #b5d8cf;
}

.constitution-card--kanutsukitai .constitution-label {
  background: linear-gradient(135deg, #8fbfb3, #6a9e90);
}

.constitution-card--kanutsukitai .constitution-subtitle {
  color: #5e9485;
}

/* ========================================
   Body Type Heading (体質タイプ見出し)
   ======================================== */
.body-type-heading {
  text-align: center;
  color: var(--accent-rose);
}

/* ========================================
   Benefit Cards (体質を整えると何が変わるのか)
   ======================================== */
.benefit-subheading {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-rose);
  margin: 56px 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.benefit-subheading::before,
.benefit-subheading::after {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-rose));
}

.benefit-subheading::after {
  background: linear-gradient(90deg, var(--accent-rose), transparent);
}

.benefit-subheading span {
  white-space: nowrap;
}

.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-card {
  background-color: #faf7f7;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-rose);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-color);
}

.benefit-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 12px;
}

.benefit-text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .benefit-subheading {
    font-size: 1.25rem;
    margin: 72px 0 36px;
  }

  .benefit-subheading::before,
  .benefit-subheading::after {
    width: 40px;
  }

  .benefit-cards {
    gap: 28px;
  }

  .benefit-cards--three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-cards--two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-card {
    padding: 40px 28px;
  }

  .benefit-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }

  .benefit-icon svg {
    width: 32px;
    height: 32px;
  }

  .benefit-title {
    font-size: 1.1875rem;
    margin-bottom: 20px;
  }
}
