@charset "utf-8";

/* ==========================================
form
==============================================*/
.form {
    padding: 0 4.6% 50px;
    margin: 0 auto;
}

.formList {
    margin: 0 auto;
}

.form__main {
    margin: 0 auto;
    width: 340px;
}

.form__titl {
    width: 288px;
    height: 55px;
    margin: 20px auto 0;
    vertical-align: middle;
    text-align: center;
    font-family: "ouma-latin-variable";
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3; /* 57.292% */
}

.form__txt {
    margin: 30px auto 0;
    width: 307px;
    font-family: "Noto Sans JP";
    font-weight: 300;
    line-height: 1.8; /* 28.8px */

}

.form__parts {
    /* width: 340px; */
    margin-top: 40px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form__categoryName {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    width: 86px;
    display: inline-block;
}

.form__category {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    width: 130px;
    display: inline-block;
}

.group {
    width: 210px;
    height: 40px;
    border: 1px solid #000000;
    padding-left: 5px;
}

.group__list .group {
    width: 100px;
}

.group__list input {
    width: 100%;
    height: 100%;
}

.group input {
    font-family: 'Noto Sans JP';
    width: 100%;
    height: 100%;
    outline: none;
}

.group__list {
    display: flex;
    justify-content: space-between;
    width: 210px;
}

.form__parts--policy {
    margin: 40px auto 0;
    display: flex;
    background: #C8C8C8;
    font-family: "Noto Sans JP";
    width: 259px;
    height: 64px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form__parts--submit {
    color: #FFF;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-weight: 300;
    line-height: normal;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    align-items: center;
    height: 89px;
}

.btn__btn--form {
    border-radius: 10px;
    background: #000;
    display: flex;
    width: 161px;
    height: 49px;
    padding-left: 20px;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.8rem;
}

.submitBtn {
    display: flex;
    width: 70px;
    align-items: center;
    justify-content: space-between;
}

.form__parts--policy input {
    border: 1px solid #000;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    all: revert;
}

.policy input{
    width: 20px;
    height: 20px;
    vertical-align: sub;
}

.form__parts--policy button {
    vertical-align: text-bottom;
    text-decoration: underline;
    margin-right: 2px;
}

.form__parts--submit img {
    width: 8px;
    height: 12px;
    padding-top: 2px;
}

/* ==========================================
form pc
==============================================*/
@media screen and (min-width: 769px){
    .form__main {
        width: 637px;
        margin: 0 auto;
    }

    .form__txt {
        width: 500px;
    }

    .spbr {
        display: none
    }

    .form__parts {
        margin: 40px auto 0;
        height: 52px;
        display: flex;
        /* justify-content: space-between; */
        align-items: center;
    }

    .group__list {
        display: flex;
        justify-content: space-between;
        width: 400px;
        gap: 10px;
    }

    .group__list .group {
        width: 200px;
    }

    .group {
        width: 400px;
        height: 40px;
        border: 1px solid #000000;
    }

    .group input {
        vertical-align: baseline;
    }

    .form__categoryName {
        font-family: "Noto Sans JP";
        font-size: 2rem;
        font-variation-settings: "wght" 300;
        width: 86px;
        display: inline-block;
    }
    
    .form__category {
        font-family: "Noto Sans JP";
        font-size: 2rem;
        width: 200px;
        font-variation-settings: "wght" 300;
        display: inline-block;
    }
}

@media screen and (min-width: 1120px) {
    .form {
        padding: 0 10%;
        margin: 100px auto 20%;
    }
    
    .formList {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .form__titl {
        width: 288px;
        height: 55px;
        margin: 20px auto 0;
        vertical-align: middle;
        text-align: center;
        font-family: "ouma-latin-variable";
        font-size: 9.6rem;
        font-style: normal;
        font-weight: 300;
        line-height: 0.5; /* 57.292% */
    }
    
    .form__txt {
        margin: 50px auto 0;
        width: 750px;
        height: auto;
        font-family: "Noto Sans JP";
        font-size: 2.4rem;
        font-variation-settings:"wght" 300;
    }

    .spbr {
        display: none;
    }

    .form__main {
        width: 837px;
        margin: 0 auto;
    }
    
    .form__parts {
        width: 837px;
        margin: 72px auto 0;
        height: 52px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .form__categoryName,
    .form__category {
        font-family: "Noto Sans JP";
        font-size: 3.6rem;
        font-variation-settings:"wght" 300;
        width: 252px;
        display: inline-block;
    }
    
    .form__category {
        font-family: "Noto Sans JP";
        font-size: 3.6rem;
        width: 252px;
        display: inline-block;
    }
    
    .group {
        width: 485px;
        height: 52px;
        border: 1px solid #000000;
    }
    
    .group__list .group {
        width: 230px;
    }

    .group input {
        width: 470px;
        font-family: "Noto Sans JP";
        font-size: 2.4rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5; /* 36px */
    }
    
    .group__list input {
       width: 100%;
    } 

    .group__list {
        display: flex;
        justify-content: space-between;
        width: 485px;
    }

    .form__parts--policy {
        padding: 35px 0;
        margin: 100px auto 0;
        display: flex;
        background: #C8C8C8;
        font-family: "Noto Sans JP";
        width: 562px;
        height: 109px;
        font-size: 2.4rem;
        font-weight: 400;
        line-height: 1.5;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .form__parts--policy button {
        vertical-align: text-bottom;
    }
    
    .btn__btn--form {
        font-family: "Noto Sans JP";
        font-size: 2.8rem;
        width: 256px;
        height: 79px;
        margin-top: 120px;
        padding: 24px 26px 24px 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .termsBtn:hover {
        color: #635C5C;
    }

    .btn__btn--form:hover {
        background-color: #635C5C;
    }

    .submitBtn {
        width: 70%;
    }

    .form__parts--policy input {
        -webkit-appearance: none;
        appearance: none;
        background-color: #FFF;
        border: 1px solid #000;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        margin: 3px 7px 2px;
        vertical-align: bottom;
        position: relative;
    }

    .form__parts--policy input:checked:before {
        content: "";
      position: absolute;
      top: 0px;
      left: 2px;
      display: inline-block;
      width: 30px;
      height: 15px;
      border-left: 3px solid #000;
      border-bottom: 3px solid #000;
      transform: rotate(-54deg);
    }
    
    .form__parts--submit img {
        width: 14px;
        height: 29px;
        padding-top: 7px;
    }
}

