@charset "UTF-8";

/* ------------------------------------------------
	東京音楽大学 合否照会
-------------------------------------------------*/

/* ################# 共通 ################# */
@media print, screen and (min-width: 0px) {
	/* common
	--------------------------------------------*/
	/* 非表示 */
	.invisible {
		display:none !important;
	}
	body {
		-webkit-text-size-adjust: 100%;
	}
	#wrapper {
		color:#555555;
	}
	img {
		width:100%;
		height:auto;
	}
	/* header */
	#header {
		border-bottom:#edd1ab 2px solid;
	}
	/* contents */
	#contents {
		background:url(../img/bg.jpg) repeat-x left top;
		border-top:#fff 1px solid;
	}
	/* footer */
	#footer {
		text-align:center;
		padding:17px 0 15px;
		background:#f1e8d7;
	}
	#footer .copyright{
		font-size:93%;
		margin-top:5px;
	}

	/* 合否照会（index.html）
	--------------------------------------------*/
	/* h2 */
	#contents h2 {
		font-size:154%;
		font-weight:bold;
		color:#6c442e;
		padding-bottom:6px;
		border-bottom:#d5c690 3px dotted;
		margin-bottom:20px;
	}
	#contents h2 span {
		display:block;
		background:url(../img/icon_ttl.jpg) no-repeat left bottom;
		padding:3px 15px;
	}
	/* h2下リード文 */
	#contents .lead {
		font-size:108%;
		line-height:1.7;
		margin-bottom:25px;
	}
	/* エラー */
	#contents .error {
		font-size:108%;
		line-height:1.7;
		color:#ff0101;
		font-weight:bold;
		margin-bottom:15px;
	}
	/* inputForm */
	#contents #inputForm th,
	#contents #inputForm td {
		border:#a9a9a9 1px solid;
		background:#f7f7f7;
	}
	#contents #inputForm th {
		font-weight:bold;
		background:#f1e8d7;
	}
	#contents #inputForm input[type="text"],
	#contents #inputForm select[name] {
		border:#a9a9a9 1px solid;
	}
	#contents #inputForm input[type="text"] {
		letter-spacing:0.15em;
	}
	#contents #inputForm input[type="image"] {
		cursor:pointer;
	}
	#contents #inputForm .btn {
		text-align:center;
	}
	/* 注意事項 */
	#contents .caution {
		margin-top:35px;
	}
	#contents .caution dt {
		font-size:108%;
		line-height:1.7;
		font-weight:bold;
	}
	#contents .caution li {
		line-height:1.65;
		margin-top:5px;
		padding-left:2px;
		display:table;
	}
	#contents .caution li:before {
		content:"\2022";
		display:table-cell;
	}
	#contents .caution li span {
		display:table-cell;
		padding-left:5px;
	}

	/* 結果発表
	--------------------------------------------*/
	/* 専攻名 */
	#contents .major {
		text-align:center;
		margin-bottom:15px;
	}
	#contents .major dl {
		font-size:154%;
		font-weight:bold;
		text-align:center;
		line-height:1.3;
		display:inline-block;
	}
	#contents .major dt,
	#contents .major dd {
		float:left;
	}
	/* 合否 */
	#contents .result {
		font-size:184%;
		font-weight:bold;
		text-align:center;
	}
	/* resultTable */
	#contents #resultTable {
		margin-top:20px;
	}
	#contents #resultTable th,
	#contents #resultTable td {
		border:#a9a9a9 1px solid;
		vertical-align:middle;
	}
	#contents #resultTable td li {
		display:table;
		padding-left:2px;
		box-sizing:border-box;
	}
	#contents #resultTable td li:before {
		content:"\2022";
		display:table-cell;
	}
	#contents #resultTable td li span {
		display:table-cell;
		padding-left:5px;
		box-sizing:border-box;
	}
	/* 補足テキスト */
	#contents .attention li {
		margin-top:5px;
		display:table;
		padding-left:2px;
	}
	#contents .attention li:first-child {
		margin-top:0;
	}
	#contents .attention li:before {
		content:"\2022";
		display:table-cell;
	}
	#contents .attention li span {
		display:table-cell;
		padding-left:5px;
	}
}

