/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

.sp-only { display: block; }
.pc-only { display: none; }

/* --- Layout --- */
.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
}

.section__lead {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px;
}


/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-background);
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide:nth-child(1) {
    animation: ken-burns-center 20s infinite alternate;
}

.hero__slide:nth-child(2) {
    animation: ken-burns-right-left 20s infinite alternate;
}

.hero__slide:nth-child(3) {
    animation: ken-burns-left-right 20s infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

@keyframes ken-burns-center {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes ken-burns-right-left { /* カメラが右から左へ（画像は左から右へ移動） */
    0% {
        transform: scale(1.1) translateX(-5%);
    }
    100% {
        transform: scale(1.15) translateX(5%);
    }
}

@keyframes ken-burns-left-right { /* カメラが左から右へ（画像は右から左へ移動） */
    0% {
        transform: scale(1.1) translateX(5%);
    }
    100% {
        transform: scale(1.15) translateX(-5%);
    }
}

.hero__content {
    animation: fade-in-up 1s ease-out;
}

.hero__title {
    font-size: clamp(1.8em, 5vw, 3.5em); /* 画面幅に応じてフォントサイズを可変に */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(1.0em, 3vw, 3.5em); /* 画面幅に応じてフォントサイズを可変に */
    margin-bottom: 40px;
}

/* --- Empathy Section --- */
.empathy {
    text-align: center;
}

.empathy__text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.empathy__bridge {
    margin-top: 40px;
    font-weight: 700;
}

.empathy__text br {
    display: block;
}
.empathy__text br::before {
    content: '';
    float: left;
}

/* --- Reasons Section --- */
.reasons {
    background: var(--color-bg-subtle);
}
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.reason-item {
    position: relative;
}
.reason-item__img {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.reason-item__content {
    padding-left: 20px;
}
.reason-item__number {
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.8;
    position: absolute;
    top: -30px;
    left: 0;
    line-height: 1;
    color: var(--color-reason-number);
    text-shadow: var(--shadow-reason-number);
}
.reason-item__title {
    font-size: clamp(1.3em, 5vw, 3.5em);
    margin-bottom: 15px;
}
.reason-item__text {
    margin-bottom: 20px;
}
.reason-item__link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--color-text);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}
.reason-item__link:hover {
    background-color: var(--color-text);
    color: var(--color-background);
}

/* --- Trainers Section --- */
.trainer-profile {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}
.trainer-profile:last-child {
    margin-bottom: 0;
}
.trainer-profile__img {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
}
.trainer-profile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid var(--color-primary);
}
.trainer-profile__message{
    text-align: left;
    padding: 0 1rem;
}
.trainer-profile__info {
    text-align: center;
}
.trainer-profile__role {
    font-weight: 700;
    color: var(--color-primary);
}
.trainer-profile__name {
    font-size: 1.8rem;
    margin: 5px 0 15px;
}
.trainer-profile__catchphrase {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.trainer-profile__certs {
    font-size: 0.9rem;
    color: #555;
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

/* --- Flow Section --- */
.flow {
    background: var(--color-bg-subtle);
}
.flow__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.flow__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: #e0e0e0;
}
.flow-step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}
.flow-step__number {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}
.flow-step__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.flow-step__img {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

/* --- Pricing Section --- */
.pricing {
    background-color: var(--color-background);
}
.pricing__intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}
.pricing__intro ul {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}
.pricing__note-small {
    font-size: 0.8rem;
    color: #555;
    margin-top: 1em;
}
.pricing-card-container {
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background-color: var(--color-background);
    color: var(--color-text);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}
.pricing-table th, .pricing-table td {
    padding: 16px;
    text-align: center;
    border: 1px solid #DDDDDD;
    white-space: nowrap;
}
.pricing-table .col-header th {
    background-color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}
.pricing-table .plan-name {
    background-color: var(--color-bg-subtle);
}
.plan-name__main {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}
.plan-name__sub {
    display: block;
    font-size: 0.8rem;
    color: #555;
}
.discount {
    font-weight: 700;
    color: var(--color-primary);
}
.pricing-table__cell--per-session {
    font-weight: 700;
}
.plan-group-title {
    background-color: var(--bg-pricing-group-title);
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
}
.is-recommended {
    position: relative;
}
.is-recommended > td {
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
}
.is-recommended > td:first-child {
    border-left: 2px solid #FFD700;
}
.is-recommended > td:last-child {
    border-right: 2px solid #FFD700;
}
.is-recommended .plan-name {
    position: relative;
    overflow: hidden;
    padding-top: 30px;
    padding-left: 30px;
    text-align: center;
}
.is-recommended .plan-name::before {
    content: 'おすすめ！';
    position: absolute;
    top: 12px;
    left: -32px;
    width: 120px;
    transform: rotate(-45deg);
    background-color: #FFD700;
    color: var(--color-text);
    padding: 2px 0;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

/* --- Access Section --- */
.access {
    background-color: var(--color-bg-subtle);
}
.access__map {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
}
.access__map iframe {
    width: 100%;
    height: 100%;
}
.access__info dt {
    font-weight: 700;
    margin-top: 15px;
}
.access__info dd {
    margin-left: 0;
}

/* --- FAQ Section --- */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-item__q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 40px 20px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    color: inherit;
}
.faq-item__q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}
.faq-item.is-open .faq-item__q::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-item__a p {
    padding: 0 20px 20px;
}

/* Other Stores Section */
.stores {
    background-color: var(--color-bg-subtle);
}
.stores-list {
    display: flex;
    flex-direction: column; /* Mobile: stack vertically */
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.store-card {
    display: block;
    width: 100%; /* Mobile: full width */
    max-width: 300px; /* Max width for cards */
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.store-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.store-card__name {
    font-size: 20px;
    margin: 15px 0;
}

/* --- Sticky Footer --- */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.4s, visibility 0.4s;
}

.sticky-footer.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.cta-button--footer {
    width: 90%;
    max-width: 400px;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}