@charset "utf-8";
/* CSS Document */

*{
 margin: 0;
 padding: 0;
}

body {
font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'  ;
background: #f2f2f2;
color: #333333;
width: 100%;
height:100%;
overflow-y: scroll;
}

h1{
font-weight:500;
font-size: 40px;
}

h2{
font-size: 28px;
font-weight:500;
}

h3 {
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 8px;
  width:250px;
  margin-top:20px;
  margin-bottom: 40px;
  font-size: 22px;
  font-weight: 500;
}


h3 span{
  padding: 8px;
}

h3:before {
  content: "";
  border-bottom: 4px solid #CAA846;
  bottom: 0;
  height: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}
h3:after {
  border-bottom: 4px solid #ddd;
  bottom: 0;
  content: "";
  position: absolute;
  width: 500px;
  z-index: 1;
}

hr {
    margin-top: 10px;
    border: 0.5px solid #2f2725;
}

.main{
margin:0 auto;
padding: 0;
max-width: 1200px;
}

.main-margin{
margin:30px 30px 0px 30px;
}

.container{
 max-width: 980px;
 padding: 0 30px;
 margin-left: auto;
 margin-right: auto;
 margin-top: 0;
 margin-bottom: 0;
}

/*スクロール前ナビゲーション*/
.container1-pre{
 height: 25px;
 padding: 0 ;
 margin-left: 50px;
 margin-right: 5px;
 margin-top: 0;
 margin-bottom: 0;
}

.container1{
 height: 56px;
 padding: 0 ;
 margin-left: 50px;
 margin-right: 5px;
}

#header-navi-pre{
position: fixed;
top: 0px;
left: 0px;
width: 100%;
z-index: 1200;
background-color: #ffffff;
padding-bottom: 5px;
opacity: 0.9;
}

.header-pre{
 height: 45px;
 width: 100%;
 }
 

/*スクロールナビゲーション*/

#header-navi{
position: fixed;
top: 0px;
left: 0px;
width: 100%;
z-index: 1200;
opacity: 0.9;
}

.header{
 height: 56px;
 width: 100%;
 box-shadow: 0 0 10px #dddddd;
 background-color: #cccccc;
 position: fixed;
 top: 0;
 z-index: 100;
}

/*ナビゲーション*/
.header-left{
 float: left;
}

.header-right{
 float: right;
}

.clear{
 clear: both;
}

.header-logo{
 height: 30px;
 margin-top: 12px;
 background-size: cover;
}

.header-right a {
 line-height: 56px;
 color: #333333;
 margin-left: 5px;
 height: 40px;
}

.header-right a:hover{
 transition: background-color 0.5s;
}

/*ナビメニュー*/
.nav-unshown {
  display:none;
}

.navi{
    display: inline;
	margin-left: 1em;
	font-weight: 600;
	color: #212121;
}

.navi a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.navi a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #CAA846;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.navi a:hover::after {
  transform: scale(1, 1);
}

.current a{
color: #CAA846;
}


/*768px以下はハンバーガーメニュー*/
.pc { display: block !important; margin-right: 20px;}
.sp { display: none !important; }


