@charset "utf-8";

:root {
    --main-color: #7a692c;/*ベージュ　見出しなど*/
    --sub-color: #F1F2F3;/*背景：フッター、ライトグレー*/
    --base1-color: #111;/*基本テキスト*/
    --base2-color: #bdbcc4;/*ライトグレー*/
    --base3-color: #00121f;/*背景：ブルー系の黒*/
    --base4-color: #193645;/*背景：ブルーと緑*/
    --base5-color: #444444;
    --base6-color: #f3f5f6;/*背景：薄いグレー*/
    --white-color: #fff;
    --accent-color: #820016;/*エンジ*/
    --accent-color2: #ceb784;/*ベージュ　テキスト背景が暗いとき*/
    --red-color: #d1101a;
}

/*スクロール途中でヘッダーが消え、上にスクロールすると復活*/
#header {
	position: fixed;
	width: 100%;
  	height: 80px;
  	z-index: 99;
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;/*1200px*/
 	height: 80px;
}

@media screen and (min-width: 1201px) {/*1301px*/
	.header-inner {
	  max-width: 1020px;/*1080px*/
	}
	.navi-map {
		display: none;
	}
}
@media screen and (max-width:768px) {
  #header {
      height: 60px;
  } 
}

/*　上に上がる動き　*/
#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:1200px) {/*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: #6c6544;/*var(--main-color)*/
      /*丸のスタート位置と形状*/
      transform: scale(0);/*scaleをはじめは0に*/
      right:-50px;
      bottom:-50px;
      transition: all .6s;
  }

  .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;
      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;
    animation-fill-mode: forwards;
    opacity:0;
  }

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

  #g-nav li a {
    color: var(--white-color);
    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:1200px) {/*1300px*/
  .openbtn {
    display: block;
    position:fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    cursor: pointer;
    width: 94px;
    height: 80px;
    background: #6c6544;/*var(--main-color)*/
  }
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 28px;
    height: 1px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
    }

  .openbtn span:nth-of-type(1) {
    top:28px;	
  }
  .openbtn span:nth-of-type(2) {
    top:41px;
  }
  .openbtn span:nth-of-type(3) {
    top:53px;
  }

  .openbtn.active span:nth-of-type(1) {
      top: 34px;
      left: 32px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3){
      top: 45px;
      left: 32px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }
}

@media screen and (max-width:768px) {
    .openbtn {
        width: 60px;
        height: 60px;
    }
  .openbtn span {
      left: 19px;
  }
  .openbtn span:nth-of-type(1) {
    top: 20px;	
  }
  .openbtn span:nth-of-type(2) {
    top: 30px;
  }
  .openbtn span:nth-of-type(3) {
    top: 40px;
  }
  .openbtn.active span:nth-of-type(1) {
      top: 24px;
      left: 22px;
  }
  .openbtn.active span:nth-of-type(3){
      top: 36px;
      left: 22px;
  } 
}


/*==================================
 ボタン 
===================================*/
.btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 290px;
	height: 70px;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: 0.3s;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width:500px) {
	.btn a {
		height: 60px;
	}
}

.btn a:hover {
	color: #fff;
}
.btn01 a {
background: #B7AC7A;
background: linear-gradient(40deg, rgba(183, 172, 122, 1) 0%, rgba(108, 101, 68, 1) 100%);
}
.btn01 a:hover {
	background: var(--base1-color);
}
.btn01 a::after {
    content: '';
	position: absolute;
	top: 50%;
	right: 25px;/*30px*/
	transform: rotate(45deg) translateY(-50%);
	width: 8px;
	height: 8px;
	border-width: 1px 1px 0 0;
	border-style: solid;
	border-color: #fff;
}
.btn01 a:hover::after {
	border-color: #fff #fff transparent transparent;
}
.btn01 i {
    margin-right: 5px;
}


.btn02 a {/*白パターン*/
	background: #97c157;
	background-image: linear-gradient(to bottom left, #dbdf76 0%, #97c157 100%);
    color: #fff;
}
.btn02 a:hover {
	background: #97c157;
	color: #fff;
}
.btn02 a::after {
    content: '';
	position: absolute;
	top: 50%;
	right: 24px;/*30px*/
	transform: rotate(45deg) translateY(-50%);
	width: 8px;
	height: 8px;
	border-width: 1px 1px 0 0;
	border-style: solid;
	border-color: #fff;
}
.btn02 a:hover::after {
	border-color: var(--base6-color) var(--base6-color) transparent transparent;
}


/*動き/
/* 下へ */
.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:1s;/*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:1s;/*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:1s;/*0.5s*/
animation-fill-mode:forwards;
opacity:0;
}

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

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/* 拡大 */
.zoomIn{
	animation-name:zoomInAnime;
	animation-duration: 1s;
	animation-fill-mode:forwards;
}
@keyframes zoomInAnime{
  from {
	transform: scale(0.4);
  }
  to {
      transform: scale(1);
  }
}