@charset "utf-8";

/*------------------------20200525banner追加*/

.banner{
    padding-top: 0;
}
.banner img{
     width:100%;
}

/*-------------------------------------ファーストビュー*/
.hero img {
    width: 100%;
    height: 100%;
}

.hero {
    background-image: url(../img/index/hero_1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero_contents {
    height: calc(100% - 100px);
    width: 100%;
    /*    position: relative;*/
}

.text_contents {
    position: absolute;
    top: 15%;
    right: 20%;
}



.keyword {
    position: relative;
    margin: 10px 0px;
}

.keyword:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    right: 0;
    top: 0;
    background-image: url(../img/index/icon_start_second.png);
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-size: contain;
}

.keyword:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../img/index/icon_end_second.png);
    vertical-align: middle;
    background-repeat: no-repeat;
    position: relative;
    left: -10px;
    bottom: -11px;
    background-size: contain;
}





.text_hero_contents_sub {
    position: absolute;
}

.text_hero_contents_sub span {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    background: #fff;
    padding: 15px;
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 20px;
    padding: 40px 20px;

}



.text_hero_contents_sub strong {
    position: relative;
    padding: 10px 0px;
    margin: 10px 0px;
}

.text_hero_contents_sub strong:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    right: 0;
    top: 0;
    background-image: url(../img/index/icon_start_second.png);
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-size: contain;
}

.text_hero_contents_sub strong:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../img/index/icon_end_second.png);
    vertical-align: middle;
    background-repeat: no-repeat;
    position: relative;
    left: -10px;
    bottom: -11px;
    background-size: contain;
}




.text_hero_contents_sub:nth-child(odd) {
    top: 150px;
    right: 20%;
}

.text_hero_contents_sub:nth-child(even) {
    top: 250px;
    right: 25%;
}

.text_hero_contents {
    font-style: normal;
    width: 50%;
    float: left;
}


.hero_contents_sub_nav{
    position: absolute;
    display: table;
    bottom: 130px;
    left: calc(50% - 210px);
    border-spacing: 10px 0px;
}
.hero_contents_sub_nav_item{
    background-color: #ffe5dd;
    border-radius: 10px;
    display: table-cell;
    font-weight: bold;
    margin:0 10px;
}


.hero_contents_sub_nav_item a{
    padding: 15px 10px;
    display: block;
    color: #393939;
}

.hero_contents_sub_nav_item a:hover{
    background-color: #fff;
    border-radius: 10px;
}

@media screen and (max-width: 2000px) {
    .text_hero_contents_sub:nth-child(even) {
        right: 200px;
        top: 250px;
    }


    .text_hero_contents_sub:nth-child(odd) {
        top: 150px;
        right: 100px;
    }




    .text_hero_contents_sub span {
        padding: 15px;
        font-size: 24px;
    }
}





@media screen and (max-width: 1080px) {
.hero_contents_sub_nav{
    display: none;
}
}



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

    .text_hero_contents_sub:nth-child(odd) {
        right: 30px;
    }

    .text_hero_contents_sub:nth-child(even) {
        right: 120px;
        top: 200px;
    }

    .text_hero_contents_sub span {
        font-size: 20px;
    }



    .text_hero_contents_sub strong:before {
        width: 15px;
        height: 15px;
    }

    .text_hero_contents_sub strong:after {
        width: 15px;
        height: 15px;
    }

    .hero {
        background-position: 80%;
    }



}





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

    .text_hero_contents_sub {
        font-size: 14px;
        padding: 10px 10px;
    }


    .text_hero_contents_sub span {
        letter-spacing: 1px;
    }

    .text_hero_contents_sub:nth-child(odd) {
        right: 20px;
        top: 90px;
    }

    .text_hero_contents_sub:nth-child(even) {
        right: 100px;
        top: 90px;
    }

    .text_hero_contents_sub strong:before {
        width: 15px;
        height: 15px;
    }

    .text_hero_contents_sub strong:after {
        width: 15px;
        height: 15px;
    }



    .text_hero_contents_sub strong:after {
        left: -8px;
        bottom: -5px;
    }

}









