@charset "utf-8";

/* ================================================================
   01. SPセクションごとのルール
   ================================================================ */

.contact-form-section,
.thanks-section {
    background-color: #fff;
    padding: 60px 0 100px;
}

.mail-form {
    margin-top: 40px;
}

.form-list {
    border-top: 1px solid #eee;
}

.form-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.form-label {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-data {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.form-label label {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
}

.form-label .required {
    background-color: #ff7961;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
}

/* 入力要素スタイル */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input select,
.form-input textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-input input:focus,
.form-input select:focus,
.form-input textarea:focus {
    outline: none;
    border-color: #667eea;
    background-color: #fff;
}

/* ポリシー同意 */
.form-policy {
    text-align: center;
    margin: 40px 0;
}

.form-policy p {
    font-size: 13px;
    margin-bottom: 15px;
}

.form-policy a {
    color: #667eea;
    text-decoration: underline;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
}

/* ボタンエリア */
.form-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 18px 0;
    background-color: #eee;
    color: #666;
    text-align: center;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

/* ================================================================
   02. PCセクションごとのルール (min-width: 1280px)
   ================================================================ */

@media (min-width: 1280px) {

    .contact-form-section {
        padding: 100px 0 140px;
    }

    .mail-form {
        max-width: 900px;
        margin: 60px auto 0;
    }

    .form-item {
        display: flex;
        align-items: flex-start;
        padding: 35px 0;
    }

    .form-label {
        width: 280px;
        margin-bottom: 0;
        padding-top: 10px;
        flex-shrink: 0;
    }

    .form-input {
        flex: 1;
    }

    .form-data {
        padding-top: 10px;
        font-size: 16px;
        line-height: 1.6;
        max-width: calc(900px - 280px);
    }

    .dual-btn {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .btn-secondary,
    .btn-primary {
        width: 280px;
    }
}