/* ---
    お問い合わせフォーム inquiry
------------------------------- */

.sp_only{
    display: none;
    @media (max-width:767px){
        display: block;
    }
}

.pc_only{
    display: block;
    @media (max-width:767px){
        display: none;
    }
}

.center_text{
    text-align: center;
}

.sec_inquiry{
    padding: 110px 0 70px;
    @media (max-width:767px){
        padding: 55px 0 35px;
    }
    .description_box{
        text-align: center;
        &:first-child{
            padding-bottom: 60px;
            margin-bottom: 60px;
            border-bottom: 1px solid #B4B4B4;
            @media (max-width:767px){
                padding-bottom: 30px;
                margin-bottom: 30px;
            }
        }
        h2{
            font-size: 3.0rem;
            @media (max-width:767px){
                font-size: 2.6rem;
            }
        }
        .phone_num{
            font-size: 4.2rem;
            font-family: Arial, Helvetica, sans-serif;
            font-weight: 300;
            color: var(--main-color);
            line-height: 1;
            @media (max-width:767px){
                font-size: 3.6rem;
            }
            span{
                font-size: 3.0rem;
                padding-right: 5px;
                @media (max-width:767px){
                    font-size: 2.6rem;
                }
            }
            a {
                color: var(--main-color);
            }
        }
        .required{
            color: #cc0000;
            margin-bottom: 10px;
        }
        .message{
            @media (max-width:767px){
                width: calc(100% - 40px);
                margin: 0 auto;
            }
        }
    }
    .inquiry_form{
        max-width: 800px;
        margin: 60px auto 0 auto;
        @media (max-width:767px){
            max-width: 100%;
            width: calc(100% - 40px);
            margin: 30px auto 0 auto;
        }
        input:not([type=checkbox]),
        textarea{
            box-sizing: border-box;
            width: 100%;
            padding: 1em;
            font-size: 1.6rem;
            border: 1px solid #B4B4B4;
            border-radius: 6px;
            &::placeholder{
                color: #afafaf;
            }
            &:focus{
                background-color: antiquewhite;
                transition: 0.8s;
            }
        }
        /* 送信ボタン */
        input[type=submit]{
            max-width: 360px;
            font-size: 2.0rem;
            background-color: var(--main-color);
            color: #fff;
            border: 1px solid #fff;
            border-radius: 0;
            &:hover{
                cursor: pointer;
                background-color: #fff;
                color: var(--main-color);
                border:1px solid var(--main-color);
                transition: 0.5s;
            }
        }
        dl{
            margin-bottom: 30px;
            &:last-child{
                margin-bottom: 0;
            }
            dt{
                margin-bottom: 10px;
                p{
                    font-weight: 700;
                    .required{
                        color: #cc0000;
                        padding-left: 5px;
                        font-size: 1.4rem;
                    }
                }
            }
        }

        /* CF7の送信ボタンを押した際に出るスピナー */
        .wpcf7-spinner{
            display: block;
        }
    }
}

/* 個人情報保護方針テキスト */
.before-notice{
    margin: 30px auto;
    .policy_title{
        font-weight: 700;
        margin-bottom: 10px;
    }
    .inner{
        width: 100%;
        height: 200px;
        overflow-y: scroll;
        border:1px solid #cfcfcf;
        padding: 20px;
        p{
            margin-bottom: 1em;
            line-height: 1.4;
            &:last-child{
                margin-bottom: 0;
            }
        }
    }
    /* 同意するボタン */
    .agree_chk{
        background-color: #fff;
        border-left:1px solid #cfcfcf;
        border-right:1px solid #cfcfcf;
        border-bottom:1px solid #cfcfcf;
        padding: 1em 0;
    }
}

/* --- 完了ページ --- */
.sec_inquiry{
    .description_box{
        &.complete{
            &:first-child{
                border-bottom: none;
                padding-bottom: 0;
            }
            h2{
                margin-bottom: 30px;
                @media (max-width:767px){
                    max-width: calc(100% - 40px);
                    font-size: 2.4rem;
                    margin: 0 auto 30px auto;
                    line-height: 1.4;
                }
            }
            .message{
                margin-bottom: 15px;
            }
        }
    }
}

/* ---
    プライバシーポリシー privacy
----------------------------------------------- */
.sec_privacy{
    padding: 110px 0 90px;
    @media (max-width:767px){
        padding: 55px 0 45px;
    }
    .sec_inner{
        text-align: center;
        @media (max-width:767px){
            width: calc(100% - 40px);
            margin: 0 auto;
        }
        > p{
            margin: 0 auto 30px auto;
            text-align: left;
        }
        .contact_information{
            display: inline-block;
            border:2px solid var(--main-color);
            padding: 1em 2em;
            color: var(--main-color);
            @media (max-width:767px){
                text-align: left;
                padding: 1em;
            }
            p{
                @media (max-width:767px){
                    letter-spacing: 0;
                }
            }
        }
    }
}

/* ---
    サイトマップ sitemap
----------------------------------------------- */
.sitemap_list_around{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid #dadada;
    padding: 3em;
    @media (max-width:767px){
        padding: 2em;
    }
    .sitemap_list{
        width: calc(100% / 3 - 20px);
        border-right: 1px dashed #dadada;
        @media (max-width:767px){
            width: 100%;
            border-right: none;
            border-bottom: 1px dashed #dadada;
            margin-bottom: 20px;
            padding-bottom: 20px;
        }
        &:last-child{
            border-right: none;
            @media (max-width:767px){
                border-bottom:none;
                margin-bottom: 0;
                padding-bottom: 0;
            }
        }
        ul{
            li{
                text-align: left;
                &.title{
                    font-weight: bold;
                }
                a{
                    &:hover{
                        color: #999;
                        transition: 0.4s;
                    }
                    i{
                        padding-left: 6px;
                    }
                }
            }
        }
    }
}