/* TOPページのギャラリーボタンをクリック可能にする修正 */
.p-cb-button.c-button01 {
    position: relative !important; /* 位置の基準を有効にする */
    z-index: 100 !important;      /* スライダーよりも上の層（レイヤー）に配置する */
    pointer-events: auto !important; /* クリックイベントを強制的に有効にする */
}

/* スライダー部分の重なりを微調整 */
.sc_image_carousel {
    z-index: 1 !important; /* スライダーを下の層に下げる */
    margin-bottom: 30px !important; /* ボタンとの距離を少し離して安全を確保 */
}
/* ===== /course/ カテゴリ紹介文：白背景＋カテゴリカラーの枠 ===== */
.p-service-category-block-v__desc {
    background-color: #fff !important;   /* インラインの濃紺を打ち消す */
    color: #333 !important;
    border: 2px solid #0e4d9d;
    border-top: none;                    /* 画像とタイトルに続く形にする */
    border-radius: 0 0 12px 12px;
    padding: 32px 40px !important;
    line-height: 2;
    font-size: 0.95em;
    text-align: left;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(14,77,157,0.08);
}

@media (max-width: 768px) {
    .p-service-category-block-v__desc {
        padding: 24px 20px !important;
        line-height: 1.9;
        font-size: 0.9em;
    }
}
/* ===== 資料請求フォーム 調整 ===== */

/* 送信ボタンを仁川ブルーに */
.wpcf7 input[type="submit"] {
    background: #00567b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 60px !important;
    font-size: 1.05em !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
	text-align: center !important;
}
.wpcf7 input[type="submit"]:hover {
    background: #003d59 !important;
}

/* Google Sheets連携の注意文を非表示 */
.gscf7-frontend-gdpr-notice {
    display: none !important;
}
/* 必須マークを赤いアスタリスクに */
.wpcf7-form .wpcf7-required {
    color: #e53935;
    font-weight: bold;
    margin-left: 4px;
}

/* 確認事項ブロックを他の入力欄と揃えたボックスに */
.wpcf7-form .p-form-acceptance {
    background: #f5f7fa;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 24px 0 16px;
}
.wpcf7-form .p-form-acceptance b {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
}
.wpcf7-form .p-form-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9em;
    line-height: 1.7;
}
.wpcf7-form .p-form-acceptance input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 送信前の注意書き・自動返信案内 */
.wpcf7-form .p-form-note {
    font-size: 0.85em;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 20px;
}