/**
 * 夏の高校野球特設サイト クローズページ専用スタイル。
 *
 * 旧特設サイト (baseball-iat-2022) の /closed/ の見た目を再現する。
 * クラス名 (.logo / .inner 等) がサイト共通 CSS と衝突するため、共通 CSS は
 * functions.php 側で外し、このファイル単体で成立させている (reset を含む)。
 *
 * 元テーマは PC 固定幅 1000px でレスポンシブ指定がないため、狭い画面向けの
 * 指定のみ追加している (PC 表示は元と同一)。
 */

/* ------------------------------------------------------------------
 * Reset / base
 * ------------------------------------------------------------------ */
html,
body,
div,
span,
h1,
h2,
p,
a,
img,
header,
footer {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}

header,
footer {
	display: block;
}

html {
	width: 100%;
}

body {
	background: url(../../images/yakyu-closed/bg.jpg) 50% 0 no-repeat;
	color: #000;
	font-family: "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "MS PGothic", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	word-break: normal;
}

img {
	vertical-align: bottom;
}

a:link,
a:visited,
a:focus,
a:hover,
a:active {
	text-decoration: none;
}

a:hover {
	opacity: 0.8;
}

/* ------------------------------------------------------------------
 * Layout
 * ------------------------------------------------------------------ */
.ly-wrapper {
	width: 1000px;
	margin: 0 auto 40px;
}

.ly-header .logo {
	padding: 20px 0;
}

.ly-header .logo::after {
	clear: both;
	content: "";
	display: table;
}

/* サイト名・IAT ロゴは画像置換 (テキストは text-indent で隠す) */
.ly-header .sitename,
.ly-header .iat a {
	display: block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: contain;
	text-indent: 101%;
	white-space: nowrap;
}

.ly-header .sitename {
	float: left;
	width: 345px;
	height: 24px;
	background-image: url(../../images/yakyu-closed/sitename.png);
}

.ly-header .iat a {
	float: right;
	width: 202px;
	height: 25px;
	background-image: url(../../images/yakyu-closed/iat-logo-white.png);
}

.ly-contents::after {
	clear: both;
	content: "";
	display: table;
}

.ly-contents img {
	max-width: 100%;
	height: auto;
}

.c-align-c {
	text-align: center;
}

.mtb4 {
	margin: 4px 0;
}

.ptb8 {
	padding: 8px 0;
}

.ptb-close-message {
	margin-bottom: 16px;
	color: #fff;
	font-size: 130%;
	font-weight: bold;
}

/* ------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */
.ly-footer {
	width: 100%;
	min-width: 1000px;
	padding: 46px 0;
	background-color: #0099e1;
	color: #aed0ed;
	font-size: 12px;
	text-align: center;
}

.ly-footer .copy {
	margin-bottom: 1em;
	color: #fff;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
}

/* ------------------------------------------------------------------
 * 狭い画面 (元テーマにはない追加分)
 * ------------------------------------------------------------------ */
@media screen and (max-width: 1040px) {

	.ly-wrapper {
		width: auto;
		margin: 0 20px 24px;
	}

	.ly-footer {
		min-width: 0;
		padding: 32px 0;
	}

	/* 左右の余白は .inner 側に持たせる (.ly-footer は width:100% のため
	   padding を足すと横スクロールが出る) */
	.ly-footer .inner {
		padding: 0 20px;
	}
}

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

	.ly-header .logo {
		padding: 16px 0;
	}

	.ly-header .sitename,
	.ly-header .iat a {
		float: none;
		width: 100%;
		margin: 0 auto;
		background-position: 50% 0;
	}

	.ly-header .sitename {
		max-width: 345px;
	}

	.ly-header .iat a {
		max-width: 202px;
		margin-top: 12px;
	}

	.ptb-close-message {
		font-size: 115%;
	}
}
