.ysk-ifc,
.ysk-ifc *,
.ysk-ifc *::before,
.ysk-ifc *::after {
	box-sizing: border-box;
}

.ysk-ifc {
	--ysk-ifc-blue: #008ae0;
	--ysk-ifc-navy: #003296;
	--ysk-ifc-ink: #26374a;
	--ysk-ifc-muted: #526273;
	--ysk-ifc-line: #c6d4e2;
	--ysk-ifc-pale: #f3f8fc;
	--ysk-ifc-danger: #b42318;
	width: min(100%, 980px);
	margin: 16px auto;
	padding: 16px;
	border: 1px solid var(--ysk-ifc-line);
	background: #fff;
	color: var(--ysk-ifc-ink);
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	scroll-margin-top: 120px;
}

.ysk-ifc .ysk-ifc__header {
	display: none;
	margin-bottom: 12px;
}

.ysk-ifc.is-enhanced:not(.is-choose) .ysk-ifc__header {
	display: block;
}

.ysk-ifc .ysk-ifc__hero {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 1;
	min-height: 8em;
	margin-bottom: 10px;
	overflow: hidden;
	background: #0754b7;
}

.ysk-ifc.is-enhanced:not(.is-choose) .ysk-ifc__hero {
	display: none;
}

.ysk-ifc .ysk-ifc__hero-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.ysk-ifc .ysk-ifc__hero-copy {
	position: absolute;
	top: 8%;
	right: 24%;
	bottom: 31%;
	left: 22%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	text-align: center;
}

.ysk-ifc .ysk-ifc__hero-title {
	color: #fff;
	font-size: clamp(18px, 3.2vw, 32px);
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 1px 3px rgb(0 36 97 / 30%);
}

