/* =============================================
   みおの健康ラボ - メインスタイルシート
   ============================================= */

/* --- CSS変数 --- */
:root {
  --color-bg: #f9f8f6;
  --color-white: #ffffff;
  --color-navy: #1e2d4a;
  --color-navy-light: #2e4270;
  --color-pink: #c9a0a0;
  --color-pink-light: #f0e0e0;
  --color-pink-pale: #fdf5f5;
  --color-text: #333333;
  --color-text-muted: #888888;
  --color-border: #e8e4e0;
  --font-main: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(30, 45, 74, 0.08);
  --shadow-hover: 0 6px 24px rgba(30, 45, 74, 0.14);
  --transition: 0.25s ease;
}

/* --- リセット & ベース --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-pink);
}

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

ul,
ol {
  list-style: none;
}

/* --- レイアウト --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

/* =============================================
   ヘッダー
   ============================================= */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(30, 45, 74, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.site-logo:hover {
  color: var(--color-navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-pink);
  transition: width var(--transition);
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover {
  color: var(--color-navy);
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   ヒーローセクション
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 160, 160, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-label {
  display: inline-block;
  background: rgba(201, 160, 160, 0.25);
  color: var(--color-pink-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 160, 160, 0.4);
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--color-pink);
}

.hero-description {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 480px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(201, 160, 160, 0.4);
}

.btn-primary:hover {
  background: #b88888;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 160, 160, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  margin-left: 16px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

/* みおのアイコンエリア */
.hero-avatar {
  flex-shrink: 0;
}

.avatar-wrapper {
  width: 220px;
  height: 220px;
  position: relative;
}

.avatar-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-pink-light), var(--color-pink));
  border: 4px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-badge {
  position: absolute;
  bottom: 10px;
  right: 0;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* =============================================
   セクション見出し
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-pink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.section-title span {
  color: var(--color-pink);
}

/* =============================================
   新着記事
   ============================================= */
.latest-posts {
  background: var(--color-white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-pink-light);
}

.card-thumbnail {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-pink-pale), var(--color-pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}

/* サムネイル画像差し替え用 */
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 20px;
}

.card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-pink);
  background: var(--color-pink-pale);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.6;
  margin-bottom: 8px;
}

.card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.articles-footer {
  text-align: center;
  margin-top: 40px;
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow);
}

.btn-navy:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* =============================================
   カテゴリ一覧
   ============================================= */
.categories {
  background: var(--color-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-pink);
}

.category-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform var(--transition);
}

.category-card:hover .category-img img {
  transform: scale(1.04);
}

.category-body {
  padding: 20px 22px 22px;
}

.category-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.category-desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.category-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-pink);
}

/* =============================================
   みお紹介バナー
   ============================================= */
.mio-banner {
  background: linear-gradient(135deg, var(--color-pink-pale) 0%, var(--color-pink-light) 100%);
  padding: 48px 0;
}

.mio-banner-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.mio-avatar-small {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-pink-light), var(--color-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--color-pink-light);
  overflow: hidden;
}

.mio-avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mio-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.mio-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.mio-info a {
  color: var(--color-pink);
  font-weight: 600;
}

/* =============================================
   フッター
   ============================================= */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .site-logo {
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.83rem;
  line-height: 1.8;
}

.footer-nav h4,
.footer-categories h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-nav ul li,
.footer-categories ul li {
  margin-bottom: 8px;
}

.footer-nav a,
.footer-categories a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-categories a:hover {
  color: var(--color-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   プロフィールページ (about.html)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero p {
  margin-top: 12px;
  opacity: 0.75;
  font-size: 0.9rem;
}

.about-content {
  background: var(--color-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.about-avatar-area {
  text-align: center;
}

.about-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-pink-light), var(--color-pink));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-pink-light);
  overflow: hidden;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-pink-pale);
  color: var(--color-pink);
  font-size: 1.1rem;
  border: 1px solid var(--color-pink-light);
  transition: all var(--transition);
}

.sns-link:hover {
  background: var(--color-pink);
  color: var(--color-white);
}

.about-text h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  border-left: 4px solid var(--color-pink);
  padding-left: 16px;
  margin: 32px 0 16px;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 16px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.profile-table th,
