/* ===========================================
   リズムスピーカー LP - style.css (Clean Version)
   =========================================== */

/* ベース設定 */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #ef3340;
    --bg-color: #fafafa;
    --text-color: #333;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* =========================================
   ナビゲーション
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.97);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
}

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

/* =========================================
   ボタン共通
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 51, 64, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 51, 64, 0.35);
}

.btn-glass,
.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.btn-glass:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

/* ナビCTAボタン */
.cta-nav {
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    flex-shrink: 0;
}

/* =========================================
   ヒーローセクション
   ========================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.65)), url('hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 24px;
    max-width: 700px;
    width: 100%;
}

.hero h1 {
    font-size: 2.8rem;
    margin: 0 0 1.2rem;
    line-height: 1.25;
    font-weight: 900;
}

.hero-subcopy {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.92);
}

/* 安心材料バッジ */
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 2rem;
}

.proof-item {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* ヒーローボタングループ */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 380px;
    min-height: 58px;
    font-size: 1.05rem;
}

/* =========================================
   こんな方におすすめ
   ========================================= */
.recommend {
    padding: 5rem 5%;
    background: #fff;
}

.recommend-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.recommend-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.recommend-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: var(--accent-color);
}

.recommend-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =========================================
   特徴セクション
   ========================================= */
.features {
    padding: 5rem 5%;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    background: white;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 340px;
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--bg-color);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* =========================================
   セクション共通ヘッダー
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #666;
    font-size: 1rem;
}

/* =========================================
   体験の流れ
   ========================================= */
.steps {
    padding: 6rem 5%;
    background: white;
}

.steps-container {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    position: relative;
    padding-top: 3rem;
    text-align: center;
}

.step-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    font-family: 'Outfit', sans-serif;
}

.step-item h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

/* =========================================
   準備セクション
   ========================================= */
.preparation {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 6rem 5%;
    text-align: center;
}

.prep-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.prep-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   FAQ
   ========================================= */
.faq {
    padding: 6rem 5%;
    background: white;
}

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

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.faq-q {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-q::before {
    content: "Q.";
}

.faq-a {
    color: #666;
    line-height: 1.8;
}

/* =========================================
   受講生の声
   ========================================= */
.testimonials {
    padding: 6rem 5%;
    background: #fdfdfd;
}

.testimonial-container {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.user-info {
    margin-bottom: 1.2rem;
}

.user-name {
    display: block;
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.user-tag {
    font-size: 0.8rem;
    color: var(--accent-color);
    background: #fff0f0;
    padding: 2px 10px;
    border-radius: 50px;
}

/* =========================================
   講師紹介
   ========================================= */
.instructors {
    padding: 6rem 5%;
    background: #fdfdfd;
}

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

.instructor-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.instructor-photo {
    flex-shrink: 0;
}

.instructor-photo img {
    width: 260px;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.instructor-info {
    flex: 1;
}

.instructor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.instructor-title {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.instructor-info p {
    font-size: 1rem;
    line-height: 1.85;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.instructor-badges span {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #f4f4f4;
    color: #222;
    font-size: 0.88rem;
    font-weight: 600;
}

/* =========================================
   料金表
   ========================================= */
.price-system {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: white;
}

.price-system .section-header h2 {
    color: white;
}

.price-lead {
    max-width: 680px;
    margin: -2rem auto 3rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    padding: 0 20px;
}

.price-container {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.price-block {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    color: var(--primary-color);
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.trial-plan {
    position: relative;
    border: 3px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.plan-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin: 1.5rem 0;
}

.trial-excl {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
    margin: -0.5rem 0 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    display: inline-block;
}

.plan-features li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.plan-features svg {
    color: #4CAF50;
    flex-shrink: 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table td {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.price-table td:last-child {
    font-weight: 700;
    text-align: right;
}

.price-note {
    margin-top: auto;
    font-size: 0.82rem;
    color: #888;
    padding-top: 1.5rem;
}

/* =========================================
   最終CTA
   ========================================= */
.final-cta {
    padding: 8rem 5%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.cta-inner>p {
    font-size: 1.05rem;
    margin: 0 0 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* 最終安心材料バッジ */
.final-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 2.5rem;
}

.final-reassurance div {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.cta-btns {
    display: flex;
    justify-content: center;
}

.btn-large {
    min-height: 64px;
    padding: 0 2.5rem;
    font-size: 1.15rem;
    gap: 10px;
}

/* =========================================
   アクセス
   ========================================= */
#access {
    background: var(--primary-color);
    color: white;
    padding: 6rem 5%;
}

.access-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.access-info {
    flex: 1;
}

.access-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.access-btns {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.access-map {
    flex: 1.2;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   追従LINEボタン
   ========================================= */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.floating-cta a {
    background-color: #06C755;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(6, 199, 85, 0.5);
}

/* =========================================
   フッター
   ========================================= */
footer {
    padding: 5rem 5%;
    text-align: center;
    background: #000;
    border-top: 1px solid #222;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.footer-logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-4px);
}

.copyright {
    opacity: 0.35;
    font-size: 0.85rem;
    color: white;
}

/* =========================================
   レスポンシブ（スマホ）
   ========================================= */
@media (max-width: 768px) {

    /* ナビ */
    nav {
        padding: 0.7rem 16px;
    }

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

    /* スマホではナビリンクを「アクセス」だけ残して非表示 */
    .nav-links li:not(:last-child) {
        display: none;
    }

    /* ヒーロー */
    .hero {
        background-attachment: scroll;
    }

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

    .hero-buttons .btn {
        max-width: 100%;
    }

    /* こんな方におすすめ */
    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .recommend-card {
        text-align: center;
    }

    /* 体験の流れ */
    .steps-container {
        flex-direction: column;
    }

    /* 講師 */
    .instructor-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .instructor-photo img {
        width: 200px;
    }

    .instructor-badges {
        justify-content: center;
    }

    /* 料金 */
    .price-container {
        flex-direction: column;
        gap: 3rem;
    }

    .trial-plan {
        transform: none;
    }

    .price-lead {
        margin-top: -1rem;
    }

    /* 最終CTA */
    .final-cta {
        background-attachment: scroll;
        padding: 5rem 5%;
    }

    .cta-inner h2 {
        font-size: 1.8rem;
    }

    /* アクセス */
    .access-container {
        flex-direction: column;
        gap: 2rem;
    }

    .access-map {
        height: 280px;
        width: 100%;
    }

    /* フッター */
    footer {
        padding-bottom: 100px;
    }
}