@charset 'utf-8';

/* 共通モジュール - 見出し
---------------------------------------------------------- */
.mod-primaryHeading {
	position: relative;
	margin-top: 15px;
	margin-bottom: 8px;
}

.mod-primaryHeading:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	display: block;
	padding-top: 12px;
	border: none;
	background: url(../../common/img/bg_line_body.png) repeat-x center;
	background-size: contain;
	transform: translateY(-50%);
}

.mod-primaryHeading:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 100%;
	width: 12px;
	padding-top: 12px;
	background: url(../../common/img/bg_line_edge_right.png) no-repeat left center;
	background-size: contain;
	transform: translateY(-50%);
}

.mod-primaryHeading > span {
	position: relative;
	display: block;
	margin-left: -10px;
	width: 212px;
}

@media only screen and (min-width: 767px) {
	.mod-primaryHeading {
		margin-top: 30px;
		margin-bottom: 20px;
	}

	.mod-primaryHeading > span {
		width: auto;
	}

	.mod-primaryHeading > span img {
		width: auto;
	}
}


/* 共通モジュール - 区切り線
---------------------------------------------------------- */
.mod-separator {
	position: relative;
	display: block;
	/* width: calc(100% - 6px); */
	width: 100%;
	height: 0;
	padding-top: 12px;
	border: none;
	margin: 15px auto;
	background: url(../../common/img/bg_line_body.png) repeat-x center;
	background-size: contain;
}

.mod-separator:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 100%;
	width: 12px;
	padding-top: 12px;
	background: url(../../common/img/bg_line_edge_right.png) no-repeat left center;
	background-size: contain;
}

.mod-separator:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 100%;
	width: 12px;
	padding-top: 12px;
	background: url(../../common/img/bg_line_edge_left.png) no-repeat right center;
	background-size: contain;
}

@media only screen and (min-width: 767px) {
	.mod-separator {
		padding-top: 24px;
		margin: 30px auto;
	}

	.mod-separator:before {
		width: 24px;
		padding-top: 24px;
	}

	.mod-separator:after {
		width: 24px;
		padding-top: 24px;
	}
}


/* 共通モジュール - メディア型レイアウト（画像テキストセット横組み）
---------------------------------------------------------- */
.mod-media > a {
	display: block;
	transition: opacity .3s;
}

.mod-media > a:hover {
	opacity: 0.7;
}

.mod-media .mod-media-body {
	display: flex;
}

.mod-media .mod-media-vis {
	flex-shrink: 0;
	width: 45%;
	margin-left: 15px;
	/* margin-right: 15px; */
}

.mod-media .mod-media-detail {
	font-size: 1.4rem;
	line-height: 1.4;
}

.mod-media .mod-media-sttl {
	display: flex;
	margin-bottom: 5px;
	font-size: 1.2rem;
	color: #8ecef7;
}

.mod-media .mod-media-sttl .mod-media-tag {
	display: inline-block;
	width: 50px;
	margin-right: 10px
}

.mod-media .mod-media-sttl .mod-media-tag img {
	width: 100%;
	height: auto;
}

@media only screen and (min-width: 767px) {
	.mod-media .mod-media-detail {
		font-size: 2.6rem;
	}

	.mod-media .mod-media-sttl {
		margin-bottom: 10px;
		font-size: 2.4rem;
	}

	.mod-media .mod-media-sttl .mod-media-tag {
		width: 100px;
	}
}

/* 共通モジュール - カード型レイアウト（画像テキストセット縦組み）
---------------------------------------------------------- */
.mod-card > a {
	display: block;
	transition: opacity .3s;
}

.mod-card > a:hover {
	opacity: 0.7;
}

.mod-card .mod-card-vis {
	margin-bottom: 10px;
}

.mod-card .mod-card-video {
	position: relative;
	margin-bottom: 10px;
}

.mod-card .mod-card-video:before {
	content: '';
	display: block;
	padding-top: 56.25%;
}

.mod-card .mod-card-video iframe {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.mod-card .mod-card-detail {
	font-size: 1.6rem;
}

.mod-card .mod-card-detail p {
	margin-bottom: 1em;
}

.mod-card .mod-card-ttl {
	margin-bottom: 6px;
	font-size: 1.8rem;
	color: #8ecef7;
}

@media only screen and (min-width: 767px) {
	.mod-card .mod-card-vis {
		margin-bottom: 18px;
	}

	.mod-card .mod-card-video {
		margin-bottom: 18px;
	}

	.mod-card .mod-card-detail {
		padding: 0 18px;
		font-size: 3.2rem;
		line-height: 1.8;
	}

	.mod-card .mod-card-ttl {
		margin-bottom: 15px;
		font-size: 3.6rem;
	}
}

/* 共通モジュール - 汎用枠線つきボックス
---------------------------------------------------------- */
.mod-frame {
	position: relative;
	padding: 10px;
	margin-left: -5px;
	margin-right: -5px;
}

.mod-frame:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	border-style: solid;
	border-width: 10px 10px 10px 10px;
	border-image: url(../img/bg_frame.png) 20 20 20 20 repeat repeat;
	pointer-events: none;
}

.mod-frame .mod-frame-inner {
	position: relative;
	margin: -5px;
	border-radius: 5px;
}

@media only screen and (min-width: 767px) {
	.mod-frame {
		padding: 20px;
		margin-left: -10px;
		margin-right: -10px;
	}

	.mod-frame:before {
		border-width: 20px 20px 20px 20px;
		border-image-slice: 20 20 20 20;
	}

	.mod-frame .mod-frame-inner {
		margin: -5px;
		border-radius: 10px;
	}
}
