@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    --orange: #FF6B35;
    --orange-light: #FF8C5A;
    --blue: #29B6F6;
    --yellow: #FFD600;
    --green: #66BB6A;
    --dark: #2D3748;
    --gray: #718096;
    --light-bg: #FFFBF5;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(255,107,53,0.15);
}

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

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light-bg);
}

/* ヘッダー */
header {
    background: var(--white);
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--orange);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo .logo-sub {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--orange);
    color: var(--white);
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65px;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        var(--orange) 0%,
        #F7931E 40%,
        var(--blue) 100%
    );
}

.hero-bg {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 3rem 2rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.15);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(255,214,0,0.5);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255,214,0,0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--orange);
    transform: translateY(-4px);
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.btn-orange:hover {
    background: var(--orange-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.5);
}

/* ウェーブ区切り */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

/* セクション共通 */
.section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* 特徴カード */
.features-section {
    background: var(--white);
    padding: 5rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--light-bg);
    border-radius: 24px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: all 0.35s;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    border-radius: 24px 24px 0 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* CTA バナー */
.cta-section {
    background: linear-gradient(135deg, var(--orange) 0%, #FF8C5A 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--blue) 100%);
    text-align: center;
    padding: 6rem 2rem 4rem;
    margin-top: 65px;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* コンテンツ */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--orange);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 5px solid var(--yellow);
}

.content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.9;
}

.highlight-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid var(--orange);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* 活動写真ギャラリー */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.photo-item {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 5px 5px 2px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.photo-item img {
    display: block;
    width: auto;
    height: auto;
    max-height: 200px;
    max-width: 260px;
    border-radius: 6px;
}

.photo-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray);
    padding: 0.3rem 0.2rem 0.1rem;
}

/* 資格・実績 */
.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.credentials-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    border-top: 4px solid var(--orange);
}

.credentials-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.7rem;
}

.credentials-card p {
    color: var(--gray);
    line-height: 1.85;
    font-size: 0.95rem;
}

.track-record {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    border-left: 5px solid var(--orange);
}

.track-record h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.track-record-lead {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.track-record-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.track-record-list li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.6rem;
}

.track-record-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.facility-area {
    flex-shrink: 0;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
}

/* ホーム インストラクター引用 */
.instructor-quote {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--light-bg);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    border: 2px solid rgba(255,107,53,0.15);
    max-width: 800px;
    margin: 0 auto;
}

.instructor-quote-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--orange);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255,107,53,0.2);
}

.instructor-quote-text {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.85;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--orange);
    margin-bottom: 0.6rem;
}

.instructor-quote-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
}

/* インストラクターカード */
.instructor-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(255,107,53,0.10);
}

.instructor-img-wrap {
    flex-shrink: 0;
    text-align: center;
}

.instructor-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--orange);
    box-shadow: 0 6px 20px rgba(255,107,53,0.25);
    display: block;
    margin: 0 auto;
}

.instructor-caption {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 0.7rem;
    max-width: 200px;
}

.instructor-text h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.instructor-text p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 0.8rem;
}

/* サービスカード */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.35s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.service-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.service-card .age-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* フォーム */
.contact-form {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--orange);
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
    background: var(--light-bg);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* フッター */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 3rem 2rem;
}

footer .footer-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

footer p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 連絡先カード */
.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 2px solid #FFE5D9;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-info-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--orange);
    text-decoration: none;
}

.contact-info-email {
    font-size: 1rem;
    word-break: break-all;
}

.contact-info-note {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--dark);
    background: #FFF8F5;
    border-left: 3px solid var(--orange);
    padding: 0.5rem 0.8rem;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

/* カリキュラムテーブル */
.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    font-size: 0.95rem;
}

.curriculum-table thead tr {
    background: var(--orange);
    color: var(--white);
}

.curriculum-table th {
    padding: 1rem 1.2rem;
    text-align: left;
    font-weight: 700;
}

.curriculum-table td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    line-height: 1.7;
}

.curriculum-table tbody tr:nth-child(even) {
    background: var(--light-bg);
}

.curriculum-table tbody tr:hover {
    background: #fff3ee;
}

.curriculum-table td:first-child {
    font-weight: 700;
    color: var(--orange);
    white-space: nowrap;
    min-width: 60px;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--orange);
    padding: 0.3rem 0.5rem;
    line-height: 1;
}

/* ナビゲーション（タブレット・スマホ共通） */
@media (max-width: 1024px) {
    nav {
        padding: 0.8rem 1.2rem;
        flex-wrap: wrap;
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--white);
        border-top: 1px solid #eee;
        margin-top: 0.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        overflow: hidden;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--orange);
        color: var(--white);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {

    /* ヒーロー */
    .hero {
        margin-top: 0;
        min-height: 100svh;
    }

    .hero-content {
        padding: 2rem 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.85rem 1.5rem;
    }

    /* セクション */
    .section {
        padding: 3rem 1.2rem;
    }

    .features-section {
        padding: 3rem 1.2rem;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    /* カード */
    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card,
    .service-card {
        padding: 2rem 1.5rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 1.2rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    /* ページヘッダー */
    .page-header {
        padding: 4rem 1.2rem 2.5rem;
        margin-top: 0;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* コンテンツ */
    .content {
        padding: 2.5rem 1.2rem;
    }

    .content h2 {
        font-size: 1.3rem;
    }

    .highlight-box {
        padding: 1.5rem 1.2rem;
    }

    /* フォーム */
    .contact-form {
        padding: 2rem 1.2rem;
        border-radius: 16px;
        box-shadow: none;
    }

    /* 活動写真ギャラリー */
    .photo-gallery {
        justify-content: center;
    }

    .photo-item img {
        max-height: 150px;
        max-width: 160px;
    }

    /* 資格・実績 */
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .track-record {
        padding: 1.5rem 1.2rem;
    }

    .track-record-list li {
        flex-wrap: wrap;
    }

    /* ホーム インストラクター引用 */
    .instructor-quote {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.2rem;
        gap: 1.2rem;
    }

    .instructor-quote-text {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--orange);
        padding-top: 0.8rem;
        font-size: 0.95rem;
    }

    /* インストラクターカード */
    .instructor-card {
        flex-direction: column;
        align-items: center;
        padding: 1.8rem 1.2rem;
        gap: 1.5rem;
    }

    .instructor-img {
        width: 160px;
        height: 160px;
    }

    .instructor-caption {
        max-width: 100%;
    }

    .instructor-text h2 {
        font-size: 1.2rem;
        text-align: center;
    }
}