@media screen and (max-width: 480px) {
    .hero_contents_text span {
        padding: 10px;
        font-size: 20px;
        letter-spacing: 2px;
        border-radius: 20px;
        padding: 20px 10px;
    }

    .text_hero_contents_sub:nth-child(even) {
        right: 20px;
    }

    .text_hero_contents_sub:nth-child(odd) {
        right: 90px;
    }

    .keyword {
        padding: 10px 0px;
    }

    .text_hero_contents_sub span {
        padding: 15px 10px;
        letter-spacing: 1px;
    }


    .text_hero_contents_sub strong {
        margin: 5px 0px;
        padding: 5px 0px;
    }

    .text_hero_contents_sub strong:after {
        left: -10px;
        bottom: -6px;
    }


}
















/*----------------------たまふれあいの家ってどんなところ？*/
.about_inner {
    display: flex;
    justify-content: space-between;
}

.about_contents {
    background-color: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    width: 31%;
    box-sizing: border-box;
    margin-top: 130px;
}


.about_contents_headline {
    font-size: 26px;
    margin: 30px 0;
}

.about_contents_text {
    margin: 0 auto 30px;
    text-align: left;
    line-height: 2;
}

.about_contents_number {
    background-image: url(../img/base/orange_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    background-position: center;
    margin-top: -80px;
}


/*.about_contents:nth-child(2) .about_contents_number {
    background-image: url(../img/base/purple_bg.png);
}
*/

.about_contents_number_text {
    font-size: 20px;
    line-height: 1.2;
    color: #ff8d6e;
    padding: 20px;
    font-family: "Courgette", "cursive", "serif";

}

/*.about_contents:nth-child(2) .about_contents_number_text {
    color: #949bdc;
}
*/


.about_contents_number_text span {
    font-size: 50px;
}

.about_contents_image img {
    width: 100%;
}



@media screen and (max-width: 1024px) {
    .about_inner {
        display: flex;
        flex-direction: column;
    }

    .about_contents {
        width: 100%;
    }

    .about_contents_headline {
        margin: 30px 0 10px;
        font-size: 20px;
    }

    .about_contents_second {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .about_contents_second_item {
        width: 45%;
    }

    .about_contents_image {
        width: 50%;
    }

    .about_contents {
        padding: 120px 50px 30px;
    }

    .about_contents_number {
        margin-top: -180px;
    }


}




@media screen and (max-width: 720px) {
    .about_contents_second {
        display: flex;
        flex-direction: column;
    }

    .about_contents_second_item {
        width: 100%;
    }

    .about_contents_image {
        width: 100%;
    }
}



@media screen and (max-width: 480px) {
    .about_contents {
        padding: 20px;
    }


    .about_contents_headline {
        font-size: 18px;
    }


    .about_contents {
        padding: 20px;
    }

    .about_contents_number {
        margin-top: -60px;
    }

    .about_contents_number_text span {
        font-size: 30px;
    }

    .about_contents {
        margin-top: 80px;
    }


}
















/*---------------------------------------選ばれる理由*/
#reason img {
    width: 100%;
}

.reason_inner {
    padding: 150px 0px;
    margin: 0 auto;
}

.reason_item {
    position: relative;
    display: block;
    width: 100%;
}

.reason_item_inner {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

.reason_contents {
    background-color: #fff;
    padding: 50px;
    max-width: 700px;
    box-sizing: border-box;
    position: relative;
    float: right;
    margin: 50px 0;
    border-radius: 30px;
}

.reason_contents_headline {
    font-size: 30px;
}

.reason_contents_headline span {
    position: relative;
    padding: 0 15px;
    margin: 0 10px;
}

.reason_contents_headline span:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    background-image: url(../img/index/icon_start.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
}

.reason_contents_headline span:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/index/icon_end.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: -10px;
    bottom: 0;
    background-size: contain;
}

.reason_contents_text {
    font-size: 16px;
    line-height: 2.2;
    margin: 20px 0px;
}


.reason_image {
    display: block;
    position: absolute;
    max-width: 55%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-image: url(../img/index/reason_image.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
}



@media screen and (max-width: 1700px) {
    .reason_image {
        background-position: 70%;
    }
}






@media screen and (max-width: 1024px) {
    .reason_image {
        position: static;
        height: 500px;
        max-width: 100%;
    }

    .reason_inner {
        padding: 100px 50px;
        margin: 0 auto;
    }

    .reason_contents {
        max-width: 100%;
    }

    .reason_contents_headline {
        font-size: 24px;
    }

    .reason_contents {
        margin: 50px 0px 0px 0px;
        padding: 50px 30px;
    }

    .reason_contents_text {
        margin: 20px 0px;
    }
    #reason img {
    width: 80%;
    display: block;
    margin:0 auto;
    }
}



@media screen and (max-width: 896px) {
    .reason_contents_headline {
        font-size: 20px;
    }
}



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

    .reason_inner {
        padding: 80px 20px;
    }

    .reason_contents_headline {
        font-size: 20px;
    }

    .reason_contents_text {
        margin: 20px 0px;
        font-size: 14px;
    }

    .reason_image {
        height: 300px;
    }
    #reason img {
    width: 100%;
    }
}


















