/* デザイン案1: オーシャン/アクア風 - 青と緑のマイクラスタイル */

/* カラーパレット */
:root {
    --ocean-blue: #1E90FF;
    --deep-blue: #0066CC;
    --aqua: #00CED1;
    --emerald-green: #50C878;
    --grass-green: #7CB342;
    --light-green: #B2FF59;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --dark-gray: #424242;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body.scroll-locked {
    overflow-y: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(180deg, var(--ocean-blue) 0%, var(--aqua) 100%);
    color: var(--dark-gray);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ピクセルボックススタイル（マイクラ風） */
.pixel-box {
    background: var(--white);
    border: 4px solid var(--dark-gray);
    box-shadow: 8px 8px 0 var(--shadow);
    padding: 20px;
    position: relative;
}

.pixel-box::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg,
            transparent 0%, transparent 48%,
            var(--emerald-green) 48%, var(--emerald-green) 52%,
            transparent 52%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.pixel-box:hover::before {
    opacity: 0.3;
}

.pixel-box-large {
    background: rgba(255, 255, 255, 0.95);
    border: 6px solid var(--emerald-green);
    box-shadow: 12px 12px 0 var(--shadow);
    padding: 40px;
}

/* ヘッダー */
.site-header {
    background: var(--deep-blue);
    padding: 20px 0;
    border-bottom: 6px solid var(--emerald-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px var(--shadow);
}

.site-header .container {
    display: flex;
    justify-content: center;
    /* ナビゲーションのみなので中央寄せ */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    display: flex;
    justify-content: center;
}

.logo-sentence {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.ADVANCE {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    /* 大きく表示 */
    color: #ffd700;
    /* 黄色っぽい色 */
    text-shadow: 3px 3px 0 var(--dark-gray);
    margin-bottom: -5px;
}

.school {
    font-size: 14px;
    color: var(--white);
    /* 背景が青系なので白に変更 */
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--dark-gray);
    /* 視認性を高めるため影を追加 */
}

.main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    background: var(--grass-green);
    color: var(--white);
    padding: 12px 20px;
    text-decoration: none;
    border: 3px solid var(--dark-gray);
    box-shadow: 4px 4px 0 var(--shadow);
    transition: all 0.2s;
    display: inline-block;
}

.nav-button:hover {
    background: var(--light-green);
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

.nav-button:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--shadow);
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--emerald-green);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--emerald-green);
    border-bottom: 3px solid var(--dark-gray);
}

.mobile-menu-header h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--white);
    margin: 0;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-nav-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-gray);
    padding: 20px 20px;
    text-decoration: none;
    border-bottom: 2px solid var(--light-gray);
    transition: all 0.2s;
}

.mobile-nav-button:hover {
    background: var(--emerald-green);
    color: var(--white);
    padding-left: 30px;
}

/* スクロール時のヘッダー変化（スマホ・タブレット用） */
@media (max-width: 768px) {
    .site-header {
        transition: all 0.3s;
    }

    /* スクロール前：通常表示 */
    .site-header .main-nav {
        display: flex;
    }

    .site-header .hamburger-menu {
        display: none;
    }

    /* スクロール後：ハンバーガーメニュー表示 */
    .site-header.scrolled {
        position: fixed;
        top: 10px;
        right: 15px;
        left: unset;
        width: auto;
        z-index: 999;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-bottom: none;
    }

    .site-header.scrolled .main-nav {
        display: none;
    }

    .site-header.scrolled .logo {
        display: none;
    }

    .site-header.scrolled .hamburger-menu {
        display: flex;
        width: 48px;
        height: 48px;
        background: var(--grass-green);
        padding: 10px;
        border: 3px solid var(--dark-gray);
        border-radius: 0;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
        transition: all 0.2s;
    }

    .site-header.scrolled .hamburger-menu:active {
        transform: translateY(2px);
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
    }

    .site-header.scrolled .hamburger-menu span {
        height: 4px;
        background-color: var(--white);
        border: 1px solid var(--dark-gray);
        width: 100%;
    }

    .site-header.scrolled .container {
        padding: 0;
        width: auto;
    }
}


/* タブレット用の調整 */
@media (min-width: 481px) and (max-width: 768px) {
    .site-header .main-nav {
        gap: 5px;
    }

    .site-header .nav-button {
        font-size: 8px;
        padding: 10px 15px;
    }
}

