@charset "UTF-8";
/**
 * Single Aroma Library Styles
 * カテゴリ: aroma-library
 * 対応テンプレート: single-aroma-library.php
 */

/* ============================================
   Container & Base
============================================ */
.aroma-single {
    background: #fdfbf7;
    color: #4a3f35;
    font-family: "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.8;
    padding-bottom: 60px;
}

.aroma-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Hero (Featured Image)
============================================ */
.aroma-hero {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.aroma-hero-image,
.aroma-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   Header (Title & Names)
============================================ */
.aroma-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid #e8ddc8;
    margin-bottom: 50px;
}

.aroma-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #6b5d3f;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.aroma-latin {
    font-size: 1.15rem;
    color: #8a7a5c;
    margin: 0 0 12px;
    letter-spacing: 0.03em;
}

.aroma-latin em {
    font-style: italic;
    font-family: "Georgia", "Times New Roman", serif;
}

.aroma-names {
    font-size: 0.95rem;
    color: #8a7a5c;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.aroma-en {
    font-style: italic;
}

.aroma-alias::before {
    content: "／ ";
    color: #c8b896;
}

/* ============================================
   Section Title
============================================ */
.aroma-section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #6b5d3f;
    margin: 0 0 24px;
    padding: 0 0 12px;
    border-bottom: 2px solid #d4c4a0;
    letter-spacing: 0.05em;
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
}

.aroma-section-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #b89968;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}

/* Sections */
section[class^="aroma-"] {
    margin-bottom: 50px;
}

/* ============================================
   Basic Info Section (2カラム)
============================================ */
.aroma-basic-section {
    margin-bottom: 50px;
}

.aroma-basic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}



.aroma-info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-info-table tr {
    border-bottom: 1px solid #f0e6d2;
}

.aroma-info-table tr:last-child {
    border-bottom: none;
}

.aroma-info-table th,
.aroma-info-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.aroma-info-table th {
    background: #f7f0e0;
    color: #6b5d3f;
    font-weight: 500;
    width: 35%;
    white-space: nowrap;
}

.aroma-info-table td {
    color: #4a3f35;
}

/* Material Image */
.aroma-material-image {
    margin: 0;
    align-self: start;
}

.aroma-material-image figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(107, 93, 63, 0.1);
}

.aroma-material-image img {
    width: 100%;
    height: auto;
    display: block;
}

.aroma-material-image figcaption {
    background: #f7f0e0;
    color: #8a7a5c;
    font-size: 0.85rem;
    padding: 10px 16px;
    text-align: center;
}


/* ============================================
   Scent Section
============================================ */
.aroma-scent-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-scent-text {
    font-size: 1rem;
    line-height: 2;
    color: #4a3f35;
    margin: 0;
}

/* ============================================
   Effect Section (心・体・肌)
============================================ */
.aroma-effect-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-effect-block {
    margin-bottom: 24px;
}

.aroma-effect-block:last-child {
    margin-bottom: 0;
}

.aroma-effect-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #6b5d3f;
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 3px solid #d4c4a0;
}

/* Tag List */
.aroma-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aroma-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.aroma-tag-mind {
    background: #f5e1e8;
    color: #a06b7a;
}

.aroma-tag-body {
    background: #e3eee0;
    color: #5a7a55;
}

.aroma-tag-skin {
    background: #f7ead5;
    color: #9a7a4a;
}

.aroma-tag-usage {
    background: #ebe2ee;
    color: #7a5a8a;
}

.aroma-tag-compatible {
    background: #f5ecd8;
    color: #8a7a3a;
    border: 1px solid #e0d4a8;
}

.aroma-components {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0e6d2;
}

.aroma-components p {
    color: #6a5e4d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.9;
}

/* ============================================
   Usage Section
============================================ */
.aroma-usage-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-usage-list {
    margin-bottom: 20px;
}

.aroma-usage-tips {
    margin: 0;
    padding: 16px 20px;
    background: #faf5ea;
    border-left: 3px solid #d4c4a0;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #5a4f3f;
    line-height: 1.9;
}

/* ============================================
   Gallery Section
============================================ */
.aroma-gallery-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-gallery-desc {
    color: #6a5e4d;
    font-size: 0.95rem;
    margin: 0 0 20px;
    line-height: 1.9;
}

