:root {
    --red: #D94F3D;
    --red-light: #FFF0EE;
    --red-soft: #F5C4BE;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #9B9B9B;
    --border: #EBEBEB;
    --bg: #FFFFFF;
    --bg-warm: #FAFAF8;
    --bg-gray: #F5F5F3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --green: #4CAF7D;
    --yellow: #F5A623;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
  }

  /* ===== PAGE SYSTEM ===== */
  .page { display: none; animation: fadeIn 0.3s ease; }
  .page.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

  /* ===== GLOBAL NAV ===== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 48px;
    height: 64px;
  }

  .logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
  }
  .logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.5px;
    line-height: 1;
  }
  .logo-name span { font-style: italic; }
  .logo-sub {
    font-size: 10px;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
  }

  .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
    text-decoration: none;
  }
  .nav-link:hover { color: var(--text); }
  .nav-link.active { color: var(--red); border-bottom-color: var(--red); }
  
  .nav-icon { font-size: 18px; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  .nav-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-muted);
    padding: 4px;
    transition: color 0.2s;
  }
  .nav-action-btn:hover { color: var(--text); }
  .nav-vlog {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--red-light); color: var(--red);
    border-radius: 999px; padding: 5px 11px 5px 9px;
    font-size: 12px; font-weight: 800; cursor: pointer;
    transition: background .2s;
  }
  .nav-vlog:hover { background: var(--red-soft); }

  /* ===== TYPOGRAPHY ===== */
  h1, h2, h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; line-height: 1.2; }
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  /* ===== BUTTONS ===== */
  .btn-primary {
    background: var(--red);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary:hover { background: #C0392B; transform: translateY(-1px); }

  .btn-outline {
    background: white;
    color: var(--red);
    border: 1.5px solid var(--red);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-outline:hover { background: var(--red-light); }

  .btn-ghost {
    background: none;
    border: none;
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: gap 0.2s;
  }
  .btn-ghost:hover { gap: 8px; }

  /* ===== SEARCH BAR ===== */
  .search-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 4px 4px 4px 18px;
    gap: 12px;
    box-shadow: var(--shadow-sm);
  }
  .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: transparent;
  }
  .search-bar input::placeholder { color: var(--text-light); }
  .search-icon-btn {
    background: var(--red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .search-icon-btn:hover { background: #C0392B; }

  /* ===== SEARCH TAGS ===== */
  .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }
  .search-tag {
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .search-tag:hover { border-color: var(--red); color: var(--red); }

  /* ===== AGE TABS ===== */
  .age-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .age-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    background: white;
    min-width: 90px;
    transition: all 0.2s;
  }
  .age-tab:hover { border-color: var(--red-soft); }
  .age-tab.active { border-color: var(--red); background: var(--red-light); }
  .age-tab-emoji { font-size: 24px; }
  .age-tab-label { font-size: 13px; font-weight: 600; color: var(--red); }
  .age-tab-sub { font-size: 11px; color: var(--text-muted); }

  /* ===== RECIPE CARD ===== */
  .recipe-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .recipe-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--bg-gray);
    display: block;
  }
  .recipe-card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #FFF0EE, #F5C4BE);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
  }
  .recipe-card-body { padding: 14px 16px 16px; }
  .recipe-card-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
  .recipe-card-meta { display: flex; align-items: center; justify-content: space-between; }
  .recipe-card-time { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
  .recipe-card-fav { background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text-light); transition: color 0.2s; }
  .recipe-card-fav:hover { color: var(--red); }

  /* ===== SECTION HEADER ===== */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .section-title { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }

  /* ===== RECIPE GRID ===== */
  .recipe-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .recipe-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* ===== FAVORITES ===== */
  .fav-count-badge {
    display:none; margin-left:5px; background:var(--red); color:#fff;
    font-size:10px; font-weight:700; line-height:1; padding:3px 6px; border-radius:50px; vertical-align:1px;
  }
  .fav-count-badge.on { display:inline-block; }
  .fav-wa-btn {
    display:inline-flex; align-items:center; gap:8px; background:#25D366; color:#fff; border:none;
    padding:11px 22px; border-radius:50px; font-size:13px; font-weight:700; cursor:pointer;
  }
  .fav-wa-btn:disabled { background:#CFCFCF; cursor:not-allowed; }
  .fav-save-btn {
    display:inline-flex; align-items:center; gap:7px; background:#fff; color:var(--red);
    border:1.5px solid var(--red); padding:9px 18px; border-radius:50px;
    font-size:13px; font-weight:700; cursor:pointer;
  }
  .fav-save-btn.on { background:var(--red); color:#fff; }
  .fav-toast {
    position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(10px);
    background:#1A1A1A; color:#fff; font-size:13px; font-weight:600; line-height:1.5;
    padding:11px 20px; border-radius:999px; box-shadow:0 6px 22px rgba(0,0,0,.22);
    opacity:0; pointer-events:none; transition:opacity .22s, transform .22s; z-index:9999;
    max-width:86vw; text-align:center;
  }
  .fav-toast.on { opacity:1; transform:translateX(-50%) translateY(0); }
  .fav-toast a { color:#8FE3AC; font-weight:700; text-decoration:underline; cursor:pointer; pointer-events:auto; }
  /* レシピ間リンク（材料の備考・手順の中） */
  .recipe-ref {
    color:var(--red); font-weight:700; text-decoration:underline; cursor:pointer;
  }
  .recipe-ref:hover { opacity:.75; }
  .recipe-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

  /* ===== ARTICLE CARD ===== */
  .article-card {
    display: flex;
    gap: 16px;
    cursor: pointer;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.2s;
  }
  .article-card:hover { opacity: 0.8; }
  .article-card:last-child { border-bottom: none; }
  .article-card-img {
    width: 80px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFF0EE, #F5C4BE);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }
  .article-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
  .article-card-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

  /* ===== FEATURE CARDS ===== */
  .feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
  }
  .feature-item {
    padding: 28px 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-right: 1px solid var(--border);
  }
  .feature-item:last-child { border-right: none; }
  .feature-icon { font-size: 36px; flex-shrink: 0; }
  .feature-label { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
  .feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

  /* ===== HALAL BADGE ===== */
  .halal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-light);
    border: 1px solid var(--red-soft);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
  }

  /* ===== CONTAINER ===== */
  .container { max-width: 900px; margin: 0 auto; padding: 0 40px; }
  .container-wide { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

  /* ===== HERO ===== */
  .hero {
    background: var(--bg-warm);
    padding: 0 0 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    max-height: 380px;
    overflow: hidden;
  }
  .hero-content { padding: 20px 40px 16px 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
  .hero-title { font-size: 48px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
  .hero-title-accent { color: var(--red); font-style: normal; }
  .hero-subtitle { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; max-width: 380px; }
  .hero-img-wrap {
    position: relative;
    overflow: hidden;
  }
  .hero-img-wrap img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
  }
  .hero-img-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF0EE 0%, #F5C4BE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
  }
  .hero-halal-badge {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--red);
    color: white;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow);
  }

  /* ===== SECTION PADDING ===== */
  .section { padding: 56px 40px; }
  .section-sm { padding: 36px 40px; }
  .section-gray { background: var(--bg-warm); }

  /* ===== INGREDIENT TABLE ===== */
  .ingredient-table {
    width: 100%;
    border-collapse: collapse;
  }
  .ingredient-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: var(--bg-warm);
  }
  .ingredient-table td:nth-child(3) {
    max-width: 300px;
  }
  .ket-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ingredient-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
  }
  .ingredient-table tr:last-child td { border-bottom: none; }
  .ingredient-table tr:hover td { background: var(--bg-warm); }
  .category-row td {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #FFF8F7;
    padding: 8px 16px;
  }
  
  .status-ok { color: var(--green); font-size: 18px; }
  .status-warn { color: var(--yellow); font-size: 18px; }
  .status-no { color: #E74C3C; font-size: 18px; }

  /* ===== SIDE CATEGORY NAV ===== */
  .cat-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .cat-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
  }
  .cat-nav-item:hover { background: var(--bg-warm); color: var(--text); }
  .cat-nav-item.active { background: var(--red-light); color: var(--red); font-weight: 600; }
  .cat-nav-icon { font-size: 18px; }

  /* ===== NUTRITION CARD ===== */
  .nutrition-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .nutrition-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
  }
  .nutrition-label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
  .nutrition-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

  /* ===== ALERT BOX ===== */
  .alert-box {
    background: #FFF8F0;
    border: 1px solid #F5A623;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .alert-box.red { background: var(--red-light); border-color: var(--red-soft); }
  .alert-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
  .alert-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
  .alert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* ===== RECIPE DETAIL ===== */
  .detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 48px 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }
  .detail-meta-row {
    display: flex;
    gap: 28px;
    margin: 28px 0;
    flex-wrap: wrap;
  }
  .detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .detail-meta-icon { font-size: 20px; }
  .detail-meta-value { font-weight: 600; color: var(--text); }

  .detail-hero-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #FFF0EE, #F5C4BE);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .ingredients-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
  }
  .ingredient-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .ingredient-row:last-child { border-bottom: none; }
  .ingredient-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
  .ingredient-note { font-size: 12px; color: var(--text-muted); white-space: pre-line; }
  .ingredient-amount { font-size: 14px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; margin-left: 16px; }

  .substitute-box {
    background: var(--red-light);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 20px;
  }
  .substitute-title { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
  .substitute-item { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }

  .steps-section { }
  .step-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 20px;
    margin-bottom: 24px;
    align-items: start;
  }
  .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .step-text { font-size: 14px; line-height: 1.7; color: var(--text); padding-top: 7px; white-space: pre-line; }
  .step-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #FFF8F0, #FFE5D0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-top: 12px;
  }

  /* ===== RELATED RECIPES ===== */
  .related-recipe-card {
    display: flex;
    gap: 16px;
    cursor: pointer;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    transition: all 0.2s;
    align-items: center;
  }
  .related-recipe-card:hover { border-color: var(--red-soft); box-shadow: var(--shadow-sm); }
  .related-recipe-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #FFF0EE, #F5C4BE);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
  }
  .related-recipe-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
  .related-recipe-sub { font-size: 12px; color: var(--text-muted); font-style: italic; }
  .related-recipe-meta { font-size: 12px; color: var(--text-light); margin-top: 6px; display: flex; gap: 12px; }

  /* ===== ARTICLE ===== */
  .article-hero-img {
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #FFF8F0, #FFE5D0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    margin: 32px 0;
    overflow: hidden;
  }
  .article-section-img {
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #FFF8F0, #FFE5D0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 20px 0;
  }
  .article-body { max-width: 720px; }
  .article-lead { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }
  .article-h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    margin: 40px 0 0;
  }
  .article-p { font-size: 15px; line-height: 1.8; color: var(--text); margin: 16px 0; }
  .article-ul { padding-left: 0; list-style: none; margin: 12px 0; }
  .article-ul li { font-size: 14px; line-height: 1.7; color: var(--text-muted); padding: 4px 0 4px 20px; position: relative; }
  .article-ul li::before { content: "•"; position: absolute; left: 0; color: var(--red); }
  .article-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
  .article-chip {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: var(--red-light);
    color: var(--red);
    border: 1px solid var(--red-soft);
  }
  .article-chip.blue { background: #EEF3FF; color: #3B6EE0; border-color: #C5D5FF; }
  .article-chip.green { background: #EEFBF3; color: #2E7D50; border-color: #B8EDD0; }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    padding: 16px 0;
  }
  .breadcrumb a { color: var(--text-muted); cursor: pointer; text-decoration: none; }
  .breadcrumb a:hover { color: var(--red); }
  .breadcrumb-sep { color: var(--border); }

  /* ===== INFO CARDS (sidebar) ===== */
  .sidebar-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
  }
  .sidebar-card-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
  .tips-list { list-style: none; padding: 0; }
  .tips-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0 8px 20px;
    position: relative;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
  }
  .tips-list li:last-child { border-bottom: none; }
  .tips-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

  /* ===== FOOTER ===== */
  .footer {
    background: var(--text);
    color: white;
    padding: 60px 40px 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
  }
  .footer-logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
  }
  .footer-logo-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
  .footer-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
  .footer-col-title { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; }
  .footer-link { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; cursor: pointer; transition: color 0.2s; text-decoration: none; }
  .footer-link:hover { color: white; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
  }
  .social-links { display: flex; gap: 12px; }
  .social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
  }
  .social-btn:hover { background: var(--red); }

  /* ===== BACK LINK ===== */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--red);
    font-weight: 500;
    cursor: pointer;
    padding: 20px 40px;
    transition: gap 0.2s;
    text-decoration: none;
  }
  .back-link:hover { gap: 10px; }

  /* ===== PAGE LAYOUT ===== */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .three-col-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 36px;
  }
  .detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
  }

  /* ===== TORIHWAKE SECTION ===== */
  .torihwake-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    gap: 0;
  }
  .torihwake-img {
    width: 160px;
    height: 140px;
    background: linear-gradient(135deg, #FFF8F0, #FFE5D0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-shrink: 0;
  }
  .torihwake-body { padding: 20px 24px; }
  .torihwake-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .torihwake-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
  .torihwake-label { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: .4px;
    text-transform: uppercase; margin: 10px 0 4px; }

  @media (max-width: 767px) {
    .poin-gizi-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .torihwake-card { flex-direction: column; }
  }

  /* ===== MOBILE RESPONSIVE ===== */
  @media (max-width: 768px) {
    /* ナビはhamburguer block (987行目) で制御 */
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .hero { grid-template-columns: 1fr; padding: 0 20px; min-height: auto; }
    .hero-img-wrap { display: none; }
    .hero-content { padding: 20px 0 8px; }
    .hero-title { font-size: 32px; }
    .section { padding: 40px 20px; }
    .section-sm { padding: 28px 20px; }
    .recipe-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .recipe-grid-3 { grid-template-columns: 1fr; }
    .recipe-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-strip { grid-template-columns: 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
    .feature-item:last-child { border-bottom: none; }
    .detail-hero { grid-template-columns: 1fr; padding: 24px 20px; }
    .detail-two-col { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .three-col-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .back-link { padding: 16px 20px; }
    .container { padding: 0 20px; }
    .container-wide { padding: 0 20px; }
    .age-tabs { gap: 6px; }
    .age-tab { min-width: 70px; padding: 10px 14px; }
  }

  /* ===== HERO SEARCH BAR ===== */
  .search-bar-hero {
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 0 0 14px;
    gap: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
  }
  .search-bar-hero:focus-within {
    border-color: #E53935;
    box-shadow: 0 2px 12px rgba(229,57,53,0.12);
  }

  /* Load more btn row */
  .load-more-row { text-align: center; margin-top: 32px; }

  /* Green section features */
  .home-features-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 56px 40px;
    background: var(--bg-warm);
  }
  .home-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .home-feature-icon { font-size: 40px; flex-shrink: 0; }
  .home-feature-title { font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
  .home-feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* Three sections bottom */
  .home-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 56px 40px;
  }
  .bottom-section-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }

  /* Panduan Bahan sidebar widget */
  .bahan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .bahan-item:last-child { border-bottom: none; }
  .bahan-name { font-size: 14px; font-weight: 500; }

  /* Disclaimer */
  .disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-warm);
    font-style: italic;
  }

  /* Expert note */
  .expert-note {
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
  }

  .recipe-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
  }
  /* ===================================================
     MOBILE RESPONSIVE — 768px以下
  =================================================== */
  @media (max-width: 768px) {

    /* ── ナビ ── */
    #hamburger-btn { display:flex !important; }
    .nav-links { display:none !important; }
    .nav-actions .nav-action-btn:first-child { display:none; }
    .nav { padding:0 16px; height:56px; }
    .logo img { height:32px !important; }

    /* ── ハンバーガーライン ── */
    .ham-line {
      display:block; width:22px; height:2px;
      background:#1A1A1A; border-radius:2px; transition:all 0.2s;
    }

    /* ── ヒーロー ── */
    .hero { padding:0 20px; }
    .hero-title { font-size:28px !important; }
    .hero-subtitle { font-size:14px !important; }

    /* ── Features strip（インラインgrid → 縦並び） ── */
    #home-features-wrap { padding:20px 16px !important; }
    #home-features-grid {
      grid-template-columns:1fr !important;
      gap:12px !important;
    }
    #home-features-grid > div {
      border-right:none !important;
      border-bottom:1px solid var(--border) !important;
      padding:0 0 12px 0 !important;
    }
    #home-features-grid > div:last-child { border-bottom:none !important; padding-bottom:0 !important; }

    /* ── Bottom grid（3列 → 1列） ── */
    .home-bottom-grid {
      grid-template-columns:1fr !important;
      padding:28px 16px !important;
      gap:32px !important;
    }

    /* ── section padding ── */
    .section { padding:32px 16px !important; }
    .section-sm { padding:20px 16px !important; }
    #fav-head { padding:28px 16px 0 !important; }
    #fav-body { padding:18px 16px 48px !important; }
    .container { padding:0 16px !important; }
    .container-wide { padding:0 16px !important; }

    /* ── recipe grids ── */
    .recipe-grid-5 { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; }
    .recipe-grid-3 { grid-template-columns:1fr !important; }
    .recipe-grid-4 { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; }

    /* ── archive filter bar ── */
    #archive-filter-bar {
      padding:10px 16px !important;
      display:flex; flex-wrap:wrap; gap:8px;
    }
    #archive-filter-bar > * { flex:1 1 calc(50% - 4px); min-width:0; }

    /* ── 月齢ボタン（横スクロール） ── */
    .ing-age-btn-wrap, .age-tabs {
      overflow-x:auto !important;
      flex-wrap:nowrap !important;
      -webkit-overflow-scrolling:touch;
      padding-bottom:4px;
    }
    .ing-age-btn { white-space:nowrap; }
    .age-tab { min-width:64px !important; }

    /* ── 食材テーブル（横スクロール） ── */
    .ingredient-table-wrap {
      overflow-x:auto !important;
      -webkit-overflow-scrolling:touch;
    }
    .ingredient-table { min-width:480px; font-size:12px !important; }
    .ingredient-table th,
    .ingredient-table td { padding:8px 10px !important; }

    /* ── detail pages ── */
    .detail-hero { grid-template-columns:1fr !important; padding:20px 16px !important; }
    .detail-two-col { grid-template-columns:1fr !important; }
    .two-col { grid-template-columns:1fr !important; }
    .three-col-sidebar { grid-template-columns:1fr !important; }

    /* ── hero age-tabs spacing ── */
    #page-home [style*="padding:0 40px 10px"] { padding:0 16px 10px !important; }
    #page-home [style*="margin-bottom:20px"] { margin-bottom:10px !important; }

    /* ── hero: スマホでmax-height解除 ── */
    .hero { max-height: none !important; overflow: visible !important; }

    /* ── footer ── */
    .footer-grid { grid-template-columns:1fr !important; gap:24px !important; }
    footer { padding:32px 16px !important; }

    /* ── article cards ── */
    .article-card-grid, [style*="grid-template-columns: repeat(3"] {
      grid-template-columns:1fr !important;
    }

    /* ── recipe archive page header ── */
    .back-link { padding:14px 16px !important; font-size:13px !important; }

    /* ── h1/h2 ── */
    h1 { font-size:26px !important; }
    h2 { font-size:20px !important; }
  }

  /* ── 小さいスマホ（iPhone SE等） ── */
  @media (max-width: 390px) {
    .recipe-grid-5, .recipe-grid-4 { grid-template-columns:1fr !important; }
    .hero-title { font-size:24px !important; }
  }
  /* ===================================================
     MOBILE — アーカイブ・記事ページ レスポンシブ修正
  =================================================== */
  @media (max-width: 768px) {

    /* ── アーカイブページ: ヒーロー (2カラム → 1カラム) ── */
    #page-article-archive [style*="grid-template-columns:1fr 1fr"],
    #page-tips-archive    [style*="grid-template-columns:1fr 1fr"],
    #page-article-archive [style*="grid-template-columns: 1fr 1fr"],
    #page-tips-archive    [style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr !important;
    }

    /* ── アーカイブ: ヒーロー画像を非表示 ── */
    #page-article-archive [style*="min-height:300px"] > div:last-child,
    #page-tips-archive    [style*="min-height:300px"] > div:last-child {
      display: none !important;
    }

    /* ── アーカイブ: パディング調整 ── */
    #page-article-archive [style*="padding:52px 40px"],
    #page-tips-archive    [style*="padding:52px 40px"] {
      padding: 28px 16px !important;
    }

    /* ── カテゴリフィルター (sticky bar) ── */
    #page-article-archive [style*="padding:20px 40px;border-bottom"],
    #page-tips-archive    [style*="padding:20px 40px;border-bottom"] {
      padding: 12px 16px !important;
      overflow-x: auto !important;
    }
    #page-article-archive [style*="padding:20px 40px;border-bottom"] > div,
    #page-tips-archive    [style*="padding:20px 40px;border-bottom"] > div {
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 4px;
    }

    /* ── Featured Article (2カラム → 1カラム) ── */
    #page-article-archive [style*="grid-template-columns:1fr 1fr;border-radius:20px"],
    #page-tips-archive    [style*="grid-template-columns:1fr 1fr;border-radius:20px"] {
      grid-template-columns: 1fr !important;
    }
    #page-article-archive [style*="grid-template-columns:1fr 1fr;border-radius:20px"] > div:first-child,
    #page-tips-archive    [style*="grid-template-columns:1fr 1fr;border-radius:20px"] > div:first-child {
      min-height: 180px !important;
    }
    #page-article-archive [style*="padding:36px 40px;display:flex"],
    #page-tips-archive    [style*="padding:36px 40px;display:flex"] {
      padding: 20px 16px !important;
    }
    #page-article-archive [style*="grid-template-columns:1fr 1fr;border-radius:20px"] h2,
    #page-tips-archive    [style*="grid-template-columns:1fr 1fr;border-radius:20px"] h2 {
      font-size: 20px !important;
    }

    /* ── Featured パディング ── */
    #page-article-archive [style*="padding:40px 40px 0"],
    #page-tips-archive    [style*="padding:40px 40px 0"] {
      padding: 24px 16px 0 !important;
    }

    /* ── Article Grid (2カラム → 1カラム) ── */
    .tips-article-grid,
    [data-article-grid] {
      grid-template-columns: 1fr !important;
    }

    /* ── 記事グリッドアイテム: スマホでも横並びを維持 ── */
    [data-article-grid] > div[onclick],
    .tips-article-grid > div[onclick] {
      flex-direction: row !important;
      align-items: stretch !important;
    }
    [data-article-grid] > div[onclick] > div:first-child,
    .tips-article-grid > div[onclick] > div:first-child {
      width: 112px !important;
      min-width: 112px !important;
      height: auto !important;
      min-height: 112px !important;
    }
    [data-article-grid] > div[onclick] > div:last-child,
    .tips-article-grid > div[onclick] > div:last-child {
      padding: 13px 14px !important;
    }
    [data-article-grid] > div[onclick] > div:last-child > div > div:nth-child(2),
    .tips-article-grid > div[onclick] > div:last-child > div > div:nth-child(2) {
      font-size: 14px !important; line-height: 1.35 !important;
    }
    [data-article-grid] > div[onclick] > div:last-child > div > div:nth-child(3),
    .tips-article-grid > div[onclick] > div:last-child > div > div:nth-child(3) {
      font-size: 11.5px !important; line-height: 1.5 !important;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }

    /* ── Topik Populer (5カラム → 2カラム) ── */
    #page-article-archive [style*="grid-template-columns:repeat(5,1fr)"],
    #page-tips-archive    [style*="grid-template-columns:repeat(5,1fr)"] {
      grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ── Topik Populer コンテナパディング ── */
    #page-article-archive [style*="padding:0 40px 48px"],
    #page-tips-archive    [style*="padding:0 40px 48px"] {
      padding: 0 16px 32px !important;
    }
    #page-article-archive [style*="padding:32px 36px"],
    #page-tips-archive    [style*="padding:32px 36px"] {
      padding: 20px 16px !important;
    }

    /* ── 記事アーカイブ内パディング ── */
    #page-article-archive [style*="padding:40px;"],
    #page-tips-archive    [style*="padding:40px;"] {
      padding: 20px 16px !important;
    }

    /* ── Artikel Detail ページ ── */
    #page-article [style*="padding: 0 40px"] {
      padding: 0 16px !important;
    }
    #page-article [style*="padding: 0 40px 0"] {
      padding: 0 16px 0 !important;
    }
    #page-article [style*="padding: 48px 40px"] {
      padding: 28px 16px !important;
    }

    /* ── recipe-grid-3 (記事詳細内) ── */
    #page-article .recipe-grid-3 {
      grid-template-columns: 1fr !important;
    }

    /* ── article-archive カテゴリスティッキーバー: top調整 ── */
    #page-article-archive [style*="position:sticky;top:64px"],
    #page-tips-archive    [style*="position:sticky;top:64px"] {
      top: 56px !important;
    }

    /* ── h1 in archive hero ── */
    #page-article-archive h1,
    #page-tips-archive    h1 {
      font-size: 28px !important;
    }
  }



  /* ===================================================
     MOBILE LAYOUT — レシピ2列・記事NYTスタイル
  =================================================== */
  @media (max-width: 768px) {

    /* ── レシピカード：コンパクト2列 ── */
    .recipe-grid-5 {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }
    /* 最初の1枚だけフィーチャー（全幅） */
    .recipe-grid-5 > .recipe-card:first-child {
      grid-column: 1 / -1;
    }
    .recipe-grid-5 > .recipe-card:first-child .recipe-card-img,
    .recipe-grid-5 > .recipe-card:first-child .recipe-card-img-placeholder {
      aspect-ratio: 16/7 !important;
    }
    /* 2枚目以降：小さめ */
    .recipe-grid-5 > .recipe-card:not(:first-child) .recipe-card-img,
    .recipe-grid-5 > .recipe-card:not(:first-child) .recipe-card-img-placeholder {
      aspect-ratio: 4/3 !important;
    }
    .recipe-card-body { padding: 9px 10px 10px !important; }
    .recipe-card-title { font-size: 12px !important; line-height: 1.35 !important; margin-bottom: 6px !important; }
    .recipe-card-time { font-size: 11px !important; }

    /* recipe-grid-4 も2列 */
    .recipe-grid-4 {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }
    /* recipe-grid-3 も2列 */
    .recipe-grid-3 {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }

    /* ── 記事カード：NYTスタイル（テキスト左・サムネイル右） ── */
    .article-card {
      flex-direction: row !important;
      align-items: flex-start !important;
      gap: 12px !important;
      padding: 12px 0 !important;
    }
    /* テキストエリアを先に表示 */
    .article-card > div:not(.article-card-img) { order: 1; flex: 1; min-width: 0; }
    .article-card-img {
      order: 2 !important;
      width: 72px !important;
      height: 72px !important;
      flex-shrink: 0 !important;
      border-radius: 6px !important;
    }
    .article-card-title { font-size: 13px !important; line-height: 1.4 !important; margin-bottom: 4px !important; }
    .article-card-excerpt { font-size: 11px !important; line-height: 1.4 !important;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ── アーカイブページの記事リスト ── */
    .article-archive-list .article-card-img,
    .tips-archive-list .article-card-img {
      width: 80px !important;
      height: 80px !important;
    }

    /* ── bottom grid の記事 compact ── */
    .home-bottom-grid .article-card {
      padding: 10px 0 !important;
    }
    .home-bottom-grid .article-card-title { font-size: 12px !important; }
    .home-bottom-grid .article-card-excerpt { display: none !important; }

    /* ── section header compact ── */
    .section-header { margin-bottom: 12px !important; }
    .section-title { font-size: 15px !important; }

    /* ── load-more ── */
    .load-more-row { margin-top: 16px !important; }
  }

  /* ── Age Carousel ── */
  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track .recipe-card {
    flex-shrink: 0;
    width: 200px;
    scroll-snap-align: start;
  }
  .age-carousel-section { scroll-margin-top: 72px; }

  /* ── Age pill tabs ── */
  #age-nav-tabs { scrollbar-width: none; }
  #age-nav-tabs::-webkit-scrollbar { display: none; }

  /* ── Tips article grid (PC: 2-col, mobile: 1-col list) ── */
  .tips-article-card-new {
    display: flex;
    gap: 14px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: box-shadow 0.2s;
    padding: 0;
  }
  .tips-article-card-new:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
  .tips-article-card-img {
    width: 120px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
  }
  .tips-article-card-body {
    padding: 14px 14px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
  }
  .tips-article-cat {
    font-size: 10px;
    font-weight: 700;
    color: #BF6000;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
  }
  .tips-article-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tips-article-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .tips-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tips-age-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    background: #FFF3E0;
    color: #E65100;
  }
  .tips-read-time {
    font-size: 10px;
    color: var(--text-muted);
  }

  @media (max-width: 768px) {
    /* ⑨⑩⑪ Dari menu card: mobile layout */
    #dari-menu-card { margin: 16px 16px 0 !important; }
    #dari-menu-left-top { padding: 16px 14px 10px !important; justify-content: flex-start !important; }
    #dari-menu-img { grid-row: 1/2 !important; }
    #dari-menu-left-bottom {
      grid-column: 1 / -1 !important;
      grid-row: 2/3 !important;
      padding: 10px 16px 20px !important;
    }
    #dari-menu-left-bottom button {
      width: 100% !important;
      justify-content: center !important;
      display: flex !important;
      white-space: nowrap !important;
    }

    /* Carousel cards: 2 visible on screen */
    .carousel-track {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      overflow-y: visible !important;
      -webkit-overflow-scrolling: touch !important;
      scroll-snap-type: x mandatory !important;
      gap: 10px !important;
      padding-bottom: 12px !important;
    }
    .carousel-track .recipe-card {
      flex-shrink: 0 !important;
      width: calc(50vw - 28px) !important;
      scroll-snap-align: start !important;
    }
    .age-carousel-section {
      padding: 12px 16px 0 !important;
      scroll-margin-top: 60px;
      overflow: visible !important;
    }
    .age-carousels-wrap { overflow: visible !important; }

    /* Recipe archive 2-col */
    #archive-recipe-grid {
      grid-template-columns: repeat(2,1fr) !important;
      gap: 12px !important;
    }

    /* Bahan page: compact header */
    #page-ingredient > div:first-child {
      padding: 24px 16px 0 !important;
    }
    #page-ingredient > div:first-child > div {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
    }
    #page-ingredient > div:first-child h1 { font-size: 24px !important; margin-bottom: 8px !important; }
    #page-ingredient > div:first-child img { display: none; }
    #page-ingredient .alert-box { margin-top: 12px !important; }

    /* Ingredient age filter compact */
    #page-ingredient [style*="padding: 24px 40px"] {
      padding: 12px 16px !important;
    }

    /* Tips/Edukasi hero: stack vertically */
    #page-tips-archive > div:first-child,
    #page-article-archive > div:first-child {
      grid-template-columns: 1fr !important;
      min-height: auto !important;
    }
    #page-tips-archive > div:first-child > div:last-child,
    #page-article-archive > div:first-child > div:last-child {
      height: 180px !important;
      max-height: 180px;
      overflow: hidden;
    }
    #page-tips-archive > div:first-child > div:last-child img,
    #page-article-archive > div:first-child > div:last-child img {
      width: 100%; height: 100%; object-fit: cover; object-position: center;
    }
    #page-tips-archive > div:first-child > div:first-child { padding: 24px 16px 20px !important; }
    #page-tips-archive h1 { font-size: 28px !important; }

    /* Tips article grid: 1-col list */
    .tips-article-grid {
      grid-template-columns: 1fr !important;
      gap: 10px !important;
    }

    /* Category filter: scroll horizontal */
    #page-tips-archive [style*="padding:20px 40px;border-bottom"],
    #page-article-archive [style*="padding:20px 40px;border-bottom"] {
      padding: 10px 16px !important;
      overflow-x: auto;
    }
    #page-tips-archive [style*="padding:20px 40px;border-bottom"] > div,
    #page-article-archive [style*="padding:20px 40px;border-bottom"] > div {
      flex-wrap: nowrap !important;
    }

    /* ── Tips/Edukasi スマホ: コンパクトレイアウト ── */
    /* セクション全体のパディング縮小 */
    #page-tips-archive [style*="padding:40px"],
    #page-article-archive [style*="padding:40px"] {
      padding: 14px 16px !important;
    }
    #page-tips-archive [style*="padding:40px 40px 0"],
    #page-article-archive [style*="padding:40px 40px 0"] {
      padding: 14px 16px 0 !important;
    }

    /* 記事グリッド: 1列に */
    #page-tips-archive [style*="grid-template-columns:1fr 1fr"],
    #page-article-archive [style*="grid-template-columns:1fr 1fr"] {
      grid-template-columns: 1fr !important;
      gap: 10px !important;
    }

    /* カード画像: 100px正方形 */
    #page-tips-archive [style*="width:180px"],
    #page-article-archive [style*="width:180px"] {
      width: 100px !important;
      min-width: 100px !important;
      max-width: 100px !important;
      max-height: 100px;
      overflow: hidden;
    }
    #page-tips-archive [style*="width:180px"] img,
    #page-article-archive [style*="width:180px"] img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center top !important;
    }

    /* カード本文: パディング縮小 */
    #page-tips-archive [style*="padding:20px 22px"],
    #page-article-archive [style*="padding:20px 22px"] {
      padding: 10px 12px !important;
    }

    /* カードタイトル: 13px・2行クランプ */
    #page-tips-archive [style*="font-size:15px;font-weight:700"],
    #page-article-archive [style*="font-size:15px;font-weight:700"] {
      font-size: 13px !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
      margin-bottom: 4px !important;
      line-height: 1.4 !important;
    }

    /* カード説明文: 2行クランプ */
    #page-tips-archive [style*="line-height:1.6"],
    #page-article-archive [style*="line-height:1.6"] {
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
      font-size: 11px !important;
    }

    /* Featuredカードの内側テキストパディング縮小 */
    #page-tips-archive [style*="padding:36px 40px"],
    #page-article-archive [style*="padding:36px 40px"] {
      padding: 14px 16px !important;
    }

    /* ヒーローセクション: テキスト側のパディング縮小 */
    #page-tips-archive > div:first-child > div:first-child,
    #page-article-archive > div:first-child > div:first-child {
      padding: 20px 16px !important;
    }
    #page-tips-archive h1,
    #page-article-archive h1 {
      font-size: 26px !important;
      line-height: 1.2 !important;
    }
    #page-tips-archive > div:first-child > div:last-child,
    #page-article-archive > div:first-child > div:last-child {
      height: 160px !important;
      max-height: 160px !important;
    }
  }

  /* ── Age carousels wrapper ── */
  .age-carousels-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  /* ===================================================
     PANDUAN BAHAN — モバイルレイアウト改善
  =================================================== */
  @media (max-width: 768px) {

    /* ── ヒーロー: コンパクト ── */
    #page-ingredient > div:first-child {
      padding: 20px 16px 0 !important;
    }
    #page-ingredient > div:first-child > div {
      padding-bottom: 16px !important;
    }

    /* ── 月齢フィルター + 凡例: コンパクト ── */
    #page-ingredient > div:nth-child(2) {
      padding: 10px 16px !important;
    }
    /* 凡例を折り返し・小さく */
    #page-ingredient > div:nth-child(2) > div > div {
      flex-wrap: wrap !important;
      gap: 6px !important;
    }
    #page-ingredient > div:nth-child(2) [style*="margin-left: auto"] {
      margin-left: 0 !important;
      font-size: 11px !important;
      gap: 8px !important;
      flex-wrap: wrap;
    }

    /* ── メインコンテンツエリア: パディング縮小 ── */
    #page-ingredient > div:nth-child(3) {
      padding: 12px 16px 24px !important;
    }

    /* ── Cat-nav: 縦リスト → 横スクロール ── */
    #page-ingredient .cat-nav {
      flex-direction: row !important;
      overflow-x: auto !important;
      flex-wrap: nowrap !important;
      -webkit-overflow-scrolling: touch;
      gap: 6px !important;
      padding-bottom: 8px;
      scrollbar-width: none;
      margin-bottom: 12px;
    }
    #page-ingredient .cat-nav::-webkit-scrollbar { display: none; }
    #page-ingredient .cat-nav-item {
      flex-shrink: 0 !important;
      white-space: nowrap !important;
      padding: 6px 12px !important;
      font-size: 12px !important;
      border-radius: 50px !important;
      border: 1.5px solid var(--border);
    }
    #page-ingredient .cat-nav-item.active {
      border-color: var(--red) !important;
    }
    #page-ingredient .cat-nav-icon { font-size: 14px !important; }

    /* ── Three-col: 1列積み上げ ── */
    #page-ingredient .two-col-ingredient {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
    }
    /* Cat bar: horizontal scroll on mobile (already flex-row on PC) */
    #ing-cat-bar {
      margin-bottom: 16px !important;
      padding: 10px 0 10px !important;
    }

    /* ── テーブル: 横スクロール強制 ── */
    #page-ingredient .ingredient-table-wrap {
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      margin: 0 -16px;
      padding: 0 16px;
    }

    /* ── サイドバーカード: コンパクト ── */
    #page-ingredient .sidebar-card {
      margin-bottom: 12px !important;
    }

    /* Fix 4: Hide hero image container on mobile */
    #page-ingredient > div:first-child > div:first-child > div:last-child {
      display: none !important;
    }
    #page-ingredient > div:first-child > div:first-child {
      grid-template-columns: 1fr !important;
    }

    /* Fix 5: Keterangan column - let text flow naturally, remove line clamp */
    #page-ingredient .ingredient-table td:nth-child(3) {
      min-width: 140px;
      width: 40%;
      word-break: break-word;
    }
    #page-ingredient .ingredient-table .ket-clamp {
      display: block !important;
      -webkit-line-clamp: unset !important;
      overflow: visible !important;
    }
    /* Bahan Makanan column fixed width */
    #page-ingredient .ingredient-table td:nth-child(1),
    #page-ingredient .ingredient-table th:nth-child(1) {
      min-width: 90px;
      width: 28%;
    }
  }

  /* ===== PANDUAN BAHAN MOBILE: Tipsを表の下へ・行をコンパクトに ===== */
  @media (max-width: 767px) {
    #panduan-bahan-container { flex-direction: column !important; gap: 24px !important; }
    #panduan-bahan-container > div:last-child { width: 100% !important; }
    /* Resep列と英語名を隠して 食材・記号・コメント を1行に */
    #page-ingredient .ingredient-table th:nth-child(4),
    #page-ingredient .ingredient-table td:nth-child(4) { display: none; }
    #page-ingredient .ingredient-table .ing-en { display: none; }
    #page-ingredient .ingredient-table { min-width: 0 !important; }
    #page-ingredient .ingredient-table th,
    #page-ingredient .ingredient-table td { padding: 8px 8px !important; font-size: 12px !important; }
    #page-ingredient .ingredient-table .ket-clamp {
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
    }
  }

  /* ===== SMARTPHONE POLISH v7 ===== */
  @media (max-width: 768px) {
    /* ① ロゴ左詰め・ハンバーガーとのバランス */
    .nav { gap: 10px !important; justify-content: flex-start !important; }
    .logo { margin: 0 !important; }

    /* ② ヒーローのタイトル背景に写真 + 文字が読めるオーバーレイ */
    .hero { position: relative !important; overflow: hidden !important; max-height: none !important; }
    .hero-img-wrap {
      display: block !important;
      position: absolute !important;
      inset: 0 !important;
      z-index: 0 !important;
    }
    .hero-img-wrap img {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }
    .hero-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,250,244,0.95) 0%, rgba(255,250,244,0.85) 50%, rgba(255,250,244,0.65) 100%);
    }
    .hero-content { position: relative !important; z-index: 1 !important; padding: 22px 0 18px !important; }

    /* ③ Populer行を消して上部を詰める */
    .populer-row { display: none !important; }
    .hero-eyebrow { margin-bottom: 6px !important; }
    .hero-subtitle { margin-bottom: 8px !important; }
    .age-tabs-wrap { padding: 12px 16px 6px !important; }
    .age-tabs-wrap > div { gap: 8px !important; }

    /* ④ 週間メニューまわりの余白を詰める */
    .weekly-wrap { padding: 12px 16px 4px !important; }
  }

  /* ===== WEEKLY MENU STRIP (PC: 横7列 / モバイル: 縦リスト) ===== */
  .wm-days { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: white; }
  .wm-day { display: flex; gap: 12px; padding: 9px 14px; border-bottom: 1px solid #F7F0EC; }
  .wm-day:last-child { border-bottom: none; }
  .wm-day-label { flex: 0 0 34px; font-size: 11px; font-weight: 700; color: var(--red); padding-top: 5px; }
  .wm-day-main { flex: 1; min-width: 0; }
  .wm-meals { display: flex; flex-wrap: wrap; gap: 6px; }
  .wm-meal { display: inline-flex; align-items: center; gap: 6px; background: #FFF8F0; border: 1px solid #F3E3D3;
    border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--text); cursor: pointer;
    transition: border-color .15s, background .15s; }
  .wm-meal:hover { background: #FFF1E0; border-color: #FBBCB8; }
  .wm-meal-n { flex-shrink: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--red); color: white;
    font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
  .wm-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
  .wm-badge { font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 50px; letter-spacing: .2px; }
  .wm-badge.on { background: #E8F5E9; color: #2E7D32; }
  .wm-badge.off { background: #F5F5F5; color: #C4C4C4; }
  @media (max-width: 768px) {
    .wm-day { padding: 8px 12px; }
    .wm-meal { font-size: 11.5px; padding: 4px 8px; }
  }
  .weekly-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }
  .weekly-strip-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
    min-width: 0;
  }
  .weekly-strip-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #FBBCB8; }
  .wsi-day {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .wsi-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
  }
  .wsi-arrow { display: none; }
  @media (min-width: 769px) {
    /* PC: 入力フォームを1行に */
    #weekly-menu-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
    #weekly-menu-form > div { margin-top: 0 !important; }
    #baby-birthdate { flex: 0 0 180px !important; min-width: 0 !important; }
  }
  @media (max-width: 768px) {
    /* モバイル: 縦のコンパクトリスト */
    .weekly-strip {
      display: block;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      background: white;
    }
    .weekly-strip-item {
      display: flex;
      align-items: center;
      gap: 10px;
      border: none;
      border-bottom: 1px solid #F7F0EC;
      border-radius: 0;
      padding: 8px 14px;
      font-size: 13px;
    }
    .weekly-strip-item:last-child { border-bottom: none; }
    .weekly-strip-item:hover { box-shadow: none; }
    .wsi-day { margin-bottom: 0; width: 32px; flex-shrink: 0; }
    .wsi-title {
      display: block;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 13px;
    }
    .wsi-arrow { display: block; color: var(--text-light); flex-shrink: 0; }
  }

  /* ===== INGREDIENT PAGE: HORIZONTAL CAT BAR ===== */
  #ing-cat-bar::-webkit-scrollbar { display: none; }
  .cat-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.18s, background 0.18s;
  }
  .cat-bar-item:hover { color: var(--red); background: var(--red-light); }
  .cat-bar-item.active { color: var(--red); font-weight: 700; background: var(--red-light); }
  .cat-bar-sep {
    color: var(--border);
    font-size: 14px;
    flex-shrink: 0;
    padding: 0 2px;
  }

  /* ===== INGREDIENT PAGE: 2-COL LAYOUT ===== */
  .two-col-ingredient {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: start;
  }
  /* Ingredient table: full width in its column */
  .two-col-ingredient .ingredient-table-wrap {
    width: 100%;
    overflow-x: auto;
  }



  /* ── レシピ動画: スマホでは Instagram をボタン表示に ── */
  @media (max-width: 768px) {
    .ig-video-card {
      aspect-ratio: auto !important;
      background-image: none !important;
      background: linear-gradient(135deg,#F58529,#DD2A7B 55%,#8134AF) !important;
      border-radius: 12px !important;
    }
    .ig-video-card .ig-inner {
      position: static !important;
      flex-direction: row !important;
      justify-content: center !important;
      gap: 8px !important;
      padding: 11px 14px !important;
    }
    .ig-video-card .ig-icon { width: 24px !important; height: 24px !important; }
    .ig-video-card .ig-icon svg { width: 14px !important; height: 14px !important; }
    .ig-video-card span { font-size: 13px !important; text-shadow: none !important; }
  }

  /* ── 会社概要ページ ── */
  .br-pc { display: inline; }
  @media (max-width: 900px) { .br-pc { display: none; } }
  #page-tentang { font-family: 'Outfit', sans-serif; }
  .tt-wrap { max-width: 940px; margin: 0 auto; padding: 72px 24px 110px; text-align: center; position: relative; }
  .tt-kicker { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 400; font-size: 12px; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 6px; }
  .tt-org { font-size: 17px; font-weight: 500; letter-spacing: .2px; color: var(--text); margin-bottom: 26px; }
  .tt-tagline { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 400; font-size: 15px; line-height: 2.1; letter-spacing: 2.5px; color: var(--text); margin-bottom: 24px; }
  .tt-tagline em { color: #FF5055; font-style: normal; }
  .tt-strokes { width: 62px; height: 42px; display: block; margin: 0 auto 10px; }
  .tt-h1 { font-family: 'Outfit', sans-serif; font-size: 86px; line-height: .98; font-weight: 800;
           letter-spacing: -2.5px; color: var(--text); margin: 6px 0 22px; }
  .tt-sub { font-size: 15px; font-weight: 400; letter-spacing: 3px; color: var(--text);
            display: inline-block; position: relative; padding-bottom: 16px; }
  .tt-underline { position: absolute; left: -6%; bottom: 0; width: 112%; height: 15px; }
  .tt-lead { font-size: 27px; line-height: 1.5; font-weight: 500; letter-spacing: -.3px;
             color: var(--text); margin: 96px auto 30px; max-width: 800px; }
  .tt-body { font-family: 'Outfit', 'Zen Kaku Gothic New', sans-serif; font-size: 11px; line-height: 2.1; letter-spacing: .2px; color: var(--text-muted);
             max-width: 840px; margin: 0 auto 14px; }
  .tt-sparkle { position: absolute; left: -78px; top: 620px; width: 74px; height: 178px; opacity: .95; }
  .tt-arrow { width: 210px; height: 66px; display: block; margin: 60px auto -6px; }
  .tt-logos { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; margin-bottom: 8px; }
  .tt-logos img { height: 52px; width: auto; }
  .tt-logos a { display: inline-flex; align-items: center; transition: opacity .2s; }
  .tt-logos a:hover { opacity: .6; }
  .tt-logos .tt-vlog { gap: 9px; font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 600;
                       color: #D94F3D; letter-spacing: .2px; text-decoration: none; }
  .tt-h2 { font-family: 'Outfit', sans-serif; font-size: 46px; font-weight: 700; color: var(--text);
           margin: 104px 0 6px; letter-spacing: -.5px; }
  .tt-wave { width: 300px; height: 14px; }
  .tt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 30px;
              max-width: 640px; margin: 46px auto 0; }
  .tt-card { border: 1.5px solid var(--text); padding: 42px 22px 46px; text-align: center; background: var(--bg); }
  .tt-card svg { height: 58px; width: auto; display: block; margin: 0 auto; }
  .tt-card-title { font-size: 17px; font-weight: 500; letter-spacing: 1.6px; color: var(--text); margin: 24px 0 18px; line-height: 1.45; }
  .tt-card-body { font-size: 12px; line-height: 2.1; letter-spacing: .4px; color: var(--text-muted); }
  .tt-card-body a { color: #FF5055; font-weight: 600; text-decoration: underline; }
  .tt-card-body strong { color: var(--text); font-weight: 600; }
  .tt-plant { position: absolute; right: -74px; bottom: 34px; width: 92px; height: 148px; opacity: .95; pointer-events: none; }
  /* 装飾は本文に重なるため、余白のある画面幅でのみ表示 */
  @media (max-width: 1120px) { .tt-sparkle { display: none; } }
  @media (max-width: 1120px) { .tt-plant { right: 4px; } }
  @media (max-width: 768px) {
    .tt-wrap { padding: 48px 18px 96px; }
    .tt-h1 { font-size: 46px; letter-spacing: -1.4px; }
    .tt-sub { font-size: 13px; letter-spacing: 2px; }
    .tt-lead { font-size: 19px; margin-top: 62px; }
    .tt-body { font-size: 10.5px; line-height: 2; }
    .tt-h2 { font-size: 33px; margin-top: 72px; }
    .tt-logos { gap: 30px; }
    .tt-logos img { height: 38px; }
    .tt-logos .tt-vlog { font-size: 17px; gap: 7px; }
    .tt-logos .tt-vlog svg { width: 34px; height: 34px; }
    .tt-plant { width: 62px; height: 100px; right: 0; bottom: 20px; }
    .tt-arrow { width: 150px; margin-top: 46px; }
  }
  .lg-wrap .back-link, .tt-wrap .back-link { display: inline-block; margin-bottom: 22px; }
  /* ── 記事本文 ── */
  .article-doc { max-width: 860px; margin: 0 auto; padding: 0 44px 0; }
  .article-body-content {
    font-size: 16px; line-height: 1.95; color: #333; letter-spacing: .1px;
  }
  .article-body-content p { margin: 0 0 16px; }
  .article-body-content h2 {
    font-family: 'Baloo 2', sans-serif; font-size: 21px; font-weight: 800; color: var(--text);
    line-height: 1.4; margin: 48px 0 16px; padding: 2px 0 2px 15px;
    border-left: 4px solid var(--red);
  }
  .article-body-content h3 {
    font-size: 17px; font-weight: 700; color: var(--red);
    margin: 34px 0 10px; line-height: 1.5;
  }
  .article-body-content h4 { font-size: 15.5px; font-weight: 700; color: var(--text); margin: 26px 0 8px; }
  .article-body-content ul,
  .article-body-content ol { margin: 0 0 18px; padding-left: 26px; }
  .article-body-content li { margin: 0 0 9px; padding-left: 3px; }
  .article-body-content strong { font-weight: 700; color: var(--text); }
  .article-body-content img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 22px 0 26px; }
  .article-body-content .table-wrap {
    margin: 22px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border); border-radius: 12px;
  }
  .article-body-content table {
    width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; background: var(--bg);
  }
  .article-body-content thead th {
    background: var(--red-light); color: var(--text); font-weight: 700; text-align: left;
    padding: 12px 14px; border-bottom: 1.5px solid var(--red-soft); white-space: nowrap;
  }
  .article-body-content tbody td {
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    vertical-align: top; line-height: 1.65; color: var(--text-muted);
  }
  .article-body-content tbody tr:last-child td { border-bottom: 0; }
  .article-body-content tbody tr:nth-child(even) { background: var(--bg-warm); }
  .article-body-content tbody td:first-child { color: var(--text); font-weight: 600; }
  .article-body-content td br { content: ''; display: block; margin-bottom: 3px; }
  .article-body-content hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
  .article-body-content blockquote {
    margin: 20px 0; padding: 14px 18px; background: var(--bg-warm);
    border-left: 3px solid var(--red-soft); border-radius: 0 10px 10px 0; color: var(--text-muted);
  }
  @media (max-width: 768px) {
    .article-doc { padding: 0 22px 0; }
    .article-body-content { font-size: 15.5px; line-height: 1.9; }
    .article-body-content h2 { font-size: 19px; margin: 40px 0 14px; padding-left: 12px; }
    .article-body-content h3 { font-size: 16px; margin: 28px 0 9px; }
    .article-body-content ul,
    .article-body-content ol { padding-left: 22px; }
    .article-body-content table { font-size: 13px; min-width: 380px; }
    .article-body-content thead th { padding: 10px 11px; }
    .article-body-content tbody td { padding: 10px 11px; }
  }
  /* ── 規約・ポリシー ── */
  .lg-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 96px; }
  .lg-h1 { font-family: 'Outfit', sans-serif; font-size: 34px; font-weight: 700; letter-spacing: -.5px;
           color: var(--text); margin-bottom: 18px; }
  .lg-switch { display: inline-flex; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
  .lg-switch button { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .6px;
                      padding: 8px 20px; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; transition: .18s; }
  .lg-switch button.on { background: var(--red); color: #fff; }
  .lg-doc { font-family: 'Outfit', 'Zen Kaku Gothic New', sans-serif; font-size: 14.5px; line-height: 1.95; color: var(--text); }
  .lg-doc h2 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin: 40px 0 12px; }
  .lg-doc h3 { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 22px 0 6px; }
  .lg-doc p { margin-bottom: 13px; color: var(--text-muted); }
  .lg-doc ul { margin: 0 0 14px 20px; color: var(--text-muted); }
  .lg-doc li { margin-bottom: 6px; }
  .lg-doc a { color: var(--red); text-decoration: underline; }
  .lg-doc strong { color: var(--text); font-weight: 700; }
  .lg-meta { font-size: 12.5px !important; color: var(--text-light) !important; margin-bottom: 26px !important; }
  @media (max-width: 768px) {
    .lg-wrap { padding: 40px 18px 72px; }
    .lg-h1 { font-size: 26px; }
    .lg-doc { font-size: 13.5px; line-height: 1.9; }
    .lg-doc h2 { font-size: 16px; margin-top: 32px; }
  }

  /* 関連レシピ（画像72px＋テキストの横並びカード）はスマホで1列にする。
     .recipe-grid-3 の共通ルールが2列にするため、カードが縮みきれず横スクロールが出ていた。 */
  @media (max-width: 768px) {
    #related-recipes-grid { grid-template-columns: 1fr !important; }
  }
  .related-recipe-card > div:last-child { min-width: 0; }
  .related-recipe-title { overflow-wrap: anywhere; }
