@charset "UTF-8";
/* CSS Document */


/*========= メニューボタン =========*/
.menuBtn{
	/*ボタン内側の基点となるためrelativeを指定。
	追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: fixed;
	z-index: 9999;
	display: block;
	background:var(--gray2);
	cursor: pointer;
	width: 50px;
	height:50px;
	right: 20px;
	border-radius: 5px;
}

/*ボタン内側*/
.menuBtn span{
	display: inline-block;
	transition: all .4s;/*アニメーションの設定*/
	position: absolute;
	left: 14px;
	height: 2px;
	border-radius: 5px;
	background: #fff;
	width: 45%;
}

.menuBtn span:nth-of-type(1) {
	top:13px;	
}

.menuBtn span:nth-of-type(2) {
	top:19px;
}

.menuBtn span:nth-of-type(3) {
	top:25px;
}

.menuBtn span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:-1px;
	left:-5px;
	color: #fff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.menuBtn.active span:nth-of-type(1) {
	top: 14px;
	left: 18px;
	transform: translateY(6px) rotate(-45deg);
	width: 30%;
}

.menuBtn.active span:nth-of-type(2) {
	opacity: 0;
}

.menuBtn.active span:nth-of-type(3){
	top: 26px;
	left: 18px;
	transform: translateY(-6px) rotate(45deg);
	width: 30%;
}

.menuBtn.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
	transform: translateY(0) rotate(-45deg);
	top:-2px;
	left:5px;
}

@media (min-width: 1025px) {
	.menuBtn {
		display: none;
	}
}


/*========= ページトップボタン =========*/
/*スクロールリンクの形状*/
#pageTop {
	/*表示位置*/
	position: fixed;
	right: 30px;
	bottom: 20px;
	z-index: 50;
	/*はじめは非表示*/
	/*opacity: 0;*/
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }
/*リンク全体の aタグの形状*/
#pageTop a {
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	/*font-size:0.9rem;*/
	font-size: var(--paragraph-jp-xs-font-size);
    display: block;
}
/*ページトップリンクの形状*/

#pageTop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

#pageTop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), #pageTop a::before{
	right:0;
}
/*
#pageTop {
	position: fixed;
	right: 20px;
	opacity: 0;
	transform: translateY(100px);
}

#pageTop a {
	display: block;
	z-index: 999;
	padding: 12px 0;
	width: 60px;
	height: 60px;
	color: #fff;
	font-size: 23px;
	text-decoration: none;
	text-align: center;
	transition:all 0.3s;
	border: 1px solid var(--gray1);
}

#pageTop a:hover {
	text-decoration: none;
	opacity: 0.7;
	background: #333;
}

#pageTop span {
	position: relative;
	top: -10px;
}
@-moz-document url-prefix() {
	#pageTop span {
		position: relative;
		top: -10px;
	}
}
#pageTop span::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 15px;
	background: var(--gray1);
	width: 1px;
	height: 30px;
}
@-moz-document url-prefix() {
	#pageTop span::before {
		content: '';
		position: absolute;
		left: 50%;
		top: 15px;
		background: var(--gray1);
		width: 1px;
		height: 30px;
	}
}
#pageTop span::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 11px;
	background: var(--gray1);
	width: 1px;
	height: 20px;
	transform: rotate(-45deg);
}
@-moz-document url-prefix() {
	#pageTop span::after {
		content: '';
		position: absolute;
		left: 7px;
		top: 11px;
		background: var(--gray1);
		width: 1px;
		height: 20px;
		transform: rotate(-45deg);
	}
}
*/
/*　上に上がる動き　*/
#pageTop.upMove{
	animation: UpAnime 0.5s forwards;
	animation-delay:0s;
}
@keyframes UpAnime{
	from {
		opacity: 0;
		visibility: hidden; 
		transform: translateY(100px);
	}
	to {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}
