﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
body,.font_Quick{font-family: 'Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;font-weight: 400;}
.font_bold{font-weight: 700;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#top_contents1,#top_contents1 h2,#top_contents2,#top_contents2 .con_box{position: relative;}
/*リピートなし*/
#main_img:after,#top_contents1:after,#top_contents1 h2:before,#top_contents2 .con_box:before,#top_contents2 .con_box:last-of-type:after,#top_contents2 .con_box .txt{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
/*リピートあり*/
#top_contents1:before,#top_contents2:before{
content: "";
display: block;
position: absolute;
}

#main_img:after{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 18vw;
height: 20vw;
top: 50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 2;
}

#top_contents1:before,#top_contents2:before{
background-image: url(./Dup/img/zgzg.png);
background-size: 960px;
width: 100%;
height: 50px;
left: 0;
z-index: 2;
}
#top_contents1:before{top: -35px;}
#top_contents2:before{bottom: 0;}

#top_contents1:after{
background-image: url(./Dup/img/obj8.png);
background-size: 100%;
width: 56vw;
height: 39vw;
top: 50%;
right: -9vw;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
z-index: -1;
opacity: 0.3;
}
#top_contents1 h2:before{
background-image: url(./Dup/img/obj5.png);
width: 300px;
height: 250px;
top:-250px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#top_contents2 .con_box:first-of-type:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 12vw;
height: 14vw;
top: -11vw;
left: 5vw;
z-index: 1;
}
#top_contents2 .con_box:last-of-type:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 22vw;
height: 18vw;
top: -10vw;
right: 5vw;
z-index: 1;
}
#top_contents2 .con_box:last-of-type:after{
background-image: url(./Dup/img/obj3.png);
background-size: 100%;
width: 15vw;
height: 18vw;
bottom: -14vw;
left: 3vw;
z-index: 2;
}
#top_contents2 .con_box .txt{
width: 40px;
height: 160px;
top: 0;
z-index: 1;
}
#top_contents2 .con_box:first-of-type .txt{
background-image: url(./Dup/img/obj6.png);
right: 5%;
}
#top_contents2 .con_box:last-of-type .txt{
background-image: url(./Dup/img/obj7.png);
left: 5%;
}

/*--------------------------------
全体
--------------------------------*/
body{letter-spacing: 2px;}
#logo img{width: 100%!important;}

.fix_banner{
width: 300px;
position: fixed;
bottom: 10px;
right: 100px;
z-index: 5;
}
@media  screen and (max-width: 768px){
.fix_banner{
width: 250px;
right: 50px;
}
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 200px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 84vh; }
#video video{
width: 104%!important;
height: auto;
top: 50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
@media  screen and (max-width: 1400px){
#video video{
width: auto!important;
height: 100%;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#video video{
width: auto!important;
height: 100%;
top: 47%;
}
}



#top_contents1{padding: 300px 5% 165px;}
#top_contents1 h2{font-size: 70px;}

#top_contents2{background-color: #f8f9f4;}
#top_contents2 .con_box .con_img{height: 700px;}
#top_contents2 .con_box:first-of-type .con_img{
border-top-right-radius: 50px;
border-bottom-right-radius: 50px;
}
#top_contents2 .con_box:last-of-type .con_img{
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
#top_contents2 .con_box .text_box{overflow-y: visible;z-index: 1;}
#top_contents2 .con_box:first-of-type{margin-bottom: 300px;}
#top_contents2 .con_box:first-of-type .text_box{padding: 5% 10% 5% 5%;}
#top_contents2 .con_box:last-of-type .text_box{padding: 5% 5% 5% 10%;}

/* 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}
}

#top_contact_box .bottom .btn_box:last-of-type p{padding-right: 7px;}
/*--------------------------------
下層
--------------------------------*/
#page_title p{color: #0f9646;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#logo h1.logo{max-width: 80px;}
#main_img:after{
width: 30vw;
height: 28vw;
top: 60%;
}

#top_contents1{padding: 260px 5% 165px;}
#top_contents1:after{
width: 100vw;
height: 73vw;
top: auto;
bottom: 0;
right: -24vw;
-ms-transform: none;
-webkit-transform: none;
transform: none;
}
#top_contents1 h2:before{
width: 250px;
height: 205px;
top: -220px;
}
#top_contents1 h2{font-size: 50px;}

#top_contents2 .con_box:first-of-type:before{
width: 23vw;
height: 27vw;
top: -20vw;
left: 10vw;
}
#top_contents2 .con_box:last-of-type:before{
width: 40vw;
height: 33vw;
top: -27vw;
right: 4vw;
}
#top_contents2 .con_box:last-of-type:after{
width: 23vw;
height: 27vw;
bottom: -27vw;
}
#top_contents2 .con_box .con_img{
height: 400px;
border-radius: 50px;
}
#top_contents2 .con_box .text_box{
width: 100%;
top: 0;
}
#top_contents2 .con_box:first-of-type .text_box,
#top_contents2 .con_box:last-of-type .text_box{padding: 5%;}

#top_contents2 .con_box .txt{
top: -65px;
}
#top_contents2 .con_box:first-of-type .txt{right: 10%;}
#top_contents2 .con_box:last-of-type .txt{left: 10%;}

#top_contact_box .bottom .btn_box:last-of-type p{padding-right: 0;}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#logo h1.logo{max-width: 60px;}

