@charset "utf-8";
/* CSS Document */

/* =============================================
   1. 基本レイアウト（PC・スマホ共通）
   ============================================= */

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main.flex-shrink-0 {
    flex: 1 0 auto;
}

/* 
footer {
    flex-shrink: 0;
    background: rgba(0,0,0,0.7);
}
 */

/* 外枠(box04) */
.box04 {
    width: 100% !important;
    max-width: 1300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* 内側の白いボックス(box01) */
.box01 {
    background: #fff;
    border: solid 1px rgba(0,96,141,0.5);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* =============================================
   2. PCサイズの設定（992px以上）
   ============================================= */
@media (min-width: 992px) {
    .box01 {
        padding: 40px 60px !important;
    }
    
    .confirmation-page .box04 {
        max-width: 1000px !important;
    }
    .confirmation-page .box01 {
        padding: 20px 40px !important;
    }
    .confirmation-page .box01 .container {
        padding: 10px !important;
    }
}

/* =============================================
   3. スマホ・タブレットの設定（991px以下）
   ============================================= */
@media (max-width: 991px) {
    .box04 {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .box01 {
        padding: 20px 10px !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
    }

    .box01 .container, 
    .box01 .row, 
    .box01 [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .form01 {
        width: 35% !important;
        min-width: 100px !important;
        padding: 10px 5px !important;
        font-size: 0.85rem;
    }
    .form02 {
        width: 65% !important;
        padding: 10px 5px !important;
        font-size: 0.85rem;
    }
}

/* =============================================
   4. フォームパーツ共通設定
   ============================================= */

/* ラベルの高さ統一設定（電話番号のズレ対策） */
.form-label {
    display: inline-block !important;
    min-height: 2rem;
    margin-bottom: 0.3rem;
    vertical-align: middle;
    line-height: 1.5;
}

/* 必須マーク（＊） */
.required-mark {
    color: #dc3545;
    vertical-align: super;
    font-size: 0.75rem;
    margin-left: 2px;
    font-weight: bold;
    line-height: 0;
}

.form-label small {
    font-size: 0.8rem !important;
    color: #6c757d;
    margin-left: 5px;
    font-weight: normal;
}

/* =============================================
   5. チェックボックス・ラジオボタンの調整
   ============================================= */

/* チェックボックス・ラジオボタン共通 */
.form-check-input {
    width: 1.15rem !important;
    height: 1.15rem !important;
    border: 1px solid #0d6efd !important;
    cursor: pointer;
    /* 位置を少し上に調整 */
    margin-top: -0.8px !important;
    vertical-align: middle;
}

.form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* 同意エリア */
.form-check-custom {
    display: inline-flex !important;
    align-items: center; /* 縦方向の真ん中に揃える */
    padding: 5px 10px !important;
    cursor: pointer;
}

.form-check-custom .form-check-label {
    padding-left: 8px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.2;
}

/* =============================================
   6. 同意文言の改行調整
   ============================================= */

/* 親コンテナ：中身を常に水平方向の中央に配置する */
.privacy-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 0 !important; /* 上だけに余白を作り、下・左右は0にします */
    padding: 0 !important;
    display: flex !important;      /* Flexboxを有効化 */
    justify-content: center !important; /* 子要素を水平中央に */
    flex-wrap: wrap;
}

/* テキスト本体 */
.privacy-text {
    display: block;
    text-align: center;
    line-height: 1.7;
    white-space: nowrap; /* PCでは1行 */
    font-size: 0.95rem;
    color: #555;
    width: auto;         /* コンテンツに合わせる */
}

/* スマホ・タブレット（991px以下） */
@media (max-width: 991px) {
    .privacy-text {
        white-space: normal !important;
        font-size: 0.9rem;
        padding: 0 15px;
        /* word-break: break-all;  ←これを削除または normal に変更 */
        word-break: normal; 
        overflow-wrap: anywhere; /* 長いURLなどがある場合の保険 */
        max-width: 100%;
    }
}

/* =============================================
   7. その他パーツ設定
   ============================================= */

.form01 {
    width: 200px !important;
    background-color: #f8f9fa;
    word-break: break-all;
    vertical-align: middle;
}
.form02 {
    word-break: break-all;
    white-space: normal !important;
    vertical-align: middle;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
}

.btn-md {
    padding: 10px 25px;
}

.txt-ctr { text-align: center; }
.bdrc01 { border-color: rgba(0,0,0,0.1) !important; }


/* 閉じるボタンのカスタマイズ（リセットボタンと形を合わせる） */
.btn-close-window {
    background-color: #6c757d; /* グレー */
    color: #fff;
    border: none;
    padding: 10px 24px;       /* ボタンのサイズ感調整 */
    border-radius: 0.375rem;   /* Bootstrap標準の角丸。これでリセットボタンと揃います */
    transition: all 0.3s ease;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}

.btn-close-window:hover {
    background-color: #5a6268;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


/* =============================================
   8. フッター再現（Main Page からの移植）
   ============================================= */

:root {
    --footer-blue-2: #f6f9fe;
    --footer-blue-4: #ddecfd;
    --footer-blue-6: #bad5f5;
}

footer {
    position: relative;
    width: 100%;
    margin-top: 100px;
    background: transparent !important;
    z-index: 1;
}

/* 円の下半分を隠すための「覗き窓」の役割 */
.footer-circle-wrapper {
    position: relative;
    width: 100%;
    height: 333px; /* ★ここで表示したい「アーチの高さ」を固定します */
    overflow: hidden; /* ★ここからはみ出た円の下半分が消えます */
    z-index: -1;
}

#footer-circle {
    width: 912px; /* 円の幅 */
    height: 906px; /* 円の高さ（正円） */
    position: absolute;
    /* top: 0にすることで、円の頂点が枠の天辺にピタッと合います */
    top: 30px; 
    left: 50%;
    transform: translateX(-50%);
    
    /* 影の設定 */
    box-shadow: 
        rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
        var(--footer-blue-6) 0px 0px 0px 1px,
        var(--footer-blue-4) 0px -20px 25px -5px, 
        var(--footer-blue-2) 0px -8px 10px -6px;
    
    border-radius: 50%;
    background: rgb(249, 249, 251); 
}

/* ロゴとコピーライトのコンテナ */
#footer-contents {
    position: absolute;
    /* 位置を上に上げる調整：bottomの数値を大きくすると上がります */
    bottom: 50px;      
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 100%;
}

/* ロゴ画像・コピーライトのスタイル（変更なし） */
/* ロゴ画像の下の余白をVue側に合わせる */
#footer-contents img {
    width: 120px;
    height: auto;
    margin-bottom: 1px; /* Vue側のpadding-bottom: 16pxを反映 */
}

/* コピーライトのフォントとサイズをVue側に合わせる */
#footer-contents small {
    /* Google Fontsで読み込んだ "Noto Serif JP" を指定 */
    font-family: "Noto Serif JP", serif; 
    font-size: 1.05rem; 
    font-weight: 400;
    /* Vueの変数 --text-color-rgb (0, 36, 63) に合わせる */
    color: rgb(0, 36, 63) !important; 
    letter-spacing: 0.0em;
}

/* 不要なアイコン消去 */
footer i, footer .bi, footer .text-center > i {
    display: none !important;
}