@charset "utf-8";

#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background:#a2b297;/*#cc7a55#A2B297;/*linear-gradient(#cc7a55,#ff9d91);/*#440000;/*#182578;*/
	z-index: 9999999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    font-size: 1.3rem;
    letter-spacing: 0.2em;
}


.splashbg1,
.splashbg2{
    display: none;
}


body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}

body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
	left:0;
    transform: scaleY(1);
    background-color:linear-gradient(#cc7a55,#ff9d91);/*#550000;/*#182578;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
	0% {
		transform-origin:top;
		transform:scaleY(1);
	}

	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

body.appear .splashbg2{
    animation-name:PageAnime2;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
	left:0;
    transform: scaleY(1);
    background-color:linear-gradient(#cc7a55,#ff9d91);/*#550000;/*#182578;/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
	0% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}


#container{
	opacity: 0;/*はじめは透過0に*/
    position: relative;
    z-index: 1;
}


body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}


#header{
    /*fixedで上部固定*/
	position: fixed;
	width:100%;
    height: 94px;
    z-index: 99;
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@media screen and (max-width:768px) {
#header{
    height:120px;    
}
    
}

/*　上に上がる動き　*/

#header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}


#header.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}


@media screen and (max-width:1300px) {

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #440000;
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-50px;
    bottom:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

#g-nav ul {
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    opacity:1;
}

#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}

#g-nav li{
    color: #fff;
	text-align: center; 
	list-style: none;
    margin: 0 0 10px 0;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

    
}

@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}



.openbtn{
    display: none;
}


@media screen and (max-width:1300px) {

.openbtn{
    display: block;
	position:fixed;
	top:0;
	left:0;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 94px;
    height:94px;
    background:#440000;/*#182578;*/
}
	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 23px;
    height: 3px;
    border-radius: 2px;
	background-color: #ffffff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:33px;	
}

.openbtn span:nth-of-type(2) {
	top:46px;
}

.openbtn span:nth-of-type(3) {
	top:58px;
}

.openbtn.active span:nth-of-type(1) {
    top: 41px;
    left: 28px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 52px;
    left: 28px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

@media screen and (max-width:768px) {
    .openbtn{
        width:70px;
        height: 70px;
    }

.openbtn span{
    left: 17px;
 }

.openbtn span:nth-of-type(1) {
	top:20px;	
}

.openbtn span:nth-of-type(2) {
	top:33px;
}

.openbtn span:nth-of-type(3) {
	top:45px;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 22px;
}

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 22px;
}
    
}




.nav05b li{
  position: relative;
  margin: 0 5px;
}
.nav05b li::before,
.nav05b li::after{
  content:"";
  position: absolute;
  width: 0;
  height:2px;
  background:#440000;/*#182578;*/
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}
@media screen and (max-width:1300px) {
.nav05b li::before,
.nav05b li::after{
  background:#fff;
    }
}
.nav05b li::before{
  right: 0;
  top: 0;
}
.nav05b li::after{
  left: 0;
  bottom: 0;
}
.nav05b li span{
  display: block;
}
.nav05b li span::before,
.nav05b li span::after{
  content:"";
  position: absolute;
  width:1px;
  height:0;
  background: #440000;/*#182578;*/
  transition: all 0.2s linear;
}
.nav05b li span::before{
  left: 0;
  top: 0;
}
.nav05b li span::after{
  right: 0;
  bottom: 0;
}
.nav05b li.current::before,
.nav05b li.current::after,
.nav05b li:hover::before,
.nav05b li:hover::after{
  width: 100%;/*横幅を100%に*/
}
.nav05b li.current span::before,
.nav05b li.current span::after,
.nav05b li:hover span::before,
.nav05b li:hover span::after{
  height: 100%;/*縦幅を100%に*/
}
.timeline li{
   position: relative;
	list-style: none;
	padding:0 0 20px 0;
}
.timeline dl{
	margin:0 0 20px 3em;
}
.border-line {
	position: absolute;
	left:0.2em;
	top:0;
	width:2px;
	height:0;
	background: #999999;
}
.timeline li::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:10px;
	height: 10px;
	background:#999999;
	border-radius: 50%;
}


.btn{
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #333;
    padding: 40px 8px;
    text-align: center;
    outline: none;   
    transition: ease .2s;
}

