/*
Theme Name: エロがり大学 (スマホ対応版)
Theme URI: https://erodai.click/
Author: Erodai
Author URI: https://erodai.click/
Description: 都内の大学生専門デリバリー「エロがり大学」カスタムWordPressテーマ
Version: 1.0.0
License: Private
Text Domain: erodai
*/

/* ============================================================
   ★ ウルトラドリーム仕様をベースにしたエロがり大学カスタマイズCSS ★
   ============================================================ */
body {
    background-image: url('https://erodai.click/wp-content/uploads/2026/05/名称未設定-1920-x-1080-px-2.png') !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-position: center top !important;
}

#header {
    background-image: none !important;
    background-color: transparent !important;
    border-bottom: none !important;
}

#g-navi {
    background-image: none !important;
    background-color: transparent !important;
    border-bottom: none !important;
}

#g-navi ul {
    background: linear-gradient(to bottom, #f5f5f5, #cccccc) !important;
    border: 1px solid #bbbbbb !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 1080px !important;
    height: 52px !important;
}

#g-navi ul li {
    flex: 1 !important;
    text-align: center !important;
    float: none !important;
    height: 100% !important;
}

#g-navi ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    border-right: 1px solid #bbbbbb !important;
    box-sizing: border-box !important;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    letter-spacing: 1px !important;
}

#g-navi ul li:last-child a {
    border-right: none !important;
}

#g-navi ul li a:hover {
    background: linear-gradient(to bottom, #ffffff, #eaeaea) !important;
    color: #dd7575 !important;
    text-shadow: 0px 0px 4px rgba(221,117,117,0.3) !important;
}

#contents {
    background-image: none !important;
    background-color: transparent !important;
    display: flow-root !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 24時間ご予約受付中の点滅アニメーション */
.erodai-hours-blink {
    animation: hoursBlink 1.2s infinite alternate ease-in-out;
}
@keyframes hoursBlink {
    0% { color: #dd7575; }
    100% { color: #333; }
}

body, input, select, textarea, button {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

/* Fine Motion (ファインモーション) 風の横並びカプセルタグUI */
#scheduleTab ul.tab {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

#scheduleTab ul.tab li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#scheduleTab ul.tab li a {
    display: inline-block !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #666666 !important;
    background-color: #f7f7f7 !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

#scheduleTab ul.tab li a:hover {
    background-color: #ffeef3 !important;
    border-color: #ffccd5 !important;
    color: #dd7575 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(221,117,117,0.15) !important;
}

#scheduleTab ul.tab li a.current {
    background: linear-gradient(135deg, #ff69cd 0%, #dd7575 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(255,105,205,0.3) !important;
}

#system h3 {
    background: #ff69cd;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

#main {
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

#sidebar {
    display: none !important;
}

#footer {
    max-width: 1080px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #444444 !important;
    box-sizing: border-box !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

#footer .footertb {
    background-color: #ffffff !important;
    background-image: none !important;
}

#footer .pankuzu {
    background-color: rgba(254, 134, 234, 0.05) !important;
    border-top: 1px solid rgba(254, 134, 234, 0.15) !important;
    border-bottom: 1px solid rgba(254, 134, 234, 0.15) !important;
    max-width: 1080px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 8px 15px !important;
    font-size: 11px !important;
    text-align: left !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#footer .pankuzu li,
#footer .pankuzu li a {
    font-size: 11px !important;
    color: #555555 !important;
}

#footer .pankuzu a:hover,
#footer a:hover {
    color: #ff69cd !important;
}

#footer nav#f-navi ul li a {
    color: #555555 !important;
}

#footer address {
    color: #777777 !important;
    font-size: 0.78rem !important;
}

#footer .caption {
    color: #666666 !important;
}


