/* =============================================
   ヨガスタジオ SORA スタイルシート
   配色: ペールグリーン、ホワイト、ベージュ、ラベンダー
   ============================================= */

:root {
    --primary-color: #A8D5BA; /* ペールグリーン */
    --secondary-color: #E8D5C4; /* ベージュ */
    --accent-color: #D4C5E8; /* ラベンダー */
    --text-color: #4A5A4A;
    --white: #FFFFFF;
    --light-bg: #F8F9F8;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

/* =============================================
   共通スタイル
   ============================================= */

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #888;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 213, 186, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 213, 186, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), #C4B5D8);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(212, 197, 232, 0.5);
}

/* =============================================
   ヘッダー
   ============================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 15px var(--shadow);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* =============================================
   ヒーローセクション
   ============================================= */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(248, 249, 248, 0.3), rgba(168, 213, 186, 0.2)),
                url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   ヨガの効果
   ============================================= */

.benefits {
    background: var(--light-bg);
}

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

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

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

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

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

/* =============================================
   おすすめ対象
   ============================================= */

.target {
    background: var(--white);
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.target-item {
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(168, 213, 186, 0.3);
    transition: all 0.3s ease;
}

.target-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(168, 213, 186, 0.5);
}

.target-item .icon {
    font-size: 2.5rem;
}

.target-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* =============================================
   クラス紹介
   ============================================= */

.classes {
    background: var(--light-bg);
}

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

.class-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.class-header {
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.class-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.class-header .level {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.class-body {
    padding: 30px;
}

.class-body p {
    color: #666;
    margin-bottom: 20px;
}

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

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

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

/* =============================================
   料金プラン
   ============================================= */

.pricing {
    background: var(--white);
}

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

.pricing-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow);
}

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

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

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

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

.price span {
    font-size: 1.2rem;
    color: #888;
}

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

.pricing-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

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

/* =============================================
   スタジオ紹介
   ============================================= */

.studio {
    background: var(--light-bg);
}

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

.studio-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.studio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.studio-image:hover img {
    transform: scale(1.05);
}

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

.studio-info p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.05rem;
}

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

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

.amenity-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* =============================================
   インストラクター紹介
   ============================================= */

.instructors {
    background: var(--white);
}

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

.instructor-card {
    text-align: center;
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

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

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

.instructor-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.instructor-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =============================================
   スケジュール
   ============================================= */

.schedule {
    background: var(--light-bg);
}

.schedule-table {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
}

th {
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.class-slot {
    background: var(--light-bg);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 5px 0;
}

.class-slot.beginner {
    background: #E8F5E8;
    border-left: 4px solid var(--primary-color);
}

.class-slot.relax {
    background: #F0E8F5;
    border-left: 4px solid var(--accent-color);
}

.class-slot.power {
    background: #FFE8E8;
    border-left: 4px solid #FF9999;
}

/* =============================================
   生徒様の声
   ============================================= */

.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    margin-bottom: 25px;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

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

.author-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* =============================================
   体験レッスンの流れ
   ============================================= */

.trial-flow {
    background: var(--light-bg);
}

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

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.flow-step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.flow-step p {
    color: #666;
    font-size: 0.95rem;
}

/* =============================================
   FAQ
   ============================================= */

.faq {
    background: var(--white);
}

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

.faq-item {
    background: var(--light-bg);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question .icon {
    transition: transform 0.3s ease;
}

.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: 0 30px 25px;
    color: #666;
    line-height: 1.8;
}

/* =============================================
   アクセス
   ============================================= */

.access {
    background: var(--light-bg);
}

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

.access-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

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

.info-item p {
    color: #666;
    line-height: 1.8;
}

.map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    height: 400px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* =============================================
   予約・お問い合わせ
   ============================================= */

.contact {
    background: linear-gradient(135deg, var(--primary-color), #8BC9A5);
    color: var(--white);
}

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

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

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

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-method p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

/* =============================================
   フッター
   ============================================= */

footer {
    background: #2C3E2C;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    color: #ccc;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

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

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

/* =============================================
   レスポンシブデザイン
   ============================================= */

@media (max-width: 968px) {
    .section-title {
        font-size: 2rem;
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px;
        box-shadow: 0 5px 20px var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: 100vh;
    }

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

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

    .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .benefits-grid,
    .classes-grid,
    .pricing-grid,
    .instructors-grid,
    .testimonials-grid,
    .flow-steps,
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .amenities {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .schedule-table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 10px 5px;
    }
}