/*-----------------------------------------サービス*/
.service_content {
    margin-bottom: 100px;
}


.service_content_item {
    float: right;
    width: 30%;
    margin-top: 20px;
}



.service_content:nth-child(3) .service_content_item {
    float: left;
    width: 28%;
}



.service_content img {
    float: left;
    width: 65%;
}





.service_content:nth-child(3) img {
    float: right;
}


.service_content_headline {
    font-size: 26px;
    position: relative;
    padding-left: 60px;
    margin-bottom: 20px;
}

.service_content_headline::before{
    content: '1';
    position: absolute;
    left: -5px;
    font-size: 94px;
    color: #ff8d6e;
    top: -30px;
    font-family: "Courgette", "cursive", "serif";
}

.service_content:nth-child(3) .service_content_headline::before{
    content: '2';
    color: #949bdc;
}

.service_content:nth-child(4) .service_content_headline::before{
    content: '3';
}




.service_content_headline strong {
    font-size: 50px;
}

.service_content:nth-child(3) .service_content_headline {
    float: right;
}


.service_content:nth-child(3) .service_content_headline span {
    color: #949bdc;
}


.service_content_headline span {
    font-size: 100px;
    color: #ff8d6e;
    font-family: "Courgette", "cursive", "serif";
    padding-right: 20px;
    vertical-align: middle;
}

.service_content_item_headline {
    font-size: 22px;
    font-weight: bold;
}



.service_content_item_headline span {
    position: relative;
    padding: 0 15px;
    margin: 0 10px;
}

.service_content_item_headline span:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    background-image: url(../img/index/icon_start.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
}



.service_content:nth-child(3) .service_content_item_headline span:after {
    background-image: url(../img/index/icon_end_purple.png);
}



.service_content:nth-child(3) .service_content_item_headline span:before {
    background-image: url(../img/index/icon_start_purple.png);
}


.service_content_item_headline span:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/index/icon_end.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: -10px;
    bottom: 0;
    background-size: contain;
}






.service_content_item_text {
    line-height: 2.2;
    margin: 20px 0;
}

.service_content_item_btn {
    font-size: 16px;
    padding: 5px 30px;
    border: 4px solid;
    border-radius: 10px;
    color: #ff8d6e;
    float: right;
    font-weight: bold;
    position: relative;
}

.service_content_item_btn:hover {
    color: #fff;
    border: 4px solid #ff8d6e;
    background-color: #ff8d6e;
}