/* スマホ用の調整 */
@media (max-width: 480px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .site-header .main-nav {
        width: 100%;
        justify-content: center;
    }

    .site-header .nav-button {
        font-size: 7px;
        padding: 8px 12px;
    }

    .site-header .logo h1 {
        font-size: 16px;
    }
}


/* ヒーローセクション */
.hero {
    padding: 80px 0;
    text-align: center;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/b04d8b08b6803764f5a08f776cd29d0c.jpg') repeat;
    background-size: 32px 32px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pixel-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    color: var(--deep-blue);
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 2px 2px 0 var(--emerald-green);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* キャンペーンバナー */
.campaign-banner {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    padding: 20px;
    margin-top: 30px;
    animation: pulse 2s infinite;
}

.campaign-free {
    background: var(--emerald-green);
    color: var(--white);
    border-color: var(--grass-green);
}

.campaign-half {
    background: var(--aqua);
    color: var(--white);
    border-color: var(--ocean-blue);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* 画像ギャラリー（スライダー） */
.school-gallery {
    margin-top: 30px;
    background: var(--white);
}

.gallery-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--deep-blue);
    margin-bottom: 20px;
    text-align: center;
}

.gallery-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.gallery-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
}

.gallery-image {
    min-width: 330px;
    height: 248px;
    object-fit: cover;
    border: 3px solid var(--emerald-green);
    transition: all 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-image:hover {
    transform: scale(1.05);
    border-color: var(--ocean-blue);
    box-shadow: 0 4px 12px var(--shadow);
}


@media (max-width: 768px) {
    .gallery-image {
        min-width: 240px;
        height: 180px;
    }
}

/* ブログリンクボタン */
.blog-link-section {
    margin-top: 20px;
    text-align: center;
}

.blog-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    text-decoration: none;
    color: var(--deep-blue);
    background: var(--white);
    border-color: var(--ocean-blue);
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    transition: all 0.3s;
}

.blog-link-btn:hover {
    background: var(--ocean-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 var(--shadow);
}

.blog-link-icon {
    font-size: 24px;
}

.blog-link-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.blog-link-btn:hover .blog-link-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-link-btn {
        font-size: 12px;
        padding: 12px 20px;
        gap: 8px;
    }
}

/* 学習環境セクション */
.features {
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/1bb9994bb9736f8a6cda1fba588eeba3.jpg') repeat;
    background-size: 32px 32px;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--deep-blue);
    background: var(--white);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    transition: transform 0.3s;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--emerald-green);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.feature-card p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* 学習環境カードの画像 */
.feature-image {
    margin-bottom: 15px;
    border: 3px solid var(--emerald-green);
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f9f9f9;
    display: block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}


/* カリキュラムセクション */
.curriculum {
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/d6731f9c5321e79df7bf30cca7400a4c.jpg') repeat;
    background-size: 32px 32px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.curriculum-category {
    background: var(--white);
    transition: transform 0.3s;
}

.curriculum-category:hover {
    transform: translateY(-8px) rotate(-1deg);
}

/* 難易度別のボーダーカラー */
.level-beginner {
    border-color: var(--grass-green);
}

.level-beginner:hover {
    border-color: var(--emerald-green);
}

.level-intermediate {
    border-color: var(--ocean-blue);
}

.level-intermediate:hover {
    border-color: var(--deep-blue);
}

.level-advanced {
    border-color: #9C27B0;
}

.level-advanced:hover {
    border-color: #7B1FA2;
}

.level-creative {
    border-color: #FF9800;
}

.level-creative:hover {
    border-color: #F57C00;
}

.curriculum-category h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--deep-blue);
    border-bottom: 3px solid var(--emerald-green);
    padding-bottom: 10px;
}

.level-beginner h3 {
    border-bottom-color: var(--grass-green);
}

.level-intermediate h3 {
    border-bottom-color: var(--ocean-blue);
}

.level-advanced h3 {
    border-bottom-color: #9C27B0;
}

.level-creative h3 {
    border-bottom-color: #FF9800;
}

.curriculum-category ul {
    list-style: none;
}

