/* ============================================
   見積りフォーム共通スタイル (form.css)
   air-packing.com
   ============================================ */

/* フォームカード */
.form-card {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border: 2px solid #4a90c2;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(40, 80, 120, 0.15);
    overflow: hidden;
}
.form-card-header {
    background: linear-gradient(135deg, #4a90c2 0%, #6ba8d6 100%);
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
}
.form-card-body {
    padding: 20px;
}

/* テキスト入力 */
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.form-input:focus {
    border-color: #4a90c2;
    outline: none;
}

/* 送信ボタン */
.form-submit-btn {
    display: inline-block;
    padding: 14px 45px;
    background: #e85922;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit-btn:hover {
    background: #c94d1c;
}

/* 完了ページ */
.complete-icon {
    text-align: center;
    margin-bottom: 15px;
}
.complete-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 50%;
    font-size: 30px;
    color: #2e7d32;
}
.complete-text {
    text-align: center;
    line-height: 2;
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
}
.complete-note {
    background: #edf4fa;
    border-left: 4px solid #4a90c2;
    padding: 15px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}
.form-btn-area {
    text-align: center;
    margin-top: 20px;
}
.form-top-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #4a90c2;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none !important;
    transition: background 0.2s;
}
.form-top-btn:hover {
    background: #6ba8d6;
    color: #fff !important;
}
.form-top-btn:visited {
    color: #fff !important;
}

/* レスポンシブ */
@media screen and (max-width: 679px) {
    .form-card {
        margin: 10px;
        border-radius: 4px;
    }
    .form-card-body {
        padding: 15px;
    }
    /* スマホでのフォーム入力時ズーム防止（iOS Safari: 16px未満でオートズーム発生） */
    .form-input {
        font-size: 16px;
    }
    .form-top-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