#top_contents1{padding: 195px 5% 165px;}
#top_contents1 h2:before{
width: 200px;
height: 165px;
top: -180px;
}
#top_contents1 h2{font-size: 30px;}
#top_contents2 .con_box .txt{
width: 30px;
height: 120px;
}
#top_contents2 .con_box:first-of-type:before{
width: 33vw;
height: 38vw;
top: -20vw;
}
#top_contents2 .con_box:last-of-type:before{
width: 51vw;
height: 42vw;
top: -27vw;
}
#top_contents2 .con_box:last-of-type:after{
width: 28vw;
height: 32vw;
bottom: -33vw;
}
#top_contents2 .con_box .con_img{height: 300px;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #0f9646;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #0F9646;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #1a1a1a;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #EEF2E6;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #0f9646;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #0F9646;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #1a1a1a;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #EEF2E6;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #0f9646;}
.border_color2,.hvr_border_color2:hover{border-color: #0F9646;}
.border_color3,.hvr_border_color3:hover{border-color: #1a1a1a;}
.border_color4,.hvr_border_color4:hover{border-color: #EEF2E6;}

/*--------------------------------
■2px大きく
--------------------------------*/
html{font-size: 16px;}
body{-webkit-text-size-adjust: 120%;font-size: 16px;}

.font_12{font-size: 14px;}
.font_14{font-size: 16px;}
.font_16{font-size: 18px;}
.font_18{font-size: 20px;}
.font_20{font-size: 22px;}
.font_22{font-size: 24px;}
.font_24{font-size: 26px;}
.font_26{font-size: 28px;}
.font_28{font-size: 30px;}
.font_30{font-size: 32px;}
.font_100per{
font-size: -webkit-calc(1rem + 2px);
font-size: calc(1rem + 2px);
}
.font_2up{
font-size: -webkit-calc(1rem + 4px);
font-size: calc(1rem + 4px);
}
.font_4up{
font-size: -webkit-calc(1rem + 6px);
font-size: calc(1rem + 6px);
}
.font_6up{
font-size: -webkit-calc(1rem + 8px);
font-size: calc(1rem + 8px);
}
.font_8up{
font-size: -webkit-calc(1rem + 10px);
font-size: calc(1rem + 10px);
}
.font_10up{
font-size: -webkit-calc(1rem + 12px);
font-size: calc(1rem + 12px);
}
.font_2dw{
font-size: -webkit-calc(1rem);
font-size: calc(1rem);
}

@media  screen and (max-width: 768px){
.font_12_tb{font-size: 14px;}
.font_14_tb{font-size: 16px;}
.font_16_tb{font-size: 18px;}
.font_18_tb{font-size: 20px;}
.font_20_tb{font-size: 22px;}
.font_22_tb{font-size: 24px;}
.font_24_tb{font-size: 26px;}
.font_26_tb{font-size: 28px;}
.font_28_tb{font-size: 30px;}
.font_30_tb{font-size: 32px;}
.font_100per_tb{
font-size: -webkit-calc(1rem + 2px);
font-size: calc(1rem + 2px);
}
.font_2up_tb{
font-size: -webkit-calc(1rem + 4px);
font-size: calc(1rem + 4px);
}
.font_4up_tb{
font-size: -webkit-calc(1rem + 6px);
font-size: calc(1rem + 6px);
}
.font_6up_tb{
font-size: -webkit-calc(1rem + 8px);
font-size: calc(1rem + 8px);
}
.font_8up_tb{
font-size: -webkit-calc(1rem + 10px);
font-size: calc(1rem + 10px);
}
.font_10up_tb{
font-size: -webkit-calc(1rem + 12px);
font-size: calc(1rem + 12px);
}
.font_2dw_tb{
font-size: -webkit-calc(1rem);
font-size: calc(1rem);
}
}

/*--------------------------------
■スマホ時　1px大きく
--------------------------------*/
@media  screen and (max-width: 667px){
html{font-size: 15px;}
body{-webkit-text-size-adjust: 110%;font-size: 15px;}

.font_12_sp{font-size: 13px;}
.font_13_sp{font-size: 14px;}
.font_14_sp{font-size: 15px;}
.font_16_sp{font-size: 17px;}
.font_18_sp{font-size: 19px;}
.font_20_sp{font-size: 21px;}
.font_22_sp{font-size: 23px;}
.font_24_sp{font-size: 25px;}
.font_26_sp{font-size: 27px;}
.font_28_sp{font-size: 29px;}
.font_30_sp{font-size: 31px;}
.font_100per_sp{
font-size: -webkit-calc(1rem + 1px);
font-size: calc(1rem + 1px);
}
.font_2up_sp{
font-size: -webkit-calc(1rem + 3px);
font-size: calc(1rem + 3px);
}
.font_4up_sp{
font-size: -webkit-calc(1rem + 5px);
font-size: calc(1rem + 5px);
}
.font_6up_sp{
font-size: -webkit-calc(1rem + 7px);
font-size: calc(1rem + 7px);
}
.font_8up_sp{
font-size: -webkit-calc(1rem + 9px);
font-size: calc(1rem + 9px);
}
.font_10up_sp{
font-size: -webkit-calc(1rem + 11px);
font-size: calc(1rem + 11px);
}
.font_2dw_sp{
font-size: -webkit-calc(1rem - 1px);
font-size: calc(1rem - 1px);
}
}

#cms_2-g .cate_img1 {
    max-height: 100%!important;
}