.curriculum-category li {
    padding: 8px 0;
    border-left: 4px solid var(--grass-green);
    padding-left: 15px;
    margin-bottom: 8px;
    background: var(--light-gray);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.level-beginner li {
    border-left-color: var(--grass-green);
}

.level-intermediate li {
    border-left-color: var(--ocean-blue);
}

.level-advanced li {
    border-left-color: #9C27B0;
}

.level-creative li {
    border-left-color: #FF9800;
}

.curriculum-category li:hover {
    background: var(--light-green);
}

.level-beginner li:hover {
    border-left-color: var(--emerald-green);
}

.level-intermediate li:hover {
    border-left-color: var(--deep-blue);
}

.level-advanced li:hover {
    border-left-color: #7B1FA2;
}

.level-creative li:hover {
    border-left-color: #F57C00;
}

/* カテゴリタグ */
.category-tag {
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    border: 2px solid;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-tag.game {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #4CAF50;
}

.category-tag.web {
    background: #E3F2FD;
    color: #1565C0;
    border-color: #2196F3;
}

.category-tag.other {
    background: #FFF3E0;
    color: #E65100;
    border-color: #FF9800;
}

/* ヒーロー追加スタイル */
.logo-subtitle {
    font-size: 10px;
    color: var(--white);
    margin-top: 5px;
    font-weight: 400;
}

.hero-description {
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 14px;
    margin-top: 10px;
    color: var(--dark-gray);
    font-weight: 400;
}

.campaign-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 900;
}

.campaign-detail {
    font-size: 12px;
    line-height: 1.8;
}

.marker-highlight {
    background: linear-gradient(transparent 60%, #FFEB3B 60%);
    padding: 2px 4px;
    font-weight: 900;
}

/* スクール概要セクション */
.about {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.15);
}

.about-content {
    max-width: 900px;
    margin: 40px auto 0;
    line-height: 2;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.about-highlight {
    font-size: 18px;
    font-weight: 900;
    color: var(--deep-blue);
    margin-top: 20px;
}

/* 学習環境追加スタイル */
.feature-highlight {
    color: var(--deep-blue);
    font-weight: 900;
    margin-top: 5px;
}

/* カリキュラム追加機能 */
.curriculum-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.curriculum-feature {
    background: var(--white);
    text-align: center;
    transition: transform 0.3s;
}

.curriculum-feature:hover {
    transform: translateY(-8px);
    border-color: var(--emerald-green);
}

.curriculum-feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--deep-blue);
}

.curriculum-feature p {
    margin-bottom: 10px;
}

.app-link-container {
    margin-top: 15px;
}

.app-store-btn {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    background: var(--grass-green);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border: 3px solid var(--dark-gray);
    box-shadow: 4px 4px 0 var(--shadow);
    transition: all 0.2s;
    display: inline-block;
}

.app-store-btn:hover {
    background: var(--emerald-green);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--shadow);
    color: var(--white);
}

/* 身につく４つの力セクション */
.skills {
    padding: 60px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    background: var(--white);
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-color: var(--grass-green);
    transition: transform 0.3s;
}

.skill-card:nth-child(2) {
    border-color: var(--ocean-blue);
}

.skill-card:nth-child(3) {
    border-color: #FF9800;
}

.skill-card:nth-child(4) {
    border-color: #9C27B0;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
    background: var(--light-gray);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    border: 3px solid var(--dark-gray);
}

.skill-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--deep-blue);
    position: relative;
}

.skill-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--emerald-green);
}

.skill-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-text);
}

/* お知らせセクション */
.news {
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/5bb4866bbd4d4aa24f876f15a691aa92.jpg') repeat;
    background-size: 32px 32px;
}

.news-card {
    background: var(--white);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--emerald-green);
}

.news-card h3 {
    font-size: 22px;
    color: var(--deep-blue);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--emerald-green);
    padding-bottom: 15px;
}

.news-content {
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 12px;
    font-size: 15px;
}

.news-event {
    border-color: var(--emerald-green);
    border-width: 6px;
}

/* イベント動画 */
/* イベント動画 */
.event-video {
    margin: 30px auto;
    width: 50%;
    position: relative;
    padding-bottom: 28.125%;
    /* 16:9 (50%幅のとき) */
    height: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .event-video {
        width: 100%;
        padding-bottom: 56.25%;
    }
}

