
/* site parametar */

:root {
	--area-main-decoration-height:13;

	--color-base1:#fff;
	--color-base2:#eee;
	--color-main1:#EA7399;
	--color-main2:#F4B7CA;
	--color-accent1:#396;
	--color-accent2:#014099;
	--color-text:#222;
	--color-link:#0e69cb;

	--sp-decoration-reduce:4;
	--sp-decoration-reduce-px:4px;
}

#index #topic #topic_bottom {
	height: auto;
	padding: 0;
	background-image: url(../image/index/topic_bg.png);
}

#topic #topic_bottom ul.arrow {
	margin-top: 0;
}

#topic_bottom:after {
	content: "";
	display: block;
	width: 100%;
	height: 20px;

	background-image: url(../image/index/topic_bottom.png);
	background-repeat: no-repeat;
	background-position-y: top;
	background-size: 100% auto;

	position: relative;
	top: 8px;
}	


/* ---------------------------------------------------------------------------------------- */

@media screen and (min-width:980px) {

	/* for PC  */

}

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

	/* 730-979px */

	#header {
		background-color: #2c2e54;
	}

	h1 a {
		/* 幅・高さ両方を枠内に収める ただし小さくなる */
		background-size: contain;
	}

	#area_top h2 {
		height: calc(100vw / 730 * 60);
		background-position: center center;
		margin: 0 auto;
	}
	
	#index #area_top, #index #area_top_y {
		height: 294px;
	}

}

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

	/* for SP */

	#area_top, #area_top_y {
		height: calc(100vw / 690 * 65);
	}

	#area_main h4 {
		background-size: contain;
	}

	#top #area_top {
		padding: 0;
	}

	#topic_bottom:after {
		height: calc(100vw / 480 * 20);
		top:0;
	}	

	#index #area_top, #index #area_top_y {
		height: auto;
	}
}