.service_content_item_btn::after {
    position: absolute;
    top: 1px;
    bottom: 0;
    margin: auto;
    right: 15px;
    content: "";
    width: 5px;
    height: 5px;
    border-top: 4px solid #ff8d6e;
    border-right: 4px solid #ff8d6e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}





.service_content:nth-child(3) .service_content_item_btn {
    color: #949bdc;
}


.service_content:nth-child(3) .service_content_item_btn:hover {
    color: #fff;
    background-color: #949bdc;
    border: 4px solid #949bdc;
}


.service_content:nth-child(3) .service_content_item_btn::after {
    border-top: 4px solid #949bdc;
    border-right: 4px solid #949bdc;
}





@media screen and (max-width: 1024px) {
.service_content {
    margin-bottom: 50px;
}

    .service_content img {
        float: none;
        width: 100%;
    }

    .service_content:nth-child(3) img {
        float: none;
        width: 100%;
    }


    .service_content:nth-child(3) .service_content_headline {
        float: none;
    }

    .service_content_item {
        width: 100%;
    }



    .service_content:nth-child(3) .service_content_item {
        width: 100%;
    }

.service_content_headline {
    font-size: 18px;
}
.service_content_headline::before{
    font-size: 74px;
    top: -25px;
}

.service_content_headline {
    padding-left: 45px;
}

}






@media screen and (max-width: 480px) {
    .service_content_headline span {
        font-size: 34px;
        padding-right: 10px;

    }

    .service_content_headline strong {
        font-size: 24px;

    }
.service_content_headline::before{
    font-size: 70px;
}


    .service_content_headline {
        font-size: 18px;
        margin-bottom: 10px;
    }


    .service_content_item_headline {
        font-size: 18px;
    }

    .service_content_item {
        margin-top: 20px;
    }

    .service_content_item_text {
        margin: 20px 0;
    }


}

















/*------------------------------------ご利用までの流れ*/
.flow_contents_item {
    width: 23%;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px 15px;
}


.flow_contents {
    display: flex;
    justify-content: space-between;
    margin: 130px 0 50px;
}

.flow_contents_item_headline {
    font-size: 20px;
    padding: 30px 0;
}


.flow_contents_item_number {
    background-image: url(../img/base/orange_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    background-position: center;
    margin-top: -100px;
}


.flow_contents_item:nth-child(4) .flow_contents_item_number {
    background-image: url(../img/base/purple_bg.png);
}


.flow_contents_item_text {
    text-align: left;
}


.flow_contents_item_number_text {
    font-size: 20px;
    line-height: 1.2;
    color: #ff8d6e;
    padding: 20px;
    font-family: "Courgette", "cursive", "serif";

}


.flow_contents_item:nth-child(4) .flow_contents_item_number_text {
    color: #949bdc;
}



.flow_contents_item_number_text span {
    font-size: 50px;

}

.flow_contents_second {
    position: relative;
}


.flow_contents_second img {
    width: 100%;
}

.flow_contents_second_headline {
    font-size: 22px;
    font-weight: bold;
    margin: 30px 0;
}



.flow_contents_second_headline span {
    position: relative;
    padding: 0 15px;
    margin: 0 10px;
}



.flow_contents_second_headline span:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    background-image: url(../img/index/icon_start.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
}

.flow_contents_second_headline span:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/index/icon_end.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: -10px;
    bottom: 0;
    background-size: contain;
}


.flow_contents_second_subtext {
    background: #ff8d6e;
    border-radius: 100px;
    width: 100px;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin: -45px auto 0px;
    font-family: "Courgette", "cursive", "serif";
}

.flow_contents_second_text {
    line-height: 2;
}

.flow_contents_second_item {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    float: left;
    width: 35%;
    top: 80px;
    position: absolute;
}


.flow_contents_second_image {
    float: right;
    width: 74%;
}



@media screen and (max-width: 1024px) {
    .flow_contents {
        flex-wrap: wrap;
    }

    .flow_contents_item {
        width: 48%;
    }

    .flow_contents_item:nth-child(1),
    .flow_contents_item:nth-child(2) {
        margin-bottom: 100px;
    }

    .flow_contents_second_item {
        position: static;
        float: none;
        width: 100%;
    }

    .flow_contents_second_image {
        float: none;
        width: 100%;
        margin-bottom: 50px;
    }


    .flow_contents_second_headline {
        font-size: 20px;
    }


}






@media screen and (max-width: 480px) {
    .flow_contents_item {
        width: 100%;
    }

    .flow_contents_item {
        margin-bottom: 80px;
    }

    .flow_contents_item:nth-child(4) {
        margin-bottom: 0px;
    }

    .flow_contents_item_number_text span {
        font-size: 30px;
    }


    .flow_contents_item_number {
        margin-top: -80px;
    }

    .flow_contents {
        margin: 100px 0 50px;
    }

    .flow_contents_item:nth-child(1),
    .flow_contents_item:nth-child(2) {
        margin-bottom: 80px;
    }

}


















/*------------------------------------施設紹介*/
.facility_introduction_inner {
    padding: 150px 0px;
    margin: 0 auto;
}

.facility_introduction_headline {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 20px;
    font-weight: bold;
    position: relative;
}


.facility_introduction_headline span {
    padding: 0 15px;
    margin: 0 10px;
    position: relative;
}


.facility_introduction_headline span::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    background-image: url(../img/index/icon_start.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
}



.facility_introduction_headline span::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/index/icon_end.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: -10px;
    bottom: 0;
    background-size: contain;
}

