/*
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://www.mesudeli.tokyo/wp-content/uploads/2026/05/名称未設定-1920-x-1080-px-1920-x-1080-px-1920-x-1080-px-8-1.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: #19bccb !important;
    text-shadow: 0px 0px 4px rgba(25,188,203,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: #19bccb; }
    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: #19bccb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(25,188,203,0.15) !important;
}

#scheduleTab ul.tab li a.current {
    background: linear-gradient(135deg, #19bccb 0%, #19bccb 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(25,188,203,0.3) !important;
}

#system h3 {
    background: #19bccb;
    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(255, 59, 48, 0.05) !important;
    border-top: 1px solid rgba(255, 59, 48, 0.15) !important;
    border-bottom: 1px solid rgba(255, 59, 48, 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: #19bccb !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 #19bccb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.erodai-campaign-tag {
    display: inline-block;
    background-color: #19bccb;
    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 #ff3b30 !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 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(255, 59, 48, 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%, #19bccb 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(255, 59, 48, 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 #9b0c13;
}

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

article.newface-card div.text-info {
    padding: 10px;
    background: #ff3b30;
    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(255, 59, 48, 0.3);
}

/* --- 料金システム（SYSTEM）テーブル --- */
.erodai-system-box {
    background: #ffffff;
    border: 2px solid #19bccb;
    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, #19bccb, #ff3b30);
    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: #19bccb;
    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: #19bccb;
    border-bottom: 2px solid #19bccb;
    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 #ff3b30 !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 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(255, 59, 48, 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%, #19bccb 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(255, 59, 48, 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 #9b0c13;
}

.castlist-4col article.newface-card div.text-info {
    padding: 10px;
    background: #ff3b30;
    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(255, 59, 48, 0.15) !important;
    border-bottom: 1px solid rgba(255, 59, 48, 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;
}

/* デスクトップ表示用：スマホ用メニュー要素を非表示に */
.erodai-menu-trigger,
.erodai-menu-drawer {
    display: none;
}

/* ============================================================
   ★ フローティングイベントバナー＆イベント左寄せ（キャッシュ対策用） ★
   ============================================================ */
.erodai-floating-event-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto !important;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.erodai-floating-event-banner.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.erodai-floating-event-banner a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #19bccb 0%, #9b0c13 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(227, 19, 158, 0.4) !important;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    border: 2px solid #fff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap !important;
}
.erodai-floating-event-banner a:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(227, 19, 158, 0.6) !important;
}
.erodai-floating-event-banner .gift-icon {
    font-size: 16px !important;
    line-height: 1 !important;
}

