@charset "UTF-8";
*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 62.5%;
}
body{
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-style: normal;
    color: #2f2f2f;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 150%;
    background-color: #F4F8E6;
}
body * {
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;

}

/*  common PC */
@media screen and (min-width:769px){
body{
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 300%;
}
}


/* --  お問い合せ */
    .section--contact{
        background-color: #F4f8e6;
    }
    .inner__contact{
        padding-bottom: 100px;
        max-width: 500px;
        margin-inline: auto;
    }
    /* 文字設定 */
    .contact__title{
        color: #21A469;
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 300%;
        padding-inline: 5.3%;
    }

    .contact__title{
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .contact__title::after{
        content: '';
        width: 33px;
        height: 1px;
        background-color: #21A469;
        display: block; 
    }

    .contactBox__title{
        color: #000;
        text-align: center;
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 200%;
    }
    .contact__txt{
        color: #000;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 200%;
        margin-top: 20px;
    }

    /* formの文字設定 */
    .contactBox__txt{
        color: #000;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 200%;
    }
    .form__category{
        color: #000;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 200%;
    }
    .form{
        border-radius: 20px;
        background: #FAF9F5;
        padding: 50px 10px;
        margin-top: 50px;
    }
    .contactBox{
        border-radius: 20px;
        background: #F5F2E4;
        padding: 50px 15px 100px;
        margin-inline: auto;
        margin-top: 50px;
    }
    .inner__contact{
        padding-inline: 5.3%;
    }
    .contactBox__agreetxt{
        color: #000;
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1.5;
        margin-top: 20px;
    }
    .policy{
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }
    .btn--form{
        color: #FFF;
        font-size: 1.4rem;
        background-color: #f78e25;
        width: fit-content;
        padding: 5px 30px;
        border-radius: 50px;
    }
    .btn--form:hover{
        opacity: 0.8;
        scale: 1.05;
        transition: 0.5s;
    }
    .form__parts--submit{
        margin-inline: auto;
        width: fit-content;
    }

    /* 入力欄 */
    .group{
        border-radius: 5px;
        border: 2px solid #CFCFCF;
        background: #FFF;
        padding: 3px 10px;
    }
    .group--txtarea{
        width: 100%;
        min-height: 150px;
    }
    textarea{
        min-width: 260px;
        max-width: 370px;
        min-height: 150px;
        max-height: 150px;
        width: 100%;
        height: 100%;
        resize: none;
        /* ⭐️点を消すには、resize:none; */
    }
    input{
        width: 100%;
    }

    /* 細かい設定 */
    input[type="checkbox"]{
        width: 16px;
        height: 16px;
        border: 1px solid #CFCFCF;
        background-color: #FFF;
    }
    input[type="checkbox"]:checked{
        position: relative;
    }
    input[type="checkbox"]:checked::after{
        display: inline-block;
        content: '';
        width: 10px;
        height: 5px;
        border-left: 2px solid red;
        border-bottom: 2px solid red;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    input[type="text"]:focus, textarea:focus{
        outline:solid 1px #21A469
    }
    .form__parts{
        margin-top: 20px;
    }

    /* 手紙を運ぶ犬 */
    .contactBox::after{
        content: '';
        display: block;
        width: 221px;
        height: 221px;
        background-image: url(../img/7_contact/contactDog.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        bottom: -100px;
        left: 50%;
        transform: translateX(-50%);
    }
    .contactBox{
        position: relative;
    }

    /* thanksページ */
    .thanks__title{
        text-align: center;
        font-size: 1.8rem;
        color: #21A469;
    }
    .thanks_a{
        text-align: center;
        font-size: 1.2rem;
        line-height: 1.5;
        color: #FFF;
        padding: 5px 20px;
        width: fit-content;
        background-color: #f78e25;
        border-radius: 20px;
        margin-top: 50px;
        margin-inline: auto;
    }
    .thanks_a:hover{
        opacity: 0.8;
        scale: 1.05;
        transition: 0.5s;
    }

    .inner__thanks{
        padding: 100px 0px;
        background-color: #F4f8e6;
    }


 

/*  お問い合せ PC */
@media screen and (min-width:769px){
    .contact__title{
        font-size: 3.0rem;
        line-height: 1;
        padding: unset;
        padding: 0px 11.6%;
        max-width: 1440px;
        margin-inline: auto;
    }
    .contact__title::after{
        width: 72px;
    }

    .inner__contact{
        padding-bottom: 100px;
        padding-inline: 11.6%;
        max-width: 1141px;
        margin-inline: auto;
    }

    /* 文字 */
    .contact__txtTitle{
        font-size: 1.8rem;
        font-weight: 500;
        width: 178px;
    }
    .contact__txt{
        font-size: 1.8rem;
        margin-top: 0px;
    }
    .contactBox__title{
        font-size: 2.4rem;
    }
    .contactBox__txt{
        font-size: 1.8rem;
    }
    .form__category{
        font-size: 1.8rem;
    }
    .contactBox__agreetxt{
        font-size: 1.4rem;
        text-align: center;
    }
    .btn--form{
        font-size: 1.8rem;
        line-height: 1.5;
    }
    .form__parts--submit{
        padding: 10px 40px;
    }

    /* flex */
    .form__parts{
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 10px;
    }
    .form__category{
        width: 145px;
    }
    .group{
        width: 369px;
        height: 36px;
        display: flex;
        align-items: center;
    }
    .group--txtarea{
        height: 150px;
    }
    input{
        font-size: 1.4rem;
    }
    textarea{
        font-size: 1.4rem;
        line-height: 2;
        width: 100%;
        min-width: unset;
        max-width: 369px;
        min-height: 150px;
        max-height: 150px;
        width: 100%;
        height: 100%;
    }


    /* thanksページ */
    .thanks__title{
        font-size: 2.0rem;
    }
    .thanks_a{
        font-size: 1.6rem;
        line-height: 1.0;
        padding: 10px 30px;
        border-radius: 60px;
    }

    .inner__thanks{
        padding: 10px 0px 100px;
        background-color: #F4f8e6;
    }
    


}

@media screen and (min-width:937px){
    .form__parts{
        gap: 90px;
    }
    .contactBox__agreetxt{
        max-width: 600px;
        margin-inline: auto;
    }
}

@media screen and (min-width:1441px){
    .inner__contact{
        padding-inline: 168px;
    }
    .contact__title{
        padding-inline: 168px;
    }
}



/*  -- 調整 -- */
/* headerの背景色 */
.article__header {
    padding-inline: 5.3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    aspect-ratio: 563 / 209;
    background-color: #F4f8e6;
    padding-bottom: 20px;
}
@media screen and (min-width:769px){
    .article__header{
        display: none;
    }
    .section--contact{
        position: relative;
    }
    .section--contact::before{
        content: '';
        display: block;
        background-image: url(../img/0_common/border_green_pc.png);
        width: 100%;
        height: 141px;
        aspect-ratio: unset;
        background-position:0 0;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        top: -140px;
        left: 0;
        }
        .section--thanks::before{
            content: '';
            display: block;
            background-image: url(../img/0_common/border_green_pc.png);
            width: 100%;
            height: 141px;
            aspect-ratio: unset;
            background-position:0 0;
            background-size: cover;
            background-repeat: no-repeat;
            position: absolute;
            top: -140px;
            left: 0;
            }
        .section--thanks{
            position: relative;
        }
    

    
}
