@charset "UTF-8";

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
}

header {
	width: 100%;
	height: 92px;
	position: fixed;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid #cfcfcf;
	background: linear-gradient(#A1FAEF, white 55%, #FEFF9B);
}

.category {
	font-size: 14px;
	padding: 10px 7%;
}

#icon {
	width: 45px;
	display: flex;
	align-items: center;
}

#icon img {
	animation: rotation 60s linear infinite;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.title {
	display: flex;
	padding: 0 6%;
}

.name {
	display: flex;
	align-items: center;
}

.name h1 {
	display: inline-block;
	font-family: "Mochiy Pop One", sans-serif;
	font-size: 23px;
	font-weight: 400;
	color: #4e454a;
	background: linear-gradient(to right, #4169FF, #FFFF00, #FF1493, #4169FF, #FFFF00, #FF1493);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px;
}

/* ハンバーガーメニュー */
.h-btn {
	position: absolute;
	top: 28px;
	right: 6%;
	width: 42px;
	height: 32px;
	cursor: pointer;
}

.h-btn span {
	position: absolute;
	left: 2px;
	width: 38px;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
}

.h-btn, .h-btn span {
	display: inline-block;
	transition: all .5s;
	box-sizing: border-box;
}

.h-btn span:nth-of-type(1) {
	top: 0;
}

.h-btn span:nth-of-type(2) {
	top: 14px;
}

.h-btn span:nth-of-type(3) {
	bottom: 0;
}
  
/* ハンバーガーメニュー下の文字 */
.h-btn:after {
	display: block;
	content: "メニュー";
	font-size: 10px;
	color: #000;
	margin: 40px 0 0;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#hamburger_input:checked ~ .h-btn span:nth-of-type(2) {
	background: rgba(255, 255, 255, 0);
}
  
/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#hamburger_input:checked ~ .h-btn span:nth-of-type(1) {
	top: 14px;
	transform: rotate(45deg);
}
  
#hamburger_input:checked ~ .h-btn span:nth-of-type(3) {
	bottom: 14px;
	transform: rotate(-45deg);
}

/* メニューのデザイン*/
#h-menu {
	position: absolute;
	top: 2px;
	right: -100%; /* メニューを画面の外に飛ばす */
	z-index: 99;
	transition: .5s;
	margin-top: 90px;
	padding-bottom: 15px;
	background: rgba(254, 255, 155, 0.9);
}

#h-menu li {
	width: 10rem;
	height: 50px;
	line-height: 70px;
	margin: 0 1rem;
	padding: 0 5px;
	border-bottom: 1px solid #888;
}

#h-menu li a:hover {
	color: red;
}

/* アイコンがクリックされたらメニューを表示 */
#hamburger_input:checked ~ #h-menu {
	right: 0;/* メニューを画面に入れる */
}

#hamburger_input {
	display: none;
}

.mini-img {
	display: none;
}

#a-menu {
	width: 100%;
	margin-top: 20px;
	padding-left: 7%;
}

.jump {
	padding: 0 1rem;
	border-left: 1px solid;
	border-color: #000;
	font-size: 100%;
	text-decoration: none;
	text-align: center;
}

.jump:nth-of-type(9) {
	border-right: 1px solid;
	border-color: #000;
}

.a-list,
.g-list {
	display: flex;
	flex-wrap: wrap;
	height: auto;
	align-items: center;
}

.a-list li:hover {
	color: red;
}

#globalmenu {
	width: 100%;
	height: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	overflow: hidden;
	transition: .4s;
  }
  
#globalmenu.fixed {
	height: auto;
	border-bottom: 1px solid;
	border-color: #cfcfcf;
	background: linear-gradient(rgba(0,255,255,1), white 55%, rgba(255,255,0,1));
  }

#g-menu {
	display: flex;
	align-items: center;
	height: 50px;
	padding-left: 7%;
}

#a-menu {
	display: none;
}

#globalmenu.fixed {
	display: none;
}


@media screen and (orientation: landscape) {
	#h-menu {
		width: 100%;
		display: flex;
		justify-content: space-around;
		background: linear-gradient(rgba(0,255,255,1), #FFFFEE, #FFFFEE, rgba(255,255,0,1));
	}

	#h-menu li {
		width: 250px;
		margin: 0 auto 0;
		text-align: center;
		line-height: 50px;
	}
}


@media screen and (max-width: 380px){
	.category {
		font-size: 12px;
	}
	
	#icon {
		width: 40px;
	}
	
	.name h1 {
		font-size: 18px;
	}

	.h-btn {
		top: 30px;
	}

	#h-menu li {
		height: 40px;
		line-height: 60px;
	}
}


@media screen and (min-width: 600px) {
	.mini-img {
		display: block;
		width: 70px;
		margin-left: 30px;
	}
}


@media screen and (min-width: 930px) {
	header {
		position: static;
		height: auto;
		padding-bottom: 15px;
	}

	.category {
		font-size: 22px;
	}
	
	#icon {
		width: 75px;
	}
	
	.name h1 {
		font-size: 38px;
	}
	
	.mini-img {
		width: 110px;
	}

	.h-btn {
		display: none;
	}

	#h-menu {
		display: none;
	}

	#a-menu {
		display: block;
	}

	#globalmenu.fixed {
		display: block;
	}
	
	.jump:nth-of-type(9) {
		margin-top: 5px;
	}


@media screen and (min-width: 1019px) {
	.jump:nth-of-type(9) {
		margin-top: initial;
	}
}
}