.profile-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.profile-table th {
  background: var(--color-pink-pale);
  color: var(--color-navy);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

/* =============================================
   about.html リデザイン
   ============================================= */

/* --- ヒーロー --- */
.about-hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 72px 0 80px;
  overflow: hidden;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,160,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.about-hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

.about-hero-avatar {
  flex-shrink: 0;
}

.about-hero-img-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(201, 160, 160, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.about-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-hero-content {
  color: var(--color-white);
}

.about-hero-content .section-label {
  color: var(--color-pink);
  margin-bottom: 10px;
}

.about-hero-name {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.about-hero-role {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.about-hero-motto {
  font-size: 1rem;
  line-height: 1.8;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--color-pink);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.about-hero-motto em {
  font-style: normal;
  color: var(--color-pink);
  font-weight: 700;
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* --- ストーリー --- */
.story-section {
  background: var(--color-white);
}

.section-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 60px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-pink-light), var(--color-border));
}

.story-block {
  display: flex;
  gap: 28px;
  padding: 12px 0 40px;
  position: relative;
}

.story-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-pink-pale);
  border: 2px solid var(--color-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(201,160,160,0.2);
}

.story-body {
  padding-top: 12px;
  flex: 1;
}

.story-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.story-body p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 14px;
}

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

.story-quote {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 16px;
  position: relative;
}

.story-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: var(--color-pink);
  font-family: Georgia, serif;
  line-height: 1;
}

/* --- 3つの約束 --- */
.promise-section {
  background: var(--color-bg);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promise-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition);
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-pink-light);
}

.promise-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-pink-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.promise-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.promise-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.5;
}

.promise-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--color-text-muted);
}

/* --- FAQ --- */
.faq-section {
  background: var(--color-white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.open {
  box-shadow: var(--shadow);
  border-color: var(--color-pink-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-pink-pale);
}

.faq-item.open .faq-question {
  background: var(--color-pink-pale);
}

.faq-q-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-question > span:nth-child(2) {
  flex: 1;
}

.faq-arrow {
  font-size: 1.4rem;
  color: var(--color-pink);
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.open .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 24px 24px 72px;
  background: var(--color-white);
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 12px;
}

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

.faq-list-inner {
  margin: 12px 0 16px;
}

.faq-list-inner li {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-list-inner li:last-child {
  border-bottom: none;
}

/* --- SNSセクション --- */
.sns-section {
  background: linear-gradient(135deg, var(--color-pink-pale), var(--color-pink-light));
  padding: 64px 0;
}

.sns-section-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.sns-section-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid var(--color-pink-light);
  box-shadow: 0 4px 16px rgba(201,160,160,0.25);
}

.sns-section-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sns-section-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.sns-section-content p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.sns-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.sns-btn-icon {
  font-size: 1rem;
}

.sns-btn-x {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow);
}

.sns-btn-x:hover {
  background: #111;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.sns-btn-blog {
  background: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(201,160,160,0.3);
}

.sns-btn-blog:hover {
  background: #b88888;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- about.html レスポンシブ追加 --- */
@media (max-width: 900px) {
  .about-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-hero-motto {
    text-align: left;
  }

  .about-hero-tags {
    justify-content: center;
  }

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

  .story-timeline::before {
    display: none;
  }

  .story-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sns-section-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .sns-btn-group {
    justify-content: center;
  }

  .faq-answer {
    padding-left: 24px;
  }
}

/* =============================================
   記事テンプレート (article-template.html)
   ============================================= */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0;
}

.article-main {}

.article-header {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-pink-pale);
  color: var(--color-pink);
}

.article-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.article-title-h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-thumbnail {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-pink-pale), var(--color-pink-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 32px;
  overflow: hidden;
}

/* 記事本文スタイル */
.article-body {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  border-left: 4px solid var(--color-pink);
  padding-left: 16px;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--color-border);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 20px 24px;
  list-style: revert;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* アフィリエイトボックス */
.affiliate-box {
  background: var(--color-pink-pale);
  border: 2px solid var(--color-pink-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  position: relative;
}

.affiliate-box::before {
  content: 'PR';
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.08em;
}

.affiliate-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.affiliate-box p {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.affiliate-btn {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.affiliate-btn:hover {
  background: var(--color-pink);
  color: var(--color-white);
  transform: translateY(-1px);
}

.affiliate-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 10px !important;
}

.affiliate-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

/* 評価ボックス */
.rating-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.rating-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rating-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  width: 80px;
  flex-shrink: 0;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: var(--color-pink);
  border-radius: 100px;
}

.rating-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  width: 30px;
  text-align: right;
}

