/* デザイン見本の上に足す調整。計算ページ以外の本文リンクは潰さない。 */

.ui-benefits .ub-hero {
	position: relative;
	overflow: hidden;
	background: #f3f9fd;
}

.ui-benefits .ub-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: min(720px, 62%);
	height: 360px;
	background:
		linear-gradient(90deg, #f3f9fd 0%, rgba(243, 249, 253, 0.15) 22%, rgba(243, 249, 253, 0) 46%),
		linear-gradient(180deg, rgba(243, 249, 253, 0) 55%, #f3f9fd 100%),
		url("../uike/hero-city.png") right center / cover no-repeat;
	pointer-events: none;
}

.ui-benefits .ub-hero .ub-container {
	position: relative;
	z-index: 1;
}

.ui-benefits .ub-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar .ui-benefits .ub-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ui-benefits .ub-header {
		top: 46px;
	}
}

.ui-benefits .ub-brand img {
	width: 32px;
	height: 32px;
	flex: none;
}

.ui-benefits .ub-nav a[aria-current="page"],
.ui-benefits .ub-contact[aria-current="page"] {
	color: var(--teal);
}

.ui-benefits .gss-menu-btn {
	display: none;
	margin-left: 8px;
}

.ui-benefits .ub-header-inner {
	min-width: 0;
}

.ui-benefits .ub-options {
	flex-wrap: wrap;
}

.ui-benefits .ub-options label {
	flex: 1 1 7.5rem;
}

.ui-benefits .ub-reason-note {
	display: block;
	grid-column: 1 / -1;
	margin: 8px 0 0;
	color: #667b93;
	font-size: 13px;
	font-weight: 400;
}

.ui-benefits .ub-reason-note a {
	color: var(--teal);
	text-decoration: underline;
}

.ui-benefits .ub-reason-note a:hover {
	color: var(--teal-dark);
	text-decoration: none;
}

.ui-benefits .ub-examples {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 12px 0 0;
	font-size: 14px;
}

.ui-benefits .ub-examples a {
	color: var(--teal);
	text-decoration: underline;
}

.ui-benefits .ub-examples a:hover {
	color: var(--teal-dark);
	text-decoration: none;
}

.ui-benefits .ub-result-panel--sample .ub-result-total > span,
.ui-benefits .ub-result-panel--sample .ub-result-total strong,
.ui-benefits .ub-result-panel--sample .ub-metrics span,
.ui-benefits .ub-result-panel--sample .ub-metrics strong,
.ui-benefits .ub-result-panel--sample .ub-result-row > span,
.ui-benefits .ub-result-panel--sample .ub-result-row > strong,
.ui-benefits .ub-result-panel--sample .ub-result-row small {
	opacity: 0.3;
}

.ui-benefits .ub-faq-grid {
	align-items: start;
}

.ui-benefits .ub-start-next {
	display: block;
	margin-top: 10px;
}

.ui-benefits .uike-prose .ub-article,
.ui-benefits .uike-prose .ub-article h3,
.ui-benefits .uike-prose .ub-article p {
	color: inherit;
	text-decoration: none;
}

.ui-benefits .uike-prose .uike-guide-cards {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin: 1.25rem 0 0.25rem;
}

.ui-benefits .uike-prose .ub-article {
	min-height: 190px;
}

.ui-benefits .ub-result-total .ub-na {
	font-size: 28px;
}