.facility_introduction_text {
    text-align: center;
}

.facility_introduction_item {
    padding: 0 50px;
}


.facility_introduction_item img {
    width: 100%;
}


.next-arrow {
    display: inline;
    position: absolute;
    z-index: 1;
    width: 80px;
    cursor: pointer;
    top: calc(50% - 80px);
    right: 20.5%;
}

.prev-arrow {
    display: inline;
    position: absolute;
    z-index: 1;
    top: calc(50% - 80px);
    left: 20.5%;
    cursor: pointer;
    width: 80px;
}


@media screen and (max-width: 1400px) {
    .facility_introduction_item {
        padding: 0 20px;
    }

    .next-arrow {
        right: 19%;
    }

    .prev-arrow {
        left: 19%;
    }

}






@media screen and (max-width: 1024px) {
    .next-arrow {
        right: -10px;
    }

    .facility_introduction_inner {
        padding: 100px 50px;
        margin: 0 auto;
    }


    .prev-arrow {
        left: -10px;
    }

}



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

    .prev-arrow,
    .next-arrow {
        top: calc(45% - 50px);
        width: 50px;
    }



}


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

    .prev-arrow,
    .next-arrow {
        top: calc(50% - 50px);
    }

    .facility_introduction_inner {
        padding: 50px 20px;
    }

    .facility_introduction_item {
        padding: 0 20px;
    }

    .prev-arrow,
    .next-arrow {
        top: 22%;

    }

    .facility_introduction_text {
        text-align: left;
    }

    .facility_introduction_headline {
        font-size: 20px;
        margin: 30px 0 20px;
    }

}



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

    .prev-arrow,
    .next-arrow {
        top: 20%;
        width: 40px;
    }

}





/*------------------------------------よくある質問*/
.faq_item {
    background: #fff;
    border: 5px #ff8d6e solid;
    border-radius: 20px;
    margin-bottom: 30px;
}



.faq_item:last-child {
    margin-bottom: 0px;
}



.faq_title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;

    display: block;
    cursor: pointer;

}


.faq-container {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 20px 50px;
    box-sizing: border-box;
}


.faq-container::before {
    content: 'Q';
    position: absolute;
    font-size: 24px;
    left: 20px;
top: calc(50% - 20px);
    color: #ff8d6e;
    font-family: "Courgette", "cursive", "serif";
}

.faq_title {
    position: relative;
    font-size: 18px;
    text-align: left;

}

