
/* 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;
}




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

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

	/* for PC  */

}

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

	/* 730-979px */

	body {
		background-position: center top -150px;
	}

	#header {
		background-color: #102496;
	}

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

		background-image: url(../image/h1_sp.png);
	}



	#area_image_bg_y {
		background-image: none;
	}

	#area_main {
/*		
		background-size: contain;
		padding-left: calc(20 / 730 * 100%);
		padding-right: calc(20 / 730 * 100%);
		overflow-x: hidden;
*/		
		width: 100%;
		box-sizing: border-box;
	}

	#area_main h3 {
		margin: 1.5rem 0 0.5rem;
	}

	.version_1 #area_bottom {
		height: calc(100vw / 690 * 16);
	}

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

	#schedule h2 {
		position: relative;
		top: calc(100vw / 60 * -5);
		margin-bottom: 0;
	}

	#other_link {
		padding: 2rem 0 1rem;
	}

	/* はじめに、サークル参加等　ページ内ナビあり */
	#area_top,
	#area_top_y {
		height: calc(100vw / 690 * 130);
	}

	/* 一般参加、コスプレ、リンク　ページ内ナビなし */
	#general #area_top,
	#cosplay #area_top,
	#link #area_top,
	#general #area_top_y,
	#cosplay #area_top_y,
	#link #area_top_y
	{
		height: calc(100vw / 690 * 50);
	}

	/* イベント告知ページ */
	#top #area_top,
	#top #area_top_y
	{
		height: calc(100vw / 690 * 20);
	}

	#bn_yk {
		clear: both;
	}

	/* サイトトップ　スライダー包括 */
	#index #area_top {
		height: auto;
	}

	#area h2, #area_top h2, ul#pan, .inner {
		background-position-x: left;
	}

	h2 ul#pan {
		float: none;
		padding: 2rem;
	}
}

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

	/* for SP */

	#area_top,
	#area_top_y {
		padding-left: calc(100vw / 730 * 20);
		padding-right: calc(100vw / 730 * 20);
		height: calc(100vw / 690 * 330);
	}

	#general #area_top,
	#cosplay #area_top,
	#link #area_top,
	#general #area_top_y,
	#cosplay #area_top_y,
	#link #area_top_y
	{
		height: calc(100vw / 690 * 150);
	}

	#index #area_top {
		padding: 0;
	}

	#circle ul#pan, #wanted ul#pan, #intro ul#pan, #r18 ul#pan {
		position: static;
		width: 100%;
		box-sizing: border-box;
		background: none;
	}

	#area h2, #area_top h2, ul#pan, .inner {
		position: static;
		width: 100%;
		max-width: unset;
		margin:0
	}

	ul.link_list li,
	h2 ul#pan li
	{
		float: none;
	}

	ul#pan li, ul#pan li:first-child {
		margin: 0.25rem;
	}

	#circle ul#pan li a, #intro ul#pan li a, #wanted ul#pan li a, #r18 ul#pan li a {
		color: var(--color-link);
	}

	#tab p,
	#tab ul#tab_navi
	{
		margin-left: 0 !important;
	}

	#tab ul#tab_navi li a {
		text-indent: 0;

		color: #fff;
		background: none !important;
		background-color: var(--color-link) !important;
		border:0.125rem solid #fff;
	}

	#date_hour {
		font-size: 1.13rem;
	}

	#area_main h3, #area_main h5 {
		background-size: contain;
	}

	#area_main h4 {
		background-size: auto 100%;
	}	

	.outline02:before {
		background-color: #d1e5ec;
	}

	.link_mail a {
		font-size: unset;
	}
}