@charset "UTF-8";
.panel
{
	padding: 32px 16px 0 16px;
	border: none;
	background: transparent;
}

.area_title
{
	margin-bottom: 16px;
	font-weight: 700;
	font-size: 20px;
	color: #3C78D8;
}

#syllabary_area
{
	margin: 0 16px;
	flex-wrap: wrap;
}

.syllabary
{
	width: calc(20% - 4px);
	padding: 8px 16px;
	background: #FFF;
	border: 1px solid #3C78D8;
	border-radius: 6px;
	cursor: pointer;
}

.syllabary::after
{
	display: block;
    width: 20px;
    height: 12px;
    margin-left: auto;
    background: url(../img/icon_arrow.png) no-repeat 0;
    background-size: 20px;
    transform: rotate(90deg);
    content: "";
}

.syllabary:nth-child(-n+5)
{
	margin-bottom: 12px;
}

.syllabary:not(:nth-child(5n), :last-child)
{
	margin-right: 4px;
}

.syllabary:hover
{
	opacity: 0.7;
}

.series_area
{
	margin-bottom: 32px;
}

.series_list
{
	padding: 0 16px;
}

.item
{
	padding: 10px 24px;
	background: rgba(30, 70, 155, 0.08);
	border: 1px solid #666;
	border-radius: 6px;
	cursor: pointer;
}

.item::after
{
	display: block;
    width: 30px;
    height: 20px;
    margin-left: auto;
    background: url(../img/icon_arrow.png) no-repeat 0;
    background-size: 30px;
    content: "";
}

.item:hover
{
	opacity: 0.8;
}

.item:not(:first-child)
{
	border-top: none;
}

.item .img
{
	width: 63px;
	height: 44px;
}

.item .img img
{
	max-width: 63px;
	max-height: 44px;
	background: #FFF no-repeat center;
	background-size: contain;
	object-fit: contain;
}

.item .series_name
{
	margin-left: 24px;
	font-size: 18px;
	font-weight: 700;
	color: #444;
}

#nav.balloon_area
{
	justify-content: flex-end;
}

#nav.balloon_area .balloon
{
	position: relative;
	background-color: #e4f2ff;
	padding: 8px;
	margin-top: 10px !important;
	margin-bottom: 5px;
	color: #1E469B;
	margin-top: 0px;
	border-radius: 6px;
}

#nav.balloon_area .balloon::before
{
	content: "";
	position: absolute;
	border: 10px solid transparent;
	border-bottom: 20px solid #e4f2ff;
	top: -29px;
	left: calc(100% - 90px);
}

#nav.balloon_area .balloon p
{
	margin: 0;
	padding: 0;
}

/*	tablet	*/
@media screen and (max-width: 1000px)
{
	#nav.balloon_area .balloon::before
	{
		top: -22px;
	}
}

/*	mobile	*/
@media screen and (max-width: 640px)
{
	.syllabary
	{
		padding: 8px 6px 8px 14px;
	}

	.syllabary::after
	{
	    width: 16px;
	    height: 8px;
	    background-size: 16px;
	}

	.item
	{
		padding: 8px 16px;
	}

	.item::after
	{
	    width: 25px;
	    height: 15px;
	    background-size: 25px;
	}

	.item .img
	{
		width: 53px;
		height: 38px;
	}

	.item .img img
	{
		max-width: 53px;
		max-height: 38px;
	}

	#nav.balloon_area .balloon::before
	{
		left: calc(100% - 30px);
	}

	#nav.balloon_area .balloon p
	{
		font-size: 12px;
	}
}

/*	mobile	*/
@media screen and (max-width: 430px)
{
	.syllabary
	{
		padding: 6px 2px 6px 8px;
		font-size: 12px;
	}

	.syllabary::after
	{
	    width: 14px;
	    height: 6px;
	    background-size: 14px;
	}



	#nav.balloon_area .balloon::before
	{
		border-bottom: 16px solid #e4f2ff;
		top: -20px;
		left: calc(100% - 25px);
	}
}
