/* --- 水十呂火回至とは セクション専用 CSS --- */

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

/* 1. セクション全体のレイアウト：横並び（Flex）にする */
.deep-concept {
    padding: 80px 5%;
    position: relative;
    z-index: 10;
    font-family: 'Shippori Mincho', serif;
    display: flex; 
    justify-content: space-between; /* 左右と中央を離す */
    align-items: flex-start;
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

/* 2. 左右の縦書き：幅を絞って場所を確保 */
.vertical-manifesto {
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    font-size: 1.4rem;
    letter-spacing: 0.6em;
    line-height: 2;
    color: #e6b422 !important;
    text-shadow: 0 0 15px rgba(230, 180, 34, 0.4);
    opacity: 0;
    filter: blur(10px);
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 2em; /* ど真ん中に居座らないように幅を制限 */
    height: auto;
}

/* スクロール発火時のアニメーション */
.reveal.active .vertical-manifesto,
.reveal.is-active .vertical-manifesto {
    opacity: 0.9;
    filter: blur(0);
    transform: translateY(0);
}

/* 3. 中央ストーリー：幅を固定して読みやすく */
.concept-main-story {
    flex: 1;
    max-width: 700px;
    text-align: center;
    margin: 0 40px;
}

/* ★タイトルを絶対に黄金にする設定 */
.deep-concept .concept-main-story h2.gold-gradient-text {
    color: #e6b422 !important;
    font-size: 2.2rem !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    background: none !important; 
    -webkit-text-fill-color: #e6b422 !important;
    text-shadow: 0 0 15px rgba(230, 180, 34, 0.6) !important;
}

.story-text-box {
    line-height: 2.8;
    color: #f0f0f0;
    text-align: justify;
    font-size: 1.15rem;
    font-weight: 400;
}

/* 4. 画像エフェクト */
.story-visual {
    margin: 60px auto;
    width: fit-content;
    position: relative;
}

.story-img {
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(230, 180, 34, 0.5);
    filter: sepia(0.3) contrast(1.2) brightness(0.8);
    transition: 0.8s ease;
}

/* 5. スマホ対応：縦並びに戻す */
@media screen and (max-width: 850px) {
    .deep-concept {
        flex-direction: column; /* 縦に並べる */
        padding: 40px 20px;
        align-items: center;
    }
    .vertical-manifesto {
        writing-mode: horizontal-tb !important; /* スマホは横書き */
        min-width: 100%;
        text-align: center;
        margin: 20px 0;
        font-size: 1.1rem;
    }
    .concept-main-story {
        margin: 0;
    }
}

/* 金色の強調テキスト */
.highlight-gold {
    color: #e6b422;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(230, 180, 34, 0.5);
}