@charset "UTF-8";

/* =========================================
   ベース・共通設定
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* カンバンボードの横スクロール時にボディ全体がスクロールしないように設定 */
    overflow-x: hidden; 
}

a {
    text-decoration: none;
    color: #333;
}

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

/* 共通セクション設定 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.bg-light {
    background-color: #f4f7f9; /* 少し青みがかった明るいグレーに変更 */
}

/* =========================================
   ヘッダー・ナビゲーション
   ========================================= */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.logo a:hover {
    color: #0056b3;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    background-color: #0056b3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: #004494;
}

/* =========================================
   ボタン共通
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: #ff8c00;
    color: #fff;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
}

/* =========================================
   トップページ用 (index.html)
   ========================================= */

/* ファーストビュー (ヒーロー) */
#hero {
    background-color: #002244;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

#hero h2 {
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 20px;
}

#hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* 特徴 */
.feature-grid {
    display: flex;
    flex-wrap: wrap; /* カードが多ければ折り返す設定を追加 */
    gap: 20px;
    justify-content: center; /* 中央揃えに変更 */
}

.feature-card {
    flex: 1 1 calc(33.333% - 20px); /* 1行に3枚並ぶように計算 */
    min-width: 280px; /* 画面が狭くなった時に縮みすぎないようにする */
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #0056b3;
}

/* 新規追加：LMS・修了証カードを少し目立たせる装飾 */
.highlight-card {
    border: 2px solid #ff8c00;
    position: relative;
}
.highlight-card::before {
    content: "人気機能";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff8c00;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
}

/* 料金プラン */
.pricing-card {
    background: #fff;
    border: 2px solid #0056b3;
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 30px;
}

.price span {
    font-size: 48px;
}

.pricing-details {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 20px; /* リストのインデント調整 */
}

.pricing-details li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}
/* リストのチェックマーク風アイコン */
.pricing-details li::before {
    content: '✓';
    color: #0056b3;
    font-weight: bold;
    position: absolute;
    left: -25px;
}

.pricing-note {
    font-size: 14px;
    color: #666;
    text-align: left;
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #eee;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #002244;
}

/* お問い合わせフォーム */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #002244;
}

.required {
    background-color: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #004494;
}

/* =========================================
   研修一覧ページ用 (courses.html) - カンバン方式
   ========================================= */
.page-header {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h2 {
    font-size: 32px;
    color: #002244;
    margin-bottom: 15px;
}

/* カンバンボード全体のラッパー（横スクロール用） */
.kanban-wrapper {
    width: 100%;
    overflow-x: auto; /* 横幅からはみ出た場合にスクロールバーを出す */
    padding: 0 20px 20px 20px; /* 下部にスクロールバー用の余白 */
}

/* カンバンボード本体（列を横並びにする） */
.kanban-board {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* 列の高さが違っても上揃えにする */
    /* コンテンツの量に合わせて全体の横幅を自動計算 */
    width: max-content; 
    margin: 0 auto; /* 中央揃え（コンテンツが画面幅より狭い場合） */
    padding: 20px 0;
}

/* カンバンの列（カラム） */
.kanban-column {
    width: 300px; /* 各列の幅を固定 */
    flex-shrink: 0; /* 幅が縮まないようにする */
    background-color: #e2e8f0; /* カラムの背景色 */
    border-radius: 8px;
    overflow: hidden; /* ヘッダーの角丸を適用するため */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* カラムのヘッダー */
.kanban-column-header {
    padding: 15px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

/* カテゴリ別のヘッダー色設定 */
.sales-header { background-color: #3182ce; } /* 青 */
.marketing-header { background-color: #38a169; } /* 緑 */
.hr-header { background-color: #805ad5; } /* 紫 */
.mgmt-header { background-color: #dd6b20; } /* オレンジ */
.skill-header { background-color: #e53e3e; } /* 赤 */
.tech-header { background-color: #718096; } /* グレー */

/* カードを並べるエリア */
.kanban-cards {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* カンバンのカード */
.kanban-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.kanban-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #002244;
    border-left: 3px solid #cbd5e0;
    padding-left: 8px;
}

.kanban-card ul {
    list-style-type: none; /* デフォルトの点を消す */
    font-size: 14px;
    color: #555;
}

.kanban-card ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}
/* リストの小さなポインター */
.kanban-card ul li::before {
    content: '▶';
    font-size: 10px;
    color: #a0aec0;
    position: absolute;
    left: 0;
    top: 2px;
}

/* 補足案内ボックス（courses.html下部） */
.course-note {
    text-align: center;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 50px;
}

.course-note p {
    margin-bottom: 20px;
    font-weight: bold;
    color: #856404;
    font-size: 18px;
}

/* =========================================
   フッター
   ========================================= */
footer {
    background-color: #001529; /* より深いネイビーに変更 */
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   サンクスページ用 (thanks.html)
   ========================================= */
.thanks-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 50px;
    margin-bottom: 50px;
}

.thanks-container h2 {
    color: #0056b3;
    font-size: 32px;
    margin-bottom: 30px;
}

.thanks-container p {
    margin-bottom: 20px;
    text-align: left;
    color: #555;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-back {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.btn-back:hover {
    background-color: #555;
}

/* =========================================
   スマホ対応 (レスポンス)
   ========================================= */
@media (max-width: 768px) {
    /* 共通 */
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .container { padding: 0 15px; }

    header { position: static; } /* スマホでは固定を解除 */
    .nav-links { display: none; } /* ナビを隠す（簡易版） */
    
    /* index.html */
    #hero { padding: 80px 0; }
    #hero h2 { font-size: 26px; }
    #hero p { font-size: 16px; }
    .btn-primary { padding: 14px 28px; font-size: 16px; }

    .feature-grid { flex-direction: column; gap: 15px; }
    
    .pricing-card { padding: 30px 20px; }
    .price span { font-size: 36px; }
    
    .company-table th, .company-table td { display: block; width: 100%; padding: 15px; }
    .company-table th { background-color: transparent; padding-bottom: 5px; border-bottom: none; }

    .form-container { padding: 20px; }

    /* courses.html (カンバン) */
    .page-header { padding: 40px 0; }
    .page-header h2 { font-size: 26px; }

    /* スマホでは横スクロールではなく、縦積みに変更 */
    .kanban-wrapper { padding: 0 15px; overflow-x: visible; }
    .kanban-board {
        flex-direction: column;
        width: 100%;
        margin: 0;
        gap: 20px;
        padding: 0;
    }
    .kanban-column { width: 100%; }
    .course-note { margin-top: 30px; padding: 30px 15px; }
    .course-note p { font-size: 16px; }
}