/* --- イベント・割引バナー (ウルトラドリーム風) --- */
.erodai-campaign-box {
    background: linear-gradient(135deg, #ffe3ef 0%, #fff0f5 100%);
    border: 2px dashed #ff69cd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.erodai-campaign-tag {
    display: inline-block;
    background-color: #ff69cd;
    color: #fff;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.erodai-campaign-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #d81b60;
    margin-bottom: 5px;
}

.erodai-campaign-text {
    font-size: 0.8rem;
    color: #666;
}

/* --- 新人紹介（NEW CAST）の3列・スクロールカード再現 --- */
.erodai-newcast-sec {
    margin-top: 30px;
    margin-bottom: 40px;
}

.erodai-newcast-title {
    margin-bottom: 20px;
}

.castlist-3col {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

article.newface-card {
    box-sizing: border-box;
    background-image: url(https://cdn1.cdn-fu-kakumei.com/368/renew/pc/images/castlistbg2re.png) !important;
    border: solid 1.5px #fe86ea !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(254, 134, 234, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.castlist-3col article.newface-card,
.erodai-newface-slider-track article.slider-card {
    width: 32.5%;
}

.castlist-4col article.newface-card {
    width: 23.8%;
}

article.newface-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(254, 134, 234, 0.3);
}

article.newface-card div.castimg {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #fcecf9;
}

.castlist-4col article.newface-card div.castimg {
    height: 195px;
}

article.newface-card div.castimg img.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

article.newface-card span.new-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    z-index: 10;
}

article.newface-card span.new-ribbon img {
    display: none !important;
}

article.newface-card span.new-ribbon::after {
    content: "NEW";
    position: absolute;
    top: 12px;
    right: -16px;
    width: 75px;
    height: 20px;
    background: linear-gradient(135deg, #ff33a3 0%, #ff69cd 100%);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

article.newface-card span.attend-label {
    position: absolute;
    text-align: center;
    bottom: 0px;
    left: 0;
    display: block;
    width: 100%;
    background-color: rgba(254, 134, 234, 0.9);
    color: #feffa1;
    font-size: 0.9rem;
    line-height: 1.25em;
    padding: 4px 0;
    box-sizing: border-box;
    font-weight: bold;
    text-shadow: 1px 1px 2px #e3139e;
}

.castlist-4col article.newface-card span.attend-label {
    font-size: 0.85rem;
}

article.newface-card div.text-info {
    padding: 10px;
    background: #fe86ea;
    color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.castlist-4col article.newface-card div.text-info {
    justify-content: center;
    align-items: center;
}

article.newface-card div.text-info h4 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
}

.castlist-4col article.newface-card div.text-info h4 {
    font-size: 1.05rem;
}

article.newface-card div.text-info ul.sizes {
    font-size: 0.8rem;
    line-height: 1.4em;
    margin-bottom: 8px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.castlist-4col article.newface-card div.text-info ul.sizes {
    font-size: 0.75rem;
    margin-bottom: 0;
}

article.newface-card div.text-info ul.sizes li {
    display: inline-block;
    margin-right: 5px;
}

article.newface-card p.intro-scroll {
    background-color: rgba(255, 255, 255, 0.85);
    color: #6a1b55;
    font-size: 0.78rem;
    line-height: 1.45em;
    padding: 8px;
    border-radius: 6px;
    height: 80px;
    overflow-y: auto;
    text-align: left;
    margin: 0;
    border: 1px solid rgba(254, 134, 234, 0.3);
}

/* --- 料金システム（SYSTEM）テーブル --- */
.erodai-system-box {
    background: #ffffff;
    border: 2px solid #ff69cd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 105, 205, 0.1);
}

.erodai-system-title {
    background: linear-gradient(135deg, #ff69cd, #fe86ea);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.erodai-table {
    width: 100%;
    border-collapse: collapse;
}

.erodai-table tr {
    border-bottom: 1px solid #ffe8f4;
}

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

.erodai-table tr:nth-child(even) {
    background-color: #fff9fc;
}

.erodai-table td {
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #555;
}

.erodai-table td.time {
    color: #73d6fb;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
}

.erodai-table td.price {
    text-align: right;
    color: #ff69cd;
    font-size: 1.15rem;
}

.erodai-table td.price span.tax {
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 5px;
    font-weight: normal;
}

/* --- 口コミセクション --- */
.erodai-review-sec {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.erodai-review-title {
    font-weight: bold;
    color: #ff69cd;
    border-bottom: 2px solid #ff69cd;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.erodai-review-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px dashed #eee;
    padding: 15px 0;
}

.erodai-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.erodai-review-avatar {
    width: 45px;
    height: 45px;
    background-color: #e8f7fe;
    border-radius: 50%;
    color: #73d6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.erodai-review-body {
    flex-grow: 1;
}

.erodai-review-user {
    font-weight: bold;
    font-size: 0.88rem;
    color: #333;
    margin-bottom: 4px;
}

.erodai-review-text {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.55;
}

/* TODAY'S SCHEDULE 4人横並び用レイアウト */
.castlist-4col {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 1.6%;
    margin-bottom: 20px;
}

.castlist-4col article.newface-card {
    width: 23.8%;
    box-sizing: border-box;
    background-image: url(https://cdn1.cdn-fu-kakumei.com/368/renew/pc/images/castlistbg2re.png) !important;
    border: solid 1.5px #fe86ea !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(254, 134, 234, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.castlist-4col article.newface-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(254, 134, 234, 0.3);
}

.castlist-4col article.newface-card div.castimg {
    position: relative;
    width: 100%;
    height: 195px;
    background-color: #fcecf9;
}

.castlist-4col article.newface-card div.castimg img.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.castlist-4col article.newface-card span.new-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    z-index: 10;
}

.castlist-4col article.newface-card span.new-ribbon img {
    display: none !important;
}

.castlist-4col article.newface-card span.new-ribbon::after {
    content: "NEW";
    position: absolute;
    top: 12px;
    right: -16px;
    width: 75px;
    height: 20px;
    background: linear-gradient(135deg, #ff33a3 0%, #ff69cd 100%);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.castlist-4col article.newface-card span.attend-label {
    position: absolute;
    text-align: center;
    bottom: 0px;
    left: 0;
    display: block;
    width: 100%;
    background-color: rgba(254, 134, 234, 0.9);
    color: #feffa1;
    font-size: 0.85rem;
    line-height: 1.25em;
    padding: 4px 0;
    box-sizing: border-box;
    font-weight: bold;
    text-shadow: 1px 1px 2px #e3139e;
}

.castlist-4col article.newface-card div.text-info {
    padding: 10px;
    background: #fe86ea;
    color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.castlist-4col article.newface-card div.text-info h4 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
}

.castlist-4col article.newface-card div.text-info ul.sizes {
    font-size: 0.75rem;
    line-height: 1.4em;
    margin-bottom: 0;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.castlist-4col article.newface-card div.text-info ul.sizes li {
    display: inline-block;
    margin-right: 5px;
}

/* NEW FACE 自動スライダー用レイアウト */
.erodai-newface-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.erodai-newface-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.erodai-newface-slider-track article.slider-card {
    flex: 0 0 31.8% !important;
    box-sizing: border-box;
}

/* 全体の横スクロール（はみ出し）防止 */
html, body {
    overflow-x: hidden !important;
}

/* ============================================================
   ★ フッターデザイン完全統一（キャストページ用オーバーライド）
   ============================================================ */
#footer > div > div > div {
    float: none !important;
    margin-top: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#footer p.caption {
    text-align: center !important;
    float: none !important;
    width: 100% !important;
    margin: 10px 0 !important;
}

#footer #f-navi {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    border-top: 1px solid rgba(254, 134, 234, 0.15) !important;
    border-bottom: 1px solid rgba(254, 134, 234, 0.15) !important;
    padding: 15px 0 !important;
    margin: 15px 0 !important;
}

#footer #f-navi ul {
    width: 100% !important;
    float: none !important;
    display: block !important;
    list-style-type: disc !important;
    list-style-position: inside !important;
    padding: 0 10% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

#footer #f-navi ul li {
    width: 25% !important;
    float: left !important;
    list-style: disc inside !important;
    display: list-item !important;
    border: none !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

#footer address {
    padding-top: 0 !important;
    margin-top: 15px !important;
    text-align: center !important;
    display: block !important;
    clear: both !important;
}

/* PC用：スマホメニュー用スタイル非表示 */
.sp-menu-toggle-btn, .sp-menu-logo-container {
    display: none !important;
}

/* ============================================================
   ★ スマートフォン向け（レスポンシブ）表示調整 CSS ★
   ============================================================ */
@media (max-width: 768px) {
    /* 全体コンテナの幅固定を解除し、左右にパディングを確保 */
    .wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        float: none !important;
    }
    
    #contents .wrap {
        padding: 0 10px !important;
    }

    /* ヘッダー全体の縦並び・中央寄せ化 */
    #header {
        position: relative !important;
        height: auto !important;
        padding: 10px 0 !important;
    }
    #header .wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    #header div.erodai-logo-title {
        font-size: 17px !important;
        letter-spacing: -0.5px !important;
        text-align: center !important;
    }
    #header div.erodai-logo-subtitle {
        font-size: 9px !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
    
    #header .header-content {
        float: none !important;
        width: 100% !important;
        max-width: 350px !important;
        text-align: center !important;
        padding-top: 0 !important;
    }
    #header .header-content h1 {
        text-align: center !important;
        font-size: 9px !important;
        margin-bottom: 8px !important;
    }
    #header .header-content > div {
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    #header .erodai-h-bar {
        height: auto !important;
        flex-direction: column !important;
        width: 100% !important;
        border-radius: 6px !important;
    }
    #header .erodai-h-bar a {
        width: 100% !important;
        padding: 12px 15px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    #header .erodai-h-bar a p {
        font-size: 22px !important;
    }
    #header .erodai-h-bar ul {
        min-width: 100% !important;
        padding: 10px 15px !important;
        align-items: center !important;
    }
    #header #hours {
        border-radius: 4px !important;
        padding: 8px 0 !important;
    }
    #header #hours p {
        font-size: 16px !important;
    }
    #header #hours img {
        width: 22px !important;
        height: 22px !important;
        margin-right: 6px !important;
    }

    /* スマホ用ハンバーガーボタン */
    .sp-menu-toggle-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 38px !important;
        height: 38px !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        z-index: 9999 !important;
        position: fixed !important;
        right: 15px !important;
        top: 15px !important;
        outline: none !important;
        gap: 5px !important;
    }
    
    .sp-menu-toggle-btn span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background-color: #ff69cd !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    .sp-menu-toggle-btn::after {
        content: 'MENU' !important;
        font-family: 'Outfit', 'Noto Sans JP', sans-serif !important;
        font-size: 8px !important;
        font-weight: 900 !important;
        color: #ff69cd !important;
        letter-spacing: 0.5px !important;
        margin-top: 1px !important;
        line-height: 1 !important;
        transition: color 0.3s ease !important;
    }

    /* ハンバーガーアニメーション */
    .sp-menu-toggle-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .sp-menu-toggle-btn.open span:nth-child(2) {
        opacity: 0 !important;
    }
    .sp-menu-toggle-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
    
    .sp-menu-toggle-btn.open::after {
        content: 'CLOSE' !important;
        color: #ff69cd !important;
    }

    /* フルスクリーンナビゲーションメニュー */
    #g-navi {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-image: url('https://erodai.click/wp-content/uploads/2026/05/名称未設定-1920-x-1080-px-2.png') !important;
        background-repeat: repeat !important;
        background-position: center top !important;
        z-index: 9990 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(1.05) !important;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-radius: 0 !important;
        padding: 70px 20px 100px 20px !important;
        overflow-y: auto !important;
    }

    #g-navi.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }

    .sp-menu-logo-container {
        display: block !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    .sp-menu-logo {
        width: 76px !important;
        height: 76px !important;
        border-radius: 50% !important;
        border: 3px solid #ff69cd !important;
        box-shadow: 0 4px 15px rgba(255,105,205,0.3) !important;
        display: inline-block !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }

    #g-navi ul {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    #g-navi ul li {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
        height: auto !important;
        text-align: center !important;
        border-bottom: none !important;
        list-style: none !important;
    }

    #g-navi ul li a {
        font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif !important;
        font-size: 14.5px !important;
        font-weight: 800 !important;
        color: #e06287 !important;
        background: #ffffff !important;
        border: 2px solid #ffdbe7 !important;
        border-radius: 30px !important;
        padding: 8px 0 !important;
        width: 100% !important;
        display: block !important;
        border-right: none !important;
        letter-spacing: 2px !important;
        text-align: center !important;
        transition: all 0.25s ease !important;
        box-shadow: 0 4px 10px rgba(255,105,205,0.12) !important;
        box-sizing: border-box !important;
    }
    
    #g-navi ul li a:hover {
        background: #ffdbe7 !important;
        color: #ffffff !important;
        transform: translateY(-2px) scale(1.03) !important;
        box-shadow: 0 6px 14px rgba(255,105,205,0.2) !important;
    }

    /* 不要になった背景マスクの非表示 */
    .sp-menu-overlay {
        display: none !important;
    }

    /* メインビジュアルの全幅表示 */
    .erodai-main-visual {
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .erodai-main-visual img {
        border-radius: 0 !important;
    }

    /* イベント情報セクション（縦並びへ崩し） */
    .erodai-event-section > div {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .erodai-event-section img {
        max-width: 100% !important;
    }
    /* 見出しコンテナの縦並び化 */
    #contents .erodai-h2-title-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    /* イベント割引リストの縦並び調整 */
    .erodai-event-section ul li {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
    }
    .erodai-event-section ul li span:last-of-type {
        font-size: 11px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    /* 写メ日記・待機情報の縦並び化 */
    .erodai-twin-container {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 出勤情報・新人・キャスト一覧カード：2列並びへ最適化 */
    html body #contents #main .castlist-3col,
    html body #contents #main .castlist-4col,
    html body #contents #main .erodai-newface-slider-track,
    html body #contents #main .castlist {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 12px 2% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    html body #contents #main .castlist article.newface,
    html body #contents #main .castlist-3col article.newface-card,
    html body #contents #main .castlist-4col article.newface-card,
    html body #contents #main .erodai-newface-slider-track article.slider-card {
        width: 49% !important;
        flex: 0 0 49% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 12px !important;
        height: auto !important;
        box-sizing: border-box !important;
        float: none !important;
        clear: none !important;
    }
    
    html body #contents #main .castlist article.newface div.castimg,
    html body #contents #main .castlist-3col article.newface-card div.castimg,
    html body #contents #main .castlist-4col article.newface-card div.castimg,
    html body #contents #main .erodai-newface-slider-track article.slider-card div.castimg {
        height: 190px !important;
    }
    
    html body #contents #main .castlist article.newface div.text,
    html body #contents #main .castlist-3col article.newface-card div.text-info,
    html body #contents #main .castlist-4col article.newface-card div.text-info,
    html body #contents #main .erodai-newface-slider-track article.slider-card div.text-info {
        padding: 8px !important;
        box-sizing: border-box !important;
    }
    
    html body #contents #main .castlist article.newface div.text h4,
    html body #contents #main .castlist-3col article.newface-card div.text-info h4,
    html body #contents #main .castlist-4col article.newface-card div.text-info h4,
    html body #contents #main .erodai-newface-slider-track article.slider-card div.text-info h4 {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
        font-weight: bold !important;
    }
    
    html body #contents #main .castlist article.newface div.text ul.size,
    html body #contents #main .castlist-3col article.newface-card div.text-info ul.sizes,
    html body #contents #main .castlist-4col article.newface-card div.text-info ul.sizes,
    html body #contents #main .erodai-newface-slider-track article.slider-card div.text-info ul.sizes {
        font-size: 0.72rem !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* 新人スライダーの左右の余白（40px）をスマホ表示でリセットしてカードを大きく見せる */
    html body #contents #main .erodai-newface-slider-wrap {
        padding: 0 !important;
    }
    html body #contents #main .erodai-newface-slider-wrap .slider-arrow {
        display: none !important;
    }
    
    /* 新人スライダー自動スクロールの停止（スマホ表示用） */
    html body #contents #main .erodai-newface-slider-track {
        transform: none !important;
    }

    /* clearfix疑似要素がflexアイテム化する問題の解消 */
    html body #contents #main .castlist::before,
    html body #contents #main .castlist::after {
        display: none !important;
        content: none !important;
    }

    /* 月間ランキングカードのスマホ最適化（縦並びにして見やすさ向上） */
    html body #contents #main .erodai-rank-card {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    html body #contents #main .erodai-rank-left,
    html body #contents #main .erodai-rank-right {
        width: 100% !important;
    }
    html body #contents #main .erodai-rank-pt2-container {
        flex-direction: column !important;
        gap: 15px !important;
    }
    html body #contents #main .erodai-rank-photo {
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    /* 下層ページのコンテナ左右余白をスマホ表示でゼロにリセット */
    html body #under #contents #main .container,
    html body #contents #main .container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* カードをすっきり見せるために、スマホでは自己紹介文スクロールを非表示にする */
    article.newface-card p.intro-scroll {
        display: none !important;
    }

    /* レビュー（口コミ）セクション */
    .erodai-review-section > div {
        padding: 15px !important;
    }

    /* 料金システムテーブルの文字サイズと余白調整 */
    .erodai-table td {
        padding: 10px 8px !important;
        font-size: 0.82rem !important;
    }
    .erodai-table td.time {
        font-size: 0.9rem !important;
    }
    .erodai-table td.price {
        font-size: 0.9rem !important;
    }
    
    /* フッターナビの調整：3列並び */
    #footer #f-navi ul {
        padding: 0 5% !important;
    }
    #footer #f-navi ul li {
        width: 33.33% !important;
        font-size: 11px !important;
    }

    /* メニューオープン時に右下の固定ボタン群を非表示にする */
    #g-navi.open ~ #erodai-floating-event-btn,
    #g-navi.open ~ #sns-float-bar {
        display: none !important;
    }
}

