@charset "utf-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  max-width: 100%;
  scroll-padding-top: 100px; /*見出しがヘッダーに隠れないように*/
}
@media (min-width: 900px){
  html{
    scroll-padding-top: 130px;
  }
}
*{
  box-sizing: border-box;
  /*outline: 1px solid magenta;*/
}
body {
  color: #000; /* RGB */
  font-family: 'Open Sans','Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1.5;
  text-align: center;
  background-color: #f8f6f0;
}
/*@media (min-width: 900px){
  body{
    font-size: 1.5em;
  }
}*/
/*section h2 {
  font-size: 2.4rem;
}*/
a:hover {
  opacity: 0.5;
}
ul{
  list-style: none;
}
img{
  vertical-align: bottom; /*画像に謎のスキマつかないように*/
}

/*ヘッダー*/
header{
  position: sticky;
  z-index: 999;
  top: 0;
  left: 0;
  /*width: 100%;*/
  display: flex;
  justify-content: space-between;
  padding: 20px 5% 0;
  margin-bottom: 38px;
}

header a .sp-logo{
  width: 93px;
  height: auto;
}
header{
  /*JS用*/
  animation-name: header_fadeDown;
  animation-duration: 1s;
  animation-fill-mode:forwards;
}
@keyframes header_fadeDown{
  from {
    opacity: 0;
	  transform: translateY(-100px);
  }

  to {
    opacity: 1;
	  transform: translateY(0);
  }
}
.sp-nav{
  position: absolute;
  z-index: 999;
  animation-name: sp-nav_fadeDown;
  animation-duration: 1s;
  animation-fill-mode:forwards;
}
/*========= ぼかしのためのCSS ===============*/

.mainblur{
	filter: blur(20px);
  /*filter: contrast(2) blur(20px);*/
}

/*.sp-nav{
  position: fixed;
  z-index: 9999;
}*/
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    /*height: 100vh;*//*ナビの高さ*/
	background:rgba(248,246,240,0.3);/*背景を少し透過させる*/
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
  height: 100vh; /*ナビの高さ*/
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;/*はじめは非表示*/
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 1000;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}
/*リストのレイアウト設定*/
#g-nav li .g-logo{
  width: 118px;
  height: auto;
  margin-bottom: 20px;
}
#g-nav li{
	list-style: none;
  text-align: center; 
}

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

#g-nav li a .x_icon{
	width: 25px;
  height: auto;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:24px;
  /*top: -92px;*/
	right: 5%;
	cursor: pointer;
    width: 50px;
    height:50px;
  background-color: #ffeb3b;
  border-radius: 2px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	  background-color: #000;
  	width: 45%;
  }

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

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

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

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

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

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

@keyframes sp-nav_fadeDown{
  from {
    opacity: 0;
	  /*transform: translateY(-24px);*/
  }

  to {
    opacity: 1;
	  /*transform: translateY(0);*/
  }
}
header .pc-logo{
  display: none;
}
header .pc-nav{
  display: none;
}
@media (min-width: 900px){
  header{
    padding: 45px 5% 0;
    margin-bottom: 25px;
  }
  header .sp-link, .sp-logo, .sp-nav{
    display: none;
  }
  header a .pc-logo{
    display: block;
    width: 118px;
    height: auto;
  }
  header .pc-nav{
    display: block;
    display: flex;
    column-gap: 33px;
  }
  header .pc-nav li{
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 73px;
    vertical-align: middle;
  }
  header .pc-nav li a{
    text-decoration: none;
    color: #000;
  }
  header .pc-nav li a .x_icon{
    width: 25px;
    height: auto;
    vertical-align: text-top;
  }
  
}
@media (min-width: 1040px){
  header{
    max-width: 1000px;
    margin: 0 auto 25px;
    padding: 45px 0 0;
  }
}

/*footer*/
footer .scroll-wrapper{
  display: flex;
  justify-content: flex-end;
  padding: 0 5%;
  margin-bottom: 20px;
  /*opacity: 0;*/
}
footer .scroll-wrapper a{
  display: inline-block;
  text-decoration: none;
  color: #000; 
}
footer .scroll-wrapper .scroll-btn{
  display: flex;
  justify-content: flex-end;
}
footer .scroll-wrapper .material-symbols-outlined{
  background-color: #ffeb3b;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  line-height: 32px;
  margin-right: 10px;
}
footer .scroll-wrapper .scrollup{
  font-size: 2.0rem;
  font-weight: 700;
}
footer .inner{
  padding: 61px 0 20px 0;
  background-color: #252525;
}
footer .inner .logo{
  width: 118px;
  height: auto;
  margin-bottom: 45px;
}
footer .inner .nav{
  display: flex;
  justify-content: center;
  column-gap: 33px;
  margin-bottom: 138px;
}
footer .inner .nav li{
  color: #fff;
  font-size: 2.0rem;
  font-weight: 700;
}
footer .inner .nav li a{
  text-decoration: none;
  color: #fff;
}
footer .inner .nav li:last-child{
  display: none;
}
footer .inner .copyright{
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

@media (min-width: 900px){
  footer .inner{
    padding: 73px 5% 30px;
  }
  footer .inner .flex-wrapper{
    display: flex;
    justify-content: space-between;
    margin-bottom: 188px;
  }
  footer .inner .logo{
    margin-bottom: 0;
  }
  footer .inner .nav{
    margin-bottom: 0;
    padding-top: 30px;
  }
  footer .inner .nav li:last-child{
    display: inline-block;
  }
  footer .inner .nav li a .x_icon{
    width: 25px;
    height: auto;
    vertical-align: text-top;
  }
}
@media (min-width: 1040px){
  footer .scroll-wrapper{
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 0;
  }
  footer .inner{
    padding: 73px 0 30px;
  }
  footer .inner .flex-wrapper{
    max-width: 1000px;
    margin: 0 auto 188px;
  }
}