﻿/*--------------------------------------------
 色 ・　文字
----------------------------------------------*/
:root{
    --color1: #007a37;
    --color2: #e2f5d7;
    --color3: #ffa8a8;
    --color4: #fffad8;
    --color5: #ffebeb;
	--text: #333;
    --base: #ffffff;
    
    --font1: 16px;
    --fontB1: 32px;
    --fontB2: 22px;
    --fontno: 42px;
    --font-jp: 'Kosugi Maru', 'Noto Sans JP', "游ゴシック Medium", sans-serif;
    --font-en:'Edu SA Beginner', cursive,'Kosugi Maru', 'Noto Sans JP', "游ゴシック Medium", sans-serif;
}
/* スマホ */
@media screen and (max-width: 667px){
    :root{
        --fontB1: 22px;
        --fontB2: 20px;
        --fontno: 28px;
    }
}




/* --------------------------------------------

---------------------------------------------*/
.link_type1 .link_top:nth-child(3),
.link_type1 .link_top:nth-child(4),
.link_type1 .link_top:nth-child(6),
.link_type1 .link_top:nth-child(7),
.link_type1 .link_top:nth-child(8){
display: none;}
.link_type1 .link_top .catemore{
        border-radius: 30px;
    background-color: var(--base);
    padding: 7px 0 10px;
    width: 50%;
    margin: 0 auto;
}
.link_type1 .link_top .link_title {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--color1);
}

.link_type1 .link_top a{
	padding-top: 60px;
    padding-bottom: 60px;
    border-radius: 15px;
    border: none;
    background-color: var(--color4);
}
.link_type1 .link_top:nth-child(2) a,
.link_type1 .link_top:nth-child(5) a{
    background-color: var(--color5);
}

.link_type1 .link_top a:hover{
    background-color: var(--color2);
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}

/* タブレット */
@media screen and (max-width: 768px){
    .link_type1 .link_top a{
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 667px){
    .link_type1 .link_top a{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .link_type1 .link_top .link_title{
        font-size: 22px;
    }
    .link_type1 .link_top:nth-child(5) a{
        background-color: var(--color4);
    }
    .link_type1 .link_top:nth-child(9) a{
        background-color: var(--color5);
    }
}

/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/

.catch {
    z-index: 3;
    position: absolute;
    bottom: 160px;
    left: 3%;
    transform: translate(0%, 0%);/* X横 Y縦 始点が要素の中心になる */
    width: 65%;
    max-width: 820px;
}

/* タブレット */
@media screen and (max-width: 768px){
    .catch {
        bottom: 3%;
    }
}
/* スマホ */
@media screen and (max-width: 667px){}


/*--------------------------------------------
 装飾
----------------------------------------------*/

.dec2{
    max-width: 350px;
    width: 20%;
    top: -90px;
    left: -30px;
    animation: anime1 1s steps(2) infinite;
}
.dec3{
    max-width: 350px;
    width: 20%;
    top: 65%;
    right: -10%;
    animation: anime1 1s steps(2) -0.5s infinite;
}
@keyframes anime1 {
    0% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}
/* タブレット */
@media screen and (max-width: 768px){
    .dec2{
        width: 30%;
    }
    .dec3{
        width: 30%;
        top: -140px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    .dec2{
        width: 35%;
    }
    .dec3{
        width: 35%;
        top: -90px;
    }
}

/*--------------------------------------------
 下層ページ全体
----------------------------------------------*/
#page_title .title_img::before{
    background-size: cover;
    background-position: top center;
    height: 120px;
    bottom: -50px;
}
#page_title .page_box{
    padding: 50px 0 0;
    z-index: 3;
    position: relative;
}
#page_title .page_box p{
    font-size: 62px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translate(-50%, 0);
    border: none;
    width: 100%;
}
/* タブレット */
@media screen and (max-width: 768px){
    .main_box{
        padding-top: 120px;
    }
    #page_title .title_img{
        height: 230px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    .main_box{
        padding-top: 90px;
    }
    #page_title .title_img{
        height: 100px;
    }
    #page_title .title_img::before{
        bottom: -15px;
        height: 35px;
    }
    #page_title .page_box{
        padding: 73px 0 0;
    }
    
    #page_title .page_box p{
        font-size: 42px;
        width: 100%;
        top: 0px;
    }
    #page_title .page_box h2{
        font-size: 20px;
    }
}
/*--------------------------------------------
 
----------------------------------------------*/
#cms_2-h .box_title1:before{display: none;}
#cms_2-h .cate > div{
    border-radius: 20px;
}
#cms_2-h .box_title1{
    width: 100%;
    background-color: var(--color4);
    border-radius: 30px;
    padding: 10px 0;
    text-align: center;
    /*color: var(--base);*/
}
#cms_2-h .box_img1, #cms_2-h .box_img2,#cms_2-h .box_img3, #cms_2-h .box_img4{
    width: 48%!important;
}
/* タブレット */
@media screen and (max-width: 768px){}

