.service-card,
.archive-card,
.reason-card {
	display: block;
	position: relative;
	padding: 24px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	text-decoration: none;
	box-shadow: var(--shadow-card);
	transition:
		background 0.28s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

.service-card {
	display: block;
	min-height: 100%;
	padding: 0;
	overflow: hidden;
	background: #211d19;
	border-color: rgba(28, 24, 18, 0.1);
	color: var(--color-white);
	cursor: pointer;
	will-change: transform;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(58, 124, 165, 0.5);
	box-shadow: 0 18px 44px rgba(16, 35, 51, 0.13);
}

.archive-card:hover,
.archive-card:focus-within,
.reason-card:hover,
.reason-card:focus-within {
	transform: translateY(-2px);
	border-color: var(--card-hover-border);
	box-shadow: 0 14px 32px var(--card-hover-shadow), 0 5px 14px rgba(16, 35, 51, 0.08);
}

.archive-card:hover,
.archive-card:focus-within,
.reason-card:hover,
.reason-card:focus-within {
	background: linear-gradient(180deg, #fff 0%, var(--card-hover-surface) 100%);
}

.service-card:hover .service-card__image img,
.service-card:focus-visible .service-card__image img {
	filter: brightness(1.06) saturate(1.04);
	transform: scale(1.026);
}

.service-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(58, 124, 165, 0.08), rgba(255, 255, 255, 0)),
		#eef3f5;
	overflow: hidden;
	transform: translateZ(0);
}

.service-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: filter 0.34s ease, transform 0.34s ease;
}

.service-card__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, 0.12) 48%, rgba(12, 11, 10, 0.78) 100%);
	opacity: 0.94;
	pointer-events: none;
	transition: opacity 0.28s ease;
}

.service-card:hover .service-card__overlay,
.service-card:focus-visible .service-card__overlay {
	opacity: 1;
}

.service-card__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-end;
	justify-content: space-between;
	gap: 8px 10px;
	padding: clamp(14px, 2.2vw, 22px) clamp(18px, 3vw, 30px);
	color: var(--color-white);
	z-index: 3;
}

.service-card h3 {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 10px 22px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--color-white);
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	font-size: clamp(1.45rem, 2.7vw, 2.15rem);
	font-weight: 800;
	font-feature-settings: "palt";
	-webkit-font-smoothing: antialiased;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48), 0 8px 24px rgba(0, 0, 0, 0.24);
	transition: color 0.2s ease, opacity 0.28s ease, text-shadow 0.2s ease;
}

.service-card h3::before {
	display: none;
}

.service-card:hover h3,
.service-card:focus-visible h3 {
	color: var(--color-white);
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.56), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.service-card__more {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 0.36em;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #102333;
	font-size: 0.86rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card__switch-panel {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	align-content: start;
	gap: 12px;
	padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 34px) clamp(74px, 7vw, 92px);
	background:
		linear-gradient(180deg, rgba(16, 35, 51, 0.16), rgba(16, 35, 51, 0.72)),
		rgba(16, 35, 51, 0.36);
	color: var(--color-white);
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card__switch-kicker {
	color: #f37021;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-shadow: 0 1px 10px rgba(16, 35, 51, 0.28);
}

.service-card__switch-title {
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	font-size: clamp(1.5rem, 2.5vw, 2.35rem);
	font-weight: 900;
	line-height: 1.25;
	white-space: pre-line;
}

.service-card__switch-text {
	max-width: min(560px, calc(100% - 12px));
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(0.96rem, 1.3vw, 1.08rem);
	font-weight: 800;
	line-height: 1.85;
	white-space: pre-line;
}

.service-card:hover .service-card__more,
.service-card:focus-visible .service-card__more {
	border-color: #102333;
	background: #102333;
	color: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
	transform: translateY(-4px);
}

@media (hover: hover) and (pointer: fine) {
	.service-card:hover .service-card__switch-panel,
	.service-card:focus-visible .service-card__switch-panel {
		opacity: 1;
		transform: translateY(0);
	}

	.service-card:hover .service-card__body h3,
	.service-card:focus-visible .service-card__body h3 {
		opacity: 0;
	}

	.service-card:hover .service-card__image img,
	.service-card:focus-visible .service-card__image img {
		filter: brightness(0.88) saturate(0.98);
	}
}

.service-card__icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--color-gold);
}

