:root {
    --gold: #d4a024;
    --gold-dark: #b88a1f;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #f5f5f5;
}

/* Utility Classes */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* Header height + buffer */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--black);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Global Header */
#global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    padding: 10px 20px;
    transition: background 0.3s ease;
}

#global-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-list a:hover {
    color: var(--gold);
}

.header-contact-btn {
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-contact-btn:hover {
    background: var(--white);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Mobile Responsive Adjustments (Simple) */
@media (max-width: 1024px) {
    .nav-list {
        display: none;
        /* Hide menu items on small screens for now, keep button or logo */
    }
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    top: 18px;
    right: 20px;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }
}

/* Hamburger Active State (X icon) */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 90%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Slide in */
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    color: #ffffff00;
}

.mobile-nav-close:hover {
    opacity: 1;
}

.mobile-nav-content {
    text-align: center;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 25px;
}

.mobile-nav-list a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: var(--gold);
}



/* Hero Section */
/* Hero Section */
/* .hero and .hero-bg settings moved to lines ~190+ to avoid duplication */


.hero-content {
    position: relative;
    z-index: 50;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.hero-title.is-fixed {
    position: fixed;
    top: 20vh;
    left: 0;
    /* JSで計算して設定 */
    z-index: 100;
    margin: 0;
    width: 100%;
    pointer-events: none;
    /* 下の要素をクリックできるように */
}

.hero-title-wrapper {
    position: relative;
    width: 100%;
}

.hero-title-line {
    display: block;
    opacity: 0;
    color: inherit;
}

.hero-title-line:nth-child(1) {
    animation: fadeUp 1s ease-out 0.5s forwards;
    color: #D4A024;
}

.hero-title-line:nth-child(2) {
    animation: fadeUp 1s ease-out 0.7s forwards;
}




/* 1. .hero 自体の背景指定を削除（または transparent に） */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    /* 背景は .hero-bg に任せる */
}

/* 2. 背景専用要素の設定（擬似パララックス） */
.hero-bg {
    position: fixed;
    /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* コンテンツの背後に配置 */

    /* background-attachment: fixed は削除または scroll に変更 */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%),
        url('../img/hero_background.jpg') center/cover no-repeat;

    /* モバイルでの表示崩れを防ぐための追加設定 */
    will-change: transform;
    /* ブラウザに最適化を促す */
}

@media (max-width: 768px) {
    .hero-bg {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%),
            url('../img/hero_background_sp.png') center / cover no-repeat;
    }

    .hero-content {
        padding: 0px !important;
    }
}

/* 3. 他のセクションが背景を隠すように設定 */
/* すでに設定されているようですが、背景色を明示的に指定します */
.concept,
.recommend,
.points,
.trainers,
.price,
.shops,
footer {
    position: relative;
    z-index: 10;
    /* または var(--white) */
}


/* Hero Title Color Transition for Concept Section */

/* Hero Title Color Transition for Concept Section */
.hero-title.is-in-concept .hero-title-line:nth-child(1) {
    color: var(--gold) !important;
}

.hero-title.is-in-concept .hero-title-line:nth-child(2) {
    color: var(--black) !important;
}

/* Ensure sections have background colors to cover the fixed hero background */
.concept,
.recommend,
.points,
.trainers,
.price,
.shops,
footer {
    position: relative;
    z-index: 10;
    background-color: var(--white);
}

.concept-title-placeholder {
    width: 100%;
    height: 200px;
    /* Approximate height of the 2-line title */
    margin-bottom: 60px;
    /* background: rgba(255,0,0,0.1); Debugging */
}



.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-top: 40px;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease-out 1.1s forwards;
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
    transform: translateY(0);
}

.hero-description.fade-out {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinning Badge */
.spinning-badge {
    position: fixed;
    bottom: 60px;
    right: 60px;
    width: 160px;
    height: 160px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.spinning-badge:hover {
    transform: scale(1.1);
}

.badge-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(212, 160, 36, 0.4);
}

.badge-text-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-text {
    position: absolute;
    width: 100%;
    height: 100%;
}

.badge-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--black);
    text-align: center;
    line-height: 1.2;
}

