@charset "utf-8";
/* スマートフォン版ニュースの本文のモーダル（news/news_sp.htm・sp/top.html で使う） */

html.news-sp-modal-open,
html.news-sp-modal-open body {
	overflow: hidden;
}

.news-sp-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.news-sp-modal[hidden] {
	display: none;
}

.news-sp-modal-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.6);
}

.news-sp-modal-panel {
	position: relative;
	width: 100%;
	max-width: 600px;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* 閉じるボタンの行。本文のスクロール領域（.news-sp-modal-content）と重ならないよう、その上に置く */
.news-sp-modal-bar {
	flex: 0 0 auto;
	padding: 4px 4px 0;
	text-align: right;
}

.news-sp-modal-close {
	display: inline-block;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	color: #666666;
	font-size: 28px;
	line-height: 40px;
	cursor: pointer;
}

.news-sp-modal-content {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 16px 20px;
	color: #333333;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.news-sp-detail-title {
	margin: 0 0 6px;
	font-size: 110%;
	line-height: 1.4;
}

.news-sp-detail-meta {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #dddddd;
	color: #666666;
	font-size: 80%;
}

.news-sp-detail-body {
	font-size: 95%;
	line-height: 1.6;
}

/* 本文を取得している間のリンク（sp/common/js/sp_top.js） */
.news-sp-loading {
	opacity: 0.5;
	pointer-events: none;
}
