@charset UTF-8;
/* ================================================ */
/*               全体設定                */
/* ================================================ */

body {
	font-family:'Noto Sans JP',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif, Verdana, "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 16px;
}

/* ================================================ */
/*ヘッダー：
/* ================================================ */

#header {
  background-color: #FFFFFF;
  width: 95%;
  max-width: 1400px;
	margin: 20px auto;
  height: 100px;
  display: flex;
  justify-content:center;

	
}

.header-logo {
  display: flex;
  align-items: center;
  width: 170px;
}
.header-logo img{
  width: 60%;
}

.header-logo a {
  display: flex;
}

.gnav-pc-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gnav-pc  {
  line-height: 2rem;
}


ul.gnav-pc li {
  display: inline;
  margin-right: 30px;
}

ul.gnav-pc li a {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #333333;
  font-weight: 400;
	text-decoration: none;
}

ul.gnav-pc li a:hover {
  color: hsl(18, 84%, 64%);
}

.header-wrapper2{
  display: none;
}

.content{
  max-width: 1400px;
  width: 70%;
  margin: auto;
  margin-bottom: 100px;
}


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

  #header {
    height: 150px;
  }
  .header-logo {
    width: 13%;
  }

.header-logo a {
    display: block; 
}

.header-logo img {
  width: 100%;
}

 .gnav-pc-wrap{
		display: none;
	}

	.header-wrapper2{
		display: block;
	}



.drawer_checkbox{
	display: none;
}

.drawer_icon{
	display: block;
	width: 56px;
	height: 60px;
	position: fixed;
	right: 75px;
    top: 50px;
	cursor: pointer;
	z-index: 14;
}

.drawer_icon-item, .drawer_icon-item:before,.drawer_icon-item:after{
	background-color: #222;
	display: block;
	width: 5rem;
	height: 4px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.drawer_icon-item:before{
	content: '';
	top:50px;
}

.drawer_icon-item:after{
	content: '';
	top:-50px;
}

.drawer_overlay{
	background-color: black;
	opacity: 0;
	pointer-events: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 12;

}

.drawer_checkbox:checked ~ .drawer_overlay{
	opacity: 0.3;
	pointer-events: auto;
}

.drawer_menu{
	background-color: #F3F5F5;
	max-width: 100%;
	width:100vw;
	height: 100vh;
	font-size: 5vw;
	position: fixed;
	top: 0;
	right: -100vw;
	z-index: 13;	
	text-align: center;
}

ul{
	display: block;
	margin-top: 20vw;

}

li a {
	line-height: 70px;
	text-decoration: none;
	color: #222222;
}

.drawer_checkbox:checked ~ .drawer_menu{
	right: 0;
}

/* バーガーの真ん中の線 */
.drawer_checkbox:checked ~ .drawer_icon .drawer_icon-item {
  background: transparent;
}
/* バーガーの上と下の線を動かす */
.drawer_checkbox:checked ~ .drawer_icon .drawer_icon-item:before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 0;
}

.drawer_checkbox:checked ~ .drawer_icon .drawer_icon-item:after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0;
}
}

/* ================================================ */
/*メインコンテンツ*/
/* ================================================ */

.slideBox {
  height: 600px;
  overflow: hidden;
  position: relative;
	margin-top: 20px;
	margin-bottom: 80px;
}

/* テキストがあるバージョン */
.title {
  font-size: 5rem;
  color: #444444;
  z-index: 11;
  position: absolute;
  top: 64%;
  left: 44%;
  letter-spacing: 0.3rem;
	-webkit-transform: translate(150%,-50%);
	        transform: translate(150%,-50%);

}

.item2 {
  z-index: 10;
  opacity: 0;
	width: 70%;
  max-width: 1400px;
  height: 582px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
  top: 0;
  -webkit-animation: anime 30s 0s infinite;
  animation: anime 30s 0s infinite;
}

.item2:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

.item2:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}


@media screen and (max-width:1024px){
	.title {
		font-size: 5rem;
		z-index: 	11;
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%,-50%);
		        transform: translate(-50%,-50%);
	}

  .item2{
    width: 100%;
  
}

}


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


	#header {
    height: 87px;
    margin: 5px auto;
	}

  .header-logo {
    width: 65px;
}

	.drawer_icon {
    display: block;
    width: 4px;
    height: 40px;
    position: fixed;
    right: 30px;
    top: 30px;
    cursor: pointer;
    z-index: 14;
	}

	.drawer_icon-item, .drawer_icon-item:before, .drawer_icon-item:after {
    width: 2.6rem;
	}
  .drawer_icon-item, .drawer_icon-item:before, .drawer_icon-item:after {
    height: 2px;
  }

	.drawer_icon-item:before{
    top: 32px;
  }

.drawer_icon-item:after{
	top: -32px;
  }

  li a {
    line-height: 55px;
  }
	.item2{
	height: 400px;
	}
  .slideBox {
    margin-top: 0px;
  }
  
	.title {
      font-size: 3rem;
      top: 30%;
  }
}