/*　=========================================================
　　最低限のリセット
============================================================*/
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
dl,
dd,
dt,
ol{
     margin: 0;
     padding: 0;
 }
 ul {
     list-style: none;
 }
 ul, dl, ol{
 	list-style-position: inside;
 }
 a {
 	color: inherit;
 	text-decoration: none;
 }
img{
	height: auto;
	max-width: 100%;
	width: 100%;
}

/*　=========================================================
　　全体
============================================================*/
body{
	box-sizing: border-box;
	color: #fff;
	font-family: 'Shippori Mincho', serif, 'メイリオ', Meiryo,sans-serif;
	font-size: 18px;
	line-height: 1.9;
	overflow-x: hidden;
	/* 背景※ローディング画面のアニメーションと同じ色 */
	background: url(../img/bg_pattern.jpg) repeat center top;
}

/* header_ハンバーガーメニュー
-------------------------------------------*/
.el_humburger {
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	color: #000;
	cursor: pointer;
    height: 25px;
	padding-top: 1px;
	pointer-events: auto;
	text-align: center;
	width: 46px;
	/* 位置 */
	position: fixed;
    top: 3.5%;
    right: 2.5%;
    z-index: 9999;
}
.el_humburger_wrapper {
	display: inline-block; 
	margin-bottom: 5px;
    width: 50px;
}
.el_humburger_text {
    font-size: 12px;
    letter-spacing: 0.1em;
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
    display: none;
}
.el_humburger_text.el_humburger_text__close {
	display: none;
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__close {
	display: block;
}
.el_humburger span.el_humburger_bar {
	background: #fff;
    height: 2px;
    display: block;
    margin: 0 auto 8px;
	width: 100%;
	/* 動き */
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.el_humburger span.el_humburger_bar:last-child {
	margin-bottom: 0; 
}
.js_humburgerOpen .el_humburger span.el_humburger_bar {
	background: #000; 
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.top {
    -webkit-transform: translateY(9px) rotate(-45deg);
    -ms-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg); 
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
	opacity: 0; 
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
    -webkit-transform: translateY(-11px) rotate(45deg);
    -ms-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg); 
}
.el_humburgerButton.el_humburgerButton__close {
    top: 2%;
    right: 2%; 
}
.el_humburgerButton__close span.el_humburger_bar {
	background: #000; 
    display: block;
    height: 4px;
    margin: 0 auto;
	width: 35px;
}
.el_humburgerButton__close span.el_humburger_bar.top {
    -webkit-transform: translateY(5px) rotate(-45deg);
    -ms-transform: translateY(5px) rotate(-45deg);
    transform: translateY(5px) rotate(-45deg); 
}
.el_humburgerButton__close span.el_humburger_bar.bottom {
    -webkit-transform: translateY(-6px) rotate(45deg);
    -ms-transform: translateY(-6px) rotate(45deg);
    transform: translateY(-6px) rotate(45deg);
}
.navi {
	background-color: rgba(255, 255, 255, 0.9);
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	height: 100%;
	overflow: auto; 
	padding-top: 100px;
	width: 450px;
    z-index: 99;
	/* 位置 */
    position: fixed;
    right: 0;
    top: 0;
	/* 動き */
    -webkit-transition: all 600ms ease-out;
    -o-transition: all 600ms ease-out;
    transition: all 600ms ease-out;
    transform:translateZ(0) translateX(100%);
}
.js_humburgerOpen .navi {
	transform:translateZ(0) translateX(0); 
}
.navi_item {
	color: #242424;
    font-size: 100%;
	margin-bottom: 28px;
    margin-left: 90px; 
	white-space: nowrap;
}
.navi_item::after{
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    margin-left: 10px;
	position: absolute;
} 
.navi_item.op_innerLink {
	cursor: pointer; 
}
@media screen and (max-width: 850px) {
	.el_humburger {
        display: block;
        right: 0;
        top: 0;
        padding-top: 20px;
        width: 70px;
        height: 70px;
	}
    #factory .el_humburger {
		display: none;
	}
	.el_humburger_wrapper {
		margin-bottom: 5px;
        width: 30px;
	}
	.el_humburger_text {
        font-size: 10px;
        padding-top: 2px; 
	}
	.el_humburger_text svg path {
		fill: #000;
		-webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
        -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
        transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
	} 
	.js_humburgerOpen .el_humburger_text svg path {
		fill: #000; 
	}
	.el_humburger span.el_humburger_bar {
		background: #fff; 
		left: 0;
        top: 0;
	}
	.navi {
		padding: 100px 5% 0;
	}
	.js_humburgerOpen .navi {
        width: 100%;
	} 
	.navi_item {
		margin-left: 0;
		font-size: 18px; 
	}
}