/* Section Common */
section {
    padding: 120px 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black);
}

.section-title span {
    color: var(--gold);
}

.section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 80px;
    letter-spacing: 0.1em;
}

/* Concept Section */
.concept {
    background: #f9f9f9;
    /* Match light gray background */
    padding-top: 100px;
    padding-bottom: 100px;
}

.concept-heading {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 60px;
    text-align: left;
    /* Align left as per image? Or center? Image creates a layout. Let's try centered or constrained left. Image shows it pushed to left/top. */
    /* Actually, the reference image has the text at top left-ish. Let's keep it generally centered or container constrained. */
    padding-left: 20px;
    /* Slight offset */
}

.concept-line-gold {
    display: block;
    color: var(--gold);
    margin-bottom: 10px;
}

.concept-line-black {
    display: block;
    color: var(--black);
}

.concept-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.concept-image-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.concept-text {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    color: var(--black);
    font-weight: 900;
}

.concept-text .highlight {
    color: var(--gold);
    font-size: 1.6rem;
}

/* Concept Slider - PC版ではドット非表示 */
.concept-slider-dots {
    display: none;
}

@media print,
screen and (max-width: 599px) {
    .concept-slider-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        padding-bottom: 3px;
    }
}

/* Recommend Section */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.recommend-item {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 36, 0.3);
}

.recommend-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommend-item:hover .recommend-bg {
    transform: scale(1.1);
}

.recommend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for readability */
    transition: background 0.3s ease;
}

.recommend-item:hover .recommend-overlay {
    background: rgba(0, 0, 0, 0.3);
    /* Slightly lighter on hover */
}

.recommend-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    color: var(--white);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Points Section */
.points {
    background: var(--gray);
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.point-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-10px);
}

.point-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.point-content {
    padding: 40px 32px;
}

.point-number {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.point-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.5;
}

.point-description {
    color: #555;
    line-height: 1.8;
}

.point-list {
    list-style: none;
    margin-top: 20px;
}

.point-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: #555;
}

.point-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 900;
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.trainer-card {
    text-align: center;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.trainer-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(212, 160, 36, 0.3);
}

.trainer-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
}

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

.trainer-name {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.trainer-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Modal Popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--gold);
}

.modal-body {
    display: flex;
    gap: 40px;
    padding: 0px;
}

.modal-left {
    flex: 0 0 320px;
}

.modal-trainer-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-trainer-name {
    text-align: center;
    background: var(--black);
    color: var(--white);
    padding: 12px;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.modal-trainer-name-en {
    text-align: center;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-qualification {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.modal-qualification-title {
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--black);
}

.modal-qualification-list {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.modal-right {
    flex: 1;
}

.modal-profile-title {
    font-size: 2rem;
    font-family: 'Brush Script MT', cursive;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--black);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section-title {
    background: #6c757d;
    color: var(--white);
    padding: 10px 20px;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 4px;
}

.modal-section-content {
    padding: 0 20px;
    line-height: 2;
    color: #555;
}

.modal-section-content div {
    margin-bottom: 8px;
}

/* Price Section Parallax Background (Fixed Layer) */
.price-parallax-bg {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    /* Black background behind image */
    background-image: url('../img/price_bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    /* Hidden by default */
}

@media screen and (max-width: 768px) {
    .price-parallax-bg {
        background-image: url('../img/price_bg_sp.png');
    }
}

/* Price Section (Parallax) */
.price {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    background: transparent;
    /* Let the fixed bg show through */
}

/* Overlay for Price Section */
.price::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Ensure content sits above overlay */
.price .container {
    position: relative;
    z-index: 2;
}

/* Adjust section title/subtitle colors for dark background */
.price .section-title {
    color: var(--white);
}

.price .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Overlay for Price Section */
.price::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    z-index: 1;
}

/* Ensure content sits above overlay */
.price .container {
    position: relative;
    z-index: 2;
}

/* Adjust section title/subtitle colors for dark background */
.price .section-title {
    color: var(--white);
}

.price .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Price Cards Grid */
.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for Tablet */
    }
}

@media (max-width: 768px) {
    .price-cards {
        grid-template-columns: 1fr;
        /* 1 column for Mobile */
    }
}

.price-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 45px 15px 25px 15px;
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card.bg-gray {
    background-color: #f9f9f9;
    margin-right: 40px;
    margin-left: 0;
}

/* Recommended Style */
.price-card.recommended {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 160, 36, 0.2);
    z-index: 2;
    transform: scale(1.1);
    margin-left: 15px;
    margin-right: 15px;
}

