﻿/* all page */
/* color */
.txt_color_nomal{color: #212121;}
.txt_color1{color: #2A7F62;} /* メインカラー */
.txt_color2{color: #FFCC66} /* サブカラー */
.txt_color3{color: #2A7F62;} /* アクセントカラー1 */
.txt_color4{color: #82bdea;} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #2A7F62;} /* メインカラー */
.bg_color2{background-color: #FFCC66} /* サブカラー */
.bg_color3{background-color: #2a7f62;} /* アクセントカラー1 */
.bg_color4{background-color: #E4E2D5} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #2A7F62;}
.border_color2{border-color: #2A7F62;}
.border_color3{border-color: #2A7F62;}
.border_color4{border-color: #E4E2D5}

.linkStyle{
    color: #333;
    text-decoration: underline;
}

body{
	background-color: #FCFAF5;
	font-family: "Zen Kaku Gothic New", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    overflow: hidden;
}
.tel_bt .button, footer .foot_tel_bt .button{
	font-family: "Zen Kaku Gothic New", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #2a7f62!important;
}

/* top ----------------*/
/* header */
header{
	background-color: transparent!important;
}
#main_menu ul li a, .contact_bt .button, .tel_bt .button {
    font-weight: bold;
}
#main_menu ul li a::before {
    background-color: #2a7f62!important;
    top: 50%;
}
.link_box ul li {
    max-width: inherit!important;
    width: 45px!important;
    height: 45px!important;
    margin-left: 10px;
    margin-right: 10px;
}

/* main img */
.mainvisual{
	position: relative;
}
.mainvisual::before{
	content: "";
	background-image: url("./Dup/img/kazari.png");
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 600px;
    width: 600px;
    height: 260px;
    position: absolute;
    bottom: -5%;
    left: -22%;
    z-index: 2;
}
#main_img .txt1{
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 2px 4px #1a73e8;
}

/* main */
.banner_top a:hover{
    background-color: #FCFAF5;
    color: #2a7f62;
}
/*animation*/
.fadein_up{
    opacity : 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
	transition:transform 1.5s ease,opacity 2s ease; 
}
.fadein_up.scrollin{
    opacity : 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.fadein_up2{
    opacity : 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
	transition:transform 2s ease,opacity 2s ease;
}
.fadein_up2.scrollin{
    opacity : 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.fadein_up3{
    opacity : 0;
    -webkit-transform: translateX(100px);
    -ms-transform: translateX(100px);
    transform: translateX(100px);
	transition:transform 2s ease,opacity 2s ease;
	transition-delay: 0.3s;
}
.fadein_up3.scrollin{
    opacity : 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.animate {
  opacity: 0;
  transition: all 2.5s;
  transform: translateY(30px);
}
.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.animate.show:nth-of-type(1) {
  transition-delay: 0.2s;
}
.animate.show:nth-of-type(2) {
  transition-delay: 0.4s;
}
.animate.show:nth-of-type(3) {
  transition-delay: 0.6s;
}

/* intro */
#contents1{
	margin-top: 100px;
	margin-bottom: 100px;
}
#contents1 h2, #contents2 h2{
	position: relative;
	padding-left: 40px;
	font-weight: bold;
	font-size: 31px;
}
#contents1 h2::before, #contents2 h2::before{
	content: "";
	background-image: url("./Dup/img/title.png");
	background-position: center left;
	background-repeat: no-repeat;
	background-size: 30px;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 0;
	transform: translateY(-50%);
}
#attach {
    width: 90%!important;
    height: 500px!important;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

/* contents */
#contents2 > div{
	position: relative;
}
#contents2 {
	margin-top: 100px;
	margin-bottom: 100px;
}
#contents2 figure {
	width: 50vw!important;
	margin-left: 25vw;
	z-index: -1;
}
#contents2 > div > div{
    background-color: #FCFAF5;
	position: absolute;
    left: 0;
    bottom: -20%;
    width: 40vw!important;
    padding: 2%;
}
.con3_main{
    margin-left: 25vw;
}
.con3_main::before{
	content: "";
	background-color: #bdd6e9;
	width: 200%;
    height: 80%;
    position: absolute;
    top: 25%;
    left: -100%;
	z-index: -1;
}
.con3_main::after{
	content: "";
	background: url('./Dup/img/con_bg02.png'), url('./Dup/img/con_bg.png');
	background-position: top left,bottom right;
	background-size: 750px,500px;
	background-repeat: no-repeat;
	width: 150%;
    height: 80%;
    position: absolute;
    top: 25%;
    left: -40%;
}
#contents3 {
	z-index: 2;
    position: relative;
}
#contents3 h3{
	background-color: #FCFAF5;
	padding: 20px 20px 0 20px;
	margin: 0 auto;
	font-weight: bold;
}
#contents3 p{
	background-color: #FCFAF5;
	padding: 20px;
	margin: 0 auto;
}

/* topcms */
.cms_title {
	padding-left: 0!important;
    text-align: center;
}
.cms_title::before {
	display: none;
}
.cms_title::after {
	content: "";
    width: 1px;
    height: 40px;
    background-color: #2a7f62;
	position: absolute;
    bottom: -40px;
    left: 50%;
    -ms-transform: translate(-50%,0%);
    -webkit-transform: translate(-50%,0%);
    transform: translate(-50%,0%);
}
.cms_title h2 {
	font-weight: bold;
}
.top_cms_box .cms_6-c .cate_box:nth-of-type(1){
    margin-left: 0;
}

/* footer */
footer{
	background-color: #2A7F62;
	max-width: none !important;
}
footer p, footer a, footer span, footer #copyright small{
	color: #fff!important;
	border-color: white;
}
footer .foot_tel_bt .button{
	border-color: white;
	z-index: 1;
}
footer .foot_tel_bt .button:hover{
	color: #2A7F62!important;
}
footer .foot_tel_bt .button:hover::after{
	box-shadow: inset 0 0 0 15em #fff !important;
}


