﻿@font-face {
font-family: "utsukushi";
  src: url("./Dup/img/utsukushi.otf") format("otf"),url("./Dup/img/utsukushi.woff") format("woff"),url("./Dup/img/utsukushi.woff2") format("woff2");
}
.font1,.hannari{font-family: "utsukushi","serif";font-weight: normal;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.back1,#wrap,#intro h3,#contents1 h3,#contents2 h3,#contents3 h3,#contents3 .con_txt > span,#top_cms,footer{position: relative;}
/*リピートなし*/
.back1:before,#intro h3:after,#contents1 h3:after,#contents2 h3:after,
#contents3 h3:after,#contents3 .con_txt > span:before,#contents3 .con_txt > span:after,footer:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
/*リピートあり*/
#wrap:before,#wrap:after,#top_cms:after{
content: "";
display: block;
position: absolute;
}

.back1:before,main.back1:before{
background-color: transparent!important;
background-image: url(./Dup/img/frame.png);
background-size: 100%;
width: 100%;
height: 27vw;
top: -14vw;
left: 0;
z-index: 0;
}
.top .back1:before{z-index: 1;}

#wrap:before,#wrap:after{
background-image: url(./Dup/img/border2.png);
background-size: auto 275px;
width: 50px;
height: 100%;
top: 0;
z-index: 2;
}
#wrap:before{left: -15px;}
#wrap:after{right: -15px;transform: scale(-1, 1);}

#intro h3:after,#contents3 h3:after{
background-image: url(./Dup/img/txt1.png);
width: 170px;
height: 35px;
top: -40px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents3 h3:after{background-image: url(./Dup/img/txt4.png);}
#contents3 .con_txt > span:before,#contents3 .con_txt > span:after{
background-image: url(./Dup/img/frame2.png);
width: 550px;
height: 135px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents3 .con_txt > span:before{top: -135px;}
#contents3 .con_txt > span:after{
bottom: -135px;
-ms-transform: translate(-50%,0) scale(1, -1);
-webkit-transform: translate(-50%,0) scale(1, -1);
transform: translate(-50%,0) scale(1, -1);
}


#contents1 h3:after,#contents2 h3:after{
background-image: url(./Dup/img/txt2.png);
width: 170px;
height: 35px;
top: -40px;
left: -30px;
}
#contents2 h3:after{background-image: url(./Dup/img/txt3.png);}

#top_cms:before,footer:before{
background-image: url(./Dup/img/border3.png);
background-size: 450px;
background-repeat: repeat-x;
width: 100%;
height: 40px!important;
top: -20px;
}
/*--------------------------------
全体
--------------------------------*/
#pc_nav li, #top_pc_nav li{max-width: none;}

/*バーガーメニュー内　左側*/
#overlay .left li{max-width: none;}

/*バーガーメニュー内　右側*/
#overlay .right .opacity07{opacity: 1;}

/*バーガーメニュー内　お問い合わせボタン*/
#overlay .nav_menu_more a{background-color: white;color: #df6d34;}
#overlay .nav_menu_more a:hover{background-color: #df6d34;color: white;}

/*バーガーメニュー内　電話ボタン削除/お問い合わせボタンアイコン変更*/
.nav_menu_more:first-of-type a .icon:before{content: "\f4ad";}

 .back2:before{display: none;}

#main_img:before,#page_title:before,#info_contact .con_img:before{background-color: rgba(0,0,0,0.2);}

/*サイトマップ 英字が大文字になるやつ解除*/
#page10 .more_btn{text-transform: none;}


footer.bg_color2{background-color: #f2f2f2;}

#return_top{right: 60px;}
/* 閉じるボタン付き追従バナー */
.fix_banner{
	max-width: 300px;
	position: fixed;
	bottom: 20px;
	right: 100px;
	z-index: 4;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 80px;
    right: 282px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	border: solid 2px #2d3291;
	background-color: #fff;
	z-index: 11;
	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: #2d3291;
	height: 4px;
	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{bottom: -200px;}
.fix_banner.close2{bottom: -200px;}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 250px;right: 60px;}
.fix_banner .close_bt{bottom: 65px;right: 230px;}
}

