/* =====================================
   fillo パソコンスクール スタイルシート
   白と鮮やかなブルーを基調とした洗練されたデザイン
   ===================================== */

/* ===== Variables ===== */
:root {
    /* Solvvy風トンマナ改め、大人の女性向け洗練デザイン */
    /* --primary-color: #6E8B96; */ /* くすみブルー（グレイッシュブルー） */
    --primary-color: #00558c;
    --primary-dark: #54707A;  /* 濃いめのくすみブルー */
    --primary-light: #F0F4F5; /* 非常に薄いブルーグレー */
    --secondary-color: #F7F9FA; /* クリーンな背景色 */
    --accent-color: #8DA9B3;  /* アクセント */
    --primary-hover: #006eb5;
    --text-dark: #333333;     /* 真っ黒ではなくダークグレー */
    --text-medium: #555555;   /* 読みやすいグレー */
    --text-light: #888888;    /* 薄いグレー */
    
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #FFFFFF;
    
    --border-color: #E2E8F0;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    --font-en: 'Montserrat', sans-serif;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 2.0; /* 行間を広げて読みやすく */
    letter-spacing: 0.05em; /* 文字間隔を広げて洗練さを */
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header / Navigation ===== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.header.scrolled {
    top: 10px;
    width: 98%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    @media (min-width:768px){
        padding: 12px 32px 12px 40px;
    }
}

.logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);

}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.05em;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:not(.cta-btn):hover {
    color: var(--primary-color);
}

.nav-menu .cta-btn {
    background: #000; /* 黒背景 */
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav-menu .cta-btn:hover {
    background: #333;
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    /* min-height: 100vh; */
    min-height: 800px;
    height:100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0; /* 全画面表示のためパディング削除 */
    @media (max-width:768px){
        min-height: initial;
        min-height: auto;
        align-items: flex-end;
    }
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 全幅表示 */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* 画像を少し暗くして文字を見やすくするオーバーレイ（ドットパターン） */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px),
        rgba(0, 0, 0, 0.2);
    background-size: 3px 3px;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0 5%; /* 左右の余白 */
    max-width: 1600px;
    margin: 0 auto;
}

.hero-content {
    width: 100%;
    max-width: 900px; /* テキストボックスの幅を拡張 */
    margin-top: 80px;
}

.hero-text-box {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    width: fit-content;
    /* margin: 0 auto; */
    margin: 0;
}

.hero-catch {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color); /* くすみブルー */
    margin-bottom: 24px;
    letter-spacing: 0.15em; /* 字間を広げる */
}

.hero-title-large {
    font-family: var(--font-serif); /* 明朝体 */
    /* font-size: clamp(1.8rem, 4vw, 3.2rem); */ /* サイズを調整 */
    font-weight: 100; /* 細めから少し太く */
    color: #fff; /* 白文字に変更 */
    margin-bottom: 32px;
    line-height: 1.6;
    letter-spacing: 0.1em; /* 抜け感を作る */
    white-space: nowrap; /* 意図しない改行を防ぐ */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* 視認性向上のための影 */
    font-size: 40px;
}

