@charset "utf-8";

/* ------------------------------
    Loading animation
------------------------------ */

/* 背景画面設定　*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1100;
  background:#eee;
  text-align:center;
  color:#fff;
}

#splash_logo, #splash_logo2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#splash_logo img, #splash_logo2 img {
  width:100px;
}

/* アイコンの動き */
.fadeUp{
animation-name: fadeUpAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity: 0;
}

.fadeDown{
animation-name: fadeDownAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(200px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-200px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* ------------------------------------
    文字　一文字ずつ出現
--------------------------------------- */

.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 0.5s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}


/* ------------------------------
    fade in animation
------------------------------ */

/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(50px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


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

/* ------------------------------
    scroll down bar
------------------------------ */

/*-----index.html(top page)-----*/

/*スクロールダウン全体の場所*/
.scrolldown_pc{
	position:absolute;
	left:50%;
	bottom:10px;
	height:50px;
}

/*Scrollテキストの描写*/
.scrolldown_pc span{
	position: absolute;
	left:-37px;
	top: -24px;
	color: #eee;
	letter-spacing: 0.05em;
	font-size: 17px;
	font-family: "KinfolkReg";
}

/* 線の描写 */
.scrolldown_pc::after{
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 30px;
	background: #eee;
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}



/*-----illust.html-----*/

.scrollbox {
	position: relative;
	height: 500px;
}

/*Scrollテキストの描写*/
.scrolltext{
	position: absolute;
	left: 60px;
	bottom: 70px;
	color: #000;
	font-size: 15px;
	letter-spacing: 0.05em;
	font-family: 'Aboreto', cursive;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/*スクロールダウン全体の場所*/
.scrolldown{
    top: 300px;
    left: 100px;
	animation: arrowmove 1.5s ease-in-out infinite;
	z-index: 100;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/* 矢印の描写 */
.scrolldown:before {
    content: "";
    position: absolute;
    bottom: 10px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #000;
    transform: skewX(-31deg);
}

.scrolldown:after{
	content:"";
	position: absolute;
	bottom:10px;
	right:0;
	width:1px;
	height: 100px;
	background: #000;
}



/*---------------横ver.----------------*/

.scrollbox2 {
	position: relative;
}

/*Scrollテキストの描写*/
.scrolltext2 {
	position: absolute;
    right: 10%;
    bottom: 60px;
	color: #000;
	font-size: 12px;
	letter-spacing: 0.05em;
	font-family: 'Aboreto', cursive;
}

/*スクロールダウン全体の場所*/
.scrolldown2 {
	right: 50px;
	bottom: 100px;
}

/* 矢印の描写 */
.scrolldown2:before {
    content: "";
    position: absolute;
    bottom: 56px;
    right: 7%;
    width: 20px;
    height: 1px;
    background: #000;
    transform: skewY(31deg);
}

.scrolldown2:after{
	content:"";
	position: absolute;
	bottom:50px;
	right:7%;
	width:100px;
	height: 1px;
	background: #000;
}


/*
=======================================
  940px以下
=======================================
*/

@media only screen and (max-width: 940px) /*and (min-width: 450px)*/ {

/*Scrollテキストの描写*/
.scrolltext2 {
    right: 10%;
    bottom: 70px;
	font-size: 12px;
	font-family: 'Aboreto', cursive;
}

/* 矢印の描写 */
.scrolldown2:before {
    bottom: 66px;
    right: 5%;
    width: 17px;
}

.scrolldown2:after{
	bottom:60px;
	right:5%;
	width:17%;
}

/*-----index.html(top page)-----*/

.scrolldown_t{
	position:absolute;
	bottom:1%;
	right:50%;
	animation: arrowmove 2s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown_t span{
	position: absolute;
	left:-20px;
	bottom:10px;
	color: #eee;
	font-size: 0.7rem;
	font-family: 'Aboreto', cursive;
	letter-spacing: 0.05em;
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown_t:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #eee;
    transform: skewX(-31deg);
}

.scrolldown_t:after{
	content:"";
	position: absolute;
	bottom:0;
	right:0;
	width:1px;
	height: 50px;
	background:#eee;
}

}

/*
=======================================
  650px以下
=======================================
*/

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

.scrolltext2 {font-size: 12px;}

.scrolldown_t{
	position:absolute;
	bottom:20%;
	right:50%;
	animation: arrowmove 2s ease-in-out infinite;
}

/*Scrollテキストの描写*/
.scrolldown_t span{
	position: absolute;
	left:-20px;
	bottom:10px;
	color: #eee;
	font-size: 0.7rem;
	font-family: 'Aboreto', cursive;
	letter-spacing: 0.05em;
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown_t:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #eee;
    transform: skewX(-31deg);
}

.scrolldown_t:after{
	content:"";
	position: absolute;
	bottom:0;
	right:0;
	width:1px;
	height: 50px;
	background:#eee;
}

}

/*
=======================================
  450px以下
=======================================
*/

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

.scrolltext2 {
	right: 12%;
	font-size: 11px;
}

.scrolldown2:before {
    /*描画位置*/
    bottom: 64px;
    right: 5%;
    /*矢印の形状*/
    width: 14px;
}

.scrolldown2:after{
    /*描画位置*/
	bottom:60px;
	right:5%;
    /*矢印の形状*/
	width:22%;
}

}

/* ------------------------------
   ハンバーガーメニュー
------------------------------ */

#hamburger {
box-sizing: border-box;
width: 100%;
}

.menu-btn {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 150;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	transition: all .4s;
    content: '';
    display: block;
    height: 1px;
    width: 25px;
    background-color: #000;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 140;
}
.menu-content ul {
    padding: 30% 0;
}
.menu-content ul li {
	list-style: none;
	margin: 0 auto;
}
.menu-content ul li a {
	position: relative;
	width: 200px;
	margin: 0 auto;
	padding: 30px 0 10px 0;
	text-align: center;
    display: block;
    font-size: 14px;
    color:#000;
    text-decoration: none;
    border-bottom: solid 1px #000;
    font-family: 'Aboreto', cursive;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*メニューを画面外へ*/
    z-index: 140;
    background-color: #fff;
    opacity: 0.9;
    transition: all 1s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}