.aroma-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.aroma-gallery-item {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.aroma-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aroma-gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   Precautions Section
============================================ */
.aroma-precautions-section .aroma-section-title {
    color: #a05a4a;
    border-bottom-color: #e8c0b8;
}

.aroma-precautions-section .aroma-section-title::before {
    background: #c87060;
}

.aroma-precautions-box {
    background: #fdf3f0;
    border: 1px solid #f0d8d0;
    border-left: 4px solid #c87060;
    padding: 20px 24px;
    border-radius: 4px;
}

.aroma-precautions-box p {
    margin: 0;
    color: #6a4a40;
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ============================================
   Meta Section (Price & Beginner)
============================================ */
.aroma-meta-section {
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.aroma-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    background: #faf5ea;
    border-radius: 6px;
}

.aroma-meta-label {
    font-size: 0.85rem;
    color: #8a7a5c;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.aroma-meta-value {
    font-size: 1.1rem;
    color: #6b5d3f;
    font-weight: 500;
}

.aroma-stars {
    color: #d4a44a;
    letter-spacing: 0.1em;
}

/* ============================================
   Compatible Oils Section
============================================ */
.aroma-compatible-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

/* ============================================
   Content Section (Free text)
============================================ */
.aroma-content-section {
    background: #fff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
}

.aroma-content {
    font-size: 1rem;
    line-height: 2;
    color: #4a3f35;
}

.aroma-content p {
    margin: 0 0 1.2em;
}

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

/* ============================================
   Back Navigation
============================================ */
.aroma-back-nav {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e8ddc8;
}

.aroma-back-link {
    display: inline-block;
    padding: 12px 32px;
    background: #6b5d3f;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.aroma-back-link:hover {
    background: #8a7a5c;
    transform: translateY(-2px);
}

/* ============================================
   Responsive (Mobile)
============================================ */
@media (max-width: 768px) {
    .aroma-container {
        padding: 0 16px;
    }

    .aroma-hero {
        max-height: 280px;
        margin-bottom: 24px;
    }

    .aroma-header {
        padding: 24px 0 20px;
        margin-bottom: 32px;
    }

    .aroma-title {
        font-size: 1.7rem;
    }

    .aroma-latin {
        font-size: 1rem;
    }

    .aroma-names {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
    }

    .aroma-alias::before {
        content: "";
    }

    .aroma-section-title {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .aroma-basic-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .aroma-info-table th,
    .aroma-info-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .aroma-info-table th {
        width: 40%;
    }

    .aroma-scent-section,
    .aroma-effect-section,
    .aroma-usage-section,
    .aroma-gallery-section,
    .aroma-meta-section,
    .aroma-compatible-section,
    .aroma-content-section {
        padding: 20px 18px;
    }

    .aroma-meta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .aroma-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    section[class^="aroma-"] {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .aroma-title {
        font-size: 1.5rem;
    }

    .aroma-section-title {
        font-size: 1.15rem;
    }

    .aroma-tag {
        font-size: 0.82rem;
        padding: 5px 12px;
    }
}

/* ===== 加筆セクション共通スタイル ===== */
.aroma-rich-content {
    background: #fff;
    padding: 24px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
    line-height: 1.9;
    color: #4a4030;
}

.aroma-rich-content p {
    margin: 0 0 1em;
    font-size: 0.95rem;
}

.aroma-rich-content p:last-child {
    margin-bottom: 0;
}

.aroma-rich-content h3 {
    font-size: 1.1rem;
    color: #8a7a5c;
    margin: 1.5em 0 0.6em;
    padding-left: 12px;
    border-left: 3px solid #c9a96e;
}

.aroma-rich-content ul,
.aroma-rich-content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.aroma-rich-content li {
    margin-bottom: 0.4em;
    font-size: 0.95rem;
}

.aroma-rich-content strong {
    color: #6b5d3f;
    font-weight: 600;
}

/* ===== レシピ・関連記事内のリンク ===== */
.aroma-recipes-content a,
.aroma-related-content a {
    color: #8a6d3b;
    text-decoration: none;
    border-bottom: 1px solid #d4b896;
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.aroma-recipes-content a:hover,
.aroma-related-content a:hover {
    color: #6b5d3f;
    border-bottom-color: #8a6d3b;
}

/* ===== レシピセクションの差別化 ===== */
.aroma-recipes-section .aroma-rich-content {
    background: #fdfaf3;
    border-left: 4px solid #c9a96e;
}

.aroma-related-section .aroma-rich-content {
    background: #faf8f5;
}

/* ===== ケモタイプ等、テーブル内リンク ===== */
.aroma-info-table a {
    color: #8a6d3b;
    text-decoration: underline;
    text-decoration-color: #d4b896;
    text-underline-offset: 2px;
}

.aroma-info-table a:hover {
    color: #6b5d3f;
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
    .aroma-rich-content {
        padding: 18px 20px;
    }
}

/* ===== SEO用h1（ページ最上部の見出し） ===== */
.aroma-seo-h1 {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #6b5d3f;
    text-align: center;
    margin: 30px auto 20px;
    padding: 0 20px;
    max-width: 1100px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ===== 装飾タイトル（旧h1から格下げ） ===== */
/* p.aroma-title は既存のCSSが流用されるため、追加調整のみ */
.aroma-header p.aroma-title {
    font-family: serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a4030;
    text-align: center;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .aroma-seo-h1 {
        font-size: 1.15rem;
        line-height: 1.5;
        margin: 20px auto 15px;
        padding: 0 15px;
    }

    .aroma-header p.aroma-title {
        font-size: 1.6rem;
    }
}

/* FAQ Section */
.aroma-faq-section {
    margin: 40px 0;
}
.aroma-faq-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.06);
    padding: 8px 0;
}
.aroma-faq-item {
    padding: 20px 28px;
    border-bottom: 1px solid #f0e8d8;
}
.aroma-faq-item:last-child {
    border-bottom: none;
}
.aroma-faq-question {
    font-size: 1.05rem;
    color: #6b5d3f;
    margin: 0 0 12px;
    padding-left: 0;
    border-left: none;
    font-weight: 600;
    line-height: 1.6;
}
.aroma-faq-answer {
    color: #4a4030;
    line-height: 1.9;
    font-size: 0.95rem;
    padding-left: 1.8em;
    position: relative;
}
.aroma-faq-answer::before {
    content: "A.";
    position: absolute;
    left: 0;
    top: 0;
    color: #c9a96e;
    font-weight: 600;
}
@media (max-width: 768px) {
    .aroma-faq-item {
        padding: 16px 20px;
    }
    .aroma-faq-question {
        font-size: 1rem;
    }
}

/* ========== Table of Contents ========== */
.aroma-toc {
    background: #faf6ec;
    border: 1px solid #e8dcc0;
    border-radius: 8px;
    padding: 24px 32px;
    margin: 0 0 40px;
    box-shadow: 0 2px 12px rgba(107, 93, 63, 0.04);
}

.aroma-toc-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #6b5d3f;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c9a96e;
    display: flex;
    align-items: center;
}

.aroma-toc-title::before {
    content: "📖";
    margin-right: 8px;
    font-size: 1.1rem;
}

.aroma-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
    column-count: 2;
    column-gap: 32px;
}

.aroma-toc-item {
    counter-increment: toc-counter;
    margin: 0 0 10px;
    padding-left: 0;
    break-inside: avoid;
    position: relative;
}

.aroma-toc-item::before {
    content: counter(toc-counter, decimal-leading-zero) ".";
    color: #c9a96e;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 8px;
    font-family: Georgia, "Times New Roman", serif;
}

.aroma-toc-link {
    color: #4a4030;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.aroma-toc-link:hover {
    color: #8a6d3b;
    border-bottom-color: #c9a96e;
    padding-left: 4px;
}

/* スクロール時のオフセット調整（固定ヘッダーがある場合） */
.aroma-section {
    scroll-margin-top: 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .aroma-toc {
        padding: 20px 22px;
        margin: 0 0 30px;
    }
    .aroma-toc-title {
        font-size: 1.05rem;
    }
    .aroma-toc-list {
        column-count: 1;
    }
    .aroma-toc-link {
        font-size: 0.92rem;
    }
}

/* ============================================
   Hero with Text Overlay (タイトル重ね表示)
============================================ */
.aroma-hero-with-text {
    position: relative;
    width: 100%;
    min-height: 480px;
    max-height: none;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aroma-hero-with-text .aroma-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aroma-hero-with-text .aroma-hero-bg img,
.aroma-hero-with-text .aroma-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aroma-hero-with-text .aroma-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.40);
    z-index: 2;
}

.aroma-hero-with-text .aroma-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 960px;
    padding: 60px 24px;
    text-align: center;
}

