
/* site parametar */

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

	--color-base1:#fff;
	--color-base2:#eee;
	--color-main1:#2a807b;
	--color-main2:#43ccc5;
	--color-accent1:#c39;
	--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);
	background-repeat: repeat-y;
}

#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: bottom;
	background-size: 100% auto;

	position: relative;
	top: 8px;
}	

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

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

	/* for PC  */

}

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

	/* 730-979px */

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

	h1 {
		position: relative;
		left: 0;
		top:0;

		width: auto;
		height: auto;
		margin-top: 0;
		padding-left: 2vmin;
		box-sizing: border-box;
	}

	#header {
		background-color: #3a3a3a;
	}

	#area_bottom {
		height: calc(100vw / 690 * 30);
	}

	#index #area_bottom {
		height: calc(100vw / 690 * 20);
	}

	#sche_top, #onlycom_top {
		height: calc(100vw / 240 * 70);
	}

	#schedule h2 {
		top: calc(100vw / 240 * -47);
	}	

	#schedule #onlycom_top h2 {
		top: calc(100vw / 240 * 22);
	}

	#footer p#pagetop {
		top:unset;
	}
}

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

	/* for SP */

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

}