.hero-desc {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 48px;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* CTA Box */
.hero-cta-box {
    display: inline-flex; /* 幅をコンテンツに合わせる */
    background: transparent;
    border-radius: 50px;
    box-shadow: none;
}

.cta-main-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    padding-right: 24px;
    /* background: rgba(40, 40, 40, 0.85); */ /* チャコールグレーの透過 */
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 50px; /* 丸く柔らかく */
    letter-spacing: 0.1em;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-main-btn::after {
    content: '→';
    position: static; /* 絶対配置をやめる */
    width: 32px;
    height: 32px;
    background: var(--primary-color); /* くすみブルー */
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s;
}

.cta-main-btn:hover {
    /* background: rgba(40, 40, 40, 0.95); */
    background: var(--);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cta-main-btn:hover::after {
    background: var(--primary-hover);
    transform: translateX(4px);
}

/* Side Banner (Fixed Right Edge) */
.hero-side-banner {
    position: fixed; /* 追従するように固定 */
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    background: var(--primary-color); /* ブルーに変更 */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.15);
    z-index: 100;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s ease;
}

.hero-side-banner:hover {
    width: 70px;
}

.side-banner-content {
    padding: 24px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 300px;
    justify-content: center;
}

.side-banner-content i {
    font-size: 1.2rem;
    margin-bottom: 8px; /* 縦書きなので上下余白 */
}

.side-banner-arrow {
    width: 100%;
    padding: 16px 0;
    background: #000;
    color: #fff;
    text-align: center;
    display: block;
    margin-top: auto; /* 一番下に配置 */
}

@media (max-width: 900px) {
    .hero-text-box {
        padding: 32px;
        margin: 0 16px;
    }
    
    .hero-side-banner {
        display: none; /* モバイルでは邪魔になるため非表示 */
    }
}

/* ===== Section Common Styles ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--border-color);
}

.section-label::before {
    right: 110%;
}

.section-label::after {
    left: 110%;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: 0.08em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ===== Gallery Section ===== */
.gallery {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-lighter) 100%);
    padding: 120px 0;
    overflow: hidden;
    @media (max-width: 768px){
        pading: 0;
    }
}

.gallery-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 24px;
}

.gallery-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    @media (max-width: 768px){
        gap:16px;
    }
}

/* Featured Image */
.gallery-featured {
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* 24px -> 4px */
    height: 700px;
    box-shadow: var(--shadow-md); /* LG -> MD */
    cursor: pointer;
}

.gallery-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-featured:hover img {
    transform: scale(1.08);
}

.gallery-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 48px 40px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-featured:hover .gallery-featured-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-featured-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.gallery-featured-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Dynamic Grid */
.gallery-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
    @media (max-width: 768px){
        display:flex;
        flex-direction:column;
        gap: 16px;
    }
}

.gallery-item-dynamic {
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* 16px -> 4px */
    cursor: pointer;
    box-shadow: var(--shadow-sm); /* MD -> SM */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 180px;
}

.gallery-item-dynamic.tall {
    grid-row: span 2;
    height: 380px;
}

.gallery-item-dynamic.wide {
    grid-column: span 2;
    height: 180px;
}

