/*
 * index_not_registered_check.css
 * 「インデックス未登録 原因チェックリスト」体験デモ
 * 既存サイトのクラスと衝突しないよう inc- を接頭辞にしています。
 */

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

#index-not-registered-check *,
#index-not-registered-check *::before,
#index-not-registered-check *::after {
	box-sizing: border-box;
}

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

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

.inc-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.inc-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;
}

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

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

.inc-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;
}

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

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

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

.inc-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;
}

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

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

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

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

.inc-stage__no {
	display: block;
	text-align: center;
	font-size: .74rem;
	font-weight: 700;
	color: #0175d8;
	letter-spacing: .08em;
	margin-bottom: .35rem;
}

.inc-stage__title {
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	margin: 0 0 .25rem;
}

.inc-stage__subtitle {
	text-align: center;
	font-size: .76rem;
	color: #8a8a8a;
	margin: 0 0 1rem;
}

.inc-questions {
	display: grid;
	gap: .7rem;
}

.inc-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;
}

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

.inc-option.is-checked {
	border-color: #0175d8;
	background: #eaf2fc;
}

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

.inc-option__mark {
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: .15rem;
	border-radius: .3rem;
	border: 2px solid #c3cdd6;
	position: relative;
	transition: border-color .15s ease, background .15s ease;
}

.inc-option.is-checked .inc-option__mark {
	border-color: #0175d8;
	background: #0175d8;
}

.inc-option.is-checked .inc-option__mark::after {
	content: "";
	position: absolute;
	top: .1rem;
	left: .32rem;
	width: .28rem;
	height: .55rem;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(40deg);
}

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

.inc-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin-top: 1.2rem;
}

.inc-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;
	flex: 0 0 auto;
	transition: background .15s ease, opacity .15s ease;
}

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

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

.inc-next-btn {
	appearance: none;
	border: none;
	cursor: pointer;
	flex: 1 1 auto;
	padding: .8rem 1rem;
	border-radius: 999px;
	background: #0175d8;
	color: #fff;
	font-size: .92rem;
	font-weight: 700;
	box-shadow: 0 .5rem 1.1rem rgba(1, 117, 216, .28);
	transition: opacity .15s ease, transform .15s ease;
}

.inc-next-btn:hover {
	opacity: .92;
	transform: translateY(-1px);
}

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

.inc-cause-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .7rem;
}

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

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

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

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

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

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

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

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

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

	.inc-nav {
		flex-direction: column-reverse;
	}

	.inc-btn--ghost,
	.inc-next-btn {
		width: 100%;
	}

}
