@charset "UTF-8";

body {
    background-image: url(../img/bg/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.contact_all {
    width: 80%;
    margin: 0 auto;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    background-image: url(../img/bg/backimg3_2_white.png);
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: bottom 0px right -30px;
    text-wrap: balance;
    word-break: auto-phrase;
}

.contact_text {
    font-size: 22px;
    text-align: center;
    margin: 0 0 3vw 0;
    line-height: 2em;
}

.place_border {
    background: linear-gradient(transparent 60%, #D0BFFF 60%);
    padding: 0 20px;
}

.contact_item {
    width: 100%;
}

.item {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    width: 30%;
    min-width: 250px;
    max-width: 400px;
    margin: 40px auto;
    border: #D0BFFF solid 2px;
    font-size: 25px;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    vertical-align: bottom;
    /*線の基点とするためrelativeを指定*/
    position: relative;
    cursor: pointer;
}

/*線の基点位置*/
.item::before,
.item::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    /*線の形状*/
    width: 0;
    height: 3px;
    background: #0481A2;
    /*アニメーションの指定*/
    transition: all 0.2s linear;
    transition-delay: 0.2s;
}

.item::before {
    right: 0;
    top: 0;
}

.item::after {
    left: 0;
    bottom: 0;
}

.item img {
    width: 3vw;
    min-width: 30px;
    max-width: 40px;
    cursor: pointer;
}

/*線の基点位置2 spanタグ*/

.box {
    display: block;
}

.box::before,
.box::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    /*線の形状*/
    width: 3px;
    height: 0;
    background: #0481A2;
    /*アニメーションの指定*/
    transition: all 0.2s linear;
}

.box::before {
    left: 0;
    top: 0;
}

.box::after {
    right: 0;
    bottom: 0;
}

/*現在地とhoverした際の線の変化*/

.item.current::before,
.item.current::after,
.item:hover::before,
.item:hover::after {
    width: 100%;
    /*横幅を100%に*/
}

.item.current span::before,
.item.current span::after,
.item:hover span::before,
.item:hover span::after {
    height: 100%;
    /*縦幅を100%に*/
}

.item a {
    color: #444;
    text-decoration: none;
}

.contact_item p {
    text-align: center;
    font-size: 18px;
}

.inst_p {
    text-align: center;
    font-size: 18px
}

.info_p {
    text-align: center;
    font-size: 23px
}

.info_span {
    border-bottom: solid 3px #D0BFFF;
    padding: 0 15px;
}

.contact_inst {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.contact_inst img {
    width: 3vw;
    min-width: 30px;
    max-width: 40px;
    cursor: pointer;
}

.contact_inst img:hover {
    transform: scale(1.1);
    transition: .2s;
}

@media screen and (max-width:1024px) {

    .contact_all {
        width: 80%;
        margin: 0 auto;
        font-family: "Klee One", cursive;
        font-weight: 400;
        font-style: normal;
        background-image: url(../img/bg/backimg3_2_white.png);
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: bottom 0px right -30px;
    }

    .contact_text {
        font-size: 18px;
        text-align: center;
        margin: 0 0 3vw 0;

    }

    .place_border {
        background: linear-gradient(transparent 60%, #D0BFFF 60%);
        padding: 0 10px;
    }

    .item {
        width: 30%;
        min-width: 200px;
        max-width: 400px;
        margin: 40px auto;
        border: #D0BFFF solid 2px;
        font-size: 20px;
        text-align: center;
        padding: 5px 15px;
        font-weight: 600;
        letter-spacing: 0.3px;
        vertical-align: bottom;
        /*線の基点とするためrelativeを指定*/
        position: relative;
        cursor: pointer;
    }

    .contact_item p {
        font-size: 16px;
    }

    .inst_p {
        font-size: 16px
    }

}

@media screen and (max-width: 590px) {

    .contact_all {
        width: 80%;
        margin: 0 auto;
        font-family: "Klee One", cursive;
        font-weight: 400;
        font-style: normal;
        background-image: url(../img/bg/backimg3_2_white.png);
        background-size: 30%;
        background-repeat: no-repeat;
        background-position: bottom 0px right -30px;
    }

}

/* ここかたQ&A */

/*アコーディオン全体*/
.accordion-area {
    list-style: none;
    width: 80%;
    max-width: 900px;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto 50px auto;

}

.accordion-area li {
    margin: 10px 0;
}

.accordion-area section {
    border: 2px solid #ccc;
    border-radius: 7px;
}

/*アコーディオンタイトル*/
.qa_title {
    position: relative;
    /*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size : 18px;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.qa_title::before,
.qa_title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #333;

}

.qa_title::before {
    top: 48%;
    left: 15px;
    transform: rotate(0deg);
    transition: all .5s ease;
}

.qa_title::after {
    top: 48%;
    left: 15px;
    transform: rotate(90deg);
    transition: all .5s ease;
}

/*closeというクラスがついたら形状変化*/
.qa_title.close::before {
    transform: rotate(45deg);
}

.qa_title.close::after {
    transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.qa_box {
    display: none;
    /*はじめは非表示*/
    background-color: rgba(218, 190, 255, 0.3);
    margin: 0 3% 3% 3%;
    padding: 3%;
    border-radius: 5px;
    font-size: 17px;
}

@media screen and (max-width:1024px) {

    .accordion-area {
        width: 86%;
    }

    .qa_title {
        font-size: 17px;
    }

    .qa_box {
        font-size: 16px;
    }

}

@media screen and (max-width: 590px) {

    .accordion-area {
        width: 90%;
    }

    .qa_title {
        font-size: 16px;
    }

    .qa_box {
        font-size: 15px;
    }
}



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}