/* ========================================
   リセットと基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #00a651; /* Trustworthy Green */
    --primary-dark: #007b3c;
    --primary-light: #40c070;
    --secondary-color: #f39800; /* Energetic Orange */
    --accent-color: #e60012; /* Passionate Red */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* タイポグラフィ */
    --font-family: 'Noto Sans JP', sans-serif;
    --heading-weight: 700;
    --body-weight: 400;

    /* スペーシング */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   セクション共通
   ======================================== */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: var(--heading-weight);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: var(--heading-weight);
    color: var(--primary-color);
    white-space: nowrap;
}

.logo i {
    font-size: 1.5rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/course-hero.png') no-repeat center center/cover;
    color: white;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay to make text readable */
    z-index: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-category {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-number {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-badge i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.hero-badge strong {
    font-weight: 700;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); border-color: rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.03); border-color: var(--secondary-color); }
}

.hero-badge {
    animation: badgePulse 3s infinite ease-in-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title-sub {
    font-size: 0.6em;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero,
.btn-hero-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item i {
    font-size: 2rem;
    opacity: 0.9;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.info-item span {
    display: block;
    font-size: 1rem;
}

/* ========================================
   重要なお知らせ
   ======================================== */
.important-notice {
    background: #fef3c7;
    border-top: 4px solid #f59e0b;
    border-bottom: 4px solid #f59e0b;
    padding: 2rem 20px;
}

.notice-box {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.notice-box h3 {
    color: #d97706;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.notice-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.notice-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.notice-item p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.notice-item strong {
    color: #dc2626;
    font-weight: 700;
}

.notice-item .small {
    font-size: 0.85rem;
    color: var(--text-light);
}

.notice-recruitment {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.notice-recruitment p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.notice-recruitment strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   即戦力を目指す3つのステップ
   ======================================== */
.steps-process {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.process-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.process-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.12);
    border-color: rgba(0, 166, 81, 0.3);
    background: #ffffff;
}

/* ステップ間のコネクタ線 (Desktop) */
.process-grid::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-color) 0, var(--border-color) 8px, transparent 8px, transparent 16px);
    z-index: 1;
    display: block;
}

.process-step {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.process-icon-wrapper {
    width: 90px;
    height: 90px;
    background: rgba(0, 166, 81, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.process-card:hover .process-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.process-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 800;
}

.process-period {
    display: inline-block;
    background: rgba(230, 0, 18, 0.06);
    color: var(--accent-color);
    padding: 0.2rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.process-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.process-description {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: #f0fdf4;
    border-radius: 16px;
    border: 1px solid rgba(0, 166, 81, 0.1);
    text-align: center;
    color: var(--primary-dark);
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ========================================
   訓練の特徴
   ======================================== */
.features {
    padding: var(--section-padding);
    background: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 166, 81, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ========================================
   訓練目標
   ======================================== */
.training-goal {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.goal-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.goal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.goal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   取得目標資格
   ======================================== */
.qualifications {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.qualification-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.qualification-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.qualification-card.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid var(--secondary-color);
}

.qualification-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.qualification-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qualification-card h3 i {
    color: var(--secondary-color);
}

.qualification-card .sub-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.qualification-card .organization {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.qualification-card .fee {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.qualification-card .description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   カリキュラム
   ======================================== */
.curriculum {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.curriculum-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.curriculum-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex: 1;
}

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

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

/* ========================================
   会場案内
   ======================================== */
.venue {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.venue-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.venue-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.venue-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
}

.venue-badge.practice {
    background: var(--secondary-color);
}

.venue-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-right: 80px; /* Space for badge */
}

.venue-address {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.venue-address i {
    color: var(--primary-color);
    margin-top: 5px;
}

.venue-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.venue-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 480px;
}

@media (max-width: 992px) {
    .venue-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .venue-map iframe {
        min-height: 350px;
    }
}

/* ========================================
   応募条件
   ======================================== */
.requirements {
    padding: var(--section-padding);
    background: white;
}

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

.requirement-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.requirement-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-box h3 i {
    color: var(--primary-color);
}

.requirement-box p {
    color: var(--text-dark);
    line-height: 1.8;
}

.venue-highlight {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.25rem 1rem;
    background: rgba(37, 99, 235, 0.08); /* Soft blue theme */
    border-left: 4px solid var(--primary-color);
    display: inline-block;
    border-radius: 0 4px 4px 0;
    margin-top: 0.25rem;
}

.requirement-list h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.requirement-list ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.requirement-list li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.device-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.device-group {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.device-group h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.device-group h4 i {
    color: var(--primary-color);
}

.device-group ul {
    list-style: none;
    padding: 0;
}

.device-group li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.device-group li:last-child {
    border-bottom: none;
}

.device-group strong {
    color: var(--primary-color);
    font-weight: 600;
}

.requirement-box .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #dbeafe;
    border-radius: 8px;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   必要経費
   ======================================== */
.costs {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cost-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cost-card.free {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 3px solid var(--accent-color);
}

.cost-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
}

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

.cost-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cost-card.free .cost-amount {
    color: var(--accent-color);
}

.cost-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.cost-card p {
    color: var(--text-light);
}

.cost-notes {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.cost-notes h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cost-notes ul {
    list-style: none;
    padding: 0;
}

.cost-notes li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cost-notes li:last-child {
    border-bottom: none;
}

.cost-notes li i {
    color: var(--accent-color);
}

/* ========================================
   選考について
   ======================================== */
.selection {
    padding: var(--section-padding);
    background: white;
}

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

.selection-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-box h3 i {
    color: var(--primary-color);
}

.large-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-box .note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.selection-detail {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.selection-note {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
}

.selection-note p {
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.selection-note i {
    color: #f59e0b;
}

/* ========================================
   申込方法
   ======================================== */
.how-to-apply {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.step-card {
    background: white;
    padding: 3rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

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

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-card .note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

/* ========================================
   お問い合わせ
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contact-content-grid {
    display: flex;
    justify-content: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 800px;
}

@media (max-width: 992px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
    }
}

.contact-body {
    margin-bottom: 2rem;
}

.contact-row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: baseline;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row.institution {
    border-bottom-width: 2px;
    border-bottom-color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-label {
    width: 200px;
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.6;
}

.institution .contact-value {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    text-align: left;
}

.contact-value .block {
    display: block;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 0.5rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-label {
        width: auto;
    }

    .institution .contact-value {
        font-size: 1.3rem;
    }
}

.contact-note {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    color: #1e40af;
}

.contact-note p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section li i {
    color: var(--primary-light);
    width: 20px;
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   ページトップボタン
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-info {
        grid-template-columns: 1fr;
    }

    .process-grid,
    .features-grid,
    .qualifications-grid,
    .costs-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        gap: 3rem;
        margin-top: 3rem;
    }

    .process-grid::after {
        display: none;
    }

    .process-card {
        padding: 2.5rem 1.5rem;
    }

    .curriculum-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .device-requirements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title-sub {
        font-size: 0.7em;
    }

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

    .btn-hero,
    .btn-hero-outline {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

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

    .contact-card {
        padding: 1.5rem;
    }

    .cost-amount {
        font-size: 2rem;
    }
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   ユーティリティクラス
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-red {
    color: #ff0000 !important;
}