/* モーダル コンテンツエリア */
#modal-error-main {
  display:none;
  position:fixed;
  overflow:auto;
  z-index:5;/* モーダルの背景より上に変更 */
}
 
/* S 障-1731-0128 */
/* ヘッダーエラーモーダル コンテンツエリア */
#modal-error-header {
  display:none;
  position:fixed;
  overflow:auto;
  z-index:110;/* スマホ表示時、モーダル右上のｘボタンがメニューボタンより上になるように変更 */
}

/* E 障-1731-0128 */
/* モーダル 背景エリア */
#modal-error-bg {
  display:none;
  width:100%;
  height:100%;
  background-color:#000000;
  filter:alpha(opacity=50);
  -moz-opacity:0.5;
  opacity:0.5;
  position:fixed;
  top:0;
  left:0;
  z-index:4;/* PC表示時、右上のメニューボタンがモーダルの背景を突き抜けないように、メニューが属するheaderタグより上に変更*/
}

/* モーダル 背景スクロールバー固定 */
.modal-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* S 対2026-00011-01 【作業依頼】サイト（広告枠デザイン）修正対応 */
/* 広告エリアの外枠（広告が入るまで非表示） */
.ad-warning-container {
	display: none;
	margin: 15px 3px;
	padding: 15px;
	border: 3px solid #1e346a;
	background-color: #fafafa;
	text-align: center;
}

/* 広告が配信されたら表示する */
.ad-warning-container:has(ins[data-ad-status="filled"]) {
	display: block;
}

/* 文言（擬似要素） */
.ad-warning-container::before {
	content: attr(data-label-before);
	display: block;
	font-weight: 300;
	color: #1e346a;
	margin-bottom: 10px;
}

/*スマホ*/
@media screen and (max-width: 767px) {
	.ad-warning-container::before {
		font-size: 20px;
	}
}

/*ＰＣ*/
@media screen and (min-width: 768px) {
	.ad-warning-container::before {
		font-size: 31px;
	}
}
/* E 対2026-00011-01 【作業依頼】サイト（広告枠デザイン）修正対応 */