@charset "utf-8";

/* 全体の基本設定 */
.outer-box {
    font-family: Arial, Helvetica, sans-serif ;
    line-height: 1.6;
    
}
/* 案内画面の白いボックス */
.container {
    max-width: 90%;
    margin: 10px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* メインの見だし */
.container h1 {
    font-size: 22px;
    color: #2c3e50;
    border-bottom: 3px solid #0056b3;
    padding-bottom: 10px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 10px;
}

.form-intro {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* サブの見出し */
.container h2 {
    font-size: 16px;
    color: #0056d3;
    margin-top: 25px;
    margin-bottom: 8px;
}

/*　利用時間の黄色い強調ボックス */
.time-box {
    background-color: #fff9db;
    border-left: 5px solid #fab005;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
}

/* 注意事項のリスト */
.container ul {
    margin: 0;
    padding-left: 20px;
}

.container li {
    margin-bottom: 8px;
}

/* 太字の強調 */
.important {
    color: #d9480f;
    font-weight: bold;
}

/* 応募エリアの枠 */
.form-zone {
    margin-top: 35px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 6px;
    text-align: center;
}

/* 応募ボタンの見た目 */
.btn1 {
    display: inline-block;
    padding: 12px 35px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: background-color 0.2s;
    margin-top: 10px;
}

/* ボタンにマウスを乗せたときの色変化 */
.btn1:hover {
    background-color: #003d80;
}

/* 終了したときの赤文字アナウンス */
.closed-text {
    color: #c92a2a;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

/* 注意書きのアラート枠 */
.form-alert {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 20px;
}

/* 応募フォーム */

.opinion-box {
    width: 80%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
}


.form-group B {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
    font-family: Arial, Helvetica, sans-serif;
}

.field-hint {
    font-size: 12px;
    color: #e64980;
    margin: 0 0 5px 0;
}

/* 入力欄 */

input, select, textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    transition: border-color 0.2s, background-color 0.2s;
}



/* 入力欄をクリック（フォーカス）したときの色変化 */
input:focus,textarea:focus {
    background-color: #ffffff;
    border-color: #0056b3;
    outline: none; 
    /* 標準の枠を消す */
    
}




/* ボタンを横並びにするエリア */
.btn-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* 戻るボタン */
.btn-back {
    display: inline-block;
    width: 30%;
    padding: 12px 0;
    background-color: #ced4da;
    color: #495057;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-back:hover {
    background-color: #adb5bd;
}

/* 送信ボタン */
.btn-submit {
    display: inline-block;
    width: 65%;
    padding: 12px 0;
    background-color: #0056b3;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: background-color 0.2s;
    text-align: center;
}

.btn-submit:hover {
    background-color: #003d80;
}