.price-card.recommended:hover {
    transform: scale(1.1) translateY(-5px);
}

.recommended-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
    padding: 4px 18px;
    font-size: 0.75rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.price-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 769px) {
    .price-header_last {
        height: 84.35px;
    }
}

@media (max-width: 768px) {
    .price-header_last {
        height: 85.34px;
    }
}

.price-plan-name {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--black);
    line-height: 1.3;
}

.price-sub-name {
    font-size: 0.75rem;
    color: #888;
    font-weight: 700;
}

/* Card Body */
.price-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Price Cost Area */
.price-cost-area {
    margin-bottom: 12px;
}

.price-amount-wrapper {
    color: var(--black);
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 3px;
}

.currency {
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 2px;
}

.amount {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.small-yen {
    font-size: 1.2rem;
    /* Slightly larger than currency */
    font-weight: 700;
    margin-left: 2px;
    margin-right: 2px;
}

.price-tax {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
}

/* Per Session Box */
.price-per-session {
    background: #d4a02414;
    border: 1px solid #d4a024;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: var(--black);
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.price-per-session.highlight {
    background: rgba(212, 160, 36, 0.05);
    border-color: rgba(212, 160, 36, 0.2);
    color: var(--gold-dark);
}

.price-per-session .value {
    font-size: .9rem;
    font-weight: 900;
    color: #d4a024;
}

.price-per-session.highlight .value {
    color: var(--gold-dark);
}

.price-per-session .tax {
    font-size: 0.65rem;
    font-weight: normal;
    color: #999;
}

/* Features */
.price-features {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.price-features p {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 700;
    background: #1a1a1a;
    width: 100%;
}

.price-note {
    text-align: center;
    margin-top: 40px;
}

/* Shop Link (Store Page) */
.shop-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.shop-link:hover {
    opacity: 0.7;
}

/* Staff Details Button */
.shop-link-staff {
    display: inline-block;
    border: 2px solid #ff6b6b;
    /* Reddish color for distinction as requested/implied */
    color: #ff6b6b;
    padding: 8px 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
}

.shop-link-staff:hover {
    background: #ff6b6b;
    color: #fff;
}


/* Shops Section */
.shops {
    background: var(--white);
    background-color: #ffffff !important;
    padding: 100px 40px;
    position: relative;
    z-index: 10;
}

/* Prefecture Tabs */
.prefecture-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px 0;
}

.tab-btn {
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid var(--gold);
    background: var(--white);
    color: var(--gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(212, 160, 36, 0.1);
}

.tab-btn.active {
    background: var(--gold);
    color: var(--white);
}

/* Hide shops by default if they don't match active prefecture */
.shop-card {
    display: flex;
}

.shop-card[data-prefecture]:not([data-prefecture="osaka"]) {
    display: none;
}


.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.shop-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.shop-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.shop-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-logo {
    max-width: fit-content;
    height: 60px;
    margin-bottom: 15px;
}

.shop-name {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.4;
}

.shop-detail {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.shop-label {
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    width: 3.5em;
}

.shop-tel {
    font-size: 1.1em;
    line-height: 23px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.shop-tel:hover {
    color: #d4a024;
}

.shop-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.shop-link,
.shop-link-staff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--black);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    flex: 1;
    transition: opacity 0.3s ease;
    border: none;
}

.shop-link:hover,
.shop-link-staff:hover {
    opacity: 1;
}

.shop-link-staff:hover {
    background: #1a1a1a;
    color: #fff;
}

.shop-link::after,
.shop-link-staff::after {
    content: "→";
    font-family: sans-serif;
    font-weight: 400;
    margin-left: 5px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
    display: inline-block;
}

.shop-link:hover::after,
.shop-link-staff:hover::after {
    transform: translateX(4px);
}

/* Address Link */
.shop-address-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.shop-address-link:hover {
    color: var(--gold);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    text-align: center;
    color: var(--white);
    padding: 100px 40px;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--gold);
    padding: 20px 60px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .spinning-badge {
        width: 120px;
        height: 120px;
        bottom: 30px;
        right: 30px;
    }

    .badge-center-text {
        font-size: 1.3rem;
    }

    section {
        padding: 80px 24px;
    }

    .section-title {
        font-size: 2rem;
    }

    .concept-text {
        font-size: 1.3rem;
    }

    .concept-text .highlight {
        font-size: 1.6rem;
    }

    .recommend-grid,
    .points-grid,
    .concept-images {
        grid-template-columns: 1fr;
    }

    .shops-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        flex-direction: column;
        padding: 0;
    }

    .modal-left {
        flex: none;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .shop-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: none;
    }

    .shop-logo {
        max-width: 120px !important;
        height: auto !important;
        margin-bottom: 15px;
        display: none;
    }

    .shop-phone-row {
        display: none;
    }
}

/* Price Slider for Mobile (max-width: 599px) */
@media print,
screen and (max-width: 599px) {
    .price-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 30px;
        padding-bottom: 20px;
        margin: 0 -20px;
        /* Negative margin to allow full-width scroll */
        padding-left: 60px;
        /* Offset for first card */
        padding-right: 20px;
        /* Offset for last card */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        padding-top: 20px;
    }

    .price-cards::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari/Webkit */
    }

    .price-card {
        flex: 0 0 85%;
        /* Show 85% of card to encourage scroll */
        scroll-snap-align: center;
        min-width: 0;
        /* Flexbox fix */
    }

    .price-slider-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .price-dot {
        width: 10px;
        height: 10px;
        background: #ddd;
        border-radius: 50%;
        transition: background 0.3s ease;
    }

    .price-dot.active {
        background: var(--gold);
    }

    /* Hide dots by default on PC/Tablet */
    .price-note {
        margin-top: 10px;
    }
}

