:root {
	--aki-hls-text: #4f504c;
	--aki-hls-bg: #ffffff;
	--aki-hls-main: #E58E60;
	--aki-hls-main-deep: #d77947;
	--aki-hls-sub: #D8E7C4;
	--aki-hls-accent: #FFFFD0;
	--aki-hls-border: rgba(229, 142, 96, 0.24);
	--aki-hls-shadow: 0 16px 40px rgba(229, 142, 96, 0.16);
}

.aki-hls-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 16px 8px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	color: var(--aki-hls-text);
}

.aki-hls-card,
.aki-hls-card * {
	box-sizing: border-box;
}

.aki-hls-card {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 208, 0.88), transparent 30%),
		linear-gradient(135deg, rgba(229, 142, 96, 0.08), rgba(216, 231, 196, 0.24) 45%, rgba(255, 255, 255, 0.98) 100%);
	border: 1px solid var(--aki-hls-border);
	border-radius: 30px;
	padding: 30px;
	box-shadow: var(--aki-hls-shadow);
}

.aki-hls-card::before,
.aki-hls-card::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}

.aki-hls-card::before {
	width: 220px;
	height: 220px;
	right: -70px;
	top: -70px;
	background: rgba(229, 142, 96, 0.14);
}

.aki-hls-card::after {
	width: 180px;
	height: 180px;
	left: -40px;
	bottom: -70px;
	background: rgba(216, 231, 196, 0.28);
}

.aki-hls-head {
	position: relative;
	z-index: 1;
	margin-bottom: 24px;
}

.aki-hls-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--aki-hls-accent);
	border: 1px solid rgba(229, 142, 96, 0.28);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--aki-hls-main-deep);
	margin-bottom: 12px;
}

.aki-hls-title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.3;
	font-weight: 800;
	color: var(--aki-hls-text);
}

.aki-hls-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	max-width: 780px;
}

.aki-hls-main-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: start;
}

.aki-hls-form-panel,
.aki-hls-result-panel {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(229, 142, 96, 0.18);
	border-radius: 24px;
	padding: 22px;
	box-shadow: 0 10px 24px rgba(79, 80, 76, 0.07);
}

.aki-hls-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.aki-hls-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.aki-hls-field-full {
	grid-column: 1 / -1;
}

.aki-hls-field label,
.aki-hls-label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--aki-hls-text);
}

.aki-hls-input-with-unit {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
	border: 1px solid rgba(229, 142, 96, 0.3);
	border-radius: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aki-hls-input-with-unit:focus-within {
	border-color: var(--aki-hls-main);
	box-shadow: 0 0 0 4px rgba(229, 142, 96, 0.16);
	transform: translateY(-1px);
}

.aki-hls-input-with-unit input[type="number"] {
	width: 100%;
	min-width: 0;
	padding: 14px 0;
	border: none;
	outline: none;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	color: var(--aki-hls-text);
	appearance: textfield;
	-moz-appearance: textfield;
}

.aki-hls-input-with-unit input[type="number"]::-webkit-outer-spin-button,
.aki-hls-input-with-unit input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.aki-hls-unit {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--aki-hls-main-deep);
	white-space: nowrap;
}

.aki-hls-field small {
	font-size: 12px;
	line-height: 1.7;
	color: rgba(79, 80, 76, 0.82);
}

.aki-hls-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.aki-hls-radio-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid rgba(229, 142, 96, 0.26);
	background: linear-gradient(180deg, #fffdfa 0%, #fff7f2 100%);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aki-hls-radio-option:hover {
	transform: translateY(-1px);
	border-color: var(--aki-hls-main);
	box-shadow: 0 8px 16px rgba(229, 142, 96, 0.14);
}

.aki-hls-radio-option input[type="radio"] {
	accent-color: var(--aki-hls-main);
	margin: 0;
}

.aki-hls-actions {
	margin-top: 20px;
}

.aki-hls-calc-btn {
	width: 100%;
	border: none;
	border-radius: 999px;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
	color: #ffffff;
	background: linear-gradient(135deg, var(--aki-hls-main) 0%, var(--aki-hls-main-deep) 100%);
	box-shadow: 0 14px 24px rgba(229, 142, 96, 0.28);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.aki-hls-calc-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 28px rgba(229, 142, 96, 0.32);
}

.aki-hls-calc-btn:active {
	transform: translateY(0);
}

.aki-hls-error {
	min-height: 22px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	color: #c7532b;
}

.aki-hls-result-hero {
	padding: 22px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(229, 142, 96, 0.96) 0%, rgba(229, 142, 96, 0.82) 55%, rgba(255, 210, 170, 0.9) 100%);
	color: #ffffff;
	box-shadow: 0 18px 30px rgba(229, 142, 96, 0.26);
	margin-bottom: 16px;
}

.aki-hls-result-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.95;
	margin-bottom: 10px;
}

.aki-hls-result-main-label {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
}

.aki-hls-result-main-value {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.25;
	font-weight: 800;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.aki-hls-result-caption {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.95);
}

.aki-hls-results-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.aki-hls-result-box {
	padding: 16px 14px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 208, 0.75) 0%, rgba(255, 255, 255, 0.98) 100%);
	border: 1px solid rgba(229, 142, 96, 0.22);
}

.aki-hls-result-label {
	font-size: 12px;
	line-height: 1.6;
	color: rgba(79, 80, 76, 0.84);
	margin-bottom: 6px;
}

.aki-hls-result-value {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--aki-hls-main-deep);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.aki-hls-note-box,
.aki-hls-disclaimer {
	background: linear-gradient(180deg, rgba(216, 231, 196, 0.34) 0%, rgba(255, 255, 255, 0.96) 100%);
	border: 1px solid rgba(216, 231, 196, 0.9);
	border-radius: 20px;
	padding: 18px;
	font-size: 13px;
	line-height: 1.85;
	color: var(--aki-hls-text);
}

.aki-hls-note-box {
	margin-top: 16px;
}

.aki-hls-note-box p {
	margin: 0 0 8px;
}

.aki-hls-note-box p:last-child {
	margin-bottom: 0;
}

.aki-hls-disclaimer {
	position: relative;
	z-index: 1;
	margin-top: 22px;
}

.aki-hls-disclaimer-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--aki-hls-main-deep);
}

.aki-hls-disclaimer ul {
	margin: 0;
	padding-left: 1.2em;
}

.aki-hls-disclaimer li {
	margin-bottom: 6px;
}

.aki-hls-disclaimer li:last-child {
	margin-bottom: 0;
}

@media (max-width: 960px) {
	.aki-hls-results-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.aki-hls-wrap {
		padding: 10px 0;
	}

	.aki-hls-card {
		padding: 18px;
		border-radius: 24px;
	}

	.aki-hls-form-panel,
	.aki-hls-result-panel,
	.aki-hls-note-box,
	.aki-hls-disclaimer {
		padding: 16px;
		border-radius: 18px;
	}

	.aki-hls-grid,
	.aki-hls-results-grid {
		grid-template-columns: 1fr;
	}

	.aki-hls-radio-group {
		flex-direction: column;
	}

	.aki-hls-radio-option {
		justify-content: flex-start;
	}

	.aki-hls-result-hero {
		padding: 18px;
		border-radius: 18px;
	}

	.aki-hls-result-main-value {
		font-size: 30px;
	}
}
