/* ===================================
   経絡アロマコラム用スタイル
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Shippori+Mincho:wght@400;700&display=swap');

:root {
    --color-bg: #f2eee5;
    --color-white: #ffffff;
    --color-text: #3a3a3a;
    --color-main: #8ba888;
    --color-accent: #6b7c5e;
    --color-lavender: #e8dff0;
    --color-cream: #fff8f0;
    --color-sage: #f1f4f0;
    --color-warm: #f5ede3;

    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    font-weight: 300;
}

.column-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 20px 4rem;
}

/* ヘッダー */
.column-header {
    background-color: var(--color-white);
    padding: 4rem 20px;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.column-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--color-lavender), var(--color-main), var(--color-warm));
}

.column-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    color: var(--color-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.column-header .subtitle {
    font-size: 0.95rem;
    color: var(--color-main);
    letter-spacing: 0.1em;
    font-weight: 400;
}

.column-header::after {
    content: '... . . . .. .';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #eee;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    pointer-events: none;
}

/* カルーセルセクション */
.carousel-section {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* スライド番号 */
.carousel-section::before {
    content: attr(data-slide);
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: var(--color-white);
    color: var(--color-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* 右下の装飾アイコン */
.carousel-section::after {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.15;
    pointer-events: none;
}

.slide-1::after { content: '🌿'; }
.slide-2::after { content: '💆'; }
.slide-3::after { content: '🕯️'; }
.slide-4::after { content: '✨'; }

/* セクションタイトル */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding: 0 10px 10px 0;
    font-weight: 700;
    color: #222;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 105%;
    height: 3px;
    background-color: var(--color-main);
    border-radius: 100% 10% 100% 10% / 50% 100% 50% 100%;
    opacity: 0.6;
}

.section-title::after {
    content: '🍃';
    position: absolute;
    bottom: -8px;
    right: -10px;
    font-size: 0.9rem;
    opacity: 0.8;
    transform: rotate(15deg);
}

.slide-2 .section-title::before { background-color: #9db895; }
.slide-3 .section-title::before { background-color: #8ba888; }
.slide-4 .section-title::before { background-color: #7a9a7c; }

/* 本文の装飾 */
.section-content strong {
    color: var(--color-accent);
    background: linear-gradient(transparent 70%, var(--color-lavender) 70%);
}

.section-content p {
    margin-bottom: 1.5rem;
}

/* リスト装飾 */
.section-content ul,
.section-content ol {
    list-style: none;
    margin: 2rem 0;
}

.section-content li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.section-content ul li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-weight: bold;
}

.section-content ol {
    counter-reset: item;
}

.section-content ol li {
    counter-increment: item;
}

.section-content ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-weight: bold;
}

/* 強調ボックス */
.highlight-box {
    background-color: #f9fbf9;
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border: 1px dashed var(--color-main);
}

.highlight-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-main);
}

/* CTAエリア */
.slide-4 {
    text-align: center;
    background-color: #fdfcf0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    text-align: center;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.cta-button.primary {
    background-color: var(--color-main);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(139, 168, 136, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    background-color: #7a9a7c;
}

.cta-button.secondary {
    background-color: #06C755;
    color: var(--color-white);
}

/* 注意書き */
.disclaimer {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 3rem;
    line-height: 1.8;
}

/* エビデンス */
.evidence {
    font-size: 0.85rem;
    color: #888;
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* 一覧ページ用 */
.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.column-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    display: block;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.column-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.column-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: 0.5rem;
}

.column-card-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    color: var(--color-main);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-sage);
}

.back-to-main {
    text-align: center;
    margin: 3rem 0;
}

.back-to-main a {
    display: inline-block;
    background: linear-gradient(135deg, #a8c6a4 0%, #8ba888 100%);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.back-to-main a:hover {
    transform: translateY(-3px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .column-header {
        padding: 3rem 15px;
    }
    .carousel-section {
        padding: 2.5rem 1.5rem;
    }
}
