@charset "utf-8";

/* ===============================
   JH Self Counsel Form
================================ */
.jh-self-card {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	color: #111;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	overflow: visible;
}

/* top */
.jh-self-top {
	padding: 0;
	margin-bottom: 26px;
	background: transparent;
}

.jh-self-topline {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 10px;
	color: #222;
	font-size: 16px;
	font-weight: 400;
}

.jh-self-topline > span:first-child {
	display: block;
}

.jh-self-topline > span:last-child {
	margin-left: auto;
	padding: 0;
	background: transparent;
	color: #004225;
	font-size: 28px;
	font-weight: 700;
}

.jh-self-topline > span:last-child span {
	color: #111;
	font-size: 18px;
	font-weight: 600;
}

.jh-self-progress {
	width: 100%;
	height: 8px;
	border-radius: 0;
	background: #ececec;
	overflow: hidden;
}

.jh-self-progress span {
	display: block;
	width: 20%;
	height: 100%;
	background: #004225;
	transition: width .25s ease;
}

/* body */
.jh-self-body {
	padding: 0;
	background: transparent;
}

.jh-self-question {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 60px;
	margin: 0 0 20px;
	padding: 0 24px;
	border-radius: 8px;
	background: #004225;
	color: #fff;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	text-align: left;
	letter-spacing: -0.05em;
	box-sizing: border-box;
}

.jh-self-question:before {
	content: attr(data-step);
	margin-right: 12px;
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

/* options */
.jh-self-options {
	display: flex;
	flex-direction: column !important;
	gap: 11px;
	width: 100%;
	min-height: auto;
	margin: 0;
	padding: 36px 40px 0;
	border-radius: 8px 8px 0 0;
	background: #004225;
	box-sizing: border-box;
}

.jh-self-option {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 48px;
	padding: 0 30px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition: background .2s ease;
	box-sizing: border-box;
}

.jh-self-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.jh-self-check {
	position: relative;
	width: 18px;
	height: 18px;
	margin-right: 14px;
	border-radius: 50%;
	background: #d4d7d8;
	flex: 0 0 auto;
}

.jh-self-check:after {
	content: "✓";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -55%);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.jh-self-option input:checked + .jh-self-check {
	background: #004225;
}

.jh-self-option span:last-child {
	color: #333;
	font-size: 15px;
	font-weight: 500;
}

/* nav */
.jh-self-nav,
.jh-self-submit-wrap {
	display: flex;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 20px 40px 45px;
	border-radius: 0 0 8px 8px;
	background: #004225;
	box-sizing: border-box;
}

.jh-self-nav .jh-self-prev:first-child {
	display: none;
}

.jh-self-prev,
.jh-self-next,
.jh-self-submit {
	flex: 1;
	height: 52px;
	border: 0;
	border-radius: 4px;
	font-size: 21px;
	font-weight: 700;
	cursor: pointer;
}

.jh-self-prev {
	background: #b9b9b9;
	color: #fff;
}

.jh-self-next,
.jh-self-submit {
	background: #087b45;
	color: #fff;
}

.jh-self-next:hover,
.jh-self-submit:hover {
	background: #00693b;
}

/* contact */
.jh-self-contact {
	width: 100%;
	padding: 32px 40px 0;
	border-radius: 8px 8px 0 0;
	background: #004225;
	color: #fff;
	box-sizing: border-box;
}

.jh-self-contact h3 {
	margin: 0 0 28px;
	color: #fff;
	font-size: 26px;
	line-height: 1.35;
	font-weight: 700;
	text-align: center;
	letter-spacing: -0.05em;
}

.jh-self-field {
	margin-bottom: 16px;
}

.jh-self-field label {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.jh-self-field label em {
	color: #ff3131;
	font-style: normal;
}

.jh-self-field input {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font-size: 14px;
	box-sizing: border-box;
}

.jh-self-phone {
	display: grid;
	grid-template-columns: 1fr 18px 1fr 18px 1fr;
	align-items: center;
	gap: 6px;
}

.jh-self-phone span {
	text-align: center;
	color: #fff;
}

.jh-self-agree {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0;
	color: #fff;
	font-size: 13px;
}

.jh-self-notice {
	margin: 0;
	color: rgba(255,255,255,.75);
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
}

/* mobile */
@media screen and (max-width: 768px) {
	.jh-self-card {
		max-width: 100%;
	}

	.jh-self-topline {
		font-size: 14px;
	}

	.jh-self-topline > span:last-child {
		font-size: 22px;
	}

	.jh-self-topline > span:last-child span {
		font-size: 15px;
	}

	.jh-self-question {
		min-height: 56px;
		font-size: 18px;
		padding: 0 18px;
	}

	.jh-self-question:before {
		font-size: 26px;
	}

	.jh-self-options {
		padding: 26px 20px 0;
	}

	.jh-self-option {
		padding: 0 20px;
	}

	.jh-self-nav,
	.jh-self-submit-wrap {
		padding: 18px 20px 30px;
	}

	.jh-self-contact {
		padding: 26px 20px 0;
	}

	.jh-self-contact h3 {
		font-size: 21px;
	}

	.jh-self-prev,
	.jh-self-next,
	.jh-self-submit {
		height: 48px;
		font-size: 17px;
	}
}