/* ローディング画面
--------------------------------------*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #F2C81F;
	z-index: 9999999;
	text-align:center;
	color:#fff;
}
#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
/* 画面遷移のためのCSS */
body{
	background: #F2C81F;/*遷移アニメーションと同じ色を指定*/
}
body.appear{
	background: url(../img/bg_pattern.jpg) repeat center top;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
	display: none;
}
/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}
/*右に消えるエリア*/
body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:2.5s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left:50%;
    transform: scaleX(1);
    background-color: #F2C81F;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*左に消えるエリア*/
body.appear .splashbg2{
	animation-name:PageAnime2;
	animation-duration:2.5s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	right:50%;
    transform: scaleX(1);
    background-color: #F2C81F;/*伸びる背景色の設定*/
}
@keyframes PageAnime2{
	0% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}
/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}
/*bodyにappearクラスがついたら出現*/
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;
	}
}

/* ロゴ+テキスト */
.li_splash{
	align-items: center;
	display: flex;
	flex-direction: column;
}
.li_splash img {
	animation: rotate-anime 3s linear infinite;
	margin-bottom: 10px;
	max-width: 250px;
}
@keyframes rotate-anime {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}
.li_splash h2{
	margin: 0 auto;
	text-align: center;
}


/* 装飾
-------------------------------------------*/
/* 大見出し */
.ttl_h2{
	font-family: 'Caveat', cursive;
	font-size: 230%;
	letter-spacing: 0.09em;
	margin-bottom: 25px;
	text-align: center;
}
.ttl_h2 .deco{
	align-content: center;
    align-items: center;
    display: flex;
	justify-content: center;
}
.ttl_h2 .deco .disc{
	background: #fff;
	border-radius: 100%;
    height: 5px;
    width: 5px;
}
.ttl_h2 .deco .disc:nth-child(2) {
    margin: 0 5px;
}

/* 小見出し_縦線 */
.ttl_sub{
	display: inline-block;
	height: 70px;
	letter-spacing: 0.1em;
    line-height: 70px;
	margin-bottom: 30px;
	position: relative;
}
.ttl_sub::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 1px;
    height: 30px;
    margin: auto;
    background-color: #fff;
}

/* リンクに下線 */
.a_link{
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.a_link:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #242424;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
}
.a_link:hover:after {
    transform: translate(0, 0);
}


/* 動き
-------------------------------------------*/
/* スクロール後に順番に出る */
.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);
    }
}

/* フェードイン_下から */
.fadeIn_up {
    opacity: 0;
    transform: translate(0, 100%);
    transition: 2s;
}
.fadeIn_up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}

/* フェードイン_下から※メインビジュアル */
.fadeIn_up_mv{
    animation-name:fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode:forwards;
    opacity:0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* フェードイン_左から */
.fadeIn_left {
  opacity: 0;
  transform: translate(-100%, 0);
  transition: 2.5s;
}
.fadeIn_left.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

/* フェードイン_右から */
.fadeIn_right {
  opacity: 0;
  transform: translate(100%, 0);
  transition: 2.5s;
}
.fadeIn_right.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

/* 一文字ずつ */
.typ {
	opacity: 0;
}
.typ span {
	opacity: 0;
}


/*　========================================================
　　850px以下
============================================================*/
@media screen and (max-width: 850px) {
	body{
		font-size: 16px;
	}
	
	/* ローディング画面
    --------------------------------------*/
	.li_splash h2{
		font-size: 110%;
	}
	#splash-logo{
		max-width: 100%;
		width: 100%;
	}
}