/* under page */
#page_title h2, #page_title p{
    text-shadow: none;
    font-weight: bold;
}
#page_title .page_box::before {
    background-color: #2a7f62;
}
.button2:hover{
    box-shadow: none;
    background-color: #2a7f62;
    color: #fcfaf5;
}
.cate_list .button2{
    font-weight: bold;
}
.cate_title{
	position: relative;
	padding-left: 40px;
	font-weight: bold;
    border: none;
    color: #2a7f62;
    background: none;
}
.cate_title::before{
	content: "";
	background-image: url("./Dup/img/title.png");
	background-position: center left;
	background-repeat: no-repeat;
	background-size: 30px;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 0;
	transform: translateY(-50%);
}

/* cms1 */

/* cms2 */
#cms_2-c .box_txt1{
    border-bottom: 1px solid #2a7f62;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #3d3d3d;
}
#cms_2-c .box_txt2{
    line-height: 1.5;
}

/* cms3 */

/* cms4 */

/* cms5 */
#cms_5-a .cate .cate_title{
    padding-left: 0;
    color: #fff;
    background-color: #2a7f62;
}
#cms_5-a .cate .cate_title::before{
    display: none;
}

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* IE */
@media all and (-ms-high-contrast: none){
    .pager li a{
        padding: 5px!important;
    }
    .cate_list li a{
        padding: 10px!important;
    }
    #cms_5-a .cate .cate_title span:last-of-type{
        padding-top: 0!important;
    }
    #page9 .box p a{
        padding: 5px 10px 8px;
    }
    #contents3 figure img{
        flex-shrink: 0;
    }
    
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    header {
        background-color: #fcfaf5!important;
    }
    .head_box #logo{
        max-width: 170px;
    }
    .hamburger {
        top: 35px;
        right: 20px;
    }
    .txt1{
        max-width: 330px;
        top: 55%;
    }
    .fat-nav li:last-of-type a{
        padding-left: 25px;
        padding-right: 25px;
    }
	.mainvisual {
        padding-top: 108px;
    }
    #main_img .txt1 {
        font-size: 27px;
    }
    .mainvisual::before {
        background-size: 500px;
        width: 500px;
        height: 260px;
        bottom: -11%;
    }
    #attach {
        height: 200px!important;
        box-shadow: none;
    }
    #contents1 h2, #contents2 h2{
    	font-size: 24px;
    }
    #contents2 {
        margin-top: 0;
        margin-bottom: 50px;
    }
    #contents2 > div > div {
        bottom: -27%;
        width: 65vw!important;
    }
    #contents2 figure {
        width: 70vw!important;
        margin-left: 23vw;
    }
    .con3_main {
        margin-left: 0;
        margin-top: 100px;
    }
    .con3_main::after {
        background-size: 450px,340px;
        width: 100%;
        left: 0;
    }
	
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
    .head_box #logo{
        max-width: 130px;
    }
    .hamburger {
        top: 20px;
        right: 10px;
    }
    .txt1{
        max-width: 200px;
        top: 60%;
    }
	.mainvisual {
        padding-top: 84px;
    }
    #main_img .txt1 {
        font-size: 24px;
    }
    .mainvisual::before {
        background-size: 340px;
        width: 340px;
        height: 170px;
        bottom: -31%;
    }
    .banner_top{
        margin-bottom: 50px;
    }
    #contents1 {
        margin-top: 0;
        margin-bottom: 50px;
    }
    #contents1 h2, #contents2 h2 {
        padding-left: 25px;
        font-size: 15.5px;
        letter-spacing: 0.8px;
    }
    #contents1 h2::before, #contents2 h2::before {
        background-size: 20px;
        width: 20px;
        height: 20px;
    }
    #contents2 {
        margin-bottom: 0;
    }
    #contents2 > div > div {
        width: 100%!important;
        position: relative;
        order: 2;
        margin-top: 20px;
    }
    #contents2 figure {
        width: 100%!important;
        margin-left: 0;
    }
    .con3_main {
        margin-top: 50px;
    }
    .con3_main::before {
        height: 85%;
        top: 18%;
    }
    .topcms_main{
        padding-top: 0;
    }
    footer .logo{
        text-align: center;
    }
    .footer_cms{
        width: 90%;
        margin: 20px auto;
    }
    #cms_2-c .cate_title {
        text-align: left;
    }
    #cms_2-c .box_item {
        padding: 20px 0;
    }
    #cms_3-b .box_wrap{
        padding: 0;
    }
    #cms_3-b .cate_box{
        padding: 15px;
        border-left: 1px solid #2A7F62;
        border-top: 5px solid #2A7F62;
    }
    
}


/*20230825修正*/
#main_img {width: 100vw;}
.mainvisual .catch {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 680px;
    z-index: 2;
}
.mainvisual .right {
    top: 0;
    right: 0;
    width: 50%;
    max-width: 680px;
    z-index: 2;
}
.mainvisual .bottom{
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
.mainvisual::after {
    content: "";
    background-color: rgba(255,255,255,0.5);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main_img {height: 70vh;}
.mainvisual .catch {width: 55%;}
.mainvisual .right {
    top: 108px;
    width: 60%;
}
.mainvisual .bottom {width: 100vw;}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.mainvisual, #contents_box, .topcms_main {
    width: calc(100vw - 0%)!important;
}
.mainvisual .catch {
    width: 67%;
    top: 57%;
    left: 3%;
}
.mainvisual .right {
    top: 84px;
    width: 65%;
}
.mainvisual::before {bottom: -18%;}

}