.btn.bgcenterout{
   	border: 1px solid #fff;
    padding: 8px 40px;
}
.btn span {
	position: relative;
	z-index: 3;
	color:#333;
}

.btn:hover span{
	color:#fff;
}

.btn.bgcenterout span{
	color:#fff;
}

.btn.bgcenterout:hover span{
	color:#333;
}

.bgcenterx:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #333;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: top;
}

.bgcenterx:hover:before{
	transform:scale(1, 1);
}


.bgcenterout:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #fff;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 0);
	transform-origin:center;
}

.bgcenterout:hover:before{
	transform:scale(1, 1);
}




.btnlinestretches{
	position:relative;
	color:#440000;/*#333;/*9999cc;/*#fff;*/
	border:3px double #660000;/*#333;*/
    padding:30px 0;
	display:inline-block;
    text-decoration: none;
    outline: none;
	transition:all 0.3s ease-in-out;
}
.btnlinestretches:hover{
	background:#ffdbc9;/*#9999cc;/*#fff;*/
	color: #000;
	border-color:transparent;
}

.btnlinestretches::before,
.btnlinestretches::after {
	content:'';
	position:absolute;
	border:solid #333;
    border-radius: 30%;
	width:10px;
	height:10px;
	transition:all 0.3s ease-in-out;
}

.btnlinestretches::before{
	top:-6px;
	left:-6px;
	border-width:7px 0 0 7px;
}

.btnlinestretches::after{
	bottom:-6px;
	right:-6px;
	border-width:0 7px 7px 0;
}

.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
    width:calc(100% + 11px);
	height:calc(100% + 11px);
	border-color:#666;
}




.flipDown{
animation-name: flipDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipDownAnime{
  from {
    transform: perspective(2500px) rotateX(100deg);
 	opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
	opacity: 1;
  }
}



.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}




.fadeLeft{
animation-name: fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
	transform: translateX(-100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}



.fadeRight{
animation-name: fadeRightAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}



.midashi {
    font-size: 24px;
    color:#ffffff;
    
}


.l-container{
	padding:20px 0;
}
.l-inner{
	margin:0 20px;
}
.c-title--head{
	font-size: 3rem;
	line-height: 1.2;
	margin-bottom: 60px;
}
.c-title--head--center{
	text-align: center;
}
.c-title--head__sub{
	font-size: 1.4rem;
	font-weight: bold;
	font-family: 'Roboto';
	color: #770000;
	border-bottom: 2px solid #440000;
	padding-bottom: 20px;
}
.l-top-example .col{
		border: none;
	}

.l-header__nav{
	margin: 0 -10px;
	display: none;
}
.l-gnav__list a{
	width: 100%;
	background: #550000;
	display: block;
	color: fff;
	text-decoration: none;
	line-height: 60px;
	text-align: center;
}
.l-gnav__list.l-gnav__list--inquiry a{
	line-height: 50px;
	background: #777777;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.l-top-example .col{
	margin-bottom: 10px;
	padding-bottom: 20px;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.c-circle{
	width: 320px;
	height: 230px;
	border-radius: 5%;
	overflow: hidden;
	position: relative;
	display: inline-block;
	margin-bottom: 2px;
}
.l-top-example .col{
	margin-bottom: 10px;
	padding-bottom: 20px;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.c-circle{
	width: 320px;
	height: 230px;
	border-radius: 5%;
	overflow: hidden;
	position: relative;
	display: inline-block;
	margin-bottom: 2px;
}
.l-gmap iframe{
	width: 100%;
	height: 320px;
}
.l-top-example .col{
		border: none;
	}


@media only screen and (min-width: 960px){
	.col {
		float: left;
		text-align: center;
		margin-right: 2.5641%;
	}
	.col:last-child {
		margin-right: 0;
	}
	.col1 {
		width: 5.9829%;
	}
	.col2 {
		width: 14.5299%;
	}
	.col3 {
		width: 23.0769%;
	}
	.col4 {
		width: 31.6239%;
	}
	.col5 {
		width: 40.1709%;
	}
	.col6 {
		width: 48.7179%;
	}
	.col7 {
		width: 57.2649%;
	}
	.col8 {
		width: 65.8119%;
	}
	.col9 {
		width: 74.3589%;
	}
	.col10 {
		width: 82.9059%;
	}
	.col11 {
		width: 91.4529%;
	}
	.col12 {
		width: 100%;
	} 
    .president{
        height: 450px;   
    }}
