@charset "UTF-8";

.xm-card--plan {
	margin: 0 10px;
}

#plan_summary {
	margin-bottom: 30px;
}

#alertNoAgree {
	margin: 0 0 14px;
	padding: 13px 16px;
	background: #fdecec;
	border-radius: 8px;
	color: #c00;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
}

#alertNoAgree::before {
	content: "\f071";
	display: inline;
	margin-right: 6px;
	font-family: FontAwesome;
}

.xm-modal .modal-body iframe {
	width: 100%;
	height: 380px;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
}

/* 中の iframe が height:100% のため本文側で高さを決める */
#agreement_modal .modal-body {
	height: 412px;
}

.xm-modal-check {
	display: block;
	margin: 0 0 12px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
}

.xm-modal-check input {
	width: 18px;
	height: 18px;
	margin: 0 6px 0 0;
	vertical-align: middle;
}

/* 既定色。パッケージ別テンプレートの .btn-success が後勝ちで上書きする */
.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
	background-color: #8fc31f;
	border-color: #8fc31f;
}

@media (max-width: 767px) {
	.xm-panel--agree .c-water {
		white-space: nowrap;
		font-size: 12px;
	}

	.xm-panel--agree .c-water .fa-external-link {
		margin-left: 3px;
	}

	#alertNoAgree {
		font-size: 13px;
		padding: 10px 12px;
	}
}

@media (max-width: 359px) {
	.xm-panel--agree .c-water {
		font-size: 11px;
	}
}

@media (min-width: 768px) {
	.xm-modal .modal-body iframe {
		height: 560px;
	}

	#agreement_modal .modal-body {
		height: 592px;
	}
}
