﻿p.txt_color_nomal.linehight_2.font_2dw.d_inline_b.txt_center{
    text-align: left;
    max-width: 850px;
}

@media all and (-ms-high-contrast: none){
    a.txt_color_nomal.hvr_opa05.motion03s.d_block.pd_30px.width_300-max.border_color1.border_so1{
        padding-bottom:20px;
    }
    #cms_2-a .cate .cate_title,#cms_2-b .cate .cate_title{
        padding-top:10px !important;
    }
    div#icon img{
        max-width:200px;
    }
}

.linkStyle{
    color:#4cb288;
}
i.far.fa-envelope.txt_white.font_3up.posi_abs {
    display: none;
}
#top_contact_box .con_bt a {
    padding-left: 0;
}
.border_color3 {
    border-color: #eeefda;
}

#page_title::before{
    background: rgba(76,178,136 , 0.2);
}


#logo {
    width: 30%;
    height: 110px;
    top: 0;
    left: 0;
    z-index: 998;
}
.con_bt {
    background: transparent;
}
.cms_4-b .cate_box {
    margin: 0;
}
.tel_bt {
    border-color: white;
    background-color: transparent !important;
}

.cms_2-b h3.cate_title.font_8up.font_6up_tab.font_4up_sp.txt_white {
    position: absolute;
    z-index: 3;
    display: block;
    width: 100%;
    text-align: center;
    top: 43%;
    font-size: 40px;
}
.cms_2-b figure::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
   background: rgba(134,151,144,0.5);
    z-index: 2;
}
.cms_2-b figure{
    position:relative;
}
.cms_2-b .cate{
   max-height:400px;
   overflow:hidden;
   position:relative;
}
section.top_cms_box.mg_b-150px.mg_b-100px_sp{
    padding:0 5%;
}
#bg_gray section.top_cms_box.mg_b-150px.mg_b-100px_sp{
    padding:0;
    padding-top:150px;
    margin-bottom: 0;
}
#bg_gray {
    background: #f9f9f9 url(Dup/img/bg1.png);
    background-repeat: no-repeat;
    background-size: 40%;
    padding-bottom:150px;
    background-position: top right;
}
#top_cms h2.font_bold{
    font-weight:normal;
}
.cate_box.width_30per.width_90per_sp.per.mg_b-5px_sp.pd_b-5px_sp.mg_center_sp.border_color2.border_so1-b_sp{
    width:25% !important;
}
.box_wrap.d_flex.flex_space-between.flex_space-around_tb.flex_bottom-left_sp{
    justify-content: space-around;
}
.cms_1-a figure{
    border-radius: 100%;
    border: 5px solid #4cb288;
}

#top_contents2 {
    padding: 130px 0;
    margin-bottom: 0;
}
article#top_cms {
    background: #fffff9;
    padding-top: 150px;
    padding-left:0;
    padding-right:0;
}
#top_contents2 .con_box .text_box{
    background: #fffff8;
}
section#main_img::before {
    width: 100%;
    height: 100%;
    background: rgba(76,178,136,0.1);
    content: "";
    position: absolute;
    z-index: 2;
}
.con_box1{
    margin-bottom:150px;
}
.anime{
    animation:svgbox 2s forwards;
}
@keyframes svgbox{
    0%{
        opacity:0;
        transform: translateY(100px);
    }
    30%{
        opacity:0;
    }
    100%{
        opacity:1;
        transform: translateY(0);
    }
}
#icon img#icon2,.cms_1-a .cate_box:nth-child(2){
    animation-delay: 0.3s;
}
#icon img#icon3,.cms_1-a .cate_box:nth-child(3){
    animation-delay: 0.6s;
}
#icon img#icon4{
    animation-delay: 0.9s;
}
#icon img{
    opacity:0;
    transform: translateY(100px);
}
.svg_box svg{
    opacity:0;
    transform: translateY(100px);
}
.cms_1-a .cate_box{
    opacity:0;
    transform: translateY(100px);
}
.svg_box{
    position: relative;
    top: 37px;
}
#main_b{
    position: absolute;
    z-index: 2;
    text-align: center;
    width: 100%;
    top: 150px;
    left: 0px;
}
div#main_b img {
    width: 25vw;
}
span.sankaku2 {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 105px 0 105px;
    border-color: white transparent transparent transparent;
    margin: auto;
    display: block;
    position: relative;
    top: 40px;
    z-index: 2;
}