/* 受賞歴画像 */
.award-container {
    text-align: center;
    margin-top: 20px;
}

.award-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 4px solid var(--emerald-green);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.award-image:hover {
    transform: scale(1.02);
    border-color: var(--ocean-blue);
}


.event-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid var(--dark-gray);
}

/* イベントボタン */
.event-button {
    text-align: center;
    margin-top: 20px;
}

.event-button a,
.btn-reserve {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    background: var(--emerald-green);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border: 3px solid var(--dark-gray);
    box-shadow: 4px 4px 0 var(--shadow);
    transition: all 0.2s;
    display: inline-block;
}

.event-button a:hover,
.btn-reserve:hover {
    background: var(--light-green);
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

/* お知らせ追加機能グリッド */
.news-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.news-feature {
    background: var(--white);
    text-align: center;
    transition: transform 0.3s;
}

.news-feature:hover {
    transform: translateY(-5px);
    border-color: var(--ocean-blue);
}

.news-feature h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.news-feature p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* フッター追加スタイル */
.footer-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-green);
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.footer-section {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--aqua);
}

.footer-section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--light-green);
    border-bottom: 2px solid var(--emerald-green);
    padding-bottom: 10px;
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.8;
}

.access-nearby {
    margin-top: 15px;
    font-size: 14px;
    color: var(--aqua);
}

.footer-note {
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 10px;
}

.map {
    margin-top: 20px;
    border: 4px solid var(--dark-gray);
    overflow: hidden;
}

.map iframe {
    display: block;
}


/* フッター */
.site-footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 40px 0 20px;
    border-top: 6px solid var(--emerald-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info,
.footer-sns {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--aqua);
}

.footer-info h3,
.footer-sns h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--light-green);
}

.footer-info p {
    margin-bottom: 8px;
}

.sns-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sns-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    background: var(--emerald-green);
    color: var(--white);
    padding: 10px 15px;
    text-decoration: none;
    border: 3px solid var(--white);
    transition: all 0.2s;
    display: inline-block;
}

.sns-button:hover {
    background: var(--light-green);
    color: var(--dark-gray);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    font-size: 12px;
    padding-top: 20px;
    border-top: 2px solid var(--aqua);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .nav-button {
        font-size: 8px;
        padding: 10px 15px;
    }

    .pixel-title {
        font-size: 18px;
    }

    .hero-text {
        font-size: 14px;
    }

    .campaign-banner {
        font-size: 12px;
    }

    .section-title,
    .footer-title {
        font-size: clamp(13px, 4.5vw, 18px);
        white-space: normal;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        max-width: 100%;
    }

    .features-grid,
    .curriculum-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .pixel-box {
        padding: 15px;
        box-shadow: 4px 4px 0 var(--shadow);
    }

    .pixel-box-large {
        padding: 25px;
        box-shadow: 6px 6px 0 var(--shadow);
    }
}

@media (max-width: 480px) {
    .pixel-title {
        font-size: 14px;
    }

    .hero-text {
        font-size: 14px;
    }

    .nav-button {
        font-size: 7px;
        padding: 8px 12px;
    }
}

/* タイトルセクション */
.main-title-section {
    text-align: center;
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/9d7121b1895aee5dcc7c1457652ac23a.jpg') repeat;
    background-size: 32px 32px;
}

.main-title-section h1 {
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.title-logo-img img {
    height: 300px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-sentence {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.main-title-section .ADVANCE {
    font-size: 100px;
    margin-bottom: 0;
    line-height: 1;
}

.main-title-section .school {
    font-size: 62px;
    line-height: 1;
}

@media (max-width: 768px) {
    .main-title-section {
        padding: 30px 0;
    }

    .title-container {
        gap: 0px;
    }

    .title-logo-img img {
        height: 60px;
    }

    .main-title-section .ADVANCE {
        font-size: 25px;
    }

    .main-title-section .school {
        font-size: 14.8px;
    }
}

/* 料金・時間割セクション */
.price {
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/6122a6337fb04aac5f8cbf3066447d8a.jpg') repeat;
    background-size: 32px 32px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.price-plan {
    background: var(--white);
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-plan.recommended {
    border-color: var(--emerald-green);
    box-shadow: 6px 6px 0 var(--emerald-green);
    transform: scale(1.05);
    z-index: 1;
}

.price-plan h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--deep-blue);
    font-family: 'Press Start 2P', cursive;
    line-height: 1.4;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--emerald-green);
    margin-bottom: 20px;
    font-family: 'Press Start 2P', cursive;
}

.price-amount .tax {
    font-size: 12px;
    color: var(--dark-gray);
    font-weight: normal;
    margin-left: 5px;
    display: block;
    margin-top: 5px;
}

.price-details {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    display: inline-block;
    width: 100%;
}

.price-details li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 10px;
}

.price-details li:last-child {
    border-bottom: none;
}

.price-details li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: -2px;
}