/* Mobile specific overrides for existing sections */
@media print,
screen and (max-width: 599px) {
    .trainer-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: center top;
    }

    .trainers-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 60px;
    }

    section {
        padding: 80px 15px;
    }

    .concept {
        background: #f9f9f9;
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .concept-title-placeholder {
        width: 100%;
        height: 200px;
        margin-bottom: 0px;
    }

    /* Concept Images Mobile Slider */
    .concept-images-wrapper {
        position: relative;
        overflow: hidden;
        margin: 0 -15px;
    }

    .concept-images {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0;
        margin-bottom: 20px;
    }

    .concept-images::-webkit-scrollbar {
        display: none;
    }

    .concept-image-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .concept-image-item img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .concept-slider-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .concept-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .concept-dot.active {
        background: var(--gold);
        transform: scale(1.2);
    }

    .sp__d {
        display: none;
    }

    .concept-text {
        text-align: left;
        font-size: 1.4rem;
        font-weight: 900;
        max-width: 900px;
        margin: 0 auto;
        color: var(--black);
        margin-top: 30px;
        line-height: 40px;
    }

    /*-- ここまで --*/
}

@media (max-width: 768px) {
    .concept-text .highlight {
        font-size: 1.6rem;
        display: ruby;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
        margin-bottom: 10px !important;
    }
}

/* Program Section - Added Manually */
.program {
    background: var(--white);
}