.ui-benefits .ub-result-total .ub-na-note {
	display: block;
	margin-top: 6px;
	color: #526782;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.ui-benefits .ub-result-row small,
.ui-benefits .ub-sample-note {
	display: block;
	margin-top: 4px;
	color: #667b93;
	font-size: 13px;
	font-weight: 400;
}

.ui-benefits .ub-sample-note {
	margin: -6px 0 12px;
	color: var(--teal);
	font-weight: 700;
	text-align: center;
}

.ui-benefits .ub-faq-grid details,
.ui-benefits details.ub-start {
	interpolate-size: allow-keywords;
}

.ui-benefits .ub-faq-grid details::details-content,
.ui-benefits details.ub-start::details-content {
	height: 0;
	overflow: clip;
	transition: height 0.35s ease, content-visibility 0.35s ease allow-discrete;
}

.ui-benefits .ub-faq-grid details[open]::details-content,
.ui-benefits details.ub-start[open]::details-content {
	height: auto;
}

.ui-benefits details.ub-start {
	display: block;
}

.ui-benefits details.ub-start summary {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.ui-benefits details.ub-start summary::-webkit-details-marker {
	display: none;
}

.ui-benefits details.ub-start summary::after {
	content: "+";
	margin-left: auto;
	color: var(--teal);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}

.ui-benefits details.ub-start[open] summary::after {
	content: "−";
}

.ui-benefits details.ub-start .ub-start-body {
	margin: 10px 0 0 37px;
}

.ui-benefits .ub-note {
	margin: 10px 0 0;
	color: #526782;
	font-size: 14px;
}

.ui-benefits .ub-note a,
.ui-benefits .ub-trust a {
	color: var(--teal);
	text-decoration: underline;
}

.ui-benefits .ub-note a:hover,
.ui-benefits .ub-trust a:hover {
	color: var(--teal-dark);
	text-decoration: none;
}

.ui-benefits .ub-faq-grid summary {
	display: block;
	position: relative;
	padding-right: 1.4em;
	list-style: none;
}

.ui-benefits .ub-faq-grid summary::-webkit-details-marker {
	display: none;
}

.ui-benefits .ub-faq-grid summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	color: var(--teal);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}

.ui-benefits .ub-faq-grid details[open] summary::after {
	content: "−";
}

.ui-benefits #uike-result,
.ui-benefits #uike-faq {
	scroll-margin-top: 96px;
}

.ui-benefits a:focus-visible,
.ui-benefits button:focus-visible,
.ui-benefits input:focus-visible,
.ui-benefits select:focus-visible,
.ui-benefits summary:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
}

body.gss-page-feature .contents > .page,
body.gss-page-feature .post-content.page-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ui-benefits .uike-prose a,
body.ui-benefits .post-content a {
	color: var(--teal);
	text-decoration: underline;
}

body.ui-benefits .uike-prose a:hover,
body.ui-benefits .post-content a:hover {
	color: var(--teal-dark);
	text-decoration: none;
}

.ui-benefits .ub-footer .ub-container > nav {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

body.ui-benefits .ub-header a,
body.ui-benefits .ub-footer a,
body.ui-benefits .post-content .ub-guides a.ub-article,
body.ui-benefits .post-content .ub-guides a.ub-outline,
body.ui-benefits .ub-article,
body.ui-benefits .ub-outline {
	text-decoration: none;
}

@media (max-width: 1100px) {
	.ui-benefits .ub-brand {
		font-size: 16px;
	}

	.ui-benefits .ub-nav {
		gap: 16px;
		font-size: 14px;
	}
}

@media (min-width: 761px) {
	.ui-benefits .ub-options label {
		flex: 1 1 0;
		justify-content: center;
		padding: 10px 4px;
		white-space: nowrap;
	}
}

@media (max-width: 760px) {
	.ui-benefits .ub-hero::before {
		width: 100%;
		height: 240px;
		background-position: 72% center;
	}

	.ui-benefits .ub-panel-heading {
		flex-wrap: wrap;
		row-gap: 2px;
	}

	body.ui-benefits .post-content .ub-panel-heading h2 {
		font-size: 19px;
	}

	.ui-benefits .ub-subtle {
		width: 100%;
		margin-left: 47px;
	}

	.ui-benefits .ub-options {
		flex-direction: column;
	}

	.ui-benefits .ub-options label {
		justify-content: flex-start;
	}

	.ui-benefits .gss-menu-btn {
		display: flex;
	}

	.ui-benefits .ub-contact {
		margin-left: auto;
	}
}

body.ui-benefits {
	--gss-accent: #087f83;
	--gss-accent-soft: #e7f6f4;
	--gss-container: 1180px;
	--gss-chrome-shell: 1180px;
}

body.ui-benefits.gss-page-simple .contents {
	max-width: 1180px;
	padding-left: 24px;
	padding-right: 24px;
}

body.ui-benefits .gss-breadcrumb a {
	color: var(--teal);
	text-decoration: none;
}

body.ui-benefits .gss-breadcrumb a:hover {
	color: var(--teal-dark);
	text-decoration: none;
}

body.ui-benefits .post-content a.ub-article,
body.ui-benefits .post-content a.ub-article h3,
body.ui-benefits .post-content a.ub-article p,
body.ui-benefits .uike-prose a.ub-article,
body.ui-benefits .uike-prose a.ub-article h3,
body.ui-benefits .uike-prose a.ub-article p {
	color: #0c2854;
}

body.ui-benefits.gss-page-simple .post-content h2 {
	border-left-color: var(--teal);
	color: #0c2854;
}

body.ui-benefits.gss-page-simple .post-content h3 {
	border-bottom-color: var(--teal);
	color: #0c2854;
}

body.ui-benefits.gss-page-simple .post-content .ub-article h3 {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}

body.ui-benefits .uike-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.6rem 0 0;
}