span.sankaku {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 105px 0 105px;
    border-color: #f9f9f7 transparent transparent transparent;
    margin: auto;
    display: block;
    position: relative;
    top: 60px;
    z-index: 3;
}
.con_box1 .img_box::after {
    content: "";
    width: 870px;
    height: 120px;
    background: url(Dup/img/mo.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -60px;
    left: 160px;
}
.con_box2 .img_box::after {
    content: "";
    width: 750px;
    height: 120px;
    background: url(Dup/img/cu.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -60px;
    right: 20px;
}
#top_contents2 .fadein_right,#top_contents2 .fadein_left{
    overflow:visible;
}


section#top_contents2::after {
    width: 100%;
    height: 100%;
    background: rgba(195,241,223,0.7);
    position: absolute;
    content: "";
    top: 0;
}
#top_contents2{
    background: url(Dup/img/con2_bg.jpg) no-repeat;
    position: relative;
}
.con_box{
    z-index:1;
}
h2,h3,h4,.cate_title{
    font-family: 'Shippori Mincho', serif;
}
/*
#top_contents1 h2::before {
    content: "";
    background: url(Dup/img/our.png) no-repeat;
    position: absolute;
    width: 100%;
    height: 100px;
    background-size: contain;
    z-index: -1;
    background-position: center;
    left: 0;
    top: -75px;
}*/

    #top_contents1 h2 {
    position: relative;
    font-size: 36px;
    font-weight:normal;

}
#top_contents1 {
    padding: 100px 5% 0;
}
#icon {
    display: flex;
    justify-content: space-around;
    max-width: 850px;
    margin: auto;
}
div#icon img {
    max-width: 250px;
}
#icon_wrap {
    padding: 100px;
    padding-bottom: 50px;
}

/*----------------------------------------タブレット-------------------------------*/
@media screen and (max-width:768px) {
.cms_2-b h3.cate_title.font_8up.font_6up_tab.font_4up_sp.txt_white{
    font-size: 30px;
}
    div#main_b img {
    width: 35vw;
}
p.txt_color_nomal.linehight_2.font_2dw.d_inline_b.txt_center{
    text-align:left;
}
div#icon img {
    max-width: 150px;
}
.con_box1 .img_box::after {
    content: "";
    width: 100%;
    height: 120px;
    background: url(Dup/img/mo.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: -90px;
    left: 0;
}
.con_box2 .img_box::after {
    content: "";
    width: 100%;
    height: 120px;
    background: url(Dup/img/cu.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: -100px;
    right: 0;
}
    
    
}
/*----------------------------------------ここまで-------------------------------*/


/*----------------------------------------スマホ-------------------------------*/
@media screen and (max-width:667px) {
#logo{
    height:75px;
}
.svg_box svg{
    width:100%;
    position:relative;
    top:20px;
}
#bg_gray {
    background-size: 70%;
}
#bg_gray .top_cms_title{
    padding: 0 5%;
}
.con_box1 .img_box::after{
    top:-13vw;
}
.con_box2 .img_box::after{
    top:-13vw;
}
div#icon img {
    max-width: 80%;
    margin-bottom:50px;
}
#icon {
    display: flex;
   
    max-width: 850px;
    flex-direction: column;
    align-items: center;
    margin: auto;
}
#top_contents1 {
    padding: 10px 5% 0;
}
   section#main_img::before {
    width: 100%;
    height: 100%;
    background: rgba(76,178,136,0.3);
    content: "";
    position: absolute;
    z-index: 2;
}
#main_b {
    position: absolute;
    z-index: 2;
    text-align: center;
    width: 100%;
    top: 28vw;
    left: 0px;
}
.box_wrap.d_flex.flex_space-between.flex_space-around_tb.flex_bottom-left_sp{
    flex-direction:column;
}
.cate_box.width_30per.width_90per_sp.per.mg_b-5px_sp.pd_b-5px_sp.mg_center_sp.border_color2.border_so1-b_sp {
    width: 100% !important;
}
#icon_wrap {
    padding: 50px;
}
    
}
/*----------------------------------------ここまで-------------------------------*/