.badge {
    position: absolute;
    top: -15px;
    right: -10px;
    background: var(--emerald-green);
    color: var(--white);
    padding: 5px 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    border: 2px solid var(--dark-gray);
    box-shadow: 2px 2px 0 var(--shadow);
    transform: rotate(10deg);
}

.price-note {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--white);
    font-size: 14px;
}

.schedule-info {
    background: var(--white);
    padding: 30px;
}

.schedule-info h3 {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
}

.schedule-grid {
    display: grid;
    gap: 15px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 2px dashed var(--light-gray);
    flex-wrap: wrap;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-weight: bold;
    color: var(--deep-blue);
    font-size: 16px;
    background: var(--light-blue);
    padding: 5px 10px;
    border-radius: 4px;
}

.schedule-item .time {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
}

.schedule-note {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: var(--dark-gray);
}

/* 講師紹介セクション */
.instructors {
    padding: 60px 0;
    background: var(--light-blue);
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.instructor-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.instructor-icon {
    font-size: 150px;
    margin-bottom: 20px;
    background: var(--ice-blue);
    width: 300px;
    max-width: 100%;
    height: 300px;
    line-height: 300px;
    border-radius: 10px;
    display: inline-block;
    border: 3px solid var(--dark-gray);
    box-shadow: 4px 4px 0 var(--shadow);
    overflow: hidden;
}

.instructor-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instructor-card h3 {
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 10px;
    font-size: 18px;
}

.instructor-role {
    color: var(--white);
    background: var(--emerald-green);
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid var(--dark-gray);
    box-shadow: 2px 2px 0 var(--shadow);
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
}

.instructor-desc {
    text-align: left;
    line-height: 1.8;
    font-size: 14px;
}

/* レスポンシブ対応追加 */
@media (max-width: 768px) {
    .price-plan.recommended {
        transform: scale(1.0);
        margin: 20px 0;
        z-index: 0;
    }

    .schedule-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .ADVANCE {
        font-size: 24px;
    }

    .school {
        font-size: 10px;
    }
}

/* 時間割テーブル */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 15px;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    margin-top: 10px;
    background: var(--white);
    font-size: 14px;
    min-width: 500px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border: 2px solid var(--dark-gray);
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
}

.schedule-table th {
    background: var(--light-blue);
    color: var(--deep-blue);
    font-weight: bold;
}

.schedule-table th .note {
    font-size: 10px;
    font-weight: normal;
    color: var(--dark-gray);
    display: block;
    margin-top: 5px;
    line-height: 1.2;
}

.schedule-table .time-slot {
    background: var(--light-gray);
    color: var(--dark-gray);
    font-weight: bold;
    width: 60px;
}

.schedule-table .no-class {
    background: #f0f0f0;
    color: #999;
    font-family: "Noto Sans JP", sans-serif;
    /* 日本語なのでゴシック体に */
    font-size: 12px;
}

.schedule-table .event-day {
    background: var(--light-green);
    color: var(--deep-blue);
    font-weight: bold;
    border: 3px solid var(--emerald-green);
    position: relative;
    font-family: "Noto Sans JP", sans-serif;
}

.schedule-table .event-day::after {
    content: "★";
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--white);
    text-shadow: 1px 1px 0 var(--dark-gray);
}

.schedule-table td {
    font-family: 'Press Start 2P', "Noto Sans JP", cursive;
    /* 英数字はPress Start 2P、日本語はNoto Sans JP */
}