/*About、Contact、Access共通*/
.article{
clear: both;
margin:10px 20px 60px 20px;
padding:20px 10px 10px 10px;
background-color: white;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.about-article {
	margin-top: 40px;
margin-bottom: 70px;
clear: both;
}

.about-article li{
list-style-type:none;
}

.title{
position: absolute;
top: 70%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
margin:0;
padding:0;
}

.linetitle{
	overflow: hidden;
}

.linetitle span{
    display: inline-block;
    padding: 0 0.5em 0 0;
    position: relative;	
	font-family: 'EB Garamond', serif;
}

.linetitle span:after {
    border-top: 1px solid #000000;
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
}

.linetitle span:before {
    right: 100%;
}

.linetitle span:after {
    left: 100%;
}

.titlejp{
	font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif,"Noto Serif JP","Sawarabi Mincho";
	margin-bottom: 10px;
	font-weight: bolder;
	color: #333333;
}

.bg-mask {
  height: 400px;
  background:rgba(255,255,255,0.3);
  position: relative;
  box-shadow: 0px 8px 3px 3px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0px 8px 3px -3px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 8px 3px -3px rgba(0,0,0,0.1);
}

iframe{
 height:650px;
}

.article-title{
	margin:20px auto 2px 20px;
	padding-top:10px;
	padding-bottom: 10px;
	padding-left: 30px;
	padding-right: 30px;
	background-color: #dcdcdc;
	max-width: 35%;
	height: 200px;
	position: relative;
	box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.article-title h2{
	border-bottom: solid 3px #f5f5f5;
	font-size: 22px;
	padding: 10px 0;
	position: relative;
	font-weight: 600;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif,"Noto Serif JP","Sawarabi Mincho";
}

.article-title h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #CAA846;
  bottom: -3px;
  width: 40%;
}

.movetext{opacity:0;}
.movetext span{opacity:0;}

.about-bg{
/*background-color: #e0eaee;*/
background: -moz-linear-gradient(45deg, #c3d6dd 0%,#e8f0f4 100%); 
background: -webkit-linear-gradient(45deg, #c3d6dd 0%,#e8f0f4 100%); 
background: linear-gradient(45deg, #c3d6dd 0%,#e8f0f4 100%); 
}

.contact-bg{
/*background-color: #e0eeeb;*/
background: -moz-linear-gradient(45deg,#c3ddd3 0%,#e8f4f0 100%); 
background: -webkit-linear-gradient(45deg, #c3ddd3 0%,#e8f4f0 100%); 
background: linear-gradient(45deg, #c3ddd3 0%,#e8f4f0 100%);
}

.access-bg{
/*background-color: #eee4e0;*/
background: -moz-linear-gradient(45deg, #DDCAC3 0%,#F4ECE8 100%); 
background: -webkit-linear-gradient(45deg, #DDCAC3 0%,#F4ECE8 100%); 
background: linear-gradient(45deg, #DDCAC3 0%,#F4ECE8 100%); 
}

.article-pre{
	margin-top:-150px;
	margin-left: 50px;
	margin-bottom: 40px;
	z-index: 100;
	position: relative;
}

.flex{
display:flex; 
flex-wrap: wrap;
justify-content: space-between;
flex-direction : row;
align-items:stretch;
margin: 0 20px;
}

.flexbox{
max-width: 50%;
flex-grow: 1;
align-items:stretch;
overflow: hidden;
background-size: cover;
position: relative;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.flexbox-img:before{
content: '';
display: inline-block;
width: 100%;
background-size: cover;
background-position: center center;
vertical-align: middle;
height: 400px;
}

.flexbox-img-about:before{
  background-image:url(../images/top04.jpg);
}

.flexbox-img-contact:before{
  background-image:url(../images/top05.jpg);
}

.flexbox-img-access:before{
  background-image:url(../images/top03.jpg);
}

.flexbox img{
max-width: 100%;
height: 400px;
object-fit:cover;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.flexbox-textback{
background-color: #ffffff;
height: 400px;
margin:0;
display: flex;
align-items: center;
overflow: hidden;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.flexbox-text{
max-width: 100%;
padding-top:30px;
align-items: center;
animation-duration: 2.5s;
}

.flextitle{
width: 200px;
margin:auto;
align-items: center; 
}

.flextext{
margin:auto;
padding: 20px 40px;
}

.flex:nth-child(even) {
  flex-direction: row-reverse;
}

.btn-flat-border {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #999999;
  border: solid 2px #C7C7C7;
  border-radius: 3px;
  background-color: #ffffff;
  transition: .4s;
  font-family: 'EB Garamond', serif;
}

.btn-flat-border:hover {
  background: #C7C7C7;
  color: white;
}

.logobtn{
margin-top: 20px;
text-align: right;
}

.logobtn span::before{
content: "";
    position: absolute;
    margin: auto;
    right: 5px;
    top: 0;
    height: 1px;
    background: #333333;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 35px;
    bottom: 0;
	
}

.logobtn span::after{
content: "";
    position: absolute;
    margin: auto;
    right: 5px;
    top: 0;
    height: 1px;
    background: #333333;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	    width: 8px;
    transform: rotate(45deg);
    bottom: 6px;

}

/*viewmoreボタン*/
.morebtn,.morebtn1 {
  position: relative;
  display: inline-block;
  clear: both;
  padding: 5px 30px 5px 14px;
  background-color: #fff;
  border: 2px solid #C7C7C7;
  border-radius: 3px;
  color: #999999;
  text-align: center;
  text-decoration: none;
  font-family: 'EB Garamond', serif;
}
.morebtn::before,
.morebtn::after {
  position: absolute;
  top: 50%;
  right: .2em;
  content: '';
  margin-top: -4px;
  border: 7px solid transparent;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-color: #999999;
  padding-left: 5px;
}
.morebtn::after {
  opacity: 0;
  right: 1em;
}

.morebtn:hover {
  background: #C7C7C7;
  color: #fff;
  
}
.morebtn:hover::before {
  animation: arrowbefore .5s;
    background: #C7C7C7;
  border-left-color: #fff;
}
.morebtn:hover::after {
  animation: arrowafter .5s;
    background: #C7C7C7;
  border-left-color: #fff;
}

.morebtn1::before,
.morebtn1::after {
  position: absolute;
  top: 50%;
  right: .2em;
  content: '';
  margin-top: -5px;
  border: 7px solid transparent;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-color: #999999;
  padding-left: 5px;
}
.morebtn1::after {
  opacity: 0;
  right: 1em;
}

.morebtn1:hover {
  background: #C7C7C7;
  color: #fff;
}

.morebtn1:hover::before {
  animation: arrowbefore .5s;
    background: #C7C7C7;
  border-left-color: #fff;
}
.morebtn1:hover::after {
  animation: arrowafter .5s;
    background: #C7C7C7;
  border-left-color: #fff;
}

@keyframes arrowbefore {
  100% {
    right: -.4em;
    opacity: 0;
  }
}
@keyframes arrowafter {
  99% {
    right: .2em;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.morebtn {
float: right;
margin-top: 20px;
margin-bottom: 30px;
}

.morebtn1 {
 margin-top: 5px;
 margin-bottom: 5px;
}

/*inView*/
.inView{
display: inline-block;
    animation-duration: 1s;
    animation-delay: 0.4s;
	}
	
.inViewUp{
display: inline-block;
    animation-duration: 1.2s;
    animation-delay: 0.4s;
	}
	
.animated{
  opacity: 0;
}

.fadeIn{
	padding-left: 30px;
}

.flex1-fadeIn{
    padding-left: 0;
}

.mainlogo{
animation-name: fadein;
animation-duration: 5s;
/*    animation-iteration-count: infinite;*/
}

@keyframes fadein {
from {
    opacity: 0;
}
to {
    opacity: 1;
	}
}

.flex1{
display:flex; 
flex-wrap: wrap;
justify-content: space-between;
flex-direction : row;
align-items:stretch;
margin: 0 50px;
}

.flexbox0{
max-width: 50%;
flex-grow: 1;
align-items:stretch;
overflow: hidden;
background-size: cover;
position: relative;
height: 150px;
}


.flexbox1{
flex-grow: 1;
align-items:stretch;
overflow: hidden;
background-size: cover;
position: relative;
height: 150px;
margin-bottom: 20px;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.flexbox1:nth-child(1) {
width: 20%;
}

.flexbox1:nth-child(2) {
width: 30%;
}

.flexbox1:nth-child(3) {
width: 20%;
}

.flexbox1:nth-child(4) {
width: 30%;
}

.flexbox-textback1{
background-color:#ffffff;
height: 150px;
}

.flexbox1-img:before{
content: '';
display: inline-block;
width: 100%;
background-size: cover;
background-position: center center;
vertical-align: middle;
height: 150px;
opacity: 0.8;
}

.flexbox1-img-about:before{
  background-image:url(../images/top04.jpg);
}

.flexbox1-img-contact:before{
  background-image:url(../images/top05.jpg);
}

.flexbox1-img-access:before{
  background-image:url(../images/top03.jpg);
}

.flexbox1-img:before{
height: 150px;
}

.flextext1{
text-align: center;
margin-top:5px;
position: relative;
}

.flexbox-text1{
max-width: 100%;
padding-top:30px;
align-items: center;
}

.flexbox-textback1::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: '';
  width: 0;
  height: 0;
  background: rgba(255,255,255,.2);
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.flextitle1 {
max-width: 200px;
margin: auto;
align-items: center;
}

.flextitle1 h1{
font-size: 22px;
}

.flextitle1 p{
font-size: 16px;
}

.logobtn1{
margin-top:0;
position: relative;
}

.flexbox1-link{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
text-align: center;
line-height: 150px;
}
	
.flexbox1-link:hover, .flexbox1-link:focus, .flexbox1-link:active {
  box-shadow: inset 0 0 0 2px #C7C7C7, 0 0 1px rgba(0, 0, 0, 0);
}

.img-responsive{
display: block;
max-width: 100%;
margin-top: 30px;
margin-bottom: 30px;

margin-left:  auto;
margin-right: auto;
}

/*フッター*/
footer{
margin:20px 0 0 0;
padding-bottom: 10px;
background-color: #cccccc;
}

.footer-bg{
margin:0;
padding-bottom: 10px;
background-color: #cccccc;
}

#footer{
clear: both;
/*background-color:#f2f2f2;*/
color:#333333;
margin:0px 20px 20px 20px;
padding-top: 20px;
}

.footer-flex{
display:flex; 
align-items: stretch;
margin: 0 30px;
}

.footer-left{
width:300px;
margin:0 auto;
text-align: center;
}

.footer-left img{
width: 200px;
}

.footer-right{
list-style: none;
padding:0;
margin: 0 0 0 auto;
text-align: right;
line-height: 30px;
}

.footer-right a {
 line-height: 20px;
 color: #5a5c5f;
 margin-left: 5px;
}

.footer-menu{
margin-right: 0;
}

.logo{
margin-top: 10px;
}

address{
font-style:normal;
margin-top: 20px;
font-size: 90%;
line-height: 1.5;
}

.copyright{
clear: both;
margin: 20px;
font-size: 90%;
text-align: center;
}

.copy{
text-align: center;
margin-top: 10px;
}