.service-card__icon::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: currentColor;
	-webkit-mask: var(--service-icon) center / contain no-repeat;
	mask: var(--service-icon) center / contain no-repeat;
}

.service-card[data-service-icon="house"] {
	--service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5M6 10.5V20h12v-9.5M9.5 20v-5h5v5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-card[data-service-icon="map-pin"] {
	--service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.service-card[data-service-icon="building"] {
	--service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4h10v17M15 9h4v12M8 8h1M11 8h1M8 12h1M11 12h1M8 16h1M11 16h1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-card[data-service-icon="chart"] {
	--service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19h16M7 16v-5M12 16V7M17 16v-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.text-link {
	color: var(--color-gold-dark);
	font-weight: 900;
	text-decoration: none;
}

.work-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.work-card__terms a {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(58, 124, 165, 0.12);
	color: var(--color-gold-dark);
	font-size: 0.75rem;
	font-weight: 900;
	text-decoration: none;
}

.archive-card h2,
.reason-card h3 {
	margin-top: 8px;
	line-height: 1.35;
}

.reasons__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(18px, 3vw, 30px);
	align-items: start;
}

.reasons.section {
	padding-block: clamp(30px, 5vw, 64px);
}

.reasons__intro {
	display: grid;
	gap: 10px;
	max-width: none;
}

.reasons__intro h2 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 3.1rem);
	line-height: 1.18;
	white-space: nowrap;
}

.reasons__intro h2 br,
.reasons__intro p:not(.eyebrow) {
	display: none;
}

.strengths-accordion {
	display: grid;
	gap: 12px;
	width: 100%;
}

.strength-item {
	overflow: hidden;
	border: 1px solid rgba(58, 124, 165, 0.2);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(58, 124, 165, 0.06), rgba(255, 255, 255, 0) 40%),
		#fff;
	box-shadow: 0 10px 26px rgba(16, 35, 51, 0.065);
	transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.strength-item:hover,
.strength-item:focus-within {
	border-color: var(--card-hover-border);
	background:
		linear-gradient(135deg, var(--card-hover-surface), rgba(255, 255, 255, 0) 54%),
		#fff;
	box-shadow: 0 12px 28px var(--card-hover-shadow), 0 4px 12px rgba(16, 35, 51, 0.06);
	transform: translateY(-2px);
}

.strength-item[open] {
	border-color: var(--card-hover-border);
	background:
		linear-gradient(135deg, var(--card-hover-surface), rgba(255, 255, 255, 0) 48%),
		#f4faf8;
	box-shadow: 0 22px 52px var(--card-hover-shadow), 0 8px 20px rgba(16, 35, 51, 0.1);
}

.strength-item summary {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 42px;
	gap: 14px;
	align-items: center;
	min-height: 88px;
	padding: 18px 18px;
	cursor: pointer;
	color: var(--color-ink);
	list-style: none;
}

.strength-item summary::-webkit-details-marker {
	display: none;
}

.strength-item summary::after {
	content: "";
	width: 38px;
	height: 38px;
	border: 1px solid rgba(58, 124, 165, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	background-image:
		linear-gradient(currentColor, currentColor),
		linear-gradient(currentColor, currentColor);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 12px 2px, 2px 12px;
	color: #102333;
	transition: background-color 0.2s ease, background-size 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.strength-item:hover summary::after,
.strength-item:focus-within summary::after {
	border-color: var(--card-title-accent-end);
	background-color: var(--card-hover-surface);
	color: var(--card-title-accent-end);
}

.strength-item[open] summary::after {
	border-color: rgba(58, 124, 165, 0.32);
	background-color: #fff;
	background-image:
		linear-gradient(currentColor, currentColor),
		linear-gradient(currentColor, currentColor);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 12px 2px, 0 0;
	color: var(--color-gold-dark);
}

.strength-item__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(58, 124, 165, 0.26);
	border-radius: 8px;
	background: #eef6fb;
	color: var(--color-gold-dark);
	font-size: 0.92rem;
	font-weight: 900;
}

.strength-item__summary-text {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.strength-item__title {
	color: #102333;
	font-size: clamp(1.02rem, 1.8vw, 1.22rem);
	font-weight: 900;
	line-height: 1.45;
}

.strength-item__summary {
	color: #617484;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.65;
}

.strength-item__body {
	overflow: hidden;
	height: 0;
	transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: height;
}

.strength-item[open] .strength-item__body {
	height: auto;
}

.strength-item__content {
	display: grid;
	grid-template-columns: minmax(120px, 0.24fr) minmax(0, 0.76fr);
	gap: clamp(16px, 3vw, 26px);
	align-items: start;
	padding: 0 18px 18px;
}

.strength-item__media {
	display: grid;
	gap: 10px;
}

.strength-item__text {
	display: grid;
	align-content: center;
	gap: 14px;
}

.strength-item__text p {
	margin: 0;
	color: #405464;
	font-size: clamp(1rem, 1.35vw, 1.08rem);
	line-height: 2;
}

.strength-item__tags {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.strength-item__tags li {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid rgba(58, 124, 165, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #20394f;
	font-size: clamp(0.84rem, 1.22vw, 0.94rem);
	font-weight: 900;
	line-height: 1.4;
	text-align: center;
}

.strength-item__image {
	margin: 0;
	overflow: hidden;
	max-width: min(100%, 360px);
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(58, 124, 165, 0.16);
	border-radius: 8px;
	background: var(--color-paper);
}

.strength-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.reasons__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.reasons__intro {
		position: static;
	}

	.strength-item__content {
		grid-template-columns: 1fr;
	}

	.strength-item__image {
		max-width: 100%;
	}
}

@media (max-width: 560px) {
	.strength-item summary {
		grid-template-columns: 44px minmax(0, 1fr) 36px;
		gap: 10px;
		min-height: 78px;
		padding: 14px;
	}

	.strength-item__number {
		width: 40px;
		height: 40px;
	}

	.strength-item summary::after {
		width: 34px;
		height: 34px;
		font-size: 1.18rem;
	}

	.strength-item__summary {
		font-size: 0.86rem;
	}

	.strength-item__content {
		gap: 12px;
		padding: 0 14px 14px;
	}

	.strength-item__text {
		gap: 10px;
	}

	.strength-item__text p {
		font-size: 0.93rem;
		line-height: 1.75;
	}

	.strength-item__tags {
		gap: 6px;
	}

	.strength-item__tags li {
		min-height: 38px;
		padding: 7px 8px;
		font-size: 0.76rem;
	}
}

/* Card title accents */
.service-card {
	--card-title-accent-start: #ffb175;
	--card-title-accent-end: #e7651b;
	--card-title-accent-shadow: rgba(231, 101, 27, 0.26);
	--card-hover-border: rgba(231, 101, 27, 0.78);
	--card-hover-surface: #fff5ed;
	--card-hover-shadow: rgba(231, 101, 27, 0.22);
}

.service-card--real-estate {
	--card-title-accent-start: #80d7e8;
	--card-title-accent-end: #2f8db1;
	--card-title-accent-shadow: rgba(47, 141, 177, 0.36);
}

.service-card--custom-home {
	--card-title-accent-start: #ff9c7d;
	--card-title-accent-end: #d75739;
	--card-title-accent-shadow: rgba(215, 87, 57, 0.36);
}

.service-card--business-building {
	--card-title-accent-start: #f3cd70;
	--card-title-accent-end: #b27a1e;
	--card-title-accent-shadow: rgba(178, 122, 30, 0.36);
}

.service-card--rental-housing {
	--card-title-accent-start: #91d89d;
	--card-title-accent-end: #3d8a57;
	--card-title-accent-shadow: rgba(61, 138, 87, 0.36);
}

.home-post-card,
.archive-card {
	--card-title-accent-start: #a99bd5;
	--card-title-accent-end: #685aa5;
	--card-title-accent-shadow: rgba(104, 90, 165, 0.22);
	--card-hover-border: rgba(104, 90, 165, 0.64);
	--card-hover-surface: #f5f2fc;
	--card-hover-shadow: rgba(104, 90, 165, 0.19);
}

.faq-card {
	--card-title-accent-start: #e2ba69;
	--card-title-accent-end: #aa7624;
	--card-title-accent-shadow: rgba(170, 118, 36, 0.24);
	--card-hover-border: rgba(170, 118, 36, 0.68);
	--card-hover-surface: #fff8e9;
	--card-hover-shadow: rgba(170, 118, 36, 0.2);
}

.reason-card,
.strength-item {
	--card-title-accent-start: #76ada5;
	--card-title-accent-end: #3e7c74;
	--card-title-accent-shadow: rgba(62, 124, 116, 0.22);
	--card-hover-border: rgba(62, 124, 116, 0.66);
	--card-hover-surface: #eef8f6;
	--card-hover-shadow: rgba(62, 124, 116, 0.19);
}

.service-card h3,
.home-post-card h3,
.archive-card h2,
.faq-card summary,
.reason-card h3 {
	position: relative;
	padding-inline-start: 16px;
}

.service-card h3::before,
.home-post-card h3::before,
.archive-card h2::before,
.faq-card summary::before,
.reason-card h3::before {
	position: absolute;
	top: 0.14em;
	bottom: 0.14em;
	inset-inline-start: 0;
	display: block;
	width: 4px;
	min-height: 1em;
	border-radius: 0;
	background: linear-gradient(180deg, var(--card-title-accent-start), var(--card-title-accent-end));
	content: "";
	transform-origin: center;
	transition: transform 0.28s ease;
}

.service-card h3::before {
	top: 50%;
	bottom: auto;
	width: 3px;
	height: 1em;
	min-height: 0;
	box-shadow: none;
	transform: translateY(calc(-50% - 1px));
}

.service-card:hover h3::before,
.service-card:focus-visible h3::before {
	transform: translateY(calc(-50% - 1px)) scaleY(1.08);
}

.home-post-card:hover h3::before,
.home-post-card:focus-within h3::before,
.archive-card:hover h2::before,
.archive-card:focus-within h2::before,
.faq-card:hover summary::before,
.faq-card:focus-within summary::before,
.reason-card:hover h3::before,
.reason-card:focus-within h3::before {
	transform: scaleY(1.06);
}

.archive-card:hover h2 a,
.archive-card:focus-within h2 a,
.reason-card:hover h3,
.reason-card:focus-within h3 {
	color: var(--card-title-accent-end);
}

.faq-card {
	transition:
		background 0.26s ease,
		transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.26s ease,
		border-color 0.26s ease;
}

.faq-card:hover,
.faq-card:focus-within {
	border-color: var(--card-hover-border);
	background: linear-gradient(180deg, #fff 0%, var(--card-hover-surface) 100%);
	box-shadow: 0 12px 28px var(--card-hover-shadow), 0 4px 12px rgba(16, 35, 51, 0.06);
	transform: translateY(-2px);
}

.faq-card summary {
	transition: color 0.24s ease;
}

.faq-card:hover summary,
.faq-card:focus-within summary {
	color: var(--card-title-accent-end);
}
