﻿@charset "utf-8";
/* CSS Document */

/*common---------------------------------*/
body {
	font-size: 14px;
	overflow: hidden;
}
.font_en {
	font-family: 'Raleway', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif";
}
h1, h2, h3, h4, h5, h6,#main_menu ul li a, .blur span.contents2_txt, .cms_title::before, .banner {
    font-weight: bold!important;
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
}
.flex_box {
	display:-webkit-box;
	display:-moz-box;
	display:-ms-box;
	display:-webkit-flexbox;
	display:-moz-flexbox;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:-ms-flex;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
header{
    z-index: 100;
    width: 22%!important;
}
.head_box {
	height: 100vh;
	min-height: 100%;
	overflow: auto;
	padding-bottom: 80px;
}
.head_box {-ms-overflow-style:-ms-autohiding-scrollbar;}
.head_box::-webkit-scrollbar{display:none;}
header .head_box .link_box{padding-bottom:100px;}

header .contact_bt a,header .tel_bt a{
    position: relative;
    z-index: 2;
}
.hamburger.active .hamburger__icon:after,.hamburger.active .hamburger__icon:before{
    background-color: #333!important;
}
.all article section{
    max-width: 1100px;
}

.more a,footer .foot_tel_bt a{
    z-index: 1;
}
.button {
	position: relative;
	overflow: hidden;
}
.button::after {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	display: block;
	content: '';
	width: 30em;
	height: 30em;
	border-radius: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	transition: all .5s;
}
header .button:hover::after {
    box-shadow: inset 0 0 0 15em #cdcdcd;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #312F2F;
}

#loading_bg{
	height: 100vh;
	width: 100vw;
	z-index: 1000;
}
#loading{
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#loading img{
	z-index: 1
}
#loading .gauge{
	width: 0;
	-webkit-transform: skewX(10deg);
	-ms-transform: skewX(10deg);
	transform: skewX(10deg);
	transform-origin: left bottom
}

.footer_back{
    position: relative;
    overflow: hidden;
}
.footer_back .f_before {
    content: '';
    position: absolute;
    width: 90%;
    height: 1000px;
    transform: rotate( -10deg ) translateY(-50%);
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate( -10deg ) translateY(-50%);
    top: 50%;
    left: 96%;
}
footer .d_flex.flex_space-between.flex_top{
    position: relative;
    z-index: 1;
}

/*cursor--------------------------------------*/
.cursor,.follower{
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}
.cursor{
    width: 8px;
    height: 8px;
    opacity: 0.6;
    z-index: 1001;
}
.follower{
    width: 35px;
    height: 35px;
    -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px;
    border-radius:         50%  50%  50%  50%  / 50%   50%   50%  50%;
    z-index: 1000;
    transition: 0.3s;
    opacity: 0.75;
    transition-property: transform,background
}
.follower.is-active2{
	background-color: transparent;
	transform: scale(1.2);
}
a{cursor: none}

/*animation--------------------------------------*/
.fadein_up{
    opacity : 0;
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    transform: translateX(200px);
	transition:transform 1s ease,opacity 0.8s ease; 
}
.fadein_up.scrollin{
    opacity : 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.img-container{
    overflow: hidden;
    position: relative;
	display: inline-block;
}
.img-container_img{
    opacity: 0;
    position: relative;
    transition:all .5s .3s ease; 
    z-index: 0;
}
.img-container:before{
    background: currentColor;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transform: translateX(-100%);
    transition:all 1.2s 0s ease; 
    width: 100%;
    z-index: 1;     
}
.img-container.active .img-container_img{
    opacity: 1!important;
}
.img-container.active:before{
    transform: translateX(100%);        
}

/*main_menu--------------------------------------*/
#main_menu ul li a {
	position: relative;
	padding-left: 30px;
}
#main_menu ul li a::before {
	content: "";
	position: absolute;
	top: 42%;
	left: 0;
	width: 20px;
	height: 1px;
	background-color: #fff;
	transition: .5s
}
#main_menu ul li a:hover {
	padding-left: 50px;
}
#main_menu ul li a:hover::before {
	width: 40px;
}
.main_box{
    width: 78%!important;
    margin-left: 22%;
}
#form_box dl input,#form_box dl textarea{background-color: rgba(222,222,222,0.1);color:#333}