/* スマホ */
@media screen and (max-width: 667px){
    #cms_2-h .box_img1, #cms_2-h .box_img2,#cms_2-h .box_img3, #cms_2-h .box_img4{
        width: 100%!important;
    }
}
/*--------------------------------------------
 
----------------------------------------------*/
#cms_2-f .cate_title span{
    background-color: var(--color3);
    border-radius: 20px;
    font-size: 16px;
    padding: 8px 15px;
    color: var(--base);
}
#cms_2-f .cate_txt2{
    background-color: var(--color2);
    border-radius: 30px;
    padding: 8px 16px;
    width: 100%;
}
#cms_2-f .cate_title{
    width: 300px!important;
}
#cms_2-f .cate_txt1{
    width: calc( 100% - 300px)!important;
}
#cms_2-f .cate{
    border-top: 1px solid var(--color3);
}

#cms_2-f.houkago .cate_title{
    width: 280px!important;
}
#cms_2-f.houkago .cate_txt1{
    width: calc( 100% - 280px)!important;
}
/* タブレット */
@media screen and (max-width: 768px){
    #cms_2-f .cate_title,#cms_2-f .cate_txt1,#cms_2-f.houkago .cate_txt1,#cms_2-f.houkago .cate_title{
        width: 100%!important;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    
}
/*--------------------------------------------
 TOPコンテンツ
----------------------------------------------*/
#contents1{
    background-color: var(--color4);
}
#contents1 .con_no{
    text-align: center;
    width: 100%;
    font-size: var(--fontno);
    margin-bottom: 0px;
}

#contents2{
    background-color: var(--color4);
}

#contents2 .con_no{
    font-size: var(--fontno);
    margin-bottom: 0px;
}

#contents3{
    background-color: var(--color2);
}
#contents3 h3{
    font-size: var(--fontB2);
    line-height: 1.5;
    letter-spacing: 0.05em;
}
#contents3 .con_no{
    text-align: center;
    font-size: var(--fontno);
    background-color: var(--color2);
    width: 210px;
    border-radius: 50px;
    margin: -31px auto 0px;
    display: block;
}
.cms_title{
    position: relative;
}
.cms_title p{
    position: absolute;
    border: none;
    top: -64px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 45px;
}
.cms_title h2{
    font-size: 22px;
}

/* タブレット */
@media screen and (max-width: 768px){
    #contents2 .con_no {
        text-align: center;
        width: 100%;
    }
    #contents3 .grid_6:last-child{
        margin-top: 50px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    #contents2{
        padding: 50px 10% 100px;
    }
    #contents3 .con_no{
        margin: -20px auto 10px;
    }
    .cms_title p{
        width: 100%;
        top: -50px;
        font-size: 36px;
    }
}
/*--------------------------------------------
 TOPお知らせ
----------------------------------------------*/
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}



/*--------------------------------------------
 プライバシーポリシー
----------------------------------------------*/



/*--------------------------------------------
 お問い合わせ
----------------------------------------------*/
.con_tel_box .tel a{
    margin: 0 auto;
    display: block;
    width: 320px;
    text-align: center;
}
/* スマホ */
@media screen and (max-width: 667px){
    .con_tel_box .tel a{width: 240px;}
}