.faq_title:after {
    content: "";
    position: absolute;
    right: 25px;
    top: calc(50% - 5px);
    transition: all 0.2s ease-in-out;
    display: block;
    width: 5px;
    height: 5px;
    border-top: solid 4px #ff8d6e;
    border-right: solid 4px #ff8d6e;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.faq_title.open:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%;
}

.faq_title span {
    font-size: 30px;
    font-family: "Courgette", "cursive", "serif";
    color: #ff8d6e;
    margin-right: 30px;
}


.faq-content {
    display: none;
    font-size: 16px;
    line-height: 1.5;
    padding: 0px 50px 20px;
}

.privacy_label {
    text-align: center;
    margin-top: 10px;
}





@media screen and (max-width: 896px) {
    .faq-container {
    padding: 20px 35px 20px 50px;
    }

    .faq_title span {
        font-size: 20px;
        margin-right: 10px;
    }

    .faq_title {
        font-size: 16px;
    }

    .faq_title:after {
        right: 15px;
/*        top: 30px;*/
    }
}


@media screen and (max-width: 480px) {
    .faq_title:after {
        right: 10px;
    }

/*    .faq-container {
        padding: 20px 20px 20px 15px;
    }*/
}

















/*------------------------------------施設概要*/
.overview_image {
    position: relative;
}

.overview_image img {
    width: 100%;
}


.overview_image_text_sub {
    position: absolute;
}

.overview_image_text_sub span {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    background: #fff;
    padding: 15px;
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 20px;
    padding: 40px 20px;

}



.overview_image_text_sub strong {
    position: relative;
    padding: 10px 0px;
    margin: 10px 0px;
}

.overview_image_text_sub strong:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    right: 0;
    top: 0;
    background-image: url(../img/index/icon_start_second.png);
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-size: contain;
}

.overview_image_text_sub strong:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../img/index/icon_end_second.png);
    vertical-align: middle;
    background-repeat: no-repeat;
    position: relative;
    left: -10px;
    bottom: -11px;
    background-size: contain;
}




.overview_image_text_sub:nth-child(odd) {
    top: 150px;
    right: 20%;
}

.overview_image_text_sub:nth-child(even) {
    top: 250px;
    right: 25%;
}

.overview_contents {
    font-style: normal;
    width: 30%;
    float: left;
}

.overview_contents_name {
    font-size: 22px;
}

.overview_contents_text {
    padding: 5px 25px;
    border-left: solid 5px #FF8D71;
    margin-bottom: 10px;
}

.overview_contents_tel {
    font-size: 30px;
    position: relative;
    margin-left: 35px;
    font-weight: bold;
}

.overview_contents_tel::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    top: 8px;
    left: -30px;
    background-image: url(../img/base/tel.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}

.overview_inner {
    overflow: hidden;
}

.overview_contents_item_1 {
    float: left;
    width: 30%;
    font-weight: bold;
}


.overview_contents_headline {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}



.overview_contents_item {
    line-height: 2;
}


.overview_contents_second:before {
    content: "";
    position: absolute;
    top: -60px;
    left: 20%;
    margin-left: -15px;
    border: 30px solid transparent;
    border-bottom: 30px solid #f7f7f7;
}

.overview_contents_second_item {
    float: right;
    width: 50%;
}


.overview_contents_second {
    background-color: #f7f7f7;
    padding: 50px;
    position: relative;
    margin-top: 50px;
    border-radius: 20px;
}


.float_no {
    float: none;
    width: 100%;
}


#map_canvas {
    width: 70%;
    height: 250px;
}

#map_canvas img {
    width: 100px;
    height: 100px;
}


#map_canvas button::after {
    display: none;
}


.gm-style div.img {
    width: 50px;

}

iframe {
    width: 100%;
}




@media screen and (max-width: 2000px) {
    .overview_image_text_sub:nth-child(even) {
        right: 28%;
    }

}



@media screen and (max-width: 1800px) {
    .overview_image_text_sub:nth-child(even) {
        right: 250px;
        top: 180px;
    }


    .overview_image_text_sub:nth-child(odd) {
        top: 80px;
        right: 150px;
    }




    .overview_image_text_sub span {
        padding: 15px;
        font-size: 24px;
    }
}