.gallery-item-dynamic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.gallery-item-dynamic:hover {
    transform: translateY(-2px); /* 動きを控えめに */
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.gallery-item-dynamic:hover img {
    transform: scale(1.15);
    filter: brightness(1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 128, 216, 0.4), rgba(0, 194, 203, 0.4));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item-dynamic:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== About Section ===== */
.about {
    background: var(--bg-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px; /* 16px -> 4px */
    box-shadow: var(--shadow-lg);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color); /* 線を細く */
    border-radius: 4px; /* 16px -> 4px */
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    padding: 20px 0;
}

.about-description {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-feature-item {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: 4px; /* 12px -> 4px */
    border: 1px solid var(--border-color); /* 枠線を追加 */
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.about-feature-item p {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ===== Courses Section ===== */
.courses {
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--white);
    border-radius: 4px; /* 16px -> 4px */
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; /* 4px -> 3px */
    background: var(--primary-color); /* グラデーション廃止 */
    transform: scaleX(0);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-4px); /* 動きを控えめに */
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--border-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background: var(--primary-color);
}

.course-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card:hover .course-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.course-description {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.course-list {
    margin-bottom: 32px;
}

.course-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.course-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 12px;
}

.course-list li:last-child {
    border-bottom: none;
}

.course-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.course-link:hover {
    gap: 12px;
}

.course-link i {
    transition: var(--transition);
}

/* ===== Features Section ===== */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: left; /* 左揃え */
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.feature-number {
    font-size: 4.5rem; /* 巨大化 */
    font-weight: 700;
    font-family: var(--font-en);
    color: #E89B91; /* 添付画像に近いサーモンピンク */
    line-height: 1;
    opacity: 0.8;
}

.feature-icon {
    /* 丸い背景を削除し、アイコンのみにする */
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 3.5rem; /* 大きく */
    color: var(--primary-color); /* くすみブルー */
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ===== Pricing Section ===== */
/* NOTE: Old pricing styles (preserved for potential reuse or reference) */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pricing-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-en);
    color: var(--primary-color);
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pricing-note {
    text-align: center;
    background: var(--bg-lighter);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.pricing-note p {
    color: var(--text-medium);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

.pricing-note i {
    color: var(--primary-color);
}

/* ===== Voice Section ===== */
.voice {
    background: var(--bg-lighter);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.voice-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.voice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.voice-icon {
    margin-bottom: 24px;
}

.voice-icon i {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.voice-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.voice-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.voice-course {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ===== Google Reviews Style ===== */
.google-summary {
    text-align: center;
    margin-bottom: 40px;
}

.google-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.google-g {
    font-family: 'Product Sans', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4285f4; /* Google Blue */
}

.google-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-medium);
}

.rating-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-stars {
    color: #fbbc04; /* Google Star Yellow */
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-count {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Google Style Cards */
.voice-card.google-style {
    background: var(--white);
    border-radius: 8px; /* Slightly rounded */
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: none; /* Reset border */
    border-left: none; /* Reset left border */
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.voice-card.google-style:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: 12px;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

.google-icon-small {
    position: absolute;
    top: 0;
    right: 0;
    color: #4285f4;
    font-size: 1.2rem;
    opacity: 0.8;
}

.review-stars {
    color: #fbbc04;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.google-btn {
    background: #fff;
    color: #5f6368;
    border: 1px solid #dadce0;
    box-shadow: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 4px;
}

.google-btn:hover {
    background: #f8f9fa;
    color: #202124;
    border-color: #dadce0;
    transform: none;
    box-shadow: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.google-btn i {
    color: #4285f4;
}

/* ===== CTA Section ===== */
.cta {
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); */
    padding: 100px 0;
    background: var(--primary-hover);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.8;
    @media (max-width:768px){
        font-size:16px;
    }
}

.cta .btn {
    background: var(--white);
    color: var(--primary-color);
}

.cta .btn:hover {
    background: var(--secondary-color);
}

.cta-note {
    margin-top: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== Access Section ===== */
.access {
    background: var(--white);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.access-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.access-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.access-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
    margin-top: 4px;
}

.access-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.access-item p {
    color: var(--text-medium);
    line-height: 1.8;
}

.access-map {
    background: var(--bg-lighter);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--border-color));
    color: var(--primary-color);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--bg-lighter);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-q-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    padding-right: 24px;
    flex: 1; /* テキスト部分を伸ばす */
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-answer-inner p {
    margin: 0;
}

/* FAQ Mobile */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px;
    }
    
    .faq-q-text {
        font-size: 0.95rem;
    }
}

/* ===== Contact Section ===== */

.contact {
    background: var(--bg-lighter);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: #E63946;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 128, 216, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 149px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    @media (max-width:768px){
        margin-left:auto;
        margin-right:auto;
        width:200px;
        height: auto;
    }
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    @media (max-width:768px){
        text-align:center;
    }
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 32px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 1);
    transition: var(--transition);
}

.footer-column a:hover {
    color: #fff;
    opacity: .7;
    /* padding-left: 4px; */
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-content,
    .access-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .gallery-showcase {
        grid-template-columns: 1fr;
    }
    
    .gallery-featured {
        height: 500px;
    }
    
    .gallery-grid-dynamic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 92px;
        left: -110%;
        width: 100%;
        height: calc(100vh - 92px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 48px 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.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);
    }

    section {
        padding: 80px 0;
        @media (max-width: 500px){
            padding: 40px 0;
        }
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-content {
        padding: 32px 20px;
        margin: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .courses-grid,
    .features-grid,
    .voice-grid {
        grid-template-columns: 1fr;
    }

    .gallery-showcase {
        padding: 0 16px;
    }
    
    .gallery-featured {
        height: 400px;
    }
    
    .gallery-grid-dynamic {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item-dynamic.tall,
    .gallery-item-dynamic.wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-label::before,
    .section-label::after {
        display: none;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-lighter);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--primary-light));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ===== Page Hero (Common) ===== */
.page-hero {
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
    position: relative;
    padding: 160px 0 100px;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.page-hero-desc {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', sans-serif;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.9);
}

/* Specific Page Backgrounds */
.hero-course {
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.hero-price {
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.hero-access {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

/* Mobile Adjustments for Page Hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
}

/* ===== Price Page Styles ===== */
.page-header {
    background: var(--bg-light);
    padding: 160px 0 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    font-family: var(--font-en);
}

.price-content {
    background: var(--bg-lighter);
    padding: 80px 0;
}

.price-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Course Menu */
.course-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.course-menu-item {
    background: var(--bg-light);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.course-menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.course-menu-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.course-menu-item p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-menu {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    background: #E0E0E0;
}

.btn-menu.yellow {
    background: #F8D82C;
    color: #333;
}

/* Price Table Container */
.price-table-container {
    border: 4px solid #ddd;
    border-radius: 30px;
    background: var(--white);
    margin-bottom: 60px;
    position: relative;
    padding: 40px;
    scroll-margin-top: 120px;
}

/* Theme Colors */
.standard-theme { border-color: #A4C520; }
.master-theme { border-color: #009E52; }
.pro-theme { border-color: #006898; }
.junior-theme { border-color: #6EC7E8; }

/* Badge */
.price-badge {
    position: absolute;
    top: -30px;
    right: 40px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1.2;
    z-index: 2;
}

.price-badge strong {
    font-size: 1.5rem;
}

.standard-theme .price-badge { background: #A4C520; }
.master-theme .price-badge { background: #009E52; }
.pro-theme .price-badge { background: #006898; }
.junior-theme .price-badge { background: #6EC7E8; }

/* Header */
.price-table-header {
    border-bottom: 2px solid;
    padding-bottom: 16px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.standard-theme .price-table-header { border-color: #A4C520; }
.master-theme .price-table-header { border-color: #009E52; }
.pro-theme .price-table-header { border-color: #006898; }
.junior-theme .price-table-header { border-color: #6EC7E8; }

.price-table-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.price-table-header h2 .target {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.en-title {
    font-family: 'Handlee', cursive, sans-serif; /* 手書き風フォントがあれば */
    font-size: 1.5rem;
    color: #999;
}

/* Body */
.price-table-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* Course Details */
.course-details ul {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.course-details li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 14px;
}

.course-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border: 1px solid #777;
    background: transparent;
}

.illustration {
    text-align: right;
    margin-top: 20px;
}

.illustration i {
    font-size: 4rem;
    color: #ddd;
}

/* Price List */
.price-list {
    background: #FFFEF2; /* 薄い黄色背景 */
    border: 2px dashed #DCDCDC;
    padding: 24px;
    border-radius: 12px;
}

.price-list h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1rem;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.highlight {
    background: #FFF5CC;
    font-weight: 700;
    padding: 8px 8px;
    margin: 0 -8px;
    border-radius: 4px;
}

.count {
    background: #EEE;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.amount {
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* Note */
.price-note {
    margin-top: 20px;
    color: #E55;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .course-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-table-body {
        grid-template-columns: 1fr;
    }
    
    .price-badge {
        right: 20px;
        width: 70px;
        height: 70px;
        top: -20px;
    }
}

@media (max-width: 600px) {
    .course-menu {
        grid-template-columns: 1fr;
    }
    
    .price-table-container {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .price-table-header h2 {
        font-size: 1.4rem;
    }
    
    .course-details ul {
        grid-template-columns: 1fr;
    }
}

/* ===== Access Page Styles ===== */
.access-page-content {
    background: var(--bg-lighter);
    padding: 80px 0;
}

/* School Info Table */
.school-info-container {
    max-width: 800px;
    margin: 0 auto 80px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

.school-info-table {
    width: 100%;
    border-collapse: collapse;
}

.school-info-table th {
    width: 25%;
    text-align: left;
    padding: 24px 16px;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    vertical-align: top;
    background: #f9f9f9;
}

.school-info-table td {
    width: 75%;
    padding: 24px 16px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.school-info-table tr:last-child th,
.school-info-table tr:last-child td {
    border-bottom: none;
}

.access-detail {
    margin-bottom: 16px;
}

.access-detail strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.access-detail p {
    margin: 0;
    font-size: 0.95rem;
}

.line-btn {
    display: inline-block;
    background: #06C755;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.line-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Map Section */
.map-section {
    margin-bottom: 80px;
    text-align: center;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #333;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

.section-heading.yellow {
    color: #F8D82C;
    text-shadow: 1px 1px 0 #ccc;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border: 4px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

/* Parking Section */
.parking-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.parking-box {
    background: #FFFBE6; /* 薄い黄色 */
    padding: 40px;
    border-radius: 12px;
}

.parking-diagram {
    background: #fff;
    border: 2px solid #ccc;
    padding: 20px;
    margin-bottom: 24px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.parking-label {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.parking-spots {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    background: #ddd;
    padding: 4px;
}

.spot {
    background: #fff;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
}

.spot.fillo {
    background: #F8D82C;
}

.parking-note {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive for Access Page */
@media (max-width: 600px) {
    .school-info-table th,
    .school-info-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }
    
    .school-info-table th {
        background: #eee;
        border-bottom: none;
    }
    
    .parking-box {
        padding: 24px 16px;
    }
}

/* ===== Course List Page Styles ===== */
/* Old course styles are kept above, new V2 styles below */

/* ===== Course List V2 Styles (New Layout) ===== */
.course-list-page-v2 {
    background: var(--bg-lighter);
    padding: 120px 0;
}

.course-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card-v2 {
    background: linear-gradient(145deg, #ffffff, var(--primary-light));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.course-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.course-number-v2 {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.course-ill-box {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    aspect-ratio: 4/3;
    transition: var(--transition);
    border: 1px solid rgba(110, 139, 150, 0.1);
}

.course-card-v2:hover .course-ill-box {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: rgba(110, 139, 150, 0.3);
}

.course-ill-box i {
    font-size: 4rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card-v2:hover .course-ill-box i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.course-content-v2 {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title-v2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-family: var(--font-primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 12px;
    display: inline-block;
}

.course-desc-v2 {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
    flex-grow: 1;
}

.course-link-btn {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.course-link-btn:hover {
    border-bottom-color: var(--primary-color);
    gap: 12px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .course-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .course-card-v2 {
        padding: 32px 24px;
    }
    
    .course-number-v2 {
        font-size: 3rem;
    }
}

/* ===== Corporate Section ===== */
.corporate {
    /* 画像をURLから直接指定 */
    background-image: url('https://www.genspark.ai/api/files/s/Ef1KxJUw'); 
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
    color: #fff;
    text-align: center;
}

.corporate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* オーバーレイを少し濃いめに */
    z-index: 1;
}

.corporate .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.corporate .section-header {
    margin-bottom: 40px;
}

.corporate .section-label {
    color: #fff;
    opacity: 0.9;
}

.corporate .section-label::before,
.corporate .section-label::after {
    background: rgba(255, 255, 255, 0.3);
}

.corporate .section-title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 24px;
}

.corporate .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.corporate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3CB371; /* MediumSeaGreen (分析結果に基づく) */
    color: #fff;
    padding: 18px 56px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    gap: 16px;
    text-decoration: none;
    letter-spacing: 0.05em;
    margin-top: 32px;
}

.corporate-btn:hover {
    background-color: #2E8B57; /* 濃いめのグリーン */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #fff;
}

.corporate-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.corporate-btn:hover i {
    transform: translateX(4px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .corporate {
        padding: 100px 0;
    }
    
    .corporate-btn {
        width: 100%;
        padding: 16px 24px;
    }
}


.hidden-pc{
    @media (min-width: 768px){
        display:none;
    }
}

.hidden-sp{
    @media (max-width: 768px){
        display:none;
    }
}


#home .hero-content{
    @media (max-width: 768px){
        padding: 0;
        margin: 0;
    }
}

.hero-text-box{
    @media (max-width: 768px) {
        margin: 0;
    }
}