/* --------------------------------------------
 下部のバナー
---------------------------------------------*/
@media  screen and (max-width: 768px){
    header .head_banner.banner1{
        left: -200px;
    }
    header .head_banner.banner2{
        right: -200px;
    }
    header .head_banner.banner1 a{
        padding: 22px 0;
    }
}
@media  screen and (max-width: 667px){
    header .head_banner.banner1{
        left: -50%;
        width: 50%;
    }
    header .head_banner.banner2{
        width: 50%;
        right: -50%;
    }
}
/* --------------------------------------------
 回転するバナー
---------------------------------------------*/
.dec01{
    position: relative;
    z-index: 2;
    animation:15s linear infinite rotation1;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(-360deg); }
}
.bnr_yoyaku{
    position: fixed;
    z-index: 10;
    bottom: 10px;
    right: 30px;
    width: 160px;
}
.fix_banner{
	max-width: 160px;
	position: fixed;
	bottom: 10px;
	right: 30px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 120px;
    right: 0px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: rgba(255,255,255,0.7);
	/*border: solid 2px #004b9b;*/
	z-index: 5;
	cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #9a9a9b;
	height: 2px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close {opacity: 0;z-index: -1;
}
.fix_banner.close2{opacity: 0;z-index: -1;}

@media  screen and (max-width: 768px){
    .fix_banner{
        max-width: 150px;
    }
    .fix_banner .close_bt{bottom: 120px;right: 0px;}
    .bnr_yoyaku{width:150px;}
    .dec02{
        right: 124px;width: 50px;
    }
}

@media  screen and (max-width: 667px){
    .bnr_yoyaku{
        width:28vw;
        bottom: 80px;
        right: auto;
        left: 10px;
    }
    .fix_banner{
        max-width: 28vw;
        bottom: 80px;
        right: auto;
        left: 10px;
    }
    .fix_banner .close_bt{
    	width: 25px;
    	height: 25px;
    	bottom: 75px;
    	right: auto;
    	left: 0px;
    }
    .fix_banner .close_bt span{
    	width: 25px;
    	height: 25px;
    }
}
/* --------------------------------------------
 リンクボタン 
---------------------------------------------*/
.linkStyle,a{
	color: var(--color1);
	text-decoration: underline;
	transition: all 0.5s;
}
a{
    text-decoration: none;
}
.linkStyle:hover,a:hover{
	opacity: 0.7;
	text-decoration: none;
}

.cate_list li a,#page10 ul li a,.more a{
    background-color: var(--color1);
    color: var(--base);
    font-weight: bold;
    padding: 10px 20px;
    transition: all 0.8s;
    border-radius: 30px;
}
#page10 ul li a{
    padding-top: 15px;
    padding-bottom: 15px;
}
.cate_list li a:hover,#page10 ul li a:hover,.more a:hover{
    background-color:var(--color3);
    opacity: 0.7;
}

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .more a{width: 250px;}
}
/*--------------------------------------------
 色 ・　文字
----------------------------------------------*/
html,body,h1,h2,h3,h4,h5,h6,#sp_nav .font_en,#top_cms .cms_title h2,#page_title .page_box h2{font-family: var(--font-jp);}
h1,h2,h3,h4,h5,h6{font-weight: bold;}
.font_en, .date, a[href^="tel:"], a[href^="mailto:"]{
    font-family: var(--font-en);
    font-weight: bold;
}
html,body,.font_10,.font_11,.font_12,.font_13,.font_14,.font_15{font-size: var(--font1);}
.font_2up{font-size: max(calc(var(--font1) + 2px), calc(1rem  + 2px));}
.font_4up{font-size: max(calc(var(--font1) + 4px), calc(1rem  + 4px));}
.font_2dw{font-size: max(calc(var(--font1) - 2px), calc(1rem  - 2px));}
.font_4dw{font-size: max(calc(var(--font1) - 4px), calc(1rem  - 4px));}
.font_6dw{font-size: max(calc(var(--font1) - 6px), calc(1rem  - 6px));}
.button:hover::after{box-shadow: inset 0 0 0 15em var(--color3);}

figure img,.square_img, .rectangle_img{border-radius: 15px;}
.link_box ul li.square_img{border-radius: 50px;}
.link_box ul li{width: 13%!important;}

#main_menu ul li a::before{
    background-color: var(--color1);
    height: 2px;
}
#top_cms > .box{
    padding: 80px 10%;
}

.foot_tel_bt a{
    border-radius: 30px;
}

header.pd_t-50px{
    padding-top: 30px;
}
#main_menu{
    margin-top: 10px;
}
header #logo{
    max-width: 200px;
}

/* タブレット */
@media screen and (max-width: 768px){
    header.pd_t-50px{
        padding-top: 10px;
    }
    header #logo{width: 120px;}
    .hamburger{
        top: 33px;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    header #logo{width: 90px;}
    .hamburger{
        top: 24px;
    }
}


/* color */
body, .txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--text);}
.linkStyle{transition: 0.5s;color: var(--text)}
.linkStyle:hover{opacity: 0.7}

.txt_white, .hvr_txt_white:hover{color: white;}
.txt_red, .hvr_txt_red:hover{color: var(--red);}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_white, .hvr_bg_white:hover{background-color: white} /* 白背景 */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}


/* border-color ※!important */
.border_white, .hvr_border_white:hover{border-color: white}
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}