@charset "UTF-8";

/* ============================================
   Mobile Styles (max-width: 768px)
   完全重写版 — 干净、稳定、无层叠冲突
   ============================================ */

/* ============================================
   0. Reset & Base
   ============================================ */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   1. Header / Logo
   ============================================ */
#header {
    background: #f0f0f5;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background-color 0.25s ease;
}

#header.scrolled {
    background: #e8e8f0;
    box-shadow: 0 2px 10px rgba(120, 120, 150, 0.08);
}

.header-inner {
    height: 60px;
    padding: 0 15px;
}

.logo-jp {
    font-size: 1.2rem;
}

.logo-en {
    font-size: 1rem;
}

.header-tel {
    display: none;
}

/* ============================================
   2. Menu Toggle (JS移到body直接子元素)
   z-index: 9100
   ============================================ */
#menuToggle {
    display: flex;
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 9100;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #f0f0f5;
    border: 1px solid rgba(160, 160, 180, 0.2);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(120, 120, 150, 0.1);
}

#menuToggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #4a4a58;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menuToggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menuToggle.active span:nth-child(2) {
    opacity: 0;
}

#menuToggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   3. Navigation (JS移到body直接子元素)
   z-index: 9000
   ============================================ */
.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #e8e8f0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 9000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-main.active {
    transform: translateX(0);
}

.nav-main ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 32px;
    padding: 80px 0 40px;
}

.nav-main a {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}

/* ============================================
   4. Hero
   ============================================ */
.hero {
    min-height: 500px;
    height: 85vh;
}

.hero-banner-desktop {
    display: none;
}

.hero-banner-mobile {
    display: block;
}

.hero-content {
    padding: 0 15px;
}

.hero-badges {
    gap: 10px;
}

.hero-badge {
    padding: 8px 20px;
}

.badge-text {
    font-size: 0.72rem;
}

/* ============================================
   5. Section Common
   ============================================ */
.section {
    padding: 60px 15px;
}

.section-header {
    margin-bottom: 40px;
}

.section-en {
    font-size: 2.2rem;
}

.section-deco {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.section-jp {
    font-size: 0.95rem;
}

/* ============================================
   6. Pick'Up (Swiper)
   ============================================ */
.pickup-swiper {
    padding: 0 0 50px;
    overflow: hidden;
}

.pickup-swiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pickup-card {
    width: 100%;
    max-width: 340px;
    height: 540px;
}

.pickup-img {
    height: 400px;
}

.pickup-info {
    padding: 15px 20px;
}

.pickup-name {
    font-size: 1.3rem;
}

.pickup-comment {
    font-size: 0.72rem;
    line-height: 1.6;
}

/* Swiper nav/pagination on mobile */
.pickup-swiper .swiper-button-prev,
.pickup-swiper .swiper-button-next {
    display: none;
}

/* ============================================
   7. NEWS
   ============================================ */
.news-container {
    padding: 20px 20px;
}

.news-list {
    max-height: 300px;
    padding-right: 12px;
}

.news-item {
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
}

.news-item time {
    font-size: 0.75rem;
    min-width: auto;
}

.news-cat {
    align-self: flex-start;
}

.news-text {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ============================================
   8. EVENT
   ============================================ */
.event-slide {
    /* 无固定高度，图片等比例缩放 */
}

.event-slide-img img {
    width: 100%;
    height: auto;
}

.event-overlay {
    padding: 20px 25px 18px;
}

.event-title {
    font-size: 1.1rem;
}

.event-desc {
    font-size: 0.75rem;
}

.event-swiper .swiper-button-prev,
.event-swiper .swiper-button-next {
    display: none;
}

/* ============================================
   9. THERAPIST
   ============================================ */
.therapist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.therapist-img {
    height: 300px;
}

.therapist-info {
    padding: 12px 15px;
}

.therapist-name {
    font-size: 1.1rem;
}

.therapist-age {
    font-size: 0.75rem;
}

.therapist-size {
    font-size: 0.72rem;
}

.therapist-keyword {
    font-size: 0.68rem;
}

/* ============================================
   10. SYSTEM
   ============================================ */
.system-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.system-card-img {
    height: 130px;
}

.system-card-info {
    padding: 15px 15px 18px;
}

.system-course-name {
    font-size: 0.95rem;
}

.system-course-price {
    font-size: 1.1rem;
}

.system-course-desc {
    font-size: 0.68rem;
}

.system-notes {
    padding: 20px;
}

.notes-list {
    flex-direction: column;
    gap: 8px;
}

.notes-list li {
    font-size: 0.75rem;
}

/* ============================================
   11. ACCESS
   ============================================ */
.access-container {
    flex-direction: column;
    gap: 25px;
    padding: 25px 20px;
}

.access-item {
    padding: 12px 0;
}

.access-item dt {
    font-size: 0.7rem;
}

.access-item dd {
    font-size: 0.85rem;
}

.access-tel {
    font-size: 1.1rem;
}

.access-map {
    min-height: 280px;
}

.access-map iframe {
    min-height: 280px;
}

/* ============================================
   12. ROOM
   ============================================ */
.room-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* ============================================
   13. Footer
   ============================================ */
.footer {
    padding: 35px 15px 80px;
}

.footer-nav {
    gap: 15px 25px;
}

.footer-nav a {
    font-size: 0.75rem;
}

.footer-info p {
    font-size: 0.72rem;
}

.footer-copy {
    font-size: 0.62rem;
}

/* ============================================
   14. Mobile Floating Buttons (JS注入body)
   z-index: 9200
   ============================================ */
#mfb-container {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9200;
    pointer-events: auto;
}

#mfb-container a,
#mfb-container button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(120, 120, 150, 0.25);
    box-sizing: border-box;
    pointer-events: auto;
}

#mfb-container svg {
    width: 20px;
    height: 20px;
}

#mfb-tel {
    background: linear-gradient(135deg, #c8c8dc, #a0a0c8);
    color: #fff;
}

#mfb-tel:active {
    transform: scale(0.92);
}

#mfb-top {
    background: linear-gradient(135deg, #ffffff, #f0f0fa);
    color: #4a4a58;
    border: 1px solid rgba(160, 160, 180, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#mfb-top.mfb-show {
    opacity: 1;
    pointer-events: auto;
}

#mfb-top:active {
    transform: scale(0.92);
}

/* ============================================
   15. Detail Page
   ============================================ */
.profile-hero {
    padding: 90px 15px 40px;
}

.profile-hero-inner {
    flex-direction: column;
    gap: 25px;
}

.profile-main-img {
    flex: none;
    width: 100%;
}

.profile-main-img img {
    height: 480px;
    object-fit: cover;
}

.profile-text {
    padding: 25px 20px;
}

/* ================================
   CMS additions
   ================================ */
.logo-img {
    height: 34px;
}

.footer-logo .logo-img {
    height: 44px;
}