/*top------------------------------------------*/
#main_img {
	z-index: 1;
	overflow: hidden;
	position: relative;
	max-height: 100vh;
	min-height: 100vh
}
#main_img img.object_fit_img {
	max-height: 100vh;
	min-height: 100vh;
	position: relative;
	object-fit: cover;
}
.object_fit_img{
  object-fit: cover;
  font-family: 'object-fit: cover;'
}
.scroll_bt {
	position: absolute;
	bottom: 20px;
	left: 50%;
	z-index: 2;
	display: inline-block;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-decoration: none;
	padding-top: 60px;
}
.scroll_bt span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 30px;
	height: 50px;
	margin-left: -15px;
	border: 2px solid #fff;
	border-radius: 50px;
	box-sizing: border-box;
}
.scroll_bt span::before {
	position: absolute;
	top: 10px;
	left: 50%;
	content: '';
	width: 6px;
	height: 6px;
	margin-left: -3px;
	background-color: #fff;
	border-radius: 100%;
	-webkit-animation: sdb 2s infinite;
	animation: sdb 2s infinite;
	box-sizing: border-box;
}
@-webkit-keyframes sdb {
	0% {
		-webkit-transform: translate(0, 0);
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
	80% {
		-webkit-transform: translate(0, 20px);
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb {
	0% {
		transform: translate(0, 0);
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
	80% {
    transform: translate(0, 20px);
    opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

#video{height: 100vh!important; }
#video video{
	width: 100%!important;
	object-fit: cover;
	height: 100%;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
    vertical-align: bottom;
}

#contents1{
    position: relative;
    z-index: 1;
    width: 90%;
    margin: auto;
}
#contents1 h2{
    position: relative;
    border-bottom: 1px solid;
    border-left: 8px solid;
    transform: skewX(-20deg); 
    -moz-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    padding: 5px 0;
}
#contents1 h2:before{
    content: '';
    position: absolute;
    display: inline-block;
    width: 2px;
    height: 100%;
    background-size: contain;
    vertical-align: middle;
    background-color: currentColor;
    left: 5px;
    top: 0;
}
#contents1 h2 span{
    transform: skewX(20deg); 
    -moz-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
    padding-left: 15px;
    display: inline-block;
    font-weight: bolder;
}
#contents1 h2,#contents2 h2,#contents3 h3{
    font-size: 30px;
}
#contents1 p,#contents2 p,#contents3 p{
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
}
#contents2 h2,#contents3 h3{
    border-bottom: 1px solid;
}
#contents2 h2::first-letter,#contents3 h3::first-letter{
    font-size: 130%;
}
#attach {
	width: 100%;
	position: relative;
}
.blur{
    background-color: rgba(49 ,47 ,47,0.6);
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
}

.top_cms_wrap{
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.top_cms_wrap .top_cms_before{
    content: '';
    position: absolute;
    width: 90%;
    height: 150%;
    z-index: -1;
    transform: rotate(-10deg) translateY(-50%);
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate(-10deg) translateY(-50%);
    top: 50%;
    bottom:50%;
}
#top_cms{
    counter-reset: number;
}
#top_cms .box{
    box-shadow: 0 5px 10px rgba(0 ,0, 0 ,0.15);
}
#top_cms .box h2{
    font-weight: 900;
}

.cms_title {
	position: relative;
	padding-left: 40px;
}
.cms_title::before {
	content: "";
	width: 50px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 0;
	-ms-transform: translate(0%,-50%);
	-webkit-transform: translate(0%,-50%);
	transform: translate(0%,-50%);
	background-color: currentColor;
    counter-increment: number;
    content: counter(number,decimal-leading-zero);
    padding-right: 5px;
    transform: rotate(90deg);
    font-weight: bold;
    font-size: 30px;
}

#map .ggmap {
	position: relative;
	padding-bottom: 350px;
	height: 0;
	overflow: hidden;
}
#map .ggmap iframe,
#map .ggmap object,
#map .ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.foot_tel_bt {
	display: inline-block!important;
	max-width: 100%!important;
}
.foot_tel_bt a{
    max-width: 300px;
}

/*all--------------------------------------*/
.all main.scrollin{
    position: relative;
    overflow: hidden;
}
.all main.scrollin .all_bg{
    content: '';
    position: absolute;
    width: 90%;
    height: 150%;
    z-index: -1;
    transform: rotate( -10deg );
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate( -10deg ) translateY(-50%);
    top: 50%;
    bottom: 50%;
}
.all article section:first-of-type{
    padding: 40px;
}
#page_title .title_img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height: 280px;
}
#page_title .title_img::before{
	position: absolute;
	height: 100%;
	width: 100%;
	content: "";
	display: block;
	background-image: url("../Dup/img/title_bg.png");
	z-index: 1;
}
#page_title .page_box {
	position: relative;
	padding-left: 120px;
}
#page_title .page_box::before {
	content: "";
	width: 100px;
	height: 1px;
	position: absolute;
	top:50%;
	left: 0;
	-ms-transform: translate(0%,-50%);
	-webkit-transform: translate(0%,-50%);
	transform: translate(0%,-50%);
	background-color: currentColor;
}
#page_title h2{
    font-weight: 900;
}