@media screen and (max-width: 1300px) {
    .overview_image_text_sub:nth-child(even) {
        top: 150px;
    }


    .overview_image_text_sub:nth-child(odd) {
        top: 50px;
    }
}





@media screen and (max-width: 1024px) {
    .overview_image_text_sub:nth-child(even) {
        top: 100px;
    }


    .overview_image_text_sub:nth-child(odd) {
        top: 50px;
    }

}






@media screen and (max-width: 896px) {
    .overview_image_text_sub:nth-child(even) {
        top: 50px;
    }


    .overview_contents {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    #map_canvas {
        width: 100%;
    }


    .overview_contents_second_item {
        width: 100%;
        margin-bottom: 30px;
    }


    .overview_contents_second_item:nth-child(even) {
        margin-bottom: 0px;
    }


    .overview_image_text_sub:nth-child(odd) {
        right: 50px;
    }

    .overview_image_text_sub:nth-child(even) {
        right: 130px;
    }

    .overview_image_text_sub span {
        font-size: 18px;
    }

    .overview_image_text_sub strong:before {
        width: 15px;
        height: 15px;
    }

    .overview_image_text_sub strong:after {
        width: 15px;
        height: 15px;
    }

    iframe {
        margin-top: 30px;
    }


}





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

    .overview_image_text_sub {
        font-size: 14px;
        padding: 10px 10px;
    }


    .overview_image_text_sub span {
        letter-spacing: 1px;
        font-size: 14px;
    }

    .overview_image_text_sub:nth-child(odd) {
        right: 20px;
        top: 15px;
    }

    .overview_image_text_sub:nth-child(even) {
        right: 90px;
        top: 15px;
    }

    .overview_image_text_sub strong:before {
        width: 10px;
        height: 10px;
    }

    .overview_image_text_sub strong:after {
        width: 10px;
        height: 10px;
    }

    .overview_image_text_sub strong {
        padding: 0px;
    }

    .overview_image_text_sub strong:after {
        left: -8px;
        bottom: -5px;
    }



}




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

    .overview_image_text_sub span {
        font-size: 14px;
        padding: 10px;
        letter-spacing: 1px;
    }

    .overview_image_text_sub:nth-child(odd) {
        top: 10px;
    }

    .overview_image_text_sub:nth-child(even) {
        top: 10px;
        right: 70px;
    }


    .overview_image_text_sub strong {
        margin: 5px 0px;
    }

    .overview_image_text_sub strong:after {
        left: -6px;
        bottom: -4px;
    }


    .overview_contents_second {
        padding: 30px 20px;
    }

    .overview_contents_tel {
        font-size: 30px;
    }

    .overview_contents_tel::before {
        width: 30px;
        height: 30px;
    }

    .overview_contents_item_1 {
        float: none;
    }
}

















/*---------------------------お問い合わせフォーム*/
#contact_form table tr td input {
    -webkit-appearance: none;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 16px 10px;
    border-radius: 0;
    font-size: 16px;
}

#contact_form table tr td select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 16px 10px;
    border-radius: 0;
    cursor: pointer;
    background-image: url(../img/index/select_icon.png);
    background-size: 10px;
    background-repeat: no-repeat;
    font-size: 16px;
    background-repeat: no-repeat;
    background-position: center right 10px;
}


#contact_form table {
    margin-top: 50px;
}


#contact_form table tr {
    border-bottom: 25px solid #fff;
    display: inline-table;
    width: 100%;
}


#contact_form table th {
    font-size: 16px;
    width: 180px;
    vertical-align: middle;
    text-align: left;
}

#contact_form table tr td textarea {
    height: 200px !important;
    -webkit-appearance: none;
    width: 100% !important;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 16px 10px;
    border-radius: 0;
    font-size: 16px;
}


#contact_form table td {
    display: block;
}




