/**
 * 申込フォーム画面のスタイル定義
 * 
 * 関連する画面:
 * - docs/画面機能/F-A-002_申込フォーム画面.md
 */
#app {
    background-image: url("../img/background-white.svg");
    background-size: 100%;
    background-position: bottom;
}
/* コンテナ */
.apply-form-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ヘッダー */
.apply-form-header {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.apply-form-header .logo {
    height: auto;
    width: 160px;
}

.apply-form-logoarea {
    width: 160px;
    margin: 0 auto;
}

/* コンテンツ */
.apply-form-content {
    padding: 20px;
}

.apply-form-content h1 {
    font-weight: bold;
    margin-bottom: 30px;
    color: #333333;
    text-align: center;
}

.apply-form-content h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px;
    color: #333333;
    border-bottom: 2px solid #F14A4A;
    padding-bottom: 5px;
}

.apply-form-content h3 {
    font-weight: bold;
    margin-bottom: 30px;
    color: #18B610;
    text-align: center;
}

/* フォームセクション */
.form-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #FCF1F1;
    border-radius: 5px;
}

/* フォームグループ */
.form-group {
    margin-bottom: 20px;
}

.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* ラベル */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333333;
}

.form-group label.required::after {
    content: "必須";
    color: #dc3545;
    margin-left: 5px;
    font-size: 9px;
    position: relative;
    top: -2px;
}

/* 入力フィールド */
.form-group input {
    width: 100%;
    padding: 5px 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}
.form-control {
    width: 100%;
    /* padding: 8px 12px; */
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.separator-line{
	border-bottom: 1px solid #e0e0e0;
}

/* エラーメッセージ */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* ボタン */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 10px 30px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 100px;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #F14A4A;
    border: 1px solid #F14A4A;
}

.btn-primary:hover {
    background-color: #F14A4A;
    border-color: #F14A4A;
}

.btn-primary:disabled {
    background-color: #F14A4A;
    border-color: #F14A4A;
    cursor: not-allowed;
}

/* 完了画面 */
.complete-message {
    text-align: center;
    margin: 30px 0;
    line-height: 1.8;
}

.complete-notes {
	text-align: center;
    background-color: #FCF1F1;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.complete-notes ul {
    list-style-type: disc;
    line-height: 1.8;
}

.complete-contact {
    text-align: center;
    margin: 120px 0;
    padding: 20px;
    background-color: #FCF1F1;
    border-radius: 5px;
}

.complete-contact p {
    margin: 5px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .apply-form-container {
        padding: 10px;
    }

    .form-section {
        padding: 15px;
    }

    .form-group-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-group-row .form-group {
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
    }
}
