/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 08 2026 | 05:29:11 */
/* =======================================================
   対象ページ限定のスタイル (ID: #my-raku-otheroption-page)
======================================================= */
#my-raku-otheroption-page * {
    box-sizing: border-box;
}

#my-raku-otheroption-page {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
    padding: 20px 0;
    
    /* ▼追加: CSSが読み込まれたら透明を解除し、フェードインさせる */
    animation: fadeInPage 0.4s ease forwards;
}

/* ▼追加: フェードイン用のアニメーション設定 */
@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#my-raku-otheroption-page .page-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header --- */
#my-raku-otheroption-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

#my-raku-otheroption-page .header-content {
    flex: 1;
}

#my-raku-otheroption-page .logo-text {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

#my-raku-otheroption-page .lead {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.5;
}

#my-raku-otheroption-page .sub-lead {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

#my-raku-otheroption-page .header-illustration {
    width: clamp(80px, 15vw, 120px);
    flex-shrink: 0;
    margin-left: 20px;
}

#my-raku-otheroption-page .header-illustration img {
    width: 100%;
    height: auto;
}

/* --- Option Grid --- */
#my-raku-otheroption-page .option-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- Card Common Styles --- */
#my-raku-otheroption-page .card {
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

#my-raku-otheroption-page .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

#my-raku-otheroption-page .option-card {
    border: 2px solid #ccc;
    padding: 30px 15px 0;
    position: relative;
}

#my-raku-otheroption-page .card .separator {
    width: 40px;
    border: 0;
    border-top: 2px solid #333;
    margin: 15px 0;
}

#my-raku-otheroption-page .card .card-desc {
    font-size: 0.85rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* --- Lineup Card --- */
#my-raku-otheroption-page .lineup-card {
    border: 3px solid #111;
    padding: 30px 20px;
    justify-content: center;
}

#my-raku-otheroption-page .lineup-card .card-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

#my-raku-otheroption-page .lineup-card .separator {
    margin: 15px auto;
}

/* --- Option Card Specifics --- */
#my-raku-otheroption-page .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}


#my-raku-otheroption-page .card-title-en {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

#my-raku-otheroption-page .card-title-ja {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#my-raku-otheroption-page .card-button {
    width: calc(100% + 4px);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 12px 0;
    margin-top: auto;
    margin-left: -2px;
    margin-right: -2px;
    margin-bottom: -2px;
}

/* --- Colors --- */
#my-raku-otheroption-page .eco { border-color: #8c9771; }

#my-raku-otheroption-page .eco .card-button { background-color: #8c9771; }

#my-raku-otheroption-page .security { border-color: #4a5a75; }

#my-raku-otheroption-page .security .card-button { background-color: #4a5a75; }

#my-raku-otheroption-page .pet { border-color: #9d8e82; }

#my-raku-otheroption-page .pet .card-button { background-color: #9d8e82; }

#my-raku-otheroption-page .kitchen { border-color: #b59b7b; }

#my-raku-otheroption-page .kitchen .card-button { background-color: #b59b7b; }

#my-raku-otheroption-page .bathroom { border-color: #72909e; }

#my-raku-otheroption-page .bathroom .card-button { background-color: #72909e; }

#my-raku-otheroption-page .toilet { border-color: #7d8272; }

#my-raku-otheroption-page .toilet .card-button { background-color: #7d8272; }

#my-raku-otheroption-page .exterior { border-color: #988e89; }

#my-raku-otheroption-page .exterior .card-button { background-color: #988e89; }


/* =======================================================
   モーダル & スライダー (修正版：独立化)
======================================================= */
#option-modal {
    position: fixed;
    top: 100px; /* PC用ヘッダー高さを回避 */
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 999999; /* ★ここで最大化 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#option-modal.modal-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#option-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#option-modal .modal-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#option-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

/* アローボタン（矢印） */
#option-modal .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 2px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

#option-modal .slider-arrow:hover { background: rgba(0, 0, 0, 0.9); }
#option-modal .prev-arrow { left: 50%; margin-left: -440px; }
#option-modal .next-arrow { right: 50%; margin-right: -440px; }

@media (max-width: 920px) {
    #option-modal .prev-arrow { left: 10px; margin-left: 0; }
    #option-modal .next-arrow { right: 10px; margin-right: 0; }
}

/* スライダー機能 (CSS Scroll Snap) */
#option-modal .modal-slider {
    display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
#option-modal .modal-slider::-webkit-scrollbar { display: none; }
#option-modal .modal-slide { min-width: 100%; height: 100%; scroll-snap-align: start; overflow-y: auto; background-color: #fff; }