/* イベント情報（Discount）セクションの左寄せ（テーマのセンタリング上書き） */
.erodai-event-section {
    text-align: left !important;
}
.erodai-event-section h3,
.erodai-event-section p,
.erodai-event-section span,
.erodai-event-section div,
.erodai-event-section ul,
.erodai-event-section li {
    text-align: left !important;
}
.erodai-event-section .erodai-event-badge {
    text-align: center !important;
    width: fit-content !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;
    }

    /* 親テーマによる.containerの左余白(75px)をモバイルでは解除して全幅化 */
    body #contents .container,
    body #under .container,
    body .container {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* ヘッダー全体の縦並び・中央寄せ化 */
    #header {
        height: auto !important;
        padding: 10px 0 !important;
    }
    #header .wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    #header .logo {
        float: none !important;
        width: 100% !important;
        margin-top: 10px !important;
        text-align: center !important;
    }
    #header .logo a {
        transform: none !important;
        transform-origin: center top !important;
        margin-top: 0 !important;
        display: inline-block !important;
    }
    #header .logo div:first-of-type {
        font-size: 20px !important;
        letter-spacing: -0.5px !important;
        text-align: center !important;
    }
    #header .logo div:last-of-type {
        font-size: 10px !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;
    }

    /* グローバルナビゲーションを非表示にしてハンバーガーメニューへ移行 */
    #g-navi {
        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;
    }

    /* 出勤情報・キャスト一覧カード：2列並びへ最適化 */
    .castlist-3col, .castlist-4col {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 12px 2% !important;
        width: 100% !important;
    }
    
    .castlist-3col article.newface-card,
    .castlist-4col article.newface-card {
        width: 49% !important;
        flex: 0 0 49% !important;
        margin: 0 !important;
    }

    /* 新人紹介スライダー：スマホ時はネイティブ横フリックスクロールへ最適化 */
    .erodai-newface-slider-viewport {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
    }
    .erodai-newface-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: max-content !important;
        gap: 12px !important;
        transform: none !important; /* JSによるスライド翻訳を無効化 */
    }
    .erodai-newface-slider-track article.slider-card {
        width: 140px !important;
        flex: 0 0 140px !important;
        margin: 0 !important;
    }
    .erodai-newface-slider-wrap {
        padding: 0 !important;
    }
    .erodai-newface-slider-wrap .slider-arrow {
        display: none !important;
    }

    /* 系列店紹介のスマホ表示崩れ修正（縦並び ＆ 横幅比率調整） */
    .erodai-sister-list {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .erodai-sister-card {
        width: 100% !important;
    }
    .erodai-sister-card .sister-icon-wrap {
        width: 80px !important; /* 横幅を140pxから80pxに縮小しテキスト幅を確保 */
        flex-shrink: 0 !important;
        padding: 10px !important;
    }
    .erodai-sister-card .sister-icon-wrap span:first-child {
        font-size: 32px !important; /* アイコンサイズも微調整 */
    }
    
    article.newface-card div.castimg,
    .castlist-4col article.newface-card div.castimg {
        height: 190px !important;
    }
    
    article.newface-card div.text-info {
        padding: 8px !important;
    }
    
    article.newface-card div.text-info h4 {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
    }
    
    article.newface-card div.text-info ul.sizes {
        font-size: 0.72rem !important;
        margin-bottom: 0 !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;
    }

    /* ==========================================
       スマホ用ハンバーガーメニューのスタイル
       ========================================== */
    body.menu-open {
        overflow: hidden !important; /* メニュー展開時に背面スクロールを固定 */
    }

    /* 1. ハンバーガーボタン（フローティング丸ボタン） */
    .erodai-menu-trigger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed !important;
        top: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, #19bccb 0%, #ff1493 100%);
        box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
        z-index: 100000 !important; /* 最前面に配置 */
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        padding-top: 4px; /* 三本線とテキストのバランスを取るための上パディング */
        box-sizing: border-box !important;
    }
    .erodai-menu-trigger:active {
        transform: scale(0.9);
    }
    .erodai-menu-trigger span:not(.menu-text) {
        display: block;
        width: 18px; /* 三本線の幅を少し細くしてMENUテキストのスペースを作る */
        height: 2px;
        background: #ffffff;
        margin: 2px 0;
        transition: all 0.3s ease-in-out;
        border-radius: 2px;
    }
    /* ボタンのアニメーション（✕に変形） */
    .erodai-menu-trigger.active span:nth-of-type(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .erodai-menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .erodai-menu-trigger.active span:nth-of-type(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    /* MENU / CLOSE テキスト */
    .erodai-menu-trigger .menu-text {
        display: block !important;
        font-size: 8px !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        margin-top: 2px !important;
        letter-spacing: 0.5px !important;
        line-height: 1 !important;
        transition: opacity 0.3s ease;
        font-family: 'Outfit', sans-serif !important;
    }

    /* 2. メニュー引き出し（ドロワー） */
    .erodai-menu-drawer {
        display: block !important;
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        z-index: 99999 !important;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        box-sizing: border-box;
    }
    .erodai-menu-drawer.active {
        right: 0 !important;
    }
    .erodai-menu-drawer .drawer-inner {
        padding: 85px 25px 40px;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        box-sizing: border-box;
    }

    /* ドロワー内ロゴ */
    .erodai-menu-drawer .drawer-logo {
        text-align: center;
        margin-bottom: 35px;
    }
    .erodai-menu-drawer .drawer-logo .main-title {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 20px;
        font-weight: 800;
        color: #19bccb;
        text-shadow: 2px 2px 0 rgba(25,188,203,0.1);
        margin: 0 0 6px 0;
        line-height: 1.2;
    }
    .erodai-menu-drawer .drawer-logo .sub-title {
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        font-weight: 800;
        color: #777777;
        letter-spacing: 1.5px;
        margin: 0;
    }

    /* ドロワーナビゲーションリンク */
    .erodai-menu-drawer .drawer-nav {
        list-style: none;
        padding: 0;
        margin: 0 0 35px 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .erodai-menu-drawer .drawer-nav li {
        margin: 0;
        padding: 0;
    }
    .erodai-menu-drawer .drawer-nav li a {
        display: block;
        padding: 13px 20px;
        background: #fff5fa;
        border: 1px solid #ffe3ef;
        border-radius: 28px;
        text-align: center;
        color: #ff1493;
        text-decoration: none;
        font-size: 16px;
        font-weight: 800;
        box-shadow: 0 2px 6px rgba(255, 20, 147, 0.04);
        transition: background-color 0.2s, transform 0.1s;
    }
    .erodai-menu-drawer .drawer-nav li a:active {
        background: #ffe3ef;
        transform: scale(0.98);
    }

    /* ドロワーフッター（電話・SNS） */
    .erodai-menu-drawer .drawer-footer {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 15px;
        border-top: 1px dashed #eee;
    }
    .erodai-menu-drawer .drawer-tel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 54px;
        background: #19bccb;
        color: #ffffff;
        border-radius: 27px;
        text-decoration: none;
        font-size: 21px;
        font-weight: bold;
        font-family: 'Outfit', sans-serif;
        box-shadow: 0 4px 10px rgba(25,188,203,0.25);
        transition: opacity 0.2s;
    }
    .erodai-menu-drawer .drawer-tel-btn:active {
        opacity: 0.9;
    }
    .erodai-menu-drawer .drawer-tel-btn img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        filter: brightness(0) invert(1);
    }
    .erodai-menu-drawer .drawer-sns {
        display: flex;
        gap: 12px;
    }
    .erodai-menu-drawer .drawer-sns .sns-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border-radius: 23px;
        text-decoration: none;
        color: #ffffff;
        font-size: 13.5px;
        font-weight: bold;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        transition: opacity 0.2s;
    }
    .erodai-menu-drawer .drawer-sns .sns-btn:active {
        opacity: 0.9;
    }
    .erodai-menu-drawer .drawer-sns .sns-btn.line {
        background: #06C755;
    }
    .erodai-menu-drawer .drawer-sns .sns-btn.twitter {
        background: #111111;
    }

    /* フローティングイベントバナー：スマホ調整 */
    .erodai-floating-event-banner {
        bottom: 15px !important; /* SNSバー(80px)の下になるように1行分下に移動 */
        right: 15px !important;  /* 右側に配置 */
        left: auto !important;
    }
    .erodai-floating-event-banner a {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }

    /* セクションタイトルヘッダーのスマホ調整（左寄せ＆縦並び） */
    .erodai-h2-title-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        text-align: left !important;
    }
    .erodai-h2-title {
        align-items: flex-end !important;
        text-align: left !important;
        width: 100% !important;
    }
    .erodai-h2-title .en {
        font-size: 24px !important; /* スマホ用に少し小さく調整 */
        text-align: left !important;
    }
    .erodai-h2-title .jp {
        font-size: 12px !important;
        text-align: left !important;
    }
    .sub-date {
        font-size: 11px !important;
        text-align: left !important;
        width: 100% !important;
    }
}