/* 時間割セクション */
.schedule {
    padding: 60px 0;
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/b04d8b08b6803764f5a08f776cd29d0c.jpg') repeat;
    background-size: 32px 32px;
}

/* Q&Aセクション */
.faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: var(--dark-text);
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.3);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 6px;
    background: var(--emerald-green);
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.faq-icon-a {
    background: var(--bright-orange);
}

.faq-toggle {
    margin-left: auto;
    font-size: 24px;
    font-weight: bold;
    color: var(--emerald-green);
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px 20px;
    align-items: flex-start;
    gap: 15px;
}

.faq-item.active .faq-answer {
    display: flex;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-text);
    padding-top: 8px;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 14px;
        padding: 15px;
        gap: 10px;
    }

    .faq-answer {
        padding: 0 15px 15px 15px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 12px;
    }
}

/* 講師紹介セクション修正 */
.instructors {
    background: url('https://programming-school-advance.com/wp-content/uploads/2026/02/1bb9994bb9736f8a6cda1fba588eeba3.jpg') repeat;
    background-size: 32px 32px;
}

/* キャンペーンバナー */
.campaign-banner {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campaign-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.campaign-banner>* {
    position: relative;
    z-index: 1;
}

.campaign-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.6;
}

.campaign-detail {
    font-size: 16px;
    line-height: 1.8;
}

/* 無料キャンペーン */
.campaign-free {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-color: #ffd700;
    box-shadow: 8px 8px 0 rgba(255, 215, 0, 0.3);
}

.campaign-free .campaign-title {
    color: #d4a017;
}

.campaign-free .campaign-detail {
    color: var(--dark-gray);
}

/* 半額キャンペーン */
.campaign-half {
    background: linear-gradient(135deg, #fff0e6 0%, #ffe0cc 100%);
    border-color: #ff8c00;
    box-shadow: 8px 8px 0 rgba(255, 140, 0, 0.3);
}

.campaign-half .campaign-title {
    color: #e67300;
}

.campaign-half .campaign-detail {
    color: var(--dark-gray);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .campaign-title {
        font-size: 14px;
    }

    .campaign-detail {
        font-size: 14px;
    }
}

/* 体験会イメージ画像 */
.trial-image {
    margin: 20px auto;
    text-align: center;
}

.trial-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 4px solid var(--emerald-green);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.trial-image img:hover {
    transform: scale(1.02);
    border-color: var(--ocean-blue);
}

/* ゲーム風体験会CTAボタン */
.cta-game-section {
    text-align: center;
    padding: 30px 20px 20px;
}

.cta-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 50px;
    background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%);
    color: var(--white);
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    border: 4px solid #0d5c2a;
    box-shadow:
        0 8px 0 #0d5c2a,
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.1s ease;
    animation: cta-pulse 2s ease-in-out infinite;
}

.cta-game-btn:hover {
    transform: translateY(4px);
    box-shadow:
        0 4px 0 #0d5c2a,
        0 6px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, #86efac 0%, #22c55e 50%, #16a34a 100%);
}

.cta-game-btn:active {
    transform: translateY(8px);
    box-shadow:
        0 0 0 #0d5c2a,
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

@keyframes cta-pulse {

    0%,
    100% {
        box-shadow:
            0 8px 0 #0d5c2a,
            0 10px 20px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        box-shadow:
            0 8px 0 #0d5c2a,
            0 10px 20px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            0 0 30px 10px rgba(74, 222, 128, 0.2);
    }
}

.cta-game-icon {
    font-size: 36px;
    line-height: 1;
}

.cta-game-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-game-sub {
    font-size: 12px;
    color: #d4edda;
    letter-spacing: 2px;
}

.cta-game-main {
    font-size: 18px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.cta-game-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .cta-game-btn {
        padding: 15px 25px;
        gap: 10px;
    }

    .cta-game-icon {
        font-size: 24px;
    }

    .cta-game-sub {
        font-size: 8px;
    }

    .cta-game-main {
        font-size: 12px;
    }
}

/* セクションサブタイトル（SEO用） */
.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--white);
    margin-top: -10px;
    margin-bottom: 30px;
    opacity: 0.85;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ヒーローエリアテキスト */
.hero-area {
    font-size: 0.6em;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
}

/* フッターエリアキーワード */
.footer-area-keywords {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}