/* =======================================================
   モーダル内の詳細コンテンツ
======================================================= */
#option-modal .slide-content { padding-bottom: 50px; }
#option-modal .slide-header { padding: 50px 20px 40px; text-align: center; background-color: #fbfbfb; }
#option-modal .slide-head-title { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 25px; }
#option-modal .slide-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

#option-modal .kitchen-theme .slide-icon { background-color: #b59b7b; }

#option-modal .slide-title-text { text-align: left; }
#option-modal .slide-title-text .en { font-size: 2rem; font-weight: bold; letter-spacing: 0.1em; line-height: 1; }
#option-modal .slide-title-text .ja { font-size: 1rem; font-weight: bold; margin-top: 5px; }

#option-modal .slide-desc { font-size: 0.95rem; line-height: 1.8; margin-bottom: 30px; }
#option-modal .slide-price { display: inline-flex; align-items: center; border: 2px solid #333; padding: 10px 20px; background: #fff; font-weight: bold; }
#option-modal .slide-price .price-label { margin-right: 15px; }
#option-modal .slide-price .price-value { font-size: 1.2rem; }

/* セクション共通 */
#option-modal .slide-section { padding: 60px 20px; text-align: center; }
#option-modal .section-light { background-color: #f0f0f0; }
#option-modal .section-dark { background-color: #a0a0a0; color: #fff; }

#option-modal .sec-number { font-size: 2.5rem; font-weight: bold; letter-spacing: 0.2em; line-height: 1; margin-bottom: 5px; }
#option-modal .sec-subtitle { font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 10px; }
#option-modal .sec-title { font-size: 1.4rem; font-weight: bold; margin-bottom: 15px; }
#option-modal .sec-title-sub { font-size: 1rem; font-weight: normal; }

#option-modal .sec-brand { display: inline-block; font-size: 1.2rem; font-weight: bold; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; padding: 5px 20px; margin-bottom: 40px; }
#option-modal .sec-body { display: flex; flex-wrap: wrap; gap: 30px; text-align: left; max-width: 600px; margin: 0 auto 30px; }
#option-modal .sec-image { flex: 1 1 200px; }
#option-modal .dummy-img { width: 100%; aspect-ratio: 1; background: #eaeaea; display: flex; align-items: center; justify-content: center; }
#option-modal .dummy-img::after { content: "NOW PRINTING"; color: #999; font-weight: bold; font-size: 1.2rem; letter-spacing: 0.1em; }
#option-modal .sec-text { flex: 2 1 250px; }
#option-modal .sec-text h5 { font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; line-height: 1.6; }
#option-modal .sec-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
#option-modal .sec-tags span { background: #000; color: #fff; font-size: 0.7rem; padding: 4px 10px; border-radius: 12px; }
#option-modal .section-dark .sec-tags span { border: 1px solid #fff; }
#option-modal .sec-text p { font-size: 0.85rem; line-height: 1.8; }

#option-modal .sec-list { text-align: left; max-width: 600px; margin: 0 auto; list-style: none; padding-top: 20px; border-top: 1px solid currentColor; }
#option-modal .sec-list li { font-size: 0.9rem; margin-bottom: 10px; }
#option-modal .sec-list li strong { font-size: 1.1rem; margin-right: 5px; }


/* =======================================================
   レスポンシブ対応
======================================================= */
@media (max-width: 992px) {
    #my-raku-otheroption-page .option-grid { grid-template-columns: repeat(2, 1fr); }
    
    #option-modal {
        top: 60px; /* スマホ用ヘッダー高さを回避 */
        padding: 15px 10px;
    }
}

@media (max-width: 600px) {
    #my-raku-otheroption-page .option-grid { gap: 12px; }
    #my-raku-otheroption-page .option-card { padding: 20px 10px 0; }
    #my-raku-otheroption-page .icon-wrapper { width: 55px; height: 55px; margin-bottom: 12px; }
    #my-raku-otheroption-page .card-title-en { font-size: 0.9rem; }
    #my-raku-otheroption-page .card-title-ja { font-size: 0.75rem; }
    #my-raku-otheroption-page .card .card-desc { font-size: 0.75rem; margin-bottom: 20px; }
    #my-raku-otheroption-page .card-button { font-size: 0.85rem; padding: 8px 0; }
    
    /* ▼ モーダル関連 ▼ */
    #option-modal .slide-title-text .en { font-size: 1.5rem; }
    #option-modal .slide-price { flex-direction: column; gap: 5px; }
    #option-modal .slide-price .price-label { margin-right: 0; }
    #option-modal .modal-close { top: 10px; right: 10px; }
    #option-modal .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
    #option-modal .prev-arrow { left: 5px; }
    #option-modal .next-arrow { right: 5px; }
}