.mfp_err {
    color: #f4ac96;
}

div#mfp_overlay_background,
div#mfp_loading_screen,
div#mfp_loading,
div#mfp_overlay,
#mfp_hidden {
    display: none;
}

.accordion_title {
    background-color: #ff8d6e;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 10px 0px;
    text-align: center;
    border-radius: 20px;
    display: block;
    cursor: pointer;
}



.accordion-container {
    position: relative;
    width: 100%;
    text-align: center;
}

.accordion_title {
    position: relative;
}

.accordion_title:after {
    content: "";
    position: absolute;
    right: 25px;
    top: 38%;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 5px;
    height: 5px;
    border-top: solid 4px #fff;
    border-right: solid 4px #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.accordion_title.open:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%;
}

.accordion-content {
    display: none;
}

.privacy_label {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.privacy_contents {
    padding: 30px;
}

.privacy_contents_list{
    list-style: disc;
}

.privacy_contents_list_item{
    list-style: disc;
    margin-left: 20px;
}

div#mfp_phase_confirm_inner h4 {
    font-size: 20px;
    margin-bottom: 50px;
    margin-top: 30px;
    text-align: center;
}



button {
    text-align: center;
    margin: 50px auto 0;
    padding: 15px 15px;
    width: 320px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    display: block;
    color: #ff8d6e;
    border: 5px solid #ff8d6e;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    background: #fff;
}

button:hover {
    background: #ff8d6e;
    color: #fff;
}

button::after {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 30px;
    content: "";
    width: 5px;
    height: 5px;
    border-top: 4px solid #ff8d6e;
    border-right: 4px solid #ff8d6e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


.common_readsentence span {
    color: #ff8d6e;
}

#mailformpro tbody span {
    color: #ff8d6e;
}

.thanks_btn {
    text-align: center;
    margin: 50px auto 0;
    padding: 15px 15px;
    width: 320px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    display: block;
    color: #ff8d6e;
    border: 5px solid #ff8d6e;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    background: #fff;
    margin-bottom: 50px;
}



.thanks_btn:hover {
    background: #ff8d6e;
    color: #fff;
}

.thanks_btn::after {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 30px;
    content: "";
    width: 5px;
    height: 5px;
    border-top: 4px solid #ff8d6e;
    border-right: 4px solid #ff8d6e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.thanks_item {
    text-align: center;
}

.thanks_headline {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.tama_logo {
    width: 200px;
    margin: 0 auto 50px;
    display: block;
}


.privacy_contents_headline {
    font-size: 20px;
    margin-bottom: 20px;
}

.privacy_contents_sub_headline {
    font-weight: bold;
}

.privacy_contents_text {
    margin-bottom: 20px;
}


.privacy_contents_list {
    margin-bottom: 20px;
}

@media screen and (max-width: 896px) {
    #contact_form table td {
        display: block;
    }

    #contact_form table th {
        margin-bottom: 0px;
        margin-bottom: 10px;
    }

    #contact_form table tr {
        margin-bottom: 30px;
        display: inline-table;
        width: 100%;
    }

    #contact_form table tr td input {
        width: 100%;
    }

    #contact_form table tr td textarea {
        width: 100% !important;
        font-size: 16px;
    }

    #contact_form table tr td select {
        font-size: 16px;
    }
    .privacy_contents {
    padding: 30px 0px;
}
}





@media screen and (max-width: 480px) {
    #contact_form table th {
        display: block;
    }

    #contact_form table tr {
        margin-bottom: 10px;
    }

    .accordion_title {
        font-size: 16px;
    }


    button {
        margin: 20px auto 0;
    }


    .thanks_btn {
        margin: 20px auto 0;
    }


    .thanks_item {
        text-align: left;
    }

    .thanks_headline {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .privacy_contents_headline {
        font-size: 18px;
    }

}





@media screen and (max-width: 480px) {
    button {
        width: 100%;
    }

    .thanks_btn {
        width: 280px;
    }
}