/*pager----------------------------*/
.pager {
	font-size: 0;
}
.pager li {
	height: 50px;
	line-height: 50px;
}

#page-top {
	z-index: 99;
}
#page-top a{
	display: block;
	position: relative;
	text-align: center;
}
#page-top a svg{
	width: 30px;
}

#page8 .mail input{cursor: pointer;}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	a{cursor: pointer;}
	.cursor,.follower{display: none;}

	header {
    	width: 100%!important;
	}
	.head_box {
		height: auto;
		padding-bottom: 0px;
	}
	.hamburger {
	    z-index: 999!important;
	}
	.main_box {
		padding-top: 75px;
		width: 100%!important;
   	 	margin-left: 0;
	}
	#main_img {
		max-height: auto;
		min-height: auto;
	}
	#main_img img {
		max-height: auto;
		min-height: auto;
	}
	#video {
		height: auto!important;
		width: 100%;
	}
	#video video {
		width: 100%!important;
		height: auto;
		position: relative;
		top: 0%;
		left: 0%;
		-ms-transform: translate(-50%,-50%);
		-webkit-transform: translate(-50%,-50%);
		transform: translate(0%,0%);
	}  
	.scroll_bt {
		display: none;
	}
		.blur:before {
		opacity: 0.3;
	}
	#contents2 h2, #contents3 h3 {
		font-size: 23px;
	}
	#page_title .title_img {
		height: 158px;
	}
	.footer_back .f_before {
		width: 30%;
		left: auto;
		right: -33%;
	}
	footer .link_box li{
		max-width: 25px;
	}
	.link_box ul{
		justify-content: center;
	}
	.link_box li.grid_1 {
    		width: 11.5%!important;
    		margin: 0 4%;
	}
	.banner{
		display: block;
		position: fixed;
		bottom: 20px;
		z-index: 9;
		width: 300px;
		left: 0;
		right: 0;
		margin: auto;
		text-align: center;
		padding: 15px 0;
		font-size: 28px;
		font-weight: 900;
		letter-spacing: 4px;
	}
	.banner:before {
		position: absolute;
		border: 1px solid #fff;
		content: '';
		display: inline-block;
		width: 98%;
		width: -webkit-calc(100% - 10px);
		width: calc(100% - 10px);
		height: 98%;
		height: -webkit-calc(100% - 10px);
		height: calc(100% - 10px);
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		-webkit- transform: translateY(-50%) translateX(-50%);
	}
	.page8 footer {
		padding-bottom: 40px;
	}
}


/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	.main_box {
		padding-top: 60px;
	}
	#contents1 h2 {
		font-size: 23px;
	}
	#contents1 p,#contents2 p,#contents3 p{
		font-size: 14px;
	}
	.more a{
		width: 100%;
	}
	.cms_title {
		padding-left: 40px;
	}
	.cms_title::before {
		width: 30px;
	}
	.cms_title::before {
		padding-right: 10px;
		font-size: 25px;
		width: 40px;
	}
	.all article section:first-of-type {
		padding: 30px 10px;
	}
	#page_title .page_box {
		position: relative;
		padding-left: 60px;
	}
	#page_title .page_box::before {
		content: "";
		width: 50px;
	}
	#page_title .title_img {
		height: 120px;
	}
	.pager li:not(.prev) {
		display: none;
	}
	.footer_back .f_before {
		right: -50%;
		height: 1074px;
		width: 34%;
	}
	#footer_menu{
		display: none;
	}
	.banner {
		width: 80%;
	}
	.page8 footer {
		padding-bottom: 20px;
	}
}


/* ----------- IE ------ ---------- */
@media all and (-ms-high-contrast:none) {
	#main_menu ul li a::before {top: 30%;}
	.pc_box .contact_bt a{padding: 18px 0 12px;}
	.pager li {height: 40px;line-height: 40px;}
	.pager li a{padding: 8px 0 3px;}
	.cate_list li a{padding: 13px 0 7px;}
	#page8 .mail input{padding: 13px 10px 7px;}
	#page9 .box p a{padding: 8px 5px 3px;}
	#page10 ul li a{padding: 18px 0 12px;}
}