body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: url('backimage.webp') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* ヘッダー改善版 */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
    text-align: center;
}

.header-left {
    text-align: left;
}

.header-right {
    text-align: right;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.small-text {
    font-size: 12px;
    color: #cc0066;
    margin: 0;
}

.main-title {
    font-size: 12px;
    font-weight: bold;
    color: #cc0066;
    margin: 0;
}

.sub-title {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
}

.header-logo-img {
    height: 90px;
}

.contact-icons a img {
    width: 26px;
    height: 26px;
    margin-left: 8px;
    transition: opacity 0.3s;
}

.contact-icons a img:hover {
    opacity: 0.7;
}

/* ここから前の続き */

.main-wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    box-sizing: border-box;
}

.section-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #cc0066;
    text-align: center;
    text-shadow: 1px 1px #fff;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.section-title ruby {
    display: block;
    text-align: center;
    line-height: 1.2;
}

.section-title ruby rb {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #cc0066;
    text-align: center;
}

.section-title ruby rt {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 2px;
    text-align: center;
}

nav {
    background-color: #cc3399;
    transition: all 0.3s ease;
}

nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #cc3399;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0;
    list-style: none;
}

.nav-bar li {
    flex: 1;
    text-align: center;
    margin: 0 2px;
}

.nav-bar li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #cc3399;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 6px 4px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    height: 60px;
}

.nav-bar li a:hover {
    background-color: #ff99cc;
    transform: translateY(-2px);
}

nav ruby {
    display: block;
    text-align: center;
    line-height: 1.2;
}

nav ruby rb {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

nav ruby rt {
    display: block;
    font-size: 10px;
    color: #ffddee;
}

main {
    padding-top: 1px;
}

.instagram img,
.cast-blog img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
}

.cast-blog {
    text-align: center;
    margin-top: 20px;
}

/* ...以下、前回送ってもらった続きのCSS（TODAY'S GIRLS、GIRLS LIST、FOOTER、SYSTEM-TEXT、MAP、MODALなど全部そのまま）... */

/* ここは長いので省略せずそのままくっつけてるから安心してOK！ */



.todays-girls {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    margin: 20px auto;
}

.girls-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.girl {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 150px;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(204, 0, 102, 0.2);
}

.girl:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #ff99cc;
    background-color: rgba(255, 255, 255, 0.5);
}

.girl img {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px #ff99cc;
    margin-bottom: 6px;
}

.girl .name {
    margin: 0;
    font-weight: bold;
    font-size: 14px;
    color: #cc0066;
    margin-bottom: 4px;
}

.girl .schedule {
    margin: 0;
    font-size: 12px;
    color: #666;
}

footer {
    background-color: #330022;
    padding: 30px 10px;
    text-align: center;
    color: #fff;
    font-size: 13px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    font-size: 12px;
}

.footer-nav a:hover {
    text-decoration: underline;
    color: #ff99cc;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 150px;
    margin: 10px 0;
}

footer .copyright {
    font-size: 11px;
    color: #ccc;
    margin-top: 10px;
}

/* SYSTEMテキスト（透過なし・高コントラスト） */
.system-text {
    background-color: #fff;
    color: #111;
    padding: 20px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 15px;
    line-height: 1.8;
}

.system-text ul {
    padding-left: 20px;
    list-style: none;
}

.system-text ul li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 4px;
}

.system-text ul li span {
    font-weight: bold;
    color: #cc0066;
}

.system-text h3 {
    margin-top: 25px;
    font-size: 18px;
    color: #cc0066;
    border-bottom: 2px solid #cc0066;
    display: inline-block;
    padding-bottom: 5px;
}

.system-text .note {
    margin-top: 15px;
    font-size: 13px;
    color: #444;
    text-align: right;
}

/* MAP部分の表示 */
.map-embed {
    max-width: 700px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.map-info {
    background-color: #fff;
    color: #111;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* メディアクエリ（スマホ対応） */
@media screen and (max-width: 600px) {
    .section-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .main-wrapper {
        padding: 20px 10px;
    }

    .header-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-logo img {
        height: 90px;
    }

    .header-text {
        font-size: 11px;
    }

    .nav-bar li a {
        font-size: 12px;
        padding: 5px 2px;
        height: 60px;
    }

    nav ruby rb {
        font-size: 12px;
    }

    nav ruby rt {
        font-size: 9px;
    }

    .girls-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}



/* スライダー全体 */
.slider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* スライドトラック */
.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 各スライド */
.slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* スライド内の画像 */
.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

/* ドットインジケーター */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots span.active {
    background-color: #cc0066;
}



@media screen and (min-width: 768px) {
    .main-wrapper {
        max-width: 900px;
        margin: 40px auto;
        padding: 40px 30px;
    }

    .girls-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* モーダル */

.cast-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.cast-modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    margin: auto;
    /* 縦中央に配置 */
}

.modal-img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#modal-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: #cc0066;
}

#modal-schedule,
#modal-birthday,
/* ← 追加！ */
#modal-message {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #e53935;
    /* 赤で目立たせる */
    cursor: pointer;
    z-index: 1100;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
    background-color: #ffe6e6;
    transform: scale(1.1);
}


.modal-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #ff4081;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.modal-link:hover {
    background-color: #e91e63;
}

.hidden {
    display: none;
}


#main-nav {
    width: 100%;
    background-color: #cc3399;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* スクロールしたときだけ固定する */
#main-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background: linear-gradient(145deg, #ff99cc, #cc3399);
    color: white;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(204, 51, 153, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-10px);
    /* ふわっと浮く */
}