@media  screen and (max-width: 667px){
.fix_banner{max-width: 250px;bottom: 10px;}
.fix_banner .close_bt{
	width: 25px;
	height: 25px;
	bottom: 40px;
	right: 230px;
}
.fix_banner .close_bt span{
	width: 25px;
	height: 25px;
}
}
.calender{height: 500px;}
.calender iframe{
    width: 100%!important;
    height: 100%!important;
}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 100vh; }
#video video{
width: 100%!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: 1600px){
#video video{
width: auto!important;
height: 100%;
}
}

/* タブレット用 */
@media  screen and (max-width: 768px){
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
}

/* スマホ用 */
@media  screen and (max-width: 667px){
#video{ height: 31vh; }
}

#intro{z-index: 1;}

.line:before{
background-color: transparent;
background-image: url(./Dup/img/border.png);
background-size: cover;
height: 13px;
}

#contents3 .con_box.bg_white{background-color: rgba(255,255,255,0.95);}
#contents3_wrap:before{background-attachment: fixed;}
#contents3_wrap:after{display: none;}
#contents3 .con_txt{
padding-top: 150px;
padding-bottom: 100px;
}
#contents3 .con_txt > span{
width: 100%;
max-width: 680px;
box-sizing: border-box;
padding: 70px;
border-radius: 30px;
}

/* 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
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title{height: 500px;}
#page_title h2{letter-spacing: 2px;}

.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%;
}

#cms_3-e .cate_box:first-of-type .box_title3{margin-top: 0;}

@media screen and (max-width: 900px){

#contents3 .con_txt{
padding-top: 15vw;
padding-bottom: 15vw;
}
#contents3 .con_txt > span:before, #contents3 .con_txt > span:after{
background-size: 100%;
width: 60vw;
height: 15vw;
}
#contents3 .con_txt > span:before {top: -14vw;}
#contents3 .con_txt > span:after{bottom: -14vw;}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#wrap:before, #wrap:after{
background-size: auto 165px;
width: 30px;
}
#return_top {right: 30px;}

#contents2 .con_box{margin-top: 0;}
/* TOP　コンテンツ1・2　スマホサイズ時タイトル下の線を中央に */
#contents1 .line:before, #contents2 .line:before,
#contents1 h3:after, #contents2 h3:after{
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents1 .con_img,#contents2 .con_img{margin-bottom: 10%;}

/* ページタイトル　幅 */
#page_title{height: 400px;}
#page_title .page_title_box{width: 50%;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#contents1 .con_img,#contents2 .con_img{margin-bottom: 60px;}

#contents3 .con_txt{
padding-top: 17vw;
padding-bottom: 17vw;
}
#contents3 .con_txt > span{
width: 97%;
max-width: none;
padding: 10vw;
border-radius: 15px;
}
#contents3 .con_txt > span:before, #contents3 .con_txt > span:after{
width: 70vw;
height: 18vw;
}
#contents3 .con_txt > span:before {top: -17vw;}
#contents3 .con_txt > span:after{bottom: -17vw;}

/* ページタイトル　幅 */
#page_title{height: 300px;}
#page_title .page_title_box{width: 72%;}

.calender{
    height: 350px;
}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #ffaa73; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #ffaa73;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #ffaa73;}
.bg_color3 .linkStyle{color: #2d3291;}
.bg_color4 .linkStyle{color: #2d3291;}

/*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: #FFAA73;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffd282;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #2d3291;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F0E1CD;} /* アクセントカラー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: #FFAA73;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffd282;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #2d3291;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F0E1CD;} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: #f7eee3;}
.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: #FFAA73;}
.border_color2,.hvr_border_color2:hover{border-color: #ffd282;}
.border_color3,.hvr_border_color3:hover{border-color: #2d3291;}
.border_color4,.hvr_border_color4:hover{border-color: #F0E1CD;}