/* =============================================
   ピラティススタジオ CORE - スタイルシート
   ============================================= */

/* --- CSS Variables --- */
:root {
    --primary-color: #E8B4B8;
    --primary-dark: #D4A0A4;
    --secondary-color: #F5F0F0;
    --accent-color: #C89FA3;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #FAFAFA;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.4);
}

/* --- Section Styles --- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* --- Benefits Section --- */
.benefits {
    padding: 100px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Machines Section --- */
.machines {
    padding: 100px 0;
    background: white;
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.machine-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.machine-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.machine-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.machine-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.machine-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.machine-card.highlight h3,
.machine-card.highlight p {
    color: white;
}

/* --- Classes Section --- */
.classes {
    padding: 100px 0;
    background: var(--bg-light);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-5px);
}

.class-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 25px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-header h3 {
    font-size: 1.2rem;
}

.level {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.class-body {
    padding: 30px;
}

.class-body p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.class-features {
    list-style: none;
}

.class-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.class-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Studio Section --- */
.studio {
    padding: 100px 0;
    background: var(--bg-light);
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.studio-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.studio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.studio-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 15px;
    border-radius: 10px;
}

.amenity-item .icon {
    font-size: 1.3rem;
}

/* --- Instructors Section --- */
.instructors {
    padding: 100px 0;
    background: white;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.instructor-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.instructor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 4px solid var(--primary-color);
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.credentials {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.instructor-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.5;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Schedule Section --- */
.schedule {
    padding: 100px 0;
    background: white;
}

.schedule-table {
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.schedule-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.schedule-table td {
    background: white;
}

.class-slot {
    padding: 8px 5px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.class-slot.beginner {
    background: #E8F5E9;
    color: #2E7D32;
}

.class-slot.machine {
    background: #FCE4EC;
    color: #C2185B;
}

.class-slot.posture {
    background: #E3F2FD;
    color: #1565C0;
}

.class-slot.mama {
    background: #FFF3E0;
    color: #E65100;
}

/* --- Trial Flow Section --- */
.trial-flow {
    padding: 100px 0;
    background: var(--bg-light);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.flow-step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.flow-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-question .icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding-bottom: 25px;
    color: var(--text-light);
}

/* --- Access Section --- */
.access {
    padding: 100px 0;
    background: var(--bg-light);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.map {
    background: var(--border-color);
    border-radius: 15px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-method {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-method .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-method p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-method .btn {
    background: white;
    color: var(--primary-color);
}

.contact-method .btn:hover {
    background: var(--bg-light);
}

/* --- Footer --- */
footer {
    background: #333;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .studio-content,
    .access-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}
