@charset "UTF-8";

/*全体共通-------------------------------*/

body {
	background-image: url(../image/mokuji_bg.jpg);
	background-size: cover;
	margin: auto;
	font-family: 'Arial', 'Trebuchet MS', 'メイリオ', Meiryo, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
	color: #222222;
}


/*背景画像、フォント*/

#wrap {
	text-align: center;
	margin: auto;
	width: 90%;
	position: relative;
}


/*全体を中央揃え、全体の90%の幅に収める*/

img {
	max-width: 100%;
}


/*画像全般*/

.now {
	background-color: #FFCCFF;
}

#renshukai h2 {
	font-size: 15px;
}


/*中学3年生のサッカー経験者のみなさまへ*/

#renshukai img {
	width: 280px;
}


/*練習会のお知らせボタン画像*/

h1 {
	color: #208A6C;
	font-size: 38px;
	font-weight: bold;
	letter-spacing: 0.06em;
	margin-top: 1%;
}


/*大会戦績、○○年度～○○年度の戦績*/

#senseki {
	line-height: 1.2;
}

.basic {
	padding-top: 0.5%;
	margin-bottom: 0;
	text-shadow: 3px 3px 3px rgba(255, 255, 255, 1), -3px -3px 3px rgba(255, 255, 255, 1);
}


/*白い影、ぼかし*/

h2 {
	font-size: 18px;
	margin-top: 3.5%;
	margin-bottom: 0;
	font-weight: normal;
}


/*中学3年生のサッカー経験者のみなさまへ*/

.red {
	color: #e2041b;
}


/*赤文字*/

.green {
	color: #00984f;
}


/*緑文字*/

a:hover {
	text-decoration: none;
}


/*リンク部分ホバー*/


/*戦績表----------------------------------*/

table {
	margin-top: 1.5em;
}

tr {
	background-color: #FFFFFF;
}


/*行の背景（白）*/

.gray {
	background-color: #eae5e3;
}


/*行の背景（グレー）*/

th {
	font-size: 24px;
	color: #FFFFFF;
	width: 10%;
}


/*年度*/

.even {
	background-color: #028760;
}


/*年度（偶数）*/

.odd {
	background-color: #69b076;
}


/*年度（奇数）*/

td {
	text-align: left;
	font-size: 16px;
}


/*-----ここまで*/

#before {
	display: block;
	margin: 0.3em auto;
	font-size: 15px;
	width: -moz-fit-content;
	/*block要素のままコンテンツのサイズぴったり（Firefox）*/
	width: fit-content;
	/*block要素のままコンテンツのサイズぴったり（その他のbrowsers）*/
	background-color: #f7b977;
	padding-left: 0.3em;
	padding-right: 0.3em;
}


/*以前の戦績ページ*/

#ob {
	width: 90%;
	margin: auto;
}


/*【協力願い】OB幅、中央寄せ*/

#ob h2 {
	font-size: 15px;
}


/*【協力願い】フォントサイズ*/

.textarea {
	width: 40%;
	background-color: rgba(0, 0, 0, 0.2);
	font-size: 12px;
	text-align: left
}

dl {
	display: flex;
	justify-content: space-around;
}



/*OB写真横並び*/

dt {
	margin: 0 5%;
}


/*OB間隔空ける*/

dd {
	margin: auto;
	font-size: 14px;
}


/*OB名前中央揃え、フォントサイズ*/

.button {
	display: block;
	margin: auto;
	width: -moz-fit-content;
	/*block要素のままコンテンツのサイズぴったり（Firefox）*/
	width: fit-content;
	/*block要素のままコンテンツのサイズぴったり（その他のbrowsers）*/
}


/*「HOME」「桃山学院高校サッカー部のルーツ」*/

#footer .button {
	padding: 1.8%;
}


/*OB名前中央揃え*/

#title {
	width: 100%;
}


/*タイトル画像*/

.topimage {
	margin-top: 5%;
}


/*メイン画像*/

#home {
	width: 400px;
}


/*「桃山学院高校サッカー部のルーツ」横幅*/

#roots {
	width: 305px;
}


/*「桃山学院高校サッカー部のルーツ」横幅*/


/*-----ここまで*/


/*レスポンシブ-------------------------------*/

@media (min-width:1000px) {
	#renshukai {
		position: absolute;
		/*「練習会のお知らせ」を任意の位置に置く*/
		top: 5px;
		/*上から5pxの位置*/
	}
}

@media (max-width:749px) {
	dl {
	display:block;
	}
	.textarea{
	margin:auto;
	width:100%;
	}
	dl div{
	display:inline-block;
	vertical-align: top;
	padding-top:2%;
	}
}

@media (max-width:549px) {
	h1 {
		font-size: 32px;
	}
	#renshukai h2 {
		font-size: 14px;
	}
	/*「中学3年生のサッカー経験者のみなさまへ」フォントサイズ*/
	#before {
		font-size: 14px;
	}
	/*「過去の戦績ページリンク」フォントサイズ*/
	#ob h2 {
		font-size: 14px;
	}
	/*【協力願い】フォントサイズ*/
	dd {
		font-size: 12px;
	}
	/*OB名前フォントサイズ*/
}

@media (min-width:477px) {
	#kaigyo {
		display: none;
	}
	/**/
}

@media (min-width:400px) {
	.kaigyo {
		display: none;
	}
	/*「○○期」で改行*/
}


/*-----ここまで*/