@charset "UTF-8";

/* --- サイト全体のカラー設定 --- */
:root {
    --brand-navy: #2D3E4E;
    --brand-orange: #D8602A;
    --brand-orange-hover: #BF5322;
    --bg-light: #F4F7F6;
    --text-main: #333333;
    --premium-red: #B71C1C;
}

body { font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif; margin: 0; padding: 0; color: var(--text-main); line-height: 1.6; background-color: #fff; }
a { text-decoration: none; color: var(--brand-navy); }
.container { max-width: 1000px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* --- ヘッダー領域 --- */
header { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; padding: 10px 20px; }
.logo img { height: 50px; width: auto; display: block; }
.header-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.header-nav a { font-weight: bold; font-size: 15px; transition: color 0.3s; }
.header-nav a:hover { color: var(--brand-orange); }
.header-btn { background-color: var(--brand-orange); color: #fff !important; padding: 10px 20px; border-radius: 25px; font-size: 14px; transition: 0.3s; }
.header-btn:hover { background-color: var(--brand-orange-hover); }

/* --- ヒーローセクション --- */
/* ※CSSファイルはcssフォルダの中にあるため、画像への道順は「../img/」になります */
.hero { background-color: rgba(45, 62, 78, 0.8); background-image: url('../img/hero.jpg'); background-size: cover; background-position: center 30%; background-blend-mode: multiply; color: #fff; text-align: center; padding: 140px 20px; }
.hero-catch { display: inline-block; background-color: var(--brand-orange); color: #fff; padding: 6px 20px; border-radius: 25px; font-size: 16px; font-weight: bold; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero h1 { font-size: 46px; margin-top: 0; margin-bottom: 20px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,0.7); line-height: 1.3; }
.hero p { font-size: 18px; margin-bottom: 40px; opacity: 0.95; text-shadow: 0 1px 5px rgba(0,0,0,0.7); font-weight: bold; }
.btn-primary { background-color: var(--brand-orange); color: #fff; padding: 18px 40px; border-radius: 8px; font-size: 20px; font-weight: bold; display: inline-block; box-shadow: 0 4px 6px rgba(216, 96, 42, 0.3); transition: 0.3s; }
.btn-primary:hover { background-color: var(--brand-orange-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(216, 96, 42, 0.5); }

/* --- セクション共通 --- */
section { padding: 80px 0; }
section h2 { text-align: center; color: var(--brand-navy); font-size: 32px; margin-bottom: 50px; position: relative; }
section h2::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--brand-orange); margin: 15px auto 0; }
.bg-light { background-color: var(--bg-light); }
.section-desc { text-align: center; max-width: 800px; margin: 0 auto 40px; font-size: 16px; }

/* --- フォークリフト技能講習とは？ --- */
.about-box { background-color: #fff; border: 2px solid var(--brand-navy); border-radius: 12px; padding: 40px; max-width: 800px; margin: 0 auto; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.about-box h3 { color: var(--brand-navy); font-size: 24px; margin-top: 0; text-align: center; border-bottom: 1px dashed #ccc; padding-bottom: 15px; margin-bottom: 20px; }
.about-box p { margin-bottom: 15px; }
.about-highlight { background-color: #FFF3E0; padding: 15px; border-left: 5px solid var(--brand-orange); border-radius: 4px; font-weight: bold; margin-top: 20px; }

/* --- 当校が選ばれる理由（特徴） --- */
.features-grid { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
.feature-card { box-sizing: border-box; background: #fff; padding: 40px 30px; border-radius: 12px; width: calc(33.333% - 20px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); text-align: center; border-top: 5px solid var(--brand-orange); }
.feature-number { color: var(--brand-orange); font-size: 48px; font-weight: bold; line-height: 1; margin-bottom: 15px; font-family: Arial, sans-serif; }
.feature-card h3 { color: var(--brand-navy); font-size: 20px; margin-bottom: 15px; }
.feature-card p { text-align: left; font-size: 15px; color: #555; }

/* --- 講習コース --- */
.course-grid { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
.course-card { box-sizing: border-box; background: #fff; border-radius: 12px; width: calc(50% - 15px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; border: 2px solid #e0e0e0; position: relative; }
.course-header { background-color: var(--brand-navy); color: #fff; padding: 20px; text-align: center; }
.course-header h3 { margin: 0; font-size: 24px; }
.course-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.course-target { background-color: var(--bg-light); padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.course-target strong { display: block; color: var(--brand-orange); margin-bottom: 5px; }
.course-target ul { margin: 0; padding-left: 20px; font-size: 15px; }
.course-price { text-align: center; font-size: 32px; font-weight: bold; color: var(--brand-navy); margin: auto 0 20px; }
.course-price span { font-size: 16px; font-weight: normal; }
.btn-secondary { display: block; text-align: center; background-color: #fff; color: var(--brand-navy); border: 2px solid var(--brand-navy); padding: 12px; border-radius: 6px; font-weight: bold; transition: 0.3s; }
.btn-secondary:hover { background-color: var(--brand-navy); color: #fff; }
.badge { display: inline-block; background-color: #FFC107; color: #333; font-weight: bold; padding: 4px 14px; border-radius: 20px; font-size: 13px; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); }

/* --- 受講から修了証取得までの流れ（ステップ） --- */
.flow-container { max-width: 800px; margin: 0 auto; }
.flow-step { display: flex; align-items: flex-start; margin-bottom: 30px; position: relative; }
.flow-step:last-child { margin-bottom: 0; }
.flow-number { flex-shrink: 0; width: 60px; height: 60px; background-color: var(--brand-orange); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; font-weight: bold; margin-right: 25px; z-index: 2; box-shadow: 0 4px 6px rgba(216, 96, 42, 0.3); }
.flow-content { background-color: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-grow: 1; border: 2px solid #e0e0e0; position: relative; }
.flow-content::before { content: ''; position: absolute; top: 20px; left: -10px; border-width: 10px 10px 10px 0; border-style: solid; border-color: transparent #e0e0e0 transparent transparent; display: block; width: 0; }
.flow-content::after { content: ''; position: absolute; top: 20px; left: -7px; border-width: 10px 10px 10px 0; border-style: solid; border-color: transparent #fff transparent transparent; display: block; width: 0; }
.flow-content h3 { color: var(--brand-navy); margin-top: 0; margin-bottom: 10px; font-size: 20px; }
.flow-content p { margin: 0; font-size: 15px; color: #555; line-height: 1.6; }
.flow-step::before { content: ''; position: absolute; top: 60px; left: 30px; width: 3px; height: calc(100% - 20px); background-color: #FFD8C4; z-index: 1; }
.flow-step:last-child::before { display: none; }

/* --- よくあるご質問（FAQ） --- */
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-item summary { font-size: 18px; font-weight: bold; color: var(--brand-navy); cursor: pointer; list-style: none; position: relative; padding-right: 30px; display: block; outline: none; transition: color 0.3s; }
.faq-item summary:hover { color: var(--brand-orange); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '＋'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--brand-orange); font-size: 20px; transition: transform 0.3s; }
.faq-item[open] summary::after { content: '－'; }
.faq-item p { margin-top: 15px; margin-bottom: 0; padding: 15px 20px; background-color: var(--bg-light); border-radius: 8px; font-size: 15px; color: #444; border-left: 4px solid var(--brand-orange); line-height: 1.8; }

/* --- アクセス --- */
.access-info { text-align: center; margin-bottom: 30px; font-size: 18px; }
.access-info p { margin: 10px 0; }
.access-tel { font-size: 28px; font-weight: bold; color: var(--brand-navy); }
.map-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); line-height: 0; margin-bottom: 20px; }

/* --- お問い合わせフォーム・その他下層ページ用 --- */
.page-header { background-color: var(--brand-navy); color: #fff; text-align: center; padding: 60px 20px; margin-bottom: 40px; }
.page-header h1 { margin: 0; font-size: 32px; letter-spacing: 1px; }
.form-container { max-width: 700px; margin: 0 auto 80px; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.form-desc { text-align: center; margin-bottom: 30px; font-size: 15px; color: #555; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--brand-navy); }
.required { background-color: #E53935; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-left: 10px; vertical-align: middle; font-weight: normal; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 16px; font-family: inherit; transition: border-color 0.3s; }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-orange); }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 5px; }
.radio-group label { display: flex; align-items: center; font-weight: normal; color: var(--text-main); cursor: pointer; }
.radio-group input[type="radio"] { margin-right: 8px; transform: scale(1.2); }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-top: 5px; }
.checkbox-group label { font-weight: normal; color: var(--text-main); cursor: pointer; display: flex; align-items: center; }
.checkbox-group input[type="checkbox"] { margin-right: 10px; transform: scale(1.2); }
select:disabled { background-color: #f0f0f0; cursor: not-allowed; }
.btn-submit { background-color: var(--brand-orange); color: white; border: none; padding: 18px; width: 100%; font-size: 18px; font-weight: bold; border-radius: 6px; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-submit:hover { background-color: var(--brand-orange-hover); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(216, 96, 42, 0.3); }

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .logo img { height: 40px; }
    .hero { padding: 100px 20px; }
    .hero h1 { font-size: 32px; }
    .about-box { padding: 25px 20px; }
    .feature-card { width: 100%; padding: 30px 20px; }
    .course-card { width: 100%; margin-top: 15px; }
    .flow-step { flex-direction: column; align-items: center; margin-bottom: 40px; text-align: center; }
    .flow-number { margin-right: 0; margin-bottom: 15px; }
    .flow-step::before { display: none; }
    .flow-content::before, .flow-content::after { display: none; }
    .faq-item summary { font-size: 16px; padding-right: 25px; }
    .access-info { font-size: 16px; }
    .access-tel { font-size: 24px; }
    .form-container { padding: 25px 20px; margin: 0 15px 50px; }
    .radio-group { flex-direction: column; gap: 10px; }
}

/* --- 講習日程表 --- */
.schedule-wrapper { max-width: 800px; margin: 0 auto; }
.schedule-box { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden; border: 2px solid var(--brand-navy); }
.schedule-box h3 { background-color: var(--brand-navy); color: #fff; margin: 0; padding: 15px 20px; text-align: center; font-size: 20px; }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { padding: 15px 20px; border-bottom: 1px solid #e0e0e0; }
.schedule-table tr:last-child th, .schedule-table tr:last-child td { border-bottom: none; }
.schedule-table th { width: 35%; background-color: var(--bg-light); color: var(--brand-navy); font-weight: bold; text-align: left; border-right: 1px solid #e0e0e0; }
.schedule-table td { text-align: left; color: #444; font-weight: bold; }
.schedule-note { text-align: center; font-size: 14px; color: var(--premium-red); margin-top: 15px; font-weight: bold; }

/* --- スマホ対応（日程表） --- */
@media (max-width: 768px) {
    .schedule-table th, .schedule-table td { display: block; width: 100%; border-right: none; box-sizing: border-box; }
    .schedule-table th { border-bottom: none; padding: 15px 20px 5px; }
    .schedule-table td { padding: 5px 20px 15px; }
}

/* --- フッター --- */
footer { background-color: var(--brand-navy); color: #fff; text-align: center; padding: 30px 0; font-size: 14px; margin-top: 0; }