/*
 * crawled_not_indexed_check.css
 * 「クロール済み - インデックス未登録」判定チェッカー 体験デモ
 * 既存サイトのクラスと衝突しないよう cni- を接頭辞にしています。
 */

#crawled-not-indexed-check {
	box-sizing: border-box;
	margin: 1.4rem 0;
	padding: 1rem 1.1rem 2.4rem;
	background: #f4f8fb;
	border-radius: 1rem;
	scroll-margin-top: 90px;
}

#crawled-not-indexed-check *,
#crawled-not-indexed-check *::before,
#crawled-not-indexed-check *::after {
	box-sizing: border-box;
}

.cni-container {
	max-width: 780px;
	margin: 0 auto;
}

.cni-head {
	text-align: center;
	margin-bottom: 1.4rem;
}

.cni-badge {
	display: inline-block;
	padding: .6rem 2rem;
	border-radius: 999px;
	background: #0175d8;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: .6rem;
}

h3.cni-headline {
	display: block;
	margin: .7rem auto 0;
	max-width: 32rem;
	font-size: 1.28rem;
	font-weight: 800;
	line-height: 1.6;
	color: #12233f;
	letter-spacing: .01em;
	background: none;
	padding: 0;
	box-decoration-break: initial;
	-webkit-box-decoration-break: initial;
}

.cni-headline__icon {
	display: inline-block;
	margin-right: .15rem;
}

.cni-headline__mark {
	position: relative;
	color: #0175d8;
	white-space: nowrap;
}

.cni-headline__mark::after {
	content: "";
	position: absolute;
	left: -.05em;
	right: -.05em;
	bottom: -.06em;
	height: .32em;
	background: linear-gradient(90deg, #ffd23f, #ff9f43);
	border-radius: .2em;
	z-index: -1;
	opacity: .55;
}

.cni-lead {
	font-size: .86rem;
	color: #555;
	line-height: 1.9;
	margin: .6rem auto 0;
	max-width: 34rem;
}

.cni-panel,
.cni-result {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 .6rem 1.8rem rgba(0, 30, 70, .08);
	padding: 1.6rem 1.3rem 1.3rem;
}

.cni-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	margin: 0 auto 1.4rem;
	max-width: 92%;
}

.cni-progress__step {
	flex: 0 0 auto;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #e6edf3;
	color: #97a3ae;
	font-size: .75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease;
}

.cni-progress__step.is-active {
	background: #0175d8;
	color: #fff;
}

.cni-progress__step.is-done {
	background: #7bb8f2;
	color: #fff;
}

.cni-progress__bar {
	flex: 1 1 auto;
	height: 2px;
	background: #e6edf3;
}

.cni-progress__bar.is-done {
	background: #7bb8f2;
}

.cni-question__head {
	width: 92%;
	margin: 0 auto 1rem;
	text-align: center;
}

.cni-question__no {
	display: block;
	font-size: .74rem;
	font-weight: 700;
	color: #0175d8;
	letter-spacing: .08em;
	margin-bottom: .35rem;
}

.cni-question__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	margin: 0;
}

.cni-question__options {
	width: 92%;
	margin: 0 auto;
	display: grid;
	gap: .6rem;
}

.cni-option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	padding: .75rem .85rem;
	border: 1px solid #dfe6ec;
	border-radius: .6rem;
	background: #fbfcfe;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.cni-option:hover {
	border-color: #7bb8f2;
	background: #f2f9ff;
}

.cni-option.is-selected {
	border-color: #0175d8;
	background: #eaf2fc;
}

.cni-option__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.cni-option__mark {
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: .1rem;
	border-radius: 50%;
	border: 2px solid #c3cdd6;
	position: relative;
	transition: border-color .15s ease;
}

.cni-option.is-selected .cni-option__mark {
	border-color: #0175d8;
}

.cni-option.is-selected .cni-option__mark::after {
	content: "";
	position: absolute;
	top: .18rem;
	left: .18rem;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: #0175d8;
}

.cni-option__text {
	flex: 1 1 auto;
	font-size: .86rem;
	line-height: 1.7;
	color: #333;
}

.cni-nav {
	width: 92%;
	margin: 1rem auto 0;
	display: flex;
	justify-content: flex-start;
}

.cni-btn--ghost {
	appearance: none;
	border: none;
	cursor: pointer;
	font-weight: 700;
	border-radius: 999px;
	padding: .5rem 1.2rem;
	background: #eef2f5;
	color: #667;
	font-size: .8rem;
	transition: background .15s ease, opacity .15s ease;
}

.cni-btn--ghost:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.cni-btn--ghost:not(:disabled):hover {
	background: #e2e8ed;
}

.cni-result__lead {
	width: 92%;
	margin: 0 auto 1.2rem;
	font-size: .84rem;
	line-height: 1.9;
	color: #0a4a8f;
	background: #eaf4ff;
	border-left: 3px solid #0175d8;
	border-radius: .4rem;
	padding: .7rem .9rem;
}

.cni-cause-list {
	width: 92%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .7rem;
}

.cni-cause {
	border: 1px solid #dfe6ec;
	border-left: 4px solid #0175d8;
	border-radius: .5rem;
	padding: .8rem .9rem;
	background: #fbfcfe;
}

.cni-cause__rank {
	display: inline-block;
	font-size: .7rem;
	font-weight: 700;
	color: #fff;
	background: #0175d8;
	border-radius: 999px;
	padding: .12rem .6rem;
	margin-bottom: .4rem;
}

.cni-cause__title {
	font-size: .95rem;
	font-weight: 700;
	color: #12233f;
	margin: 0 0 .35rem;
}

.cni-cause__advice {
	font-size: .82rem;
	line-height: 1.85;
	color: #333;
	margin: 0;
}

.cni-restart {
	display: block;
	width: 92%;
	margin: 1.2rem auto 0;
	background: none;
	border: none;
	color: #8a8a8a;
	font-size: .76rem;
	text-decoration: underline;
	cursor: pointer;
	text-align: center;
}

@media screen and (max-width: 640px) {

	#crawled-not-indexed-check {
		padding: 1rem .8rem 1.8rem;
		border-radius: .7rem;
	}

	.cni-panel,
	.cni-result {
		padding: 1.1rem .9rem 1rem;
		border-radius: .7rem;
	}

	.cni-question__options,
	.cni-question__head,
	.cni-nav,
	.cni-result__lead,
	.cni-cause-list,
	.cni-restart {
		width: 100%;
	}

	.cni-badge {
		padding: .45rem 1.2rem;
		font-size: .9rem;
		white-space: normal;
		text-align: center;
	}

}
