#contact-top{
    padding: 80px 0;
}

/* お問い合わせフォーム */
.contact-form{
    padding: 80px 0 120px;
}

.contact-form__form{
    gap: 44px;
}

.contact-form__row{
    display: flex;
    justify-content: space-between;
}

.contact-form__label{
    font-size: 16px;
    line-height: 2em;
}

.required{
    color: #E25333;
}

.contact-form__field{
    width: 740px;
    position: relative;
}

.contact-form__field input:not([type="checkbox"]),
.contact-form__field textarea,
.contact-form__field select{
    width: 100%;
    background-color: rgba(255,228,134,0.5);
    border: solid 1px #4A3636;
    padding: 15px 14px;
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select,
.contact-form__line-note p,
.contact-form__line-link{
    font-size: 16px;
    line-height: 1.18em;
}

.contact-form__line-note,
.contact-form__line-link{
    font-weight: 500;    
}

.contact-form__field textarea{
    height: 290px;

}

.contact-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("../img/select-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 23px center;
    background-size: 16px 7px;
}

::placeholder,.contact-form__select:first-child{
    color: rgba(74,54,54,0.5);
}

/* チェックボックス */
.checkbox__box {
    width: 22px;
    height: 22px;
    border: 1px solid #4A3636;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    background: #fff;
    margin-right: 8px;
}

.checkbox__text{
    font-size: 16px;
    line-height: 1.1em;
}

.checkbox__text a,.contact-form__line-link{
    border-bottom: solid 1px #4A3636;
    padding-bottom: 7px;
}

.wpcf7 form .wpcf7-list-item {
  display: block;
  margin: 0 !important;
}

.wpcf7 form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.wpcf7 form .wpcf7-list-item-label {
  margin: 0;
}

.contact-form__row--privacy > p:first-child {
  display: none;
}

.contact-form__line-link{
    padding-bottom: 0;
}

.contact-form__actions{
    margin-left: auto;
    align-items: flex-end;
    gap: 26px;
}

.contact-form__submit{
    width: 233px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    line-height: 1.25em;

    background-image: url("../img/btn-yw.webp");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 28px 28px;
    text-align: center;
    padding-right: 46px;

    appearance: none;
    -webkit-appearance: none;
}

.contact-form__submit:hover {
    background-image: url("../img/btn-yw_hover.webp");
}

.contact-form__actions .btn-text{
    font-size: 16px;
    line-height: 1.26em;
    width: 146px;
}

.contact-form__line-note p{
    font-weight: 500;
}

.note__dot{
    display: inline-block;
    background-color: #4A3636;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 8px;
}

.contact-form__line-link,.checkbox__text a{
    transition: 0.3s;
}

.contact-form__line-link:hover,.checkbox__text a:hover{
    opacity: 0.65;
}

@media screen and (max-width: 1079px) {
    #contact-top{
        padding: clamp(40px,10.6vw,80px) 0 0;
    }

    /* お問い合わせフォーム */
    .contact-form{
        padding: clamp(40px,10.6vw,80px) 0 clamp(80px,21.3vw,160px);
    }

    .contact-form__form{
        gap: clamp(11px,2.9vw,22px);
    }

    .contact-form__row{
        flex-direction: column;
    }

    .contact-form__label{
        font-size: clamp(16px,4.2vw,32px);
    } 

    .contact-form__field{
        width: 100%;
    }

    .contact-form__field input:not([type="checkbox"]),
    .contact-form__field textarea,
    .contact-form__field select{
        padding: 15px 14px;
    }

    .contact-form__field input,
    .contact-form__field textarea,
    .contact-form__field select,
    .checkbox__text,
    .contact-form__line-note p,
    .contact-form__line-link{
        font-size: clamp(16px,4.2vw,32px);
    }

    .contact-form__field textarea{
        height: 77.3vw;
    }

    .contact-form__row--privacy{
        margin-top: clamp(24px,6.4vw,48px);
    }

    /* チェックボックス */
    .checkbox__box {
        width: clamp(22px,5.9vw,44px);
        height: clamp(22px,5.9vw,44px);
    }
    
    .checkbox__text{
        font-size: clamp(16px,4.2vw,32px);
    }

    .checkbox__text a,.contact-form__line-link{
        padding-bottom: clamp(3.5px,0.9vw,7px);
    }

    .contact-form__line-link{
        padding-bottom: 0;
    }

    .contact-form__actions{
        margin: 0 auto;
        align-items: center;
        gap: clamp(49px,12.8vw,96px);
    }

    .contact-form__submit{
        width: 62.1vw;
        margin: 37px 0 0;

        font-size: clamp(16px,4.2vw,32px);
        background-position: right clamp(18px,4.8vw,36px) center;
        background-size: clamp(28px,7.4vw,56px) clamp(28px,7.4vw,56px);
        padding-right: clamp(45px,12vw,90px);

        font-size: clamp(16px,4.2vw,32px);
    }

    .note__dot{
        width: clamp(7px,1.86vw,14px);
        height: auto;
        aspect-ratio: 1/1;
        margin-right: clamp(10px,2.6vw,20px);
    }
}