.ysk-ifc .ysk-ifc__hero-title span {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.ysk-ifc .ysk-ifc__hero-highlight {
	color: #ffe04d;
}

.ysk-ifc .ysk-ifc__hero-subtitle {
	margin: 5px 0 0;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.ysk-ifc .ysk-ifc__title {
	margin: 0;
	padding-left: 10px;
	border-left: 4px solid var(--ysk-ifc-blue);
	color: var(--ysk-ifc-navy);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.ysk-ifc .ysk-ifc__lead,
.ysk-ifc .ysk-ifc__fallback p,
.ysk-ifc .ysk-ifc__hint,
.ysk-ifc .ysk-ifc__source,
.ysk-ifc .ysk-ifc__note,
.ysk-ifc .ysk-ifc__disclaimer {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.ysk-ifc .ysk-ifc__lead,
.ysk-ifc .ysk-ifc__hint,
.ysk-ifc .ysk-ifc__disclaimer {
	color: var(--ysk-ifc-muted);
}

.ysk-ifc .ysk-ifc__fallback a,
.ysk-ifc .ysk-ifc__source a,
.ysk-ifc .ysk-ifc__help-link {
	color: var(--ysk-ifc-navy);
	text-decoration: underline;
}

.ysk-ifc .ysk-ifc__app {
	display: none;
}

.ysk-ifc.is-enhanced .ysk-ifc__app {
	display: block;
}

.ysk-ifc.is-enhanced .ysk-ifc__fallback {
	display: none;
}

.ysk-ifc .ysk-ifc__progress {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--ysk-ifc-navy);
	font-size: 14px;
	font-weight: 700;
}

.ysk-ifc .ysk-ifc__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.ysk-ifc .ysk-ifc__inputs {
	display: block;
	min-width: 0;
}

.ysk-ifc .ysk-ifc__panel {
	min-width: 0;
	max-width: 720px;
	margin: 0 auto;
	padding: 12px;
	border: 1px solid var(--ysk-ifc-line);
	background: #fff;
}

.ysk-ifc .ysk-ifc__choices,
.ysk-ifc .ysk-ifc__result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ysk-ifc .ysk-ifc__guide-body,
.ysk-ifc .ysk-ifc__condition-hint {
	margin: 6px 0;
	font-size: 14px;
	line-height: 1.5;
}

.ysk-ifc .ysk-ifc__panel--result {
	border-top: 3px solid var(--ysk-ifc-blue);
}

.ysk-ifc .ysk-ifc__panel--conditions {
	background: var(--ysk-ifc-pale);
}

.ysk-ifc .ysk-ifc__panel-title {
	margin: 0 0 8px;
	color: var(--ysk-ifc-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.ysk-ifc .ysk-ifc__fields,
.ysk-ifc .ysk-ifc__conditions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ysk-ifc .ysk-ifc__conditions {
	grid-template-columns: 1fr;
}

.ysk-ifc .ysk-ifc__field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ysk-ifc .ysk-ifc__help-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-width: 0;
}

.ysk-ifc .ysk-ifc__help-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 4px 0;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.ysk-ifc .ysk-ifc__label {
	display: block;
	margin: 0 0 3px;
	color: var(--ysk-ifc-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.ysk-ifc .ysk-ifc__label span {
	font-weight: 400;
}

.ysk-ifc .ysk-ifc__input,
.ysk-ifc .ysk-ifc__select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 7px 9px;
	border: 1px solid #869caf;
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	color: var(--ysk-ifc-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	appearance: auto;
}

.ysk-ifc .ysk-ifc__input:focus-visible,
.ysk-ifc .ysk-ifc__select:focus-visible,
.ysk-ifc .ysk-ifc__button:focus-visible,
.ysk-ifc .ysk-ifc__text-button:focus-visible,
.ysk-ifc .ysk-ifc__help-link:focus-visible,
.ysk-ifc .ysk-ifc__source a:focus-visible,
.ysk-ifc .ysk-ifc__fallback a:focus-visible {
	outline: 3px solid var(--ysk-ifc-blue);
	outline-offset: 2px;
}

.ysk-ifc .ysk-ifc__input[aria-invalid="true"],
.ysk-ifc .ysk-ifc__select[aria-invalid="true"] {
	border-color: var(--ysk-ifc-danger);
}

.ysk-ifc .ysk-ifc__error {
	color: var(--ysk-ifc-danger);
	font-size: 14px;
	line-height: 1.35;
}

.ysk-ifc .ysk-ifc__error:empty {
	display: none;
}

.ysk-ifc .ysk-ifc__text-button {
	min-height: 44px;
	align-self: flex-start;
	margin: 2px 0 0;
	padding: 6px 4px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ysk-ifc-navy);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.ysk-ifc .ysk-ifc__text-button[hidden] {
	display: none;
}

.ysk-ifc .ysk-ifc__text-button--inline {
	min-height: 44px;
	margin-left: 8px;
	white-space: nowrap;
}

.ysk-ifc .ysk-ifc__result {
	min-height: 100px;
}

.ysk-ifc .ysk-ifc__result p,
.ysk-ifc .ysk-ifc__result dl,
.ysk-ifc .ysk-ifc__result ul {
	margin: 5px 0;
	font-size: 14px;
	line-height: 1.5;
}

.ysk-ifc .ysk-ifc__result-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 8px;
}

.ysk-ifc .ysk-ifc__result-term,
.ysk-ifc .ysk-ifc__result-value {
	margin: 0;
	padding: 0;
	font: inherit;
}

.ysk-ifc .ysk-ifc__result-value {
	color: var(--ysk-ifc-navy);
	font-weight: 700;
	text-align: right;
}

.ysk-ifc .ysk-ifc__result-actions {
	align-items: center;
	margin-top: 8px;
}

.ysk-ifc .ysk-ifc__timeline {
	padding-left: 18px;
	list-style: disc outside;
}

.ysk-ifc .ysk-ifc__timeline-item {
	margin: 2px 0;
	padding: 0;
}

.ysk-ifc .ysk-ifc__result strong {
	color: var(--ysk-ifc-navy);
}

.ysk-ifc .ysk-ifc__result .ysk-ifc__alert {
	padding: 6px 8px;
	border-left: 3px solid var(--ysk-ifc-danger);
	background: #fff8f7;
	color: #842519;
}

.ysk-ifc .ysk-ifc__condition-summary {
	margin: 0 0 8px;
	color: var(--ysk-ifc-navy);
	font-size: 14px;
	font-weight: 700;
}

.ysk-ifc .ysk-ifc__details {
	margin: 8px 0 0;
	border-top: 1px solid var(--ysk-ifc-line);
}

.ysk-ifc .ysk-ifc__details-toggle {
	display: list-item;
	min-height: 44px;
	padding: 10px 4px;
	color: var(--ysk-ifc-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
}

.ysk-ifc .ysk-ifc__details-body p {
	margin: 3px 0 8px;
	font-size: 14px;
	line-height: 1.5;
}

.ysk-ifc .ysk-ifc__actions {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	max-width: 720px;
	margin: 10px auto 0;
}

.ysk-ifc .ysk-ifc__button {
	min-width: 96px;
	min-height: 44px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid var(--ysk-ifc-navy);
	border-radius: 2px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	cursor: pointer;
}

.ysk-ifc .ysk-ifc__button--primary {
	background: var(--ysk-ifc-navy);
	color: #fff;
}

.ysk-ifc .ysk-ifc__button--quiet {
	background: #fff;
	color: var(--ysk-ifc-navy);
}

.ysk-ifc .ysk-ifc__button[hidden] {
	display: none;
}

.ysk-ifc .ysk-ifc__panel[hidden] {
	display: none;
}

.ysk-ifc .ysk-ifc__disclaimer {
	margin-top: 10px;
}

@media (max-width: 767px) {
	.ysk-ifc {
		margin: 8px auto;
		padding: 8px 10px;
		scroll-margin-top: 64px;
	}

	.ysk-ifc .ysk-ifc__header {
		margin-bottom: 5px;
	}

	.ysk-ifc .ysk-ifc__hero {
		margin-bottom: 5px;
	}

	.ysk-ifc .ysk-ifc__hero-title {
		font-size: 18px;
		line-height: 1.2;
	}

	.ysk-ifc .ysk-ifc__hero-subtitle {
		display: none;
	}

	.ysk-ifc .ysk-ifc__title {
		font-size: 18px;
	}

	.ysk-ifc .ysk-ifc__lead {
		display: none;
	}

	.ysk-ifc .ysk-ifc__progress {
		display: flex;
	}

	.ysk-ifc.is-choose .ysk-ifc__progress {
		display: none;
	}

	.ysk-ifc .ysk-ifc__layout,
	.ysk-ifc .ysk-ifc__inputs {
		display: block;
	}

	.ysk-ifc .ysk-ifc__panel {
		display: none;
		padding: 10px;
	}

	.ysk-ifc .ysk-ifc__panel.is-active {
		display: block;
	}

	.ysk-ifc .ysk-ifc__fields {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.ysk-ifc .ysk-ifc__panel-title {
		margin-bottom: 6px;
	}

	.ysk-ifc .ysk-ifc__actions {
		display: flex;
	}

	.ysk-ifc .ysk-ifc__disclaimer {
		display: none;
	}

	.ysk-ifc .ysk-ifc__conditions .ysk-ifc__field {
		display: grid;
		grid-template-columns: minmax(0, 104px) minmax(0, 1fr);
		align-items: center;
		gap: 6px;
	}

	.ysk-ifc .ysk-ifc__conditions .ysk-ifc__label {
		margin-bottom: 0;
	}
}