/* ヒーロー内 ヘッダー（タイトル・学名・別名） */
.aroma-hero-with-text .aroma-header {
    border-bottom: none;
    padding: 0;
    margin: 0;
}

/* ===== 白マーカー風ハイライト（共通） ===== */
.aroma-hero-with-text .aroma-seo-h1,
.aroma-hero-with-text .aroma-header p.aroma-title,
.aroma-hero-with-text .aroma-latin,
.aroma-hero-with-text .aroma-en,
.aroma-hero-with-text .aroma-alias {
    position: relative;
    display: inline-block;
    padding: 4px 14px;
    isolation: isolate;
    text-shadow: none;
}

.aroma-hero-with-text .aroma-seo-h1::before,
.aroma-hero-with-text .aroma-header p.aroma-title::before,
.aroma-hero-with-text .aroma-latin::before,
.aroma-hero-with-text .aroma-en::before,
.aroma-hero-with-text .aroma-alias::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 10px 5px rgba(255, 255, 255, 0.85),
        0 0 20px 10px rgba(255, 255, 255, 0.5),
        0 0 30px 15px rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* h1 個別調整 */
.aroma-hero-with-text .aroma-seo-h1 {
    margin: 0 auto 28px;
    max-width: 900px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #6b5d3f;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* タイトル個別調整 */
.aroma-hero-with-text .aroma-header p.aroma-title {
    margin: 0 0 16px;
}

/* 学名個別調整 */
.aroma-hero-with-text .aroma-latin {
    margin: 0 0 14px;
}

/* 英名・別名は span なので親 p のレイアウト調整 */
.aroma-hero-with-text .aroma-names {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

/* 別名の "／ " プレフィックスを白マーカー内では非表示に */
.aroma-hero-with-text .aroma-alias::before {
    /* マーカー疑似要素を生かすため、もとの "／" 記号を消す必要がある */
}

/* 既存の .aroma-alias::before（"／ " 文字）を上書きするため、content を白マーカー専用に固定 */
/* "／" を別途表示したい場合は span 内テキストで調整可 */

/* レスポンシブ */
@media (max-width: 768px) {
    .aroma-hero-with-text {
        min-height: 360px;
        margin-bottom: 24px;
    }

    .aroma-hero-with-text .aroma-hero-content {
        padding: 40px 16px;
    }

    .aroma-hero-with-text .aroma-seo-h1 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 20px;
        white-space: normal;
    }

    .aroma-hero-with-text .aroma-seo-h1,
    .aroma-hero-with-text .aroma-header p.aroma-title,
    .aroma-hero-with-text .aroma-latin,
    .aroma-hero-with-text .aroma-en,
    .aroma-hero-with-text .aroma-alias {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .aroma-hero-with-text {
        min-height: 320px;
    }

    .aroma-hero-with-text .aroma-hero-content {
        padding: 30px 14px;
    }
}

/* ============================================
   Hero テキスト配置の修正
============================================ */

/* 学名をタイトルの下（改行）にする */
.aroma-single .aroma-hero-with-text .aroma-header p.aroma-title,
.aroma-single .aroma-hero-with-text .aroma-latin {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* タイトル下のマージン調整 */
.aroma-single .aroma-hero-with-text .aroma-header p.aroma-title {
    margin-bottom: 14px;
}

/* 学名下のマージン調整 */
.aroma-single .aroma-hero-with-text .aroma-latin {
    margin-bottom: 14px;
}

/* 英名・別名は文字幅に合わせる */
.aroma-single .aroma-hero-with-text .aroma-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.aroma-single .aroma-hero-with-text .aroma-en,
.aroma-single .aroma-hero-with-text .aroma-alias {
    display: inline-block;
    width: auto;
    flex: 0 0 auto;
}

/* スマホ時：縦並びでも文字幅に合わせる */
@media (max-width: 768px) {
    .aroma-single .aroma-hero-with-text .aroma-names {
        flex-direction: column;
        gap: 10px;
    }

    .aroma-single .aroma-hero-with-text .aroma-en,
    .aroma-single .aroma-hero-with-text .aroma-alias {
        display: inline-block;
        width: fit-content;
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* スマホでもタイトル・学名は中央に縮む */
    .aroma-single .aroma-hero-with-text .aroma-header p.aroma-title,
    .aroma-single .aroma-hero-with-text .aroma-latin {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   Section with Sub Image (2カラムレイアウト)
   画像がある時のみ aroma-section-with-image クラスが付与される
============================================ */
.aroma-section-with-image {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.aroma-section-with-image .aroma-section-text {
    min-width: 0;
}

.aroma-sub-image {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(107, 93, 63, 0.1);
}

.aroma-sub-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* スマホ：1カラム、画像はテキストの後 */
@media (max-width: 768px) {
    .aroma-section-with-image {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aroma-sub-image {
        margin-top: 8px;
    }
}