/* 結論ボックス */
.conclusion-box {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.conclusion-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-pink);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.conclusion-box p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.9;
  margin: 0;
}

/* 著者情報 */
.author-box {
  background: var(--color-pink-pale);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 48px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--color-pink-light);
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-pink-light), var(--color-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
  /* 画像差し替え用 */
  /* background-image: url('images/mio-avatar.png'); */
  /* background-size: cover; */
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* サイドバー */
.article-sidebar {}

.sidebar-widget {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.sidebar-widget h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 10px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.sidebar-posts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-posts li:last-child {
  border-bottom: none;
}

.sidebar-posts a {
  font-size: 0.83rem;
  color: var(--color-text);
  line-height: 1.6;
  display: block;
}

.sidebar-posts a:hover {
  color: var(--color-pink);
}

.sidebar-categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.sidebar-categories li:last-child a {
  border-bottom: none;
}

.sidebar-categories li a:hover {
  color: var(--color-pink);
}

.sidebar-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 100px;
}

/* =============================================
   プライバシーポリシー (privacy.html)
   ============================================= */
.privacy-content {
  background: var(--color-white);
}

.privacy-body {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--color-pink);
}

.privacy-body p,
.privacy-body li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 12px;
}

.privacy-body ul {
  margin: 12px 0 16px 24px;
  list-style: disc;
}

.privacy-date {
  text-align: right;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 48px;
}

/* =============================================
   パンくずリスト
   ============================================= */
.breadcrumb {
  padding: 12px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li::after {
  content: '›';
  margin-left: 8px;
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--color-text-muted);
}

.breadcrumb-list a:hover {
  color: var(--color-pink);
}

/* --- カテゴリページヒーロー --- */
.category-hero {
  position: relative;
  margin-bottom: 0;
}

.category-hero-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.category-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.category-hero-body {
  text-align: center;
  padding: 40px 20px 32px;
}

.category-hero-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}

