@charset "utf-8";

@import url("basic.css");





/* コンテンツ全体 */
#wrapper {
    clear: both;
}

/* メイン画像 */
.mainpic img {
    width: 100%;
}

div.secondnav {
    width: 100%;
    position: relative;
    bottom: 170px;
    height: 140px;
    margin-bottom: -120px;
    background: rgba(255, 255, 255, 0.8);
}

div.secondnav>div {
    width: 950px;
    margin: 0 auto;
}


div.secondnav>div ul {
    /*コレ*/
    display: flex;
    /*コレ*/
    justify-content: space-between;
    padding: 0;
    list-style: none;
}


div.secondnav>div li {
    text-align: center;
    position: relative;
    bottom: 30px;

}




div.secondnav>div ul li span {
    position: relative;
    bottom: -13px;
    font-size: 1.0rem;
    font-weight: bold;
    white-space: nowrap;
}




.trans-late {
    background: skyblue;
    padding: 16px;
    color: white;
}



.snavpic1 img {
    width: 120px;
    /* ※縦横を同値に */
    height: 120px;
    /* ※縦横を同値に */
    border-radius: 50%;
    /* 角丸半径を50%にする(=円形にする) */
    background-position: left top;
    /* 横長画像の左上を基準に表示 */
    display: inline-block;
    /* 複数の画像を横に並べたい場合 */
    border: 5px solid #ffffff;
    box-shadow: 0px 2px 10px gray;
}


.snavpic1 img:hover {
    transform: translate(0, -12px);
    transition: 0.8s;

}


.snavpic1 a:hover {
    opacity: 1;
}

a:hover img {
    opacity: 1;
}


/* メイン部分 */


section#point h2 {
    padding: 10px 16px;
}

section#point section figure#youtube {
    margin: 0;
    padding: 0;
    float: left;
    margin-top: 20px;
    margin-right: 30px;
}



div#lineatto {
    float: left;
    padding: 0;
    margin-top: 20px;
}




section h2 {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    line-height: 3rem;
    margin-bottom: 30px;
}

section#news {
    padding: 50px 0;
}

section#news>div>div {
    overflow-y: scroll;
    height: 300px;

    padding: 15px;
}



section#news dl {
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 0 14px;
    line-height: 1.8rem;
}

section#news dt {
    width: 20%;
    text-align: center;
}

section#news dd {
    width: 80%;
    text-align: left;
}


section#intro {
    margin: 0 -200%;
    padding: 20px 200%;
    text-align: center;

}

div.introbg {
    padding: 50px 0;

}

div.intro_cont {
    display: flex;
    justify-content: space-between;
}



div.introword {
    text-align: left;
    padding: 40px;
    margin-top: 5px;
    background-color: white;
    width: 670px;
}


div.introword h2 {
    line-height: 40px;
    text-align: left;
}

div.introword p {
    margin-top: 30px;
    line-height: 26px;
}

div.introword>p.intro_name {
    float: right;
}

div.introword>div.jumpbtn {
    clear: both;
    float: right;
}

div.introword>div.jumpbtn a {
    background-color: #f8f8f8;
    color: rgb(46, 46, 46);
    padding: 6px 30px 3px;
    margin: 0 auto;
    border: 1px solid #7b7b7b;
    border-radius: 10px;
}



section#condition {
    background-color: #fff4e4;
    padding: 40px 0;
}


.condition_cont {}

.condition_cont>p {
    text-align: center;
}

.condition_cont>ul {
    display: flex;
    /* 横並びにする */
    flex-wrap: wrap;
    /* 3つで折り返すようにする */
    gap: 10px;
    /* 画像間の隙間（任意） */
    padding: 0;
    /* デフォルトのulの余白を消す */
    margin: 30px 0 0;
    list-style: none;
    /* デフォルトのリストマークを消す */
}

.condition_cont>ul li {
    width: calc(33.3333% - 10px);
    /* 1行に3つ、gapを引いた幅 */
    box-sizing: border-box;
    /* paddingやborderを幅に含める */
    margin-bottom: 15px;
    /* 行間の余白を設定 */
}

.condition_cont>ul>li>span {
    line-height: 2.6rem;
}


section#counseling {
    padding: 40px 0;

}
.counseling h3{
    font-size: 1.3rem;
    line-height: 2.8rem;
    text-align: left;
    font-weight: bold;
}


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

.counseling_imgleft img {
    width: 400px;
}

.counseling_imgleft p {
    width: 500px;
    text-align: left;
}


.counseling_imgright {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.counseling_imgright img {
    width: 400px;
}

.counseling_imgright p {
    width: 500px;
    text-align: left;
}








section#customer_voice {
    margin: 0 -200%;
    padding: 20px 200%;
    text-align: center;

}