body.ui-benefits .uike-404-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	margin: 0;
	padding: 0 1.25rem;
	border-radius: 8px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

body.ui-benefits .uike-404-actions a.ub-primary {
	border: 0;
	background: var(--teal);
	color: #fff;
}

body.ui-benefits .uike-404-actions a.ub-primary:hover {
	background: var(--teal-dark);
	color: #fff;
	text-decoration: none;
}

body.ui-benefits .uike-404-actions a.ub-outline {
	border: 1px solid var(--teal);
	background: #fff;
	color: var(--teal);
}

body.ui-benefits .uike-404-actions a.ub-outline:hover {
	background: #e7f6f4;
	border-color: var(--teal-dark);
	color: var(--teal-dark);
	text-decoration: none;
}

body.ui-benefits.gss-page-simple .contents > .page > h1,
body.ui-benefits .uike-prose h1 {
	border-bottom-color: var(--teal);
	color: #0c2854;
}

body.ui-benefits.gss-page-simple .post-content th,
body.ui-benefits.gss-page-simple .post-content td {
	border-color: #d5ebe7;
}

body.ui-benefits.gss-page-simple .post-content th,
body.ui-benefits.gss-page-simple .post-content .gss-table-scroll th {
	background: #e7f6f4;
	color: #0c2854;
}

body.ui-benefits.gss-page-simple .post-content .gss-table-scroll {
	background: #f4fbfa;
	border-color: #cfe6e3;
}

body.ui-benefits.gss-page-simple .post-content tr:nth-child(even) td,
body.ui-benefits.gss-page-simple .post-content .gss-table-scroll tr:nth-child(even) td {
	background: #f7fcfb;
}

.ui-benefits .ub-primary,
.ui-benefits .ub-outline,
.ui-benefits .ub-contact,
.ui-benefits .ub-article {
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ui-benefits .ub-primary:hover {
	transform: translateY(-1px);
}

.ui-benefits .ub-outline:hover {
	background: #e7f6f4;
	border-color: var(--teal-dark);
	color: var(--teal-dark) !important;
}

.ui-benefits .ub-contact:hover {
	border-color: var(--teal);
	color: var(--teal);
}

.ui-benefits .ub-article:hover {
	border-color: var(--teal);
	box-shadow: 0 10px 22px #087f8324;
	transform: translateY(-2px);
}

body.ui-benefits .post-content .ub-panel-heading h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #0c2854;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.4;
}

.ui-benefits .ub-field input::placeholder {
	color: #b4c4d4;
	opacity: 1;
}

.ui-benefits .ub-field input:placeholder-shown,
.ui-benefits .ub-field select:invalid {
	background: #fff4f6;
}

.ui-benefits .ub-field select:invalid,
.ui-benefits .ub-field select option[value=""] {
	color: #b4c4d4;
}

.ui-benefits .ub-field select option {
	color: #183452;
	background: #fff;
}

body.ui-benefits .ub-sai h1 {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	color: #0c2854;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.35;
}

body.ui-benefits .ub-sai .ub-lead {
	margin: 0 0 18px;
}

body.ui-benefits.gss-page-simple .post-content .ub-sai-notes {
	margin-top: 8px;
}

body.ui-benefits.gss-page-simple .post-content .ub-sai-notes h2 {
	margin: 2rem 0 0.8rem;
}

body.ui-benefits .ub-sai-notes ol {
	margin: 0.4rem 0 1rem;
	padding-left: 1.4rem;
}

body.ui-benefits .ub-sai-notes li {
	margin: 0.45rem 0;
}
