﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Zen+Kaku+Gothic+New:wght@500&display=swap');

body, .font_sans-serif{
    font-family: 'Outfit', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.font_en, .date, a[href^="tel:"], a[href^="mailto:"]{
    font-family: 'Outfit', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/*** fade ***/

.fadein .fade_box, #top_cms .box.fadein{
    transition: 1s;
    filter: blur(5px);
    transform: translateY(10px);
    opacity: 0;
    transition-property: opacity, transform, filter;
}
.fadein .fade_box.active, #top_cms .box.fadein.trans{
    transform: none;
    filter: none;
    opacity: 1;
}

/*common---------------------------------*/
html, body{
    font-size: 14px;
    line-height: 2;
}

h2, h3, h4, h5, h6{
    line-height: 1.5;
}

.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: 999;
	width: 250px;
}
.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 #logo {
    padding: 0 30px;
}
#logo img{
    width: 100%!important;
}
header .head_box .link_box li{
    margin-bottom: 20px;
}
.link_box li{
    margin: 0 4%;
}

/*main_menu--------------------------------------*/
#main_menu ul li a {
	position: relative;
	padding: 10px 0;
    text-align: center;
    line-height: 1.5;
}
#main_menu ul li a::before {
	content: "";
	position: absolute;
	background-color: #603813;
	transition: .5s;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 1px;
}
#main_menu ul li a:hover::before{
    width: 50px;
}

.main_box{
    width: calc(100% - 250px);
    margin-left: 250px;
    min-width: 700px;
}
#form_box dl input,#form_box dl textarea{background-color: rgba(222,222,222,0.1);color:#333}


/*main_img------------------------------------------*/
#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;'
}

#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;
}

.txt1 {
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 60%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
.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;
	}
}


/*attach------------------------------------------------*/
#attach {
	width: 100%;
	height: 300px;
	position: relative;
}


/*contents------------------------------------------------*/
.con_no{
    padding-right: 70px;
}
.con_no::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    background-color: currentColor;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
#contents1{
    padding: 100px 10%;
}
#contents3 {
    padding: 0 10% 100px;
}

#contents2{
    padding: 100px 10% 150px;
}
#contents1.trans::before, #contents2.trans::before{
    opacity: 1;
    filter: none;
}
#contents3 .grid_6{
    margin-top: -50px;
}

.button {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.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;
}
.button:hover::after {
	box-shadow: inset 0 0 0 15em rgba(96,59,26,1);
}


/*other------------------------------------------------*/
#top_cms > .box {
    padding: 50px 10%;
}
#top_cms > .box:first-of-type {
    padding-top: 100px;
}

#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%;
}

#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{
    padding: 80px 0 0;
}

.button2:hover {
	box-shadow: 0 0 20px rgba(180,180,180,.6) inset;
}

.cate_list{
    margin-bottom: 100px;
}
.cate_list li a{
    padding: 10px 15px;
    line-height: 1.5;
}

article.page_wrap{
    padding: 100px 10%;
}
footer{
    padding: 100px 10%;
}
.foot_tel_bt {
	display: inline-block!important;
	max-width: 100%!important;
}
.foot_tel_bt a{
    max-width: 300px;
}

#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;}


/*pager----------------------------*/
.pager {
	font-size: 0;
}
.pager li {
	height: 50px;
	line-height: 50px;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    header{
        width: 100%;
    }
    header #logo {
        padding: 0 10px;
    }
    header .head_banner{
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 200px;
    }
    header .head_banner a{
        border-radius: 5px 5px 0 0;
    }
	.head_box {
		height: auto;
		padding-bottom: 0px;
	}
	.hamburger {
	    z-index: 999!important;
	}
	.main_box{
        width: 100%;
        margin-left: 0;
        min-width: inherit;
        padding-top: 75px;
    }
	#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;
	}
	#attach {
		height: 200px;
	}
	
	article.page_wrap {
        padding: 100px 6%;
    }
	#page_title .title_img {
		height: 158px;
	}
	footer .link_box li{
		max-width: 25px;
	}
}


/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	.main_box {
		padding-top: 60px;
	}
	#attach {
		height: 150px;
	}
	#contents3 .grid_6:last-child{
        margin-top: 50px;
    }
    #page_title .page_box {
        padding: 50px 0 0;
    }
	#page_title .page_box::before {
		content: "";
		width: 50px;
	}
	#page_title .title_img {
		height: 120px;
	}
	.pager li:not(.prev) {
		display: none;
	}
    article.page_wrap {
        padding: 80px 8%;
    }
    .cate_list li{
        width: 100%!important;
        padding: 5px 0;
        text-align: center;
    }
    .cate_title{
        font-size: 18px;
    }
}
