﻿/*---------------------------------------------
 テンプレート・CMS・下層ページ 
--------------------------------------------*/
.top_loader .logo{max-width: 90px;}
header{background-color: #f1ffda!important;}
.header ul li a{color: #1f7f00;}
.header ul li a:hover{color: #e3dc09;}
.cms_link{top: 20%;}
.marker{background: linear-gradient(transparent 60%, #ffe897 60%);}


#catch .box{
    margin:  0 8% 0 12%;;
    width: 80%!important;
}

.cate_list li a{
    background-color: #ffefb3;
    border-radius: 5px;
}
.cate_list li a:hover{
    background-color: #1f7f00;
}

#catch .box .title{font-size: 1.8rem;}

#question .txt:before{top: auto;}
#question .txt .check{width: 40px;}
#question .txt .text{width: calc(100% - 60px);}

#contents .box h3{font-size: 1.8rem;}
#contents{padding-top: 120px;}
#contents .box figure{width: 45%!important;}
#contents .box:nth-child(even) figure{margin-left: 55%;}
#contents .box .box_item{width: 55%!important;}
#contents .box:nth-child(odd) .box_item{margin-left: 45%;}

#page_title{
    background-size: 100%;
}

.f_logo.bg_color1{background-color: #186200;}
#tel_contact .tel a{background-color: #1f7f00;}
#tel_contact .con_box{
    width: 75%;
    margin: 0 auto 10px;
}
#tel_contact .box{
    width: 46%;
    margin-top: 30px;
}
#tel_contact .box a{
    display: block;
    padding:20px 2%;
    font-weight: bold;
    border-radius: 5px;
}
#tel_contact .box.box1 a{
    background-color: #1f7f00;
    color: #fff;
}
#tel_contact .box.box2 a{
    background-color: #ffcd18;
    color: #fff;
}

.more_box:hover .more_txt1{letter-spacing: -0.05em;}

/* タブレット */
@media screen and (max-width: 768px){
    .button_container .bg_white{background-color: #1f7f00;}
    .cms_link{top: 28%;}
    #catch .box{margin: 0 auto;}
    
    #question .txt{
        justify-content: space-between;
        width: 48%;
        margin-right: 2%;
    }
    #question .txt .text{
        letter-spacing: -0.07em;
        width: calc(100% - 50px);
    }
    #question .txt .check{width: 35px;padding-right: 0;}
    
    #contents{padding-top: 120px;}
    #contents .box figure{width: 90%!important; margin: 0 auto;}
    #contents .box:nth-child(even) figure{margin: 0 auto;}
    #contents .box .box_item{width: 100%!important; margin: -50px auto 0;}
    #contents .box:nth-child(odd) .box_item{margin: 0 auto;}
    
    .footer_cms{width: 40%!important;}
    .footer_nav .box{width: 70%; margin: 0 auto;}
    
    #tel_contact .con_box{width: 100%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .top_loader .logo{max-width: 70px; margin-bottom: 20px;}
    .page-top{bottom: 84px;}
    .cms_link{top: auto;}
    #catch .box{width: 90%!important;}
    #catch .box .title{
        font-size: 1.5rem;
        width: 260px;
    }
    
    #question .txt{width: 100%;margin-right: 0;}
    #question .txt .text{width: calc(100% - 40px);}
    
    #contents .box h3{font-size: 1.5rem;}
    #contents .box .box_item{    margin: -20px auto 0;}
    .box.con1 h3{width: 200px;}
    
    .footer_cms{width: 100%!important;}
    .footer_nav .box{width: 100%; margin: 0 auto;}
    #copyright{padding-bottom: 140px!important;}
    
    
    .title_dec{
        width: 280px;
        letter-spacing: 0.07em;
    }
    #tel_contact .box{ width: 100%;}
}

/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
.menu .logo{
    background-color: #f1ffda;
    padding: 15px 10px;
}
.main_img_wrap{overflow: hidden;}
.catch {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 1%;
    transform: translate(0%, -50%);
    width: 50%;
    max-width: 840px;
}
.menu{
    top: 0px;
    left: 0px;
    transform: translateY(0%) translateX(0%);
    -webkit- transform: translateY(0%) translateX(0%);
}
.menu ul{display:none;}
.main_img > img{
    position: absolute;
    width: auto;
	height: 100%;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
    vertical-align: bottom;
}
@media screen and (min-width: 1640px){
    .main_img img{
        width: 100%;
        height: auto;
    }
}
/* タブレット */
@media screen and (max-width: 768px){
    .main_img{height: 43vh;}
    .catch {}
}
/* スマホ */
@media screen and (max-width: 667px){
    .catch {width: 90%; top: 36%; transform: translate(-50%, -50%);left: 50%;}
    .main_img img{
        width: 100%;
        height: auto;
    }
    .main_img{
        height: 80vh;
        max-height: 550px;
    }
    
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}


/*--------------------------------------------
 全体 ・　文字
----------------------------------------------*/
.linkStyle{
	color: #218900;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	opacity: 0.7;
	text-decoration: none;
}


.txt_color1,.hvr_txt_color1:hover{color: #1f7f00;} 
/*.txt_color2,.hvr_txt_color2:hover{color: #f4f3f2;} */
.txt_color3,.hvr_txt_color3:hover{color: #ffcd18;} 
.txt_color4,.hvr_txt_color4:hover{color: #edf7dc;} 
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #1f7f00;}
.bg_color2,.hvr_bg_color2:hover{background-color: #fcffe4;}
.bg_color3,.hvr_bg_color3:hover{background-color: #ffcd18;} 
.bg_color4,.hvr_bg_color4:hover{background-color: #edf7dc;} 
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #1f7f00;}
/*.border_color2,.hvr_border_color2:hover{border-color: #f4f3f2;}*/
.border_color3,.hvr_border_color3:hover{border-color: #ffcd18;}
.border_color4,.hvr_border_color4:hover{border-color: #edf7dc;}
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/

body,.font_14,.font_12,.font_100per,.font_2dw,.font_2dw_tb,.font_2dw_sp,.font_14_sp{
    font-size: 18px;
}
.font_2up{font-size: 20px;}
.font_4up{font-size: 22px;}