.category-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.category-hero-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .articles-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-avatar-area {
    margin-bottom: 16px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-main {
    order: 1;
  }

  .article-sidebar {
    order: 2;
  }

  .mio-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 16px;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
  }

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

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

  section {
    padding: 48px 0;
  }

  .hero {
    padding: 56px 0;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .hero-content .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* =============================================
   記事ページ共通パーツ（articles/）
   ============================================= */

/* --- アイキャッチ画像対応 --- */
.article-thumbnail--image {
  font-size: 0;
  background: var(--color-bg);
}

.article-thumbnail--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- サブタイトル --- */
.article-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* --- この記事でわかることボックス --- */
.summary-box {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 28px 0 32px;
  color: var(--color-white);
}

.summary-box-header {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-icon {
  font-size: 1.1rem;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li {
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  opacity: 0.92;
}

.summary-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-pink);
  font-weight: 700;
}

/* --- 目次 --- */
.toc-box {
  background: var(--color-pink-pale);
  border: 1px solid var(--color-pink-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 36px;
}

.toc-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-icon {
  font-size: 1rem;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li {
  font-size: 0.85rem;
}

.toc-list a {
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.toc-list a:hover {
  color: var(--color-pink);
  border-color: var(--color-pink);
}

/* --- ポイントボックス --- */
.point-box {
  background: var(--color-pink-pale);
  border-left: 4px solid var(--color-pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.point-box p {
  font-size: 0.92rem;
  line-height: 1.9;
  margin: 0;
}

/* --- 選び方3カード --- */
.select-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}

.select-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.select-card-num {
  display: inline-block;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.select-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.select-card ul {
  list-style: none;
  font-size: 0.83rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 10px;
}

.select-card ul li {
  padding: 3px 0;
}

.select-card-note {
  font-size: 0.8rem;
  color: var(--color-pink);
  font-weight: 700;
  margin: 0;
  border-top: 1px dashed var(--color-border);
  padding-top: 8px;
}

/* --- 成分チェック --- */
.ingredient-check {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ingredient-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  transition: background var(--transition);
}

.ingredient-item:last-child {
  border-bottom: none;
}

.ingredient-item:hover {
  background: var(--color-pink-pale);
}

.ingredient-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ingredient-content {
  flex: 1;
}

.ingredient-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.ingredient-content p {
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.ingredient-content ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.ingredient-content li {
  line-height: 1.8;
}

.formula-box {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 8px 0;
  line-height: 1.8;
}

.formula-example {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- 種類比較テーブル --- */
.type-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 28px;
  font-size: 0.85rem;
}

.type-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}

.type-row:last-child {
  border-bottom: none;
}

.type-row-header {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.8rem;
}

.type-row > span {
  padding: 12px 16px;
  line-height: 1.7;
  border-right: 1px solid var(--color-border);
}

.type-row > span:last-child {
  border-right: none;
}

.type-row-header > span {
  border-right-color: rgba(255,255,255,0.15);
}

.type-row:not(.type-row-header):nth-child(odd) {
  background: var(--color-pink-pale);
}

.type-name {
  font-weight: 700;
  color: var(--color-navy);
}

.type-name small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- チェックリスト --- */
.checklist-box {
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 28px;
}

.checklist-header {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 20px;
  letter-spacing: 0.04em;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li:hover {
  background: var(--color-pink-pale);
}

.check-icon {
  font-size: 1.2rem;
  color: var(--color-navy);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  margin-top: 1px;
}

.check-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.check-content strong {
  font-size: 0.92rem;
  color: var(--color-navy);
}

.check-content span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- みおの一言コメント欄 --- */
.mio-comment-box {
  background: linear-gradient(135deg, var(--color-pink-pale), #fff);
  border: 1px solid var(--color-pink-light);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.mio-comment-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-pink-light);
}

.mio-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mio-comment-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mio-comment-content p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 10px;
}

.mio-comment-content p:last-child {
  margin-bottom: 0;
}

.mio-comment-content a {
  color: var(--color-pink);
  font-weight: 600;
}

/* --- サイドバーアバター画像 --- */
.sidebar-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--color-pink-light);
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* --- author-box 画像対応 --- */
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* --- タイミングまとめ行 --- */
.timing-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0 24px;
}

.timing-summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
}

.timing-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  min-width: 110px;
  text-align: center;
}

.timing-badge--muscle { background: #e8f0ff; color: #1e3a8a; }
.timing-badge--diet   { background: #e8f5ec; color: #166534; }
.timing-badge--health { background: #f0fce8; color: #3a5c1e; }

.timing-arrow {
  color: var(--color-pink);
  font-size: 1.1rem;
  font-weight: 700;
}

.timing-result {
  font-weight: 700;
  color: var(--color-navy);
}

/* --- 目的別タイミングカード --- */
.timing-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 32px;
}

.timing-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.timing-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.timing-card-header--muscle  { background: linear-gradient(135deg, #1e3a8a, #2e4270); color: #fff; }
.timing-card-header--diet    { background: linear-gradient(135deg, #166534, #2d6a4f); color: #fff; }
.timing-card-header--health  { background: linear-gradient(135deg, #3a5c1e, #558b2f); color: #fff; }
.timing-card-header--fatigue { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; }
.timing-card-header--mag-pink{ background: linear-gradient(135deg, #9d3f5c, #c47a8a); color: #fff; }

.timing-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.timing-card-label {
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.timing-card-time {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 2px;
}

.timing-card-body {
  padding: 16px 20px;
  background: var(--color-white);
}

.timing-card-body p {
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 12px;
}

.timing-point {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 12px 16px;
}

.timing-point-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-pink);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.timing-point ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 0.85rem;
  line-height: 1.8;
}

/* --- NGパターンカード（赤系） --- */
.ng-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 28px;
}

.ng-card {
  background: #fff8f8;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #d9534f;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}

.ng-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 8px;
}

.ng-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ng-card p {
  font-size: 0.87rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0;
  padding-left: 26px;
}

/* --- フローチャート --- */
.flowchart {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-node {
  width: 100%;
  max-width: 400px;
}

.flow-node--question .flow-node-inner {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(30,45,74,0.18);
}

.flow-q {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-branches {
  display: flex;
  width: 100%;
  max-width: 500px;
  gap: 12px;
  margin: 0;
}

.flow-branch {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 16px;
}

.flow-branch--yes { align-items: flex-start; }
.flow-branch--no  { align-items: flex-end; }

.flow-branch-label {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.flow-branch-label--yes {
  background: var(--color-pink);
  color: var(--color-white);
}

.flow-branch-label--no {
  background: var(--color-border);
  color: var(--color-text-muted);
}

.flow-connector--yes {
  width: 2px;
  height: 16px;
  background: var(--color-pink);
  border-radius: 2px;
}

.flow-node--answer {
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.flow-node--muscle { background: #e8f0ff; color: #1e3a8a; border: 2px solid #bfccef; }
.flow-node--diet   { background: #e8f5ec; color: #166534; border: 2px solid #b2dfc0; }
.flow-node--health { background: #f0fce8; color: #3a5c1e; border: 2px solid #c5e8a0; }
.flow-node--ok     { background: var(--color-bg); color: var(--color-text-muted); border: 2px solid var(--color-border); }

/* --- 相互内部リンクボックス --- */
.related-article-box {
  background: var(--color-pink-pale);
  border: 1px solid var(--color-pink-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 28px 0;
}

.related-article-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.related-article-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  color: var(--color-text);
}

.related-article-link:hover {
  border-color: var(--color-pink);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  color: var(--color-text);
}

.related-article-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.related-article-text {
  flex: 1;
}

.related-article-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
  line-height: 1.5;
}

.related-article-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.related-article-arrow {
  font-size: 1.4rem;
  color: var(--color-pink);
  flex-shrink: 0;
}

/* =============================================
   マグネシウム記事専用スタイル
   ============================================= */

/* --- サプリ種類比較カード --- */
.mag-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}

.mag-type-card {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mag-type-card-header {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mag-type-card-header--oxide    { background: linear-gradient(135deg, #4a5568, #718096); color: #fff; }
.mag-type-card-header--citrate  { background: linear-gradient(135deg, #1e3a8a, #2e4270); color: #fff; }
.mag-type-card-header--glycinate{ background: linear-gradient(135deg, #9d3f5c, #c47a8a); color: #fff; }

.mag-type-card-name {
  font-size: 1rem;
  font-weight: 800;
}

.mag-type-card-sub {
  font-size: 0.72rem;
  opacity: 0.85;
}

.mag-type-card-body {
  padding: 14px 16px;
  background: var(--color-white);
}

.mag-type-stars {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.mag-type-stars .star-on  { color: #f59e0b; }
.mag-type-stars .star-off { color: #d1d5db; }

.mag-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--color-pink-pale);
  color: var(--color-pink);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.mag-type-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--color-text);
}

.mag-type-card-body ul li::before {
  content: '・';
  color: var(--color-pink);
}

.mag-type-recommend {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* --- 飲み方タイミングビジュアル --- */
.mag-timing-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px;
}

.mag-timing-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 16px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 4px solid var(--color-pink-light);
}

.mag-timing-row--sleep        { border-left-color: #1e3a8a; }
.mag-timing-row--constipation { border-left-color: #166534; }
.mag-timing-row--daily        { border-left-color: var(--color-pink); }

.mag-timing-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: #1e3a8a;
  border-radius: 100px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.4;
}

.mag-timing-label--constipation { background: #166534; }
.mag-timing-label--daily        { background: var(--color-pink); }

.mag-timing-detail {
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--color-text);
}

.mag-timing-detail strong {
  color: var(--color-navy);
}

/* --- 記事ページ レスポンシブ --- */
@media (max-width: 900px) {
  .mag-type-cards {
    grid-template-columns: 1fr;
  }

  .mag-timing-row {
    grid-template-columns: 80px 1fr;
  }
}
  .select-cards {
    grid-template-columns: 1fr;
  }

  .type-row {
    grid-template-columns: 90px 1fr;
  }

  .type-row > span:nth-child(3) {
    display: none;
  }

  .type-row-header > span:nth-child(3) {
    display: none;
  }

  .mio-comment-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ingredient-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =============================================
   ダイエット記事専用スタイル
   ============================================= */

/* --- ビフォーカード（失敗例・赤系） --- */
.before-card {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #d9534f;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0 24px;
}

.before-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 14px;
}

.before-card .meal-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.88rem;
  line-height: 2;
}

.before-card .meal-time {
  font-weight: 700;
  color: #c0392b;
  min-width: 32px;
  flex-shrink: 0;
}

.before-card .meal-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #f5c6c6;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* --- アフターカード（改善後・緑系） --- */
.after-card {
  background: #f0fce8;
  border: 1px solid #b7dfad;
  border-left: 4px solid #3a7d44;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0 24px;
}

.after-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2d6a35;
  margin-bottom: 14px;
}

.after-card .meal-time {
  font-weight: 700;
  color: #2d6a35;
  min-width: 32px;
  flex-shrink: 0;
}

.after-card .meal-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #b7dfad;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* --- 原因カード（アイコン付き） --- */
.cause-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 28px;
}

.cause-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--color-border);
}

.cause-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  padding-top: 2px;
}

.cause-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.cause-card-body ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 640px) {
  .before-card .meal-row,
  .after-card .meal-row {
    flex-direction: column;
    gap: 2px;
  }
}

/* =============================================
   食事術記事専用スタイル
   ============================================= */

/* --- ステップカード --- */
.step-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 32px;
}

.step-card {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #1e3a8a, #2e4270);
  color: #fff;
}

.step-card-num {
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.step-card-title {
  font-size: 1rem;
  font-weight: 700;
}

.step-card-body {
  padding: 18px 20px;
  background: var(--color-white);
}

.step-card-body p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 10px;
}

.step-card-body p:last-child { margin-bottom: 0; }

.step-card-body ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--color-text);
  margin: 8px 0;
}

.step-card-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-bg);
  border-left: 3px solid var(--color-pink);
  padding: 8px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 10px;
}

/* --- 1日タイムライン --- */
.meal-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px;
  position: relative;
  padding-left: 4px;
}

.meal-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: var(--color-pink-light);
  z-index: 0;
}

.meal-timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.meal-timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--color-navy);
  color: #fff;
  flex-shrink: 0;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow);
}

.meal-timeline-dot-label {
  font-size: 0.58rem;
  font-weight: 700;
  margin-top: 1px;
  line-height: 1;
}

.meal-timeline-content {
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 14px 16px;
}

.meal-timeline-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 5px;
}

.meal-timeline-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

@media (max-width: 480px) {
  .meal-timeline::before { left: 24px; }
  .meal-timeline-item { grid-template-columns: 48px 1fr; }
  .meal-timeline-dot { width: 48px; height: 48px; font-size: 1.1rem; }

  /* ③ パンくずリスト：スマホで折り返し防止 */
  .breadcrumb-list {
    font-size: 0.65rem;
    gap: 3px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .breadcrumb-list li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  /* ヒーロー：テキスト左寄せ・タイトルサイズ調整 */
  .hero-inner {
    text-align: left;
  }

  .hero-title {
    font-size: 1.45rem;
    line-height: 1.5;
  }

  .hero-description {
    font-size: 0.88rem;
  }

  .hero-content .btn-group {
    align-items: flex-start;
  }

  /* カードタイトル：自然な折り返しに調整 */
  .card-title {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  /* カード本文の余白を少し広く */
  .card-body {
    padding: 16px;
  }

  /* コンテナの左右余白を確保 */
  .container {
    padding: 0 16px;
  }

  /* セクション上下余白を調整 */
  section {
    padding: 40px 0;
  }

  .hero {
    padding: 48px 0;
  }

  /* カテゴリカード：画像の高さをスマホ向けに縮小 */
  .category-img {
    height: 130px;
  }

  /* ② フッターリンク：左寄せ・行間を広く */
  .footer-nav ul,
  .footer-categories ul {
    text-align: left;
  }

  .footer-nav ul li,
  .footer-categories ul li {
    line-height: 1.8;
    margin-bottom: 10px;
  }

  /* ④「こんにちは、みおです」セクション：左寄せ */
  .mio-banner-inner {
    text-align: left;
  }

  /* ⑤ アイキャッチ：スマホで横幅いっぱい・高さ上限 */
  .article-thumbnail {
    max-height: 280px;
    aspect-ratio: unset;
  }

  /* ⑤ あわせて読みたいカード：スマホ最適化 */
  .related-article-link {
    padding: 10px 12px;
    gap: 10px;
  }

  .related-article-icon {
    font-size: 1.3rem;
  }

  .related-article-title {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .related-article-desc {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .related-article-arrow {
    font-size: 1.1rem;
  }
}
