@charset "UTF-8";



/* ===== コンテナ ===== */
.contact-wrap {
    max-width: 760px;
    margin: 30px 10px;
}


/* ===== ヘッダー ===== */
.contact-header {
    text-align: center;
    margin: 30px 10px;
}

.contact-header__sub {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #F2B700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-header__title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.contact-header__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

/* ===== フォームカード ===== */
.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* ===== フォームグループ ===== */
.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-label .required {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #e53935;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.form-label .optional {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #aaa;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #F2B700;
    box-shadow: 0 0 0 4px rgba(242, 183, 0, 0.15);
    background: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.8;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* ===== 名前の横並び ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== プライバシーポリシー ===== */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 32px;
    cursor: pointer;
}

.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #F2B700;
    cursor: pointer;
}

.privacy-check__text {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.privacy-check__text a {
    color: #F2B700;
    text-decoration: underline;
}

/* ===== 送信ボタン ===== */
.btn-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #F2B700, #f5c842);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 16px rgba(242, 183, 0, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 183, 0, 0.45);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== 完了メッセージ ===== */
.thanks-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.thanks-message__icon {
    font-size: 56px;
    margin: 30px 0;
}

.thanks-message__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.thanks-message__text {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

/* ===== エラー表示 ===== */
.field-error {
    font-size: 12px;
    color: #e53935;
    margin-top: 6px;
    display: none;
}

.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

/* ===== 注釈テキスト ===== */
.field-note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    line-height: 1.7;
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
    .contact-card {
        padding: 28px 20px;
    }

    .contact-header__title {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}