@charset "UTF-8";

/* contact */
.contact {
    background-color: #fff;
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
}

.contact-lead {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #444;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-form {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 10px;
}

.form-item {
    margin-bottom: 30px;
}

.form-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: 0.95rem;
}

/* 「必須」ラベルにアクセントカラーを使用 */
.required {
    background: #e67e22;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 💡 input[type="tel"] を追加しました */
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* 入力中（フォーカス時）の演出 */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    background-color: #fff;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

/* ご希望の連絡方法 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
}

/* 標準のラジオボタンを隠してカスタムデザインを適用 */
.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #e67e22;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    outline: none;
    transform: translateY(5px);
}

/* 選択された時の「中のドット」を作る */
.radio-label input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #e67e22;
    border-radius: 50%;
}

/* プライバシーポリシー */
.form-privacy {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.privacy-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-check {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
}

/* 標準のチェックボックスを隠してカスタムデザインを適用 */
.privacy-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #e67e22;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
    outline: none;
    transition: background-color 0.2s;
}

/* チェックが入った時の背景色とチェックマーク */
.privacy-check input[type="checkbox"]:checked {
    background-color: #e67e22;
}

.privacy-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* 送信ボタン */
.submit-btn {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 16px 100px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* thanks */
.thanks {
    background-color: #fff;
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
    text-align: center;
}

.thanks-title {
    font-size: clamp(1.3rem, 5vw, 2.2rem);
    font-weight: bold;
    line-height: 1.6;
    color: #001642;
    margin-bottom: 24px;
}

.thanks-text {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-wrap: balance;
}

.thanks .thanks-note {
    font-size: clamp(0.8rem, 2.2vw, 0.938rem);
    color: #666666;
    line-height: 1.6;
    text-align: justify;
    max-width: 650px;
    margin: 0 auto 60px;
}


/*----------------------------
タブレット
-----------------------------*/

@media screen and (max-width: 1024px) {

    /* プライバシーポリシー */
    .form-privacy {
        text-align: justify;
        padding: 15px;
    }
}



/*----------------------------
スマートフォン
-----------------------------*/

@media screen and (max-width: 767px) {
    /* thanks */
    .thanks-title span {
        display: inline-block;
    }
}