/* Redays メインCSS */
img { background-color: #f5f3ee; object-fit: cover; }

body {
    font-family: 'Shippori Mincho', serif;
    color: #2e2724;
    background-color: #fcfbfa;
    overflow-x: hidden;
    letter-spacing: 0.08em;
    font-size: 15px;
    line-height: 1.8;
}
.en-font { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.15em; }

/* ハンバーガーメニュー */
#menu-toggle { display: none !important; position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 0 !important; height: 0 !important; }
.hamburger-label { position: fixed; top: 22px; right: 24px; z-index: 200; cursor: pointer; width: 28px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger-label span { display: block; width: 100%; height: 1.5px; background: #2e2724; border-radius: 99px; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, background 0.2s ease; transform-origin: center; }
@media (max-width: 767px) { .hamburger-label span { background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); } }

#menu-toggle:checked ~ .hamburger-label .bar-1 { transform: translateY(9.25px) rotate(45deg); background: #b89b72; }
#menu-toggle:checked ~ .hamburger-label .bar-2 { opacity: 0; transform: scaleX(0); }
#menu-toggle:checked ~ .hamburger-label .bar-3 { transform: translateY(-9.25px) rotate(-45deg); background: #b89b72; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(46,39,36,0.15); z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; backdrop-filter: blur(2px); cursor: pointer; }
#menu-toggle:checked ~ .drawer-overlay { opacity: 1; pointer-events: auto; }

.drawer-menu { position: fixed; top: 0; right: 0; height: 100vh; width: min(380px, 92vw); background: rgba(252,251,250,0.99); z-index: 150; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; justify-content: center; padding: 3rem; border-left: 1px solid #e6e2da; box-shadow: -20px 0 60px rgba(46,39,36,0.06); }
#menu-toggle:checked ~ .drawer-menu { transform: translateX(0); }

/* スクロールアニメーション */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* リンク下線アニメーション */
.link-underline { position: relative; display: inline-block; }
.link-underline::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: #b89b72; transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }
.link-underline:hover::after { width: 100%; }

/* セクション見出し */
.section-heading-line { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.section-heading-line::after { content: ''; display: block; width: 2rem; height: 1px; background: #b89b72; }

/* ボタンアニメーション */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ''; position: absolute; top: -50%; left: -60%; width: 30%; height: 200%; background: rgba(255,255,255,0.3); transform: rotate(30deg); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0% { left: -60%; } 12% { left: 130%; } 100% { left: 130%; } }

/* 画像ズーム */
.img-zoom-container { overflow: hidden; }
.img-zoom { transition: transform 1.2s cubic-bezier(0.25,1,0.5,1); }
.img-zoom-container:hover .img-zoom { transform: scale(1.05); }

/* ============================================================
   HERO背景画像 — デバイス別切り替え
============================================================ */
#concept {
    background-image: url('/wp-content/themes/redays-theme/images/background-sp.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    #concept {
        background-image: url('/wp-content/themes/redays-theme/images/background-tablet.png');
    }
}
@media (min-width: 1024px) {
    #concept {
        background-image: url('/wp-content/themes/redays-theme/images/background.png');
    }
}

/* ============================================================
   FLOW背景画像 — デバイス別切り替え
============================================================ */
#flow {
    background-image: url('/wp-content/themes/redays-theme/images/flow-background-sp.png');
    background-size: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #fdfcfc;
}
@media (min-width: 768px) {
    #flow {
        background-image: url('/wp-content/themes/redays-theme/images/flow-background-tablet.png');
        background-size: cover;
        background-position: center top;
    }
}
@media (min-width: 1024px) {
    #flow {
        background-image: url('/wp-content/themes/redays-theme/images/flow-background.png');
        background-size: cover;
        background-position: center top;
    }
}
/* ============================================================
   menu背景画像 — デバイス別切り替え
============================================================ */
#menu {
    background-image: url('/wp-content/themes/redays-theme/images/menu-background-sp.png');
    background-size: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #fdfcfc;
}
@media (min-width: 768px) {
    #menu {
        background-image: url('/wp-content/themes/redays-theme/images/menu-background-tablet.png');
        background-size: cover;
        background-position: center top;
    }
}
@media (min-width: 1024px) {
    #menu {
        background-image: url('/wp-content/themes/redays-theme/images/menu-background.png');
        background-size: cover;
        background-position: center top;
    }
}
/* ============================================================
   sympathy背景画像 — デバイス別切り替え
============================================================ */
#sympathy {
    background-image: url('/wp-content/themes/redays-theme/images/sympathy-background-sp.png');
    background-size: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #fdfcfc;
}
@media (min-width: 768px) {
    #sympathy {
        background-image: url('/wp-content/themes/redays-theme/images/sympathy-background-tablet.png');
        background-size: cover;
        background-position: center top;
    }
}
@media (min-width: 1024px) {
    #sympathy {
        background-image: url('/wp-content/themes/redays-theme/images/sympathy-background.png');
        background-size: cover;
        background-position: center top;
    }
}
/* ============================================================
   online-exclusive背景画像 — デバイス別切り替え
============================================================ */
#online-exclusive {
    background-image: url('/wp-content/themes/redays-theme/images/online-exclusive-background-sp.png');
    background-size: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #2f2e2e;
}
@media (min-width: 768px) {
    #online-exclusive {
        background-image: url('/wp-content/themes/redays-theme/images/online-exclusive-background-tablet.png');
        background-size: cover;
        background-position: center top;
    }
}
@media (min-width: 1024px) {
    #online-exclusive {
        background-image: url('/wp-content/themes/redays-theme/images/online-exclusive-background.png');
        background-size: cover;
        background-position: center top;
    }
}
/* ============================================================
   星読み・タロット鑑定セクション — 見出し部分のみ白
============================================================ */
#online-exclusive .section-heading-line h2,
#online-exclusive .section-heading-line h2 span,
#online-exclusive .section-heading-line .text-stone-500 {
    color: #ffffff !important;
}