div.voicebg {

    background-image: url("../images/group.jpg");
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    background-position: right 0% bottom 60%;
    background-size: cover;
    padding: 100px 0;

}

div.voiceword {
    text-align: left;
    padding: 40px 40px 40px;
    margin-top: 5px;
    background-color: white;
}


div.voiceword h2 {
    line-height: 40px;
}

div.voiceword dl {
    margin-bottom: 30px;
    line-height: 24px;
}

div.voiceword dt {
    line-height: 3rem;
    font-size: 1.2rem;
    background: url("../images/men.png") no-repeat left center;
    background-position: 0% 30%;
    padding-left: 40px;


}

div.voiceword dl:last-of-type {
    margin-bottom: 10px;
}


.google-maps {
    position: relative;
    padding-bottom: 30%; // これが縦横比
    height: 0;
    overflow;
    hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}




div#topsns {
    height: 100px;
    width: 100%;
    text-align: center;
    padding: 15px 0 0 0;
}

div#topsns ul {
    overflow: hidden;
    display: inline-block;
    position: relative;
    left: -8px;
}

div#topsns ul li {
    float: left;
    margin-left: 18px;
}

#facebook {
    float: left;
    width: 628px;
    height: 848px;
    border: solid 1px #aaaaaa;
    margin: 0;
    text-align: center;
}

#facebook h2 {
    text-align: left;
    font-size: 16px;
    line-height: 18px;
    border: none;
    background-color: #888;
    color: white;
}

div#facebook div {
    float: none;
    margin: 0 auto;
}

#instagram {
    float: right;
    width: 298px;
    height: 490px;
    border: solid 1px #aaaaaa;
    text-align: center;
    margin: 0 0 10px 0;
}

#instagram h2 {
    text-align: left;
    font-size: 16px;
    line-height: 18px;
    border: none;
    background-color: #888;
    color: white;
}

#instagram div {
    width: 298px;
    height: 570px;
}

#twitter {
    float: right;
    width: 298px;
    height: 630px;
    border: solid 1px #aaaaaa;
    margin: 0;
    text-align: center;
}

#twitter h2 {
    text-align: left;
    font-size: 16px;
    line-height: 18px;
    border: none;
    background-color: #888;
    color: white;
}

#twitter div {
    width: 298px;
    height: 570px;
}



p#omoi {
    font-size: 16px;
    padding: 2px 0 0 10px;
    position: relative;
    left: 50px;
    top: -40px;
    width: 100px
}

/* ---------------------------------
メディアクエリー
--------------------------------- */
@media screen and (max-width : 767px) {

    /* 基本要素 */


    /* Layout */
    header,
    #wrapper {
        width: 100%;
    }

    /* ヘッダー */
    header {
        background-repeat: no-repeat;
        background-position: right top;
        background-size: 100%;
        height: auto;
    }

    .mainpic {
        height: 300px;
    }

    .mainpic img {
        object-fit: cover;
        width: auto;
        height: 300px;
    }



    /* メイン部分 */
    #main {
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }

    #main figure {
        text-align: center;
    }

    section#news {
        padding: 50px 0;
    }

    section#news>div>div {
        overflow-y: scroll;
        height: 300px;
        border: 3px solid #eee;
        padding: 15px;
    }



    section#news dl {

        display: block;

    }

    section#news dt {
        width: 100%;
        text-align: left;
    }

    section#news dd {
        width: 100%;
    }




    section#intro h2 {
        width: 100%;
        text-align: center;
        border: none;
    }

    section#intro h2 img {
        margin-bottom: 0;
    }

    div#topsns {
        padding-bottom: 15px;
    }

    /* トップページパーツ */
    #main_visual {
        width: 100%;
        height: auto;
    }

    #point figure {
        float: none;
        margin: 0 0 11px 0;
    }

    section#point section figure#youtube {
        float: none;
        margin: 0 auto 10px;
    }

    section#point section figure#youtube iframe {
        width: 97% !important;
        height: 360px;
    }

    div#lineatto {
        width: 100%;
    }


    div#lineatto p {
        float: none;
        width: 300px;
        margin: 0 auto;
    }



    #facebook {
        float: none;
        width: 99%;
        margin: 0 auto 20px;
        margin-top: -20px;
    }


    div.fb-page {
        width: 99%;
    }

    #instagram {
        float: none;
        width: 98%;
        height: 630px;
        margin: 10px auto 20px;
    }

    #instagram div {
        float: none;
        width: 98%;
        height: 570px;
    }

    div#instagram div a.twitter-timeline {
        height: 570px;
    }

    #twitter {
        float: none;
        width: 98%;
        height: 630px;
        margin: 10px auto 20px;
    }

    #twitter div {
        float: none;
        width: 98%;
        height: 570px;
    }

    div#twitter div a.twitter-timeline {
        height: 570px;
    }

}