﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#intro,#intro_txt{position: relative;}
/*リピートなし*/
.main_img,.gra,.catch,#intro:before,#intro_txt:before,.txt2{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.main_img{
background-image: url(./Dup/img/main_img.png);
background-size: 100%;
width: 70vw;
height: 64vw;
top:50%;
right: 0;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
z-index: 1;
}
.gra{
background:linear-gradient(135deg, rgba(120,195,60,1.0), rgba(255,255,165,1.0));
width: 100%;
height: 45vh;
bottom: 0;
left: 0;
}
.catch{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 17vw;
height: 36vw;
top: 41%;
left: 7%;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
z-index: 1;
}
#intro:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 36vw;
height: 43vw;
top: -3vw;
right: -8vw;
opacity: 0.2;
}
#intro_txt:before{
background-image: url(./Dup/img/txt1.png);
width: 250px;
height: 17px;
top: 62px;
right: -80px;
transform: rotate(90deg);
}
.txt2{
background-image: url(./Dup/img/txt2.png);
width: 250px;
height: 17px;
top: 109px;
right: -55px;
transform: rotate(90deg);
}
/*--------------------------------
全体
--------------------------------*/
#wrap{
background-image: url(./Dup/img/bg2.jpg);
background-size: 50%;
}
.clone-nav #logo,.all_header #logo{width: 20%!important;}
.drawer-nav{background-color: rgba(255,255,255,0.90);}

.cms_title h2,#page_title h2{
background-color: white;
text-shadow: none;
padding: 20px 10px;
}
/*--------------------------------
TOP
--------------------------------*/
.index_header{
width: 100%;
position: absolute;
top: 0;
left: 0;
}
.index_header.clone-nav{position: fixed;}
#main_img{
max-height: none;
height: 100vh;
margin-top: 175px;
overflow: hidden;
}

#intro{
height: auto;
max-height: none;
}
#intro_txt{
height: 350px;
max-height: 350px;
}
.youtube{
position: relative;
max-width: 780px;
width: 100%;
text-align: center;
}
.youtube:before {
content: "";
display: block;
width: 100%;
padding-top: 56.25%;
}
.youtube iframe{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

#contents .back_color2::after{background-color: rgba(185,185,185,0.7)!important;}

/* 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}
}
/*--------------------------------
下層
--------------------------------*/
#page_title h2{max-height: 185px;}


@media  screen and (max-width: 1280px){

}
@media  screen and (max-width: 1000px){
#main_img{height: 80vh;}
.main_img{
width: 90vw;
height: 83vw;
right: -14%;
}
.gra{height: 30vh;}
.catch{
width: 25vw;
height: 54vw;
top: 50%;
left: 4%;
}
.txt2{right: -85px;}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#main_img{
height: 54vh;
margin-top: 80px;
}
.main_img{
width: 80vw;
height: 74vw;
top: 56%;
right: -10%;
}
.catch{
width: 23vw;
height: 49vw;
top: 55%;
}
.gra{height: 18vh;}

#intro_txt:before{
top: 57px;
right: -100px;
}
.txt2{
top: 105px;
right: -95px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
.clone-nav #logo,.all_header #logo{width: 32%!important;}
#main_img {
height: 40vh;
margin-top: 70px;
}
.main_img {right: -16%;}
.catch{
width: 27vw;
height: 59vw;
top: 53%;
left: 4%;
}


#intro_txt:before{
top: 30px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0) rotate(0deg);
-webkit-transform: translate(-50%,0) rotate(0deg);
transform: translate(-50%,0) rotate(0deg);
}
.txt2{
top: -20px;
right: auto;
left: -7px;
transform: rotate(0deg);
}
#contents h2 .svg_box{top: -27px;}

#page_title h2{
font-size: 16px;
line-height: 1.5;
max-height: 120px;
padding: 20px 5px;
}
.page3 #page_title h2{max-height: 133px;}
.page5 #page_title h2{
max-height: 152px;
padding: 10px 5px;
}
}

/*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: #78C33C;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #EBF0D7;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #E69155;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F7EFE5;} /* アクセントカラー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: #78C33C;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #EBF0D7;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #E69155;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F7EFE5;} /* アクセントカラー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: #78C33C;}
.border_color2,.hvr_border_color2:hover{border-color: #EBF0D7;}
.border_color3,.hvr_border_color3:hover{border-color: #E69155;}
.border_color4,.hvr_border_color4:hover{border-color: #F7EFE5;}