.program-description {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.program-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.program-card:hover .program-card-image {
    transform: scale(1.05);
}

.program-card:hover .program-card-arrow {
    transform: translateX(5px);
    color: var(--gold);
}

.program-card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.program-card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.program-card:hover .program-card-image-wrapper::after {
    opacity: 0;
}

.program-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.program-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-card-icon {
    color: var(--gold);
    font-size: 1.2rem;
    opacity: 0.8;
}

.program-card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.program-card-link {
    display: flex;
    align-items: center;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.program-card-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Wide Card */
.program-card.wide {
    grid-column: span 3;
    flex-direction: row;
}

.program-card-image-wrapper.wide {
    width: 40%;
    height: auto;
    min-height: 220px;
}

.program-card-content.wide-content {
    width: 60%;
    justify-content: center;
}

/* CTA */
.program-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.program-cat-btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.program-cat-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Program Responsive */
@media (max-width: 1024px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card.wide {
        grid-column: auto;
        flex-direction: column;
    }

    .program-card-image-wrapper.wide {
        width: 100%;
        height: 220px;
    }

    .program-card-content.wide-content {
        width: 100%;
    }
}

/* FAQ Section */
.faq {
    background: var(--gray);
    padding: 100px 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faq-col-span-2 {
        grid-column: span 2;
    }
}

.faq-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-q {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
}

.faq-label {
    font-family: 'Oswald', sans-serif;
    color: var(--gold);
    font-weight: 500;
    font-size: 1.3rem;
    margin-right: 15px;
    line-height: 1.2;
}

.faq-a {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.faq-a .faq-label {
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Contact Area (Split Layout) */
.contact-area {
    width: 100%;
    overflow: hidden;
    padding: 0;
    /* Remove global section padding */
}

.contact-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

/* Base heights for mobile */
.contact-image-side {
    width: 100%;
    height: 250px;
    /* Mobile height */
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.contact-content-side {
    width: 100%;
    background-color: var(--gold);
    color: var(--white);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    /* p-8 */
}

/* Tablet/Desktop Styles */
@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        height: 450px;
        /* md:h-[450px] */
    }

    .contact-image-side {
        width: 50%;
        height: 100%;
    }

    .contact-content-side {
        width: 50%;
        padding: 48px;
        /* md:p-12 */
    }
}

@media (min-width: 1024px) {
    .contact-content-side {
        padding: 64px;
        /* lg:p-16 */
    }
}

.contact-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.contact-image-side:hover .contact-image {
    transform: scale(1.05);
    /* group-hover:scale-105 */
}

/* Skewed Divider on Desktop */
.contact-skew {
    display: none;
}

@media (min-width: 768px) {
    .contact-skew {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -4rem;
        /* -left-16 (16 * 0.25rem = 4rem) */
        width: 8rem;
        /* w-32 (32 * 0.25rem = 8rem) */
        background-color: var(--gold);
        /* bg-brand */
        transform: skewX(-12deg);
        z-index: -1;
    }
}

/* Contact Typography */
.contact-title-en {
    font-family: 'Oswald', sans-serif;
    font-size: 2.25rem;
    /* text-4xl */
    font-weight: 700;
    letter-spacing: 0.05em;
    /* tracking-wider */
    line-height: 1;
    margin-bottom: 0.75rem;
    /* mb-3 */
}

@media (min-width: 768px) {
    .contact-title-en {
        font-size: 3rem;
    }

    /* text-5xl */
}

@media (min-width: 1024px) {
    .contact-title-en {
        font-size: 3.75rem;
    }

    /* text-6xl */
}

.contact-subtitle-jp {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 700;
    letter-spacing: 0.1em;
    /* tracking-widest */
    padding-left: 0.25rem;
    /* pl-1 */
}

@media (min-width: 768px) {
    .contact-subtitle-jp {
        font-size: 1rem;
    }

    /* text-base */
}

.contact-desc {
    font-size: 0.875rem;
    /* text-sm */
    line-height: 2;
    /* leading-loose */
    margin-bottom: 2rem;
    /* mb-8 */
    font-weight: 500;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .contact-desc {
        font-size: 1rem;
    }

    /* text-base */
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    font-weight: 700;
    padding: 12px 40px;
    min-width: 200px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--white);
    color: var(--gold);
}

.contact-btn i {
    margin-left: 1rem;
    /* ml-4 */
}

/* Mobile padding for Shops section */
@media print,
screen and (max-width: 599px) {
    .shops {
        padding: 80px 15px !important;
    }
}

/* Mobile padding for FAQ section */
@media print,
screen and (max-width: 599px) {
    .faq {
        padding: 80px 15px !important;
    }

    .shop-logo {
        max-width: 120px !important;
        height: auto !important;
        margin-bottom: 15px;
    }
}