/* ====================================
   リセット & ベーススタイル
==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e293b;
    --primary-light: #3b5998;
    --secondary-color: #fbbf24;
    --accent-color: #fcd34d;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* レスポンシブ用の改行制御 */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

/* ====================================
   ヘッダー & ナビゲーション
==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--primary-dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ====================================
   ヒーローセクション
==================================== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 3rem;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-teacher-intro {
    margin-bottom: 2rem;
}

.hero-teacher-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.hero-teacher-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.hero-teacher-image {
    width: 100%;
    max-width: 400px;
}

.hero-teacher-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-teacher-text {
    text-align: center;
}

.hero-teacher-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: white;
}

.hero-teacher-exp {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-main {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ====================================
   ボタンスタイル
==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    min-height: 56px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ====================================
   特徴セクション
==================================== */
.features {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ====================================
   共通セクションスタイル
==================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* ====================================
   サービス内容セクション
==================================== */
.service {
    background-color: var(--bg-light);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background-color: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.service-item ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-item ul li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

/* ====================================
   時間割セクション
==================================== */
.schedule {
    background-color: var(--bg-white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.schedule-table-wrapper {
    margin-bottom: 3rem;
}

.schedule-table-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-table-title i {
    color: var(--primary-color);
}

.schedule-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.schedule-card.available {
    background: linear-gradient(135deg, #059669, #10b981);
}

.schedule-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.schedule-time {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.schedule-duration {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.schedule-label {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: inline-block;
}

.schedule-label.available {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 700;
    animation: pulse 2s infinite;
}

.schedule-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-note i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.schedule-note p {
    color: var(--text-gray);
    margin: 0;
}

/* ====================================
   料金セクション
==================================== */
.pricing {
    background-color: var(--bg-light);
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-amount {
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 2px solid var(--bg-gray);
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-unit {
    font-size: 2rem;
    color: var(--text-dark);
}

.price-per {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.pricing-features {
    padding: 2rem;
    border-bottom: 2px solid var(--bg-gray);
}

.pricing-features h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.pricing-example {
    padding: 2rem;
}

.pricing-example h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.pricing-calc {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.calc-item:last-child {
    border-bottom: none;
}

.calc-label {
    color: var(--text-gray);
}

.calc-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calc-value small {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px;
    color: #92400e;
    border: 2px solid var(--secondary-color);
}

.pricing-note i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ====================================
   講師紹介セクション
==================================== */
.teacher {
    background-color: var(--bg-white);
}

.teacher-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.teacher-photo {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.teacher-image {
    width: 100%;
}

.teacher-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    display: block;
}

.teacher-avatar {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.teacher-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.teacher-title {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.teacher-experience,
.teacher-activity,
.teacher-message {
    margin-bottom: 2rem;
}

.teacher-experience h4,
.teacher-activity h4,
.teacher-message h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teacher-experience ul,
.teacher-activity ul {
    list-style: none;
    padding-left: 1.5rem;
}

.teacher-experience li,
.teacher-activity li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
}

.teacher-experience li::before,
.teacher-activity li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--success-color);
    font-weight: 700;
}

.teacher-message {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.teacher-message p {
    color: var(--text-gray);
    line-height: 1.8;
}

.teacher-video {
    margin-top: 2rem;
}

.teacher-video h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teacher-video h4 i {
    color: var(--danger-color);
}

.video-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* ====================================
   体験授業セクション
==================================== */
.trial {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.trial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trial-badge {
    display: inline-block;
    background-color: var(--danger-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.trial-content {
    max-width: 1000px;
    margin: 0 auto;
}

.trial-steps {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.trial-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.trial-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content h3 i {
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.trial-features {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.trial-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.trial-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trial-feature {
    text-align: center;
    padding: 1rem;
}

.trial-feature i {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.trial-feature p {
    color: var(--text-gray);
    font-weight: 600;
}

.trial-note {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #fef3c7;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.trial-note i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.trial-note h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.trial-note p {
    color: var(--text-gray);
    line-height: 1.7;
}

.trial-cta {
    text-align: center;
}

/* ====================================
   お問い合わせセクション
==================================== */
.contact {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.line-box {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3);
}

.line-icon {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.line-icon i {
    font-size: 4rem;
    color: #06b6d4;
}

.line-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.line-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.line-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.line-qr {
    margin-bottom: 2rem;
}

.qr-code-image {
    width: 220px;
    height: 220px;
    background-color: white;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.qr-placeholder i {
    font-size: 4rem;
}

.qr-placeholder p {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-line {
    background-color: #06b6d4;
    color: white;
    border: 3px solid white;
    margin-bottom: 2rem;
}

.btn-line:hover {
    background-color: white;
    color: #06b6d4;
    transform: translateY(-3px);
}

.line-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.line-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.line-feature i {
    color: var(--secondary-color);
}

.contact-flow {
    background-color: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
}

.contact-flow h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-flow h3 i {
    color: var(--primary-color);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background-color: #e0f2fe;
    transform: translateX(10px);
}

.flow-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.flow-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.flow-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ====================================
   フッター
==================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
}

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

/* ====================================
   レスポンシブデザイン
==================================== */
@media (max-width: 1024px) {
    .teacher-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teacher-experience ul,
    .teacher-activity ul {
        padding-left: 0;
    }

    .teacher-experience li::before,
    .teacher-activity li::before {
        display: none;
    }

    .contact-line {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* レスポンシブ改行制御 */
    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }

    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
    }

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

    .nav-toggle {
        display: flex;
    }

    /* セクション共通 */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* ヒーローセクション */
    .hero {
        min-height: auto;
        padding: 5rem 0 2.5rem;
    }

    .hero-teacher-intro {
        margin-bottom: 1.5rem;
    }

    .hero-teacher-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-teacher-info {
        gap: 1rem;
        padding: 1.5rem;
        max-width: 100%;
    }

    .hero-teacher-image {
        max-width: 320px;
    }

    .hero-teacher-image img {
        width: 100%;
        height: auto;
    }

    .hero-teacher-name {
        font-size: 1.35rem;
    }

    .hero-teacher-exp {
        font-size: 0.85rem;
    }

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

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

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 52px;
    }

    /* セクションタイトル */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* 特徴セクション */
    .features {
        padding: 2.5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* サービス内容 */
    .service-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }

    /* スケジュール */
    .schedule-table-wrapper {
        margin-bottom: 2rem;
    }

    .schedule-table-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-card {
        padding: 1.5rem 1rem;
    }

    .schedule-time {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .schedule-duration {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .schedule-label {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .schedule-note {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* 料金セクション */
    .pricing-card {
        margin: 0 0.5rem;
    }

    .pricing-header {
        padding: 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .pricing-amount {
        padding: 2rem 1rem;
    }

    .price-value {
        font-size: 3rem;
    }

    .pricing-features {
        padding: 1.5rem;
    }

    .pricing-features h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .pricing-example {
        padding: 1.5rem;
    }

    .pricing-calc {
        padding: 1rem;
    }

    .calc-value {
        font-size: 1.25rem;
    }

    /* 講師紹介 */
    .teacher-profile {
        padding: 2rem 1.5rem;
    }

    .teacher-name {
        font-size: 1.5rem;
    }

    .teacher-title {
        font-size: 1rem;
    }

    .teacher-experience h4,
    .teacher-activity h4,
    .teacher-message h4,
    .teacher-video h4 {
        font-size: 1.1rem;
    }

    .teacher-message {
        padding: 1.25rem;
    }

    /* 体験授業 */
    .trial-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .trial-step {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .trial-features {
        padding: 1.5rem;
    }

    .trial-features h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .trial-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trial-feature {
        padding: 0.75rem;
    }

    .trial-feature i {
        font-size: 2rem;
    }

    .trial-note {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    /* お問い合わせ */
    .line-box {
        padding: 2rem 1.5rem;
    }

    .line-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .line-icon i {
        font-size: 3rem;
    }

    .line-box h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .line-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .line-id {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .qr-code-image {
        width: 200px;
        height: 200px;
    }

    .qr-placeholder {
        width: 180px;
        height: 180px;
    }

    .qr-placeholder i {
        font-size: 3rem;
    }

    .line-features {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .contact-flow {
        padding: 2rem 1.5rem;
    }

    .contact-flow h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .flow-step {
        padding: 1.25rem;
        gap: 1rem;
    }

    .flow-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .flow-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .flow-content p {
        font-size: 0.9rem;
    }

    /* フッター */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* さらに小さい画面用の最適化 */
    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 4.5rem 0 2rem;
    }

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

    .hero-teacher-info {
        padding: 1.25rem;
    }

    .hero-teacher-image {
        max-width: 280px;
    }

    .hero-teacher-image img {
        width: 100%;
        height: auto;
    }

    .hero-teacher-name {
        font-size: 1.25rem;
    }

    .hero-teacher-exp {
        font-size: 0.8rem;
    }

    .hero-main {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

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

    .section-description {
        font-size: 0.95rem;
    }

    /* カード類をさらにコンパクトに */
    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .service-item {
        padding: 1.25rem;
    }

    .schedule-card {
        padding: 1.25rem 0.75rem;
    }

    .schedule-time {
        font-size: 1.1rem;
    }

    .teacher-profile {
        padding: 1.5rem 1rem;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .calc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .calc-value {
        font-size: 1.1rem;
    }

    .trial-step {
        padding: 1.25rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .trial-note {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .trial-note i {
        font-size: 2rem;
    }

    .line-box {
        padding: 1.5rem 1rem;
    }

    .line-box h3 {
        font-size: 1.35rem;
    }

    .line-description {
        font-size: 0.95rem;
    }

    .line-id {
        font-size: 1.1rem;
        padding: 0.6rem 1.25rem;
    }

    .qr-code-image {
        width: 180px;
        height: 180px;
    }

    .qr-placeholder {
        width: 160px;
        height: 160px;
    }

    .contact-flow {
        padding: 1.5rem 1rem;
    }

    .flow-step {
        padding: 1rem;
    }

    .flow-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.95rem 1.75rem;
        font-size: 0.95rem;
        min-height: 50px;
    }

    .btn-large {
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        min-height: 54px;
    }
}
