/* --- 変数設定 --- */
:root {
    --primary: #03294E;
    /* 深みのあるネイビーブルー */
    --primary-dark: #021a32;
    --accent: #D4AF37;
    /* 上品なゴールド */
    --accent-hover: #B8860B;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --border-radius: 8px;
}

/* --- ベースリセット --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
p,
ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    font-weight: 900;
    position: relative;
    line-height: 1.4;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 0;
}

.section-lead {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- 表示切り替え用クラス --- */
.sp-only {
    display: none !important;
}

.pc-only {
    display: block !important;
}

/* --- ヒーローセクション --- */
.hero {
    background: linear-gradient(135deg, #03294E 0%, #01152a 100%);
    color: var(--white);
    text-align: center;
    padding: 0;
    /* paddingをリセット */
}

.hero-content img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-cta-area {
    padding: 30px 20px 60px;
}

.hero-sub {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-lead {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.8;
}

.marker {
    background: linear-gradient(transparent 60%, #e67e22 60%);
    font-weight: bold;
    padding: 0 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.seminar-info-box {
    background: var(--white);
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 1.1rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: bold;
    color: var(--primary);
}

.info-row .value {
    font-weight: bold;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
    line-height: 1.2;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 60px;
    font-size: 1.5rem;
}

/* --- 導入メリット --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 5px solid var(--primary);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-area {
    background: var(--bg-light);
    color: var(--primary);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    /* Flexboxでアイコン中央寄せ */
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-area svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* --- エビデンス --- */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.evidence-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.evidence-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.img-box {
    background: #e9ecef;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #888;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 4px;
}

.img-box02 {
    height: 200px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.img-box02 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 導入実績 --- */
.cases-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.case-box {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.case-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* --- プログラム --- */
.program-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    padding-left: 1.8em;
}

.check-list li::before {
    content: "✔";
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

.lecturer-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.lecturer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- CTAフォーム --- */
.cta-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.form-sub {
    margin-bottom: 40px;
    opacity: 0.9;
}

.seminar-form {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: left;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fafafa;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.3rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

/* --- Footer --- */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* =========================================
   レスポンシブ (スマホ表示) の最適化
   ========================================= */
@media (max-width: 768px) {

    /* 表示切り替えの実行 */
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

    /* コンテナ調整 */
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* ヒーローセクション調整 */
    .hero {
        padding: 50px 0 60px;
        /* 上下余白を詰める */
    }

    .hero-sub {
        font-size: 0.9rem;
        padding: 5px 15px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
        /* 読みやすいサイズに */
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 30px;
        text-align: left;
        /* スマホでは左寄せの方が読みやすい場合が多い */
        padding: 0 10px;
    }

    .marker {
        background: linear-gradient(transparent 60%, rgba(230, 126, 34, 0.8) 60%);
        margin-bottom: 8px;
    }

    /* 開催情報ボックス */
    .seminar-info-box {
        padding: 15px;
        margin-bottom: 30px;
    }

    .info-row {
        font-size: 1rem;
    }

    /* ボタン（押しやすく） */
    .btn-lg {
        width: 100%;
        padding: 16px 0;
        font-size: 1.2rem;
        box-sizing: border-box;
    }

    /* 見出し */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    /* カード・グリッド */
    .grid-3,
    .evidence-grid {
        grid-template-columns: 1fr;
        /* 1列にする */
        gap: 20px;
    }

    .card {
        padding: 25px 20px;
    }

    /* エビデンス画像エリア */
    .img-box {
        height: 180px;
    }

    .img-box02 {
        height: 180px;
    }

    /* 実績エリア */
    .cases-wrapper {
        flex-direction: column;
    }

    /* プログラムリスト */
    .program-content {
        padding: 25px 20px;
    }

    .check-list li {
        font-size: 1rem;
    }

    /* フォーム */
    .cta-section {
        padding: 60px 0;
    }

    .seminar-form {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }
}

/* --- 講師紹介セクション（左右レイアウト版） --- */
.lecturer-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-top: 50px;
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 垂直方向中央揃え */
    gap: 40px;
    /* 画像と文字の間隔 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 左側：画像エリア */
.lecturer-img-area {
    flex: 0 0 30%;
    /* 幅を30%に固定 */
    max-width: 250px;
    /* 最大幅制限 */
    text-align: center;
}

.lecturer-photo {
    width: 100%;
    height: auto;
    border-radius: 50%;
    /* 丸く切り抜く（四角が良い場合はこの行を削除） */
    border: 3px solid var(--bg-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 右側：テキストエリア */
.lecturer-txt-area {
    flex: 1;
    /* 残りの幅を全て使う */
    text-align: left;
}

.lecturer-name {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

.role-badge {
    font-size: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-right: 10px;
}

.lecturer-job {
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.lecturer-desc {
    font-size: 1rem;
    line-height: 1.8;
}

.lecturer-desc strong {
    background: linear-gradient(transparent 70%, #ffeb3b 70%);
    /* 蛍光ペン風マーカー */
    font-weight: 900;
}

/* --- スマホ対応（縦並びに変更） --- */
@media (max-width: 768px) {
    .lecturer-box {
        flex-direction: column;
        /* 縦並びにする */
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
    }

    .lecturer-img-area {
        flex: auto;
        width: 150px;
        /* スマホでの画像サイズ */
        margin: 0 auto;
    }

    .lecturer-txt-area {
        text-align: left;
        /* テキストは左寄せのまま（読みやすさ重視） */
    }

    .lecturer-name {
        font-size: 1.5rem;
        display: block;
        border-bottom: none;
        /* スマホでは下線を消すなど調整 */
    }
}

/* ===== SP固定CTA (スクロール検知対応)===== */
.sp-fixed-cta {
    display: none;
}

@media screen and (max-width: 768px) {

    /* ページ最下部がボタンで隠れないように調整 */
    body {
        padding-bottom: 100px;
    }

    .sp-fixed-cta {
        display: block;
        /* 要素自体は常に存在するが、見た目を制御 */
        position: fixed;
        bottom: 20px;
        /* 画面下から少し浮かせる */
        left: 0;
        width: 100%;
        background: none;
        padding: 0 20px;
        box-sizing: border-box;
        z-index: 9999;

        /* --- スクロール表示用の設定 --- */
        opacity: 0;
        /* 最初は透明 */
        visibility: hidden;
        /* クリックもできない状態 */
        transform: translateY(20px);
        /* 少し下に下げておく */
        transition: all 0.5s ease;
        /* 0.5秒かけて変化 */
    }

    /* JSでこのクラスが付与されたら表示する */
    .sp-fixed-cta.is-show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        /* 定位置に浮き上がる */
    }

    .sp-fixed-cta a {
        display: block;
        background: #D35400;
        /* オレンジ */
        color: #fff;
        text-align: center;
        padding: 16px;
        border-radius: 50px;
        /* 丸みボタン */
        border: 2px solid #fff;
        /* 白枠線 */
        font-weight: bold;
        text-decoration: none;
        font-size: 1.1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        /* ボタン単体の影 */
    }

    /* タップ時のクリックアクション */
    .sp-fixed-cta a:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}