/* ################# 619px以下 ################# */
@media screen and (max-width: 619px) {
	/* common
	---------------------------------*/
	/* header */
	#header {
		padding:20px 0 15px;
	}
	/* contents余白調整 */
	#contents,
	#footer {
		padding-left:15px;
		padding-right:15px;	
	}
	/* 合否照会（index.html）
	---------------------------------*/
	/* contents余白調整 */
	#contents.indexPage {
		padding-top:35px;
		padding-bottom:35px;
	}
	/* inputForm */
	#contents #inputForm table {
		margin-bottom:25px;
		width:100%;
	}
	#contents #inputForm tr,
	#contents #inputForm th,
	#contents #inputForm td {
		display:block;
		width:100%;
	}
	#contents #inputForm th {
		font-size:154%;
		padding:10px;
		box-sizing:border-box;
	}
	#contents #inputForm td {
		font-size:123%;
		padding:15px;
		box-sizing:border-box;
		border-top:none;
	}
	#contents #inputForm tr:first-child td {
		border-bottom:none;
	}
	#contents #inputForm input[type="text"] {
		width:9em;
		padding:7px;
		box-sizing:border-box;
	}
	#contents #inputForm select[name] {
		padding-left:3px;
		height:2.5em;
		margin-right:3px;
		margin-left:3px;
	}
	#contents #inputForm select[name="year"] {
		width:75px;
	}
	#contents #inputForm select[name="month"],
	#contents #inputForm select[name="day"] {
		width:60px;
	}
	#contents #inputForm input[type="image"] {
		width:75%;
		max-width:320px;
	}
	/* 結果発表
	---------------------------------*/
	/* contents余白調整 */
	#contents.resultPage {
		padding-top:45px;
		padding-bottom:45px;
	}
	/* 合否 */
	#contents .result {
		padding-bottom:35px;
		border-bottom:#d5c690 2px dotted;
		margin-bottom:30px;
	}
	/* resultTable */
	#contents #resultTable {
		margin-bottom:25px;
	}
	#contents #resultTable table {
		width:100%;
	}
	#contents #resultTable tr,
	#contents #resultTable th,
	#contents #resultTable td {
		display:block;
		width:100%;
	}
	#contents #resultTable th {
		font-size:123%;
		line-height:1.5;
		padding:20px 0 3px;
		box-sizing:border-box;
		border:none;
		font-weight:bold;
	}
	#contents #resultTable tr:first-child th {
		padding-top:0;
	}
	#contents #resultTable th:before {
		content:"\25a0";
		color:#cab189;
		display:inline-block;
		margin-right:5px;
	}
	#contents #resultTable td {
		font-size:138%;
		line-height:1.5;
		padding:10px 15px;
		box-sizing:border-box;
	}
	/* トップへボタン */
	#contents .btnGoTop {
		text-align:center;
		margin-top:25px;
	}
	#contents .btnGoTop img {
		width:75%;
		max-width:320px;
		height:auto;
	}
}

/* ################# 620px以上 ################# */
@media print, screen and (min-width: 620px) {
	/* common
	---------------------------------*/
	.inner {
		width:620px;
		margin:0 auto;
	}
	/* header */
	#header {
		padding:30px 0 25px;
	}
	/* footer */
	#footer br {
		display:none;
	}
	/* 合否照会（index.html）
	---------------------------------*/
	/* contents余白調整 */
	#contents.indexPage {
		padding:65px 0;
	}
	/* inputForm */
	#contents #inputForm table {
		margin-bottom:35px;
		width:100%;
	}
	#contents #inputForm th,
	#contents #inputForm td {
		padding:25px 20px;
		vertical-align:middle;
	}
	#contents #inputForm th {
		font-size:154%;
		width:23%;
	}
	#contents #inputForm td {
		font-size:123%;
		width:77%;
	}
	#contents #inputForm input[type="text"] {
		width:9em;
		padding:10px;
		margin-right:5px;
		box-sizing:border-box;
	}
	#contents #inputForm select[name] {
		padding-left:5px;
		height:3em;
	}
		/* [IE8用] */
		.ie8 #contents #inputForm select[name] {
			padding:10px 5px;
		}
	#contents #inputForm select[name="year"] {
		width:100px;
		margin-right:5px;
	}
	#contents #inputForm select[name="month"],
	#contents #inputForm select[name="day"] {
		width:80px;
		margin-right:5px;
		margin-left:5px;
	}
	#contents #inputForm input[type="image"] {
		width:286px;
		height:auto;
	}
	/* 結果発表
	---------------------------------*/
	/* 合否 */
	#contents .result {
		margin-bottom:35px;
	}
	/* contents余白調整 */
	#contents.resultPage {
		padding:80px 0;
	}
	/* resultTable */
	#contents #resultTable {
		margin-top:30px;
		margin-bottom:35px;
	}
	#contents #resultTable table {
		width:100%;
	}
	#contents #resultTable th,
	#contents #resultTable td {
		padding:12px 20px;
	}
	#contents #resultTable th {
		font-size:123%;
		line-height:1.5;
		width:23%;
	}
	#contents #resultTable td {
		font-size:138%;
		line-height:1.5;
		width:77%;
	}
	/* トップへボタン */
	#contents .btnGoTop {
		text-align:center;
		margin-top:35px;
	}
	#contents .btnGoTop img {
		width:257px;
		height:auto;
	}
}
