@charset "UTF-8";

/* ==========================================
 四谷学院高校囲碁部TOP
========================================== */

/* override
------------------------------------------ */

/* タイトル
--------------------------- */
#contents_header {
	height: 27.14vw;
	min-height: 380px;
	padding-top: 3.28vw;
	background: #fff url("../images/index_ttl_bg.jpg") no-repeat top center;
	background-size: 100% auto;
	overflow: hidden;
}

#contents_header .title {
	height: 19.85vw;
	min-height: 278px;
	margin: 0 auto;
	padding-top: 6.5vw;
	border: 3px solid #ff0;
	box-shadow: 10px 10px 0px 0px rgba(255, 255, 0, 1);
	background-image: url("../images/ttl_bg_igo.png");
	background-size: 26% auto;
	background-position: top 3vw center;
	position: relative;
}
#contents_header .title h1 {
	line-height: 1.4;
}
#contents_header .title h1 .ttl_copy {
	font-size: 1.8rem;
}

@media only screen and (max-width: 1400px) {
	#contents_header {
		padding-top: 45px;
		background-size: cover;
	}
	#contents_header .title {
		width: 437px;
		height: 278px;
		background-position: top 35px center;
		padding-top: 85px;
	}
}
@media only screen and (max-width: 767px) {
	#contents_header {
		height: 70vw;
		min-height: auto;
		padding-top: 12vw;
		background-image: url("../images/index_ttl_bg_sp.jpg");
	}
	#contents_header .title {
		width: 85%;
		height: 45vw;
		min-height: auto;
		max-height: 278px;
		padding-top: 11vw;
		background-position: top 4vw center;
	}
}
@media only screen and (max-width: 480px) {
	#contents_header {
		height: 97vw;
		padding-top: 22vw;
		margin-bottom: 4vw;
		padding-bottom: 0;
	}
	#contents_header .title {
		width: 90%;
		height: 50.26vw;
		padding-top: 13.5vw;
		background-size: 28% auto;
		background-position: top 4vw center;
	}
	#contents_header .title h1 .ttl_copy {
		font-size: 1.4rem;
	}
}



/* contents
------------------------------------------ */
.tb {
	display: none;
}

@media (max-width: 900px) {
	.tb {
		display: inline;
	}
}
@media (max-width: 767px) {
	.tb {
		display: none;
	}
	.tb.sp {
		display: inline;
	}
}

.text_contents #intro.ttl::after {
	display: none;
}
.text_contents #intro .ttl_copy {
	font-size: 2.4rem;
}
@media (max-width: 900px) {
	.text_contents #intro {
		line-height: 1.5;
	}
}
@media only screen and (max-width: 480px) {
	.text_contents #intro .ttl_copy {
		font-size: 4.8vw;
	}
}



/* メッセージ
------------------------------------------ */
#message {
	padding: 0 0 70px;
}
#message .wrapper_s {
	padding: 30px;
	position: relative;
}
#message .wrapper_s::before,
#message .wrapper_s::after {
	content: "";
	width: 240px;
	height: 240px;
	background-color: #ff0;
	position: absolute;
	z-index: 1;
}
#message .wrapper_s::before {
	top: 0;
	left: 0;
}
#message .wrapper_s::after {
	right: 0;
	bottom: 0;
}

#message_contents {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	position: relative;
	z-index: 10;
}

#message_contents .icon {
	position: absolute;
	top: 0;
	left: 263px;
	width: 166px;
}

#message_contents figure {
	float: left;
	width: min(40vw, 300px);
	margin: 0 40px 40px 0;
}
#message_contents .message_text {
	margin-bottom: 2.5em;
	padding-right: 35px;
}
#message_contents .message_text1 {
	padding-top: 74px;
}

#message_contents .message_video {
	width: 650px;
	margin: 50px auto 60px;
}

#message_contents .profile {
	margin: 0;
	padding: 40px;
	border: 1px solid #222;
}
#message_contents .profile h3,
#message_contents .profile dt {
	margin-bottom: 0.2em;
}

@media only screen and (max-width: 767px) {
	#message .wrapper_s {
		padding: 25px;
	}
	#message .wrapper_s::after {
		/*display: none; */
	}
	#message_contents {
		padding: 0 20px 50px 0;
	}
	#message_contents .message_video {
		width: 100%;
	}
}
@media only screen and (max-width: 480px) {
	#message {
		padding: 0 0 30px;
	}
	#message .wrapper_s {
		padding: 6.6vw 3vw 0 6.6vw;
	}
	#message .wrapper_s::before {
		width: 76.6vw;
		height: 99%;
	}
	#message .wrapper_s::after {
		display: none;
	}
	#message_contents {
		display: block;
		padding: 0 0 50px;
	}
	#message_contents .icon {
		width: 33vw;
		top: 14vw;
		left: 48vw;
	}
	#message_contents figure {
		width: 40vw;
		margin: 0 1em 1em 0;
	}
	#message_contents figure img {
		margin: -2vw 0 0 -2vw;
	}

	#message_contents figure figcaption {
		position: absolute;
		top: 30vw;
		left: 45vw;
		text-align: left;
	}
	#message_contents .message_text {
		margin-left: -2vw;
		padding-right: 0;
	}
	#message_contents .message_text1 {
		padding-top: 30vw;
	}
	#message_contents .message_video {
		margin: 2em 0 2em -2vw;
		padding: 0;
	}
	#message_contents .profile {
		margin-left: -2vw;
		padding: 1.3em 1em;
	}
}




/* Coming soon
------------------------------------------ */
.coming_soon {
	margin-bottom: 150px;
	text-align: center;
	font-size: 2.8rem;
}

@media only screen and (max-width: 480px) {
	.coming_soon {
		margin-bottom: 100px;
		font-size: 2.4rem;
	}
}

/* 雰囲気写真
------------------------------------------ */
#picture {
	width: 100%;
	margin-bottom: 80px;
	display: flex;
}
#picture li {
 width: 50%;
 height: 26.33vw;
 overflow-y: hidden;
}
#picture li.picture_wide {
	width: 100%;
}
#picture li img {
 width: 100%;
}

@media only screen and (max-width: 480px) {
	#picture {
		margin-bottom: 50px;
		flex-wrap: wrap;
	}
	#picture li {
	 height: auto;
	}
	#picture li.picture01 {
		order: 1;
	}
	#picture li.picture02 {
		order: 0;
	}
	#picture li.picture03 {
		order: 2;
	}
}


