/* Y'S GEAR : /mc/wear/europemotogp/css/layout.css */


/*======================================================================*
 *  [ present ] 
 *======================================================================*/

.present {
	display: block;
	margin: 0 0 60px;
}
.main + .present {
	margin: 40px 0;
}

@media screen and (max-width: 980px) {
	.present {
		margin: 0 -20px;
	}
}

@media screen and (max-width: 568px) {
	.present {
		margin: 0 10px 40px;
	}
	
	.main + .present {
		margin: 30px 10px;
	}
}


/*======================================================================*
 *  [ modal ] 
 *======================================================================*/

.modal {
	position: relative;
	max-width: 800px;
	margin: 5px auto;
	background: #fff;
}

/* [ 見出し ] */
.modal header {
	padding: 20px;
	border: 10px solid #7bc7f9;
	background: url(../img/present/bg.png) center center #298ff4;
	background-size: cover;
	color: #fff;
	text-align: center;
	line-height: 1.2;
}
.modal header h2 {
	margin-bottom: 15px;
}
.modal header .catch {
	margin-bottom: 15px;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.4;
}
.modal header .period {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 20px;
	color: #FB4040;
	background: rgba(255,255,255,0.8);
	font-size: 1.6rem;
	font-weight: bold;
	text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;
}
.modal header .period br {
	display: none;
}
.modal header .period b {
	font-size: 2.2rem;
}

/* [ 中身 ] */
.modal .inner {
	padding: 20px 30px;
	line-height: 1.4;
}
.modal section + section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px dashed #7bc7f9;
}

/* [ 各タイトル ] */
.modal .title {
	display: flex;
	align-items: start;
}
.modal .title > b {
	margin: 4px 20px 0 0;
	padding: 2px 10px;
	border-radius: 5px;
	background: #298ff4;
	color: #fff;
	font-size: 1.4rem;
}
.modal .title > b b {
	color: #FBE940;
	font-size: 1.8rem;
}
.modal .title h3 {
	flex: 1;
	margin-bottom: 20px;
	color: #0A2D82;
	font-size: 2rem;
	line-height: 1.6;
}
.modal .title h3 > span {
	padding: 0 5px 5px;
	background: linear-gradient(transparent 60%, #FBE940 60%);
}
.modal .title h3 b {
	display: inline-block;
	color: #298ff4;
}
.modal .title h3 b b {
	font-size: 3rem;
	line-height: 1;
}
.modal .title h3 span span {
	font-size: 1.4rem;
}

/* [ テーブル ] */
.modal table {
	border-collapse: separate;
	border-spacing: 0 2px;
	font-size: 1.4rem;
}
.modal th {
	background: #ddd;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}
.modal th, 
.modal td {
	padding: 5px 10px;
}
.modal td a {
	color: #0A2D82;
	text-decoration: underline;
}
.modal td a:hover, 
.modal td a:active {
	text-decoration: none;
}
.modal td span {
	display: inline-block;
	margin-top: 5px;
	padding: 2px 5px;
	border-radius: 5px;
	background: #dbecfd;
	color: #0A2D82;
	font-size: calc(1em - 0.2rem);
}
.modal table.item {
	padding-right: 180px;
	background: url(../img/present/present.jpg) center right no-repeat;
	background-size: 180px auto;
}

/* [ 注釈 ] */
.modal dl {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px dashed #7bc7f9;
}
.modal dt {
	font-size: 1.4rem;
}
.modal dd {
	margin-top: 5px;
	padding-left: 1em;
	text-indent: -1em;
}
.modal dd::before {
	display: inline-block;
	width: 1em;
	text-align: center;
	text-indent: 0;
	content: "・";
}

/* [ 閉じるボタン（デフォルト） ] */
.mfp-content .mfp-close {
	top: -40px;
	width: auto;
	height: auto;
	padding: 0;
	color: #fff;
	font-size: 5rem;
	line-height: 40px;
	cursor: pointer;
}

/* [ 閉じるボタン（追加） ] */
.close {
	padding-bottom: 20px;
	text-align: center;
}
.close .button {
	display: inline-block;
	font-size: 3rem;
	font-weight: bold;
	cursor: pointer;
}
.close .button span {
	display: inline-block;
	padding: 0 0 0 5px;
	font-size: 1.4rem;
	font-family:
		Verdana, 
		"游ゴシック体", "Yu Gothic", YuGothic, 
		"メイリオ", Meiryo, 
		"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 
		"ＭＳ Ｐゴシック", "MS PGothic", 
		sans-serif;
	vertical-align: middle;
}

@media screen and (max-width: 568px) {
	/* [ 見出し ] */
	.modal header {
		padding: 15px;
		border-width: 5px;
	}
	.modal header h2 {
		margin-bottom: 10px;
	}
	.modal header .catch {
		margin-bottom: 10px;
		font-size: 1.5rem;
	}
	.modal header .period {
		padding: 8px 10px;
		border-radius: 10px;
		font-size: 1.4rem;
	}
	.modal header .period br {
		display: block;
	}
	.modal header .period b {
		font-size: 2rem;
	}

	/* [ 中身 ] */
	.modal .inner {
		padding: 15px 10px;
	}
	.modal section + section {
		margin-top: 15px;
		padding-top: 15px;
	}

	/* [ 各タイトル ] */
	.modal .title {
		display: block;
	}
	.modal .title > b {
		display: inline-block;
		margin-bottom: 5px;
		font-size: 1.3rem;
	}
	.modal .title h3 {
		margin-bottom: 15px;
		font-size: 1.8rem;
	}
	.modal .title h3 b b {
		font-size: 2.6rem;
	}
	
	/* [ テーブル ] */
	.modal table {
		font-size: 1.2rem;
	}
	.modal th {
		padding: 5px 10px;
	}
	.modal td {
		padding: 5px 0 5px 10px;
	}
	.modal td b {
		font-size: 1.4rem;
	}
	.modal td b span {
		font-size: 1.6rem;
	}
	.modal table.item {
		padding: 180px 0 0 0;
		background-position: top center;
		background-size: auto 180px;
	}
	
	/* [ 注釈 ] */
	.modal dt {
		font-size: 1.3rem;
	}
	.modal dd {
		font-size: 1.1rem;
	}
	
	/* [ 閉じるボタン（デフォルト） ] */
	.mfp-content .mfp-close {
		top: 0;
		right: 10px;
		font-size: 3rem;
	}
}