@charset "UTF-8";
/* ==========================================================================
   Object / Project / service-page
   事業内容（/service/）下層ページ専用
   ========================================================================== */

.p-service-page__content {
	padding: 72px 0 110px;
	background: #fff;
}

.p-service-detail {
	color: var(--color-text);
}

.p-service-detail__section + .p-service-detail__section {
	margin-top: 72px;
}

.p-service-detail__heading {
	position: relative;
	margin: 0 0 34px;
	padding-bottom: 13px;
	text-align: center;
	color: var(--color-heading);
	font-family: var(--font-serif);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .08em;
}

.p-service-detail__heading::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--color-gold);
	transform: translateX(-50%);
}

/* ==========================================================================
   事業内容
   ========================================================================== */

.p-service-detail__business-list {
	display: grid;
	gap: 12px;
}

.p-service-detail__business-row {
	display: grid;
	grid-template-columns: 180px 300px minmax(0, 1fr);
	min-height: 132px;
	background: #f8fafc;
}

.p-service-detail__business-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 12px;
	background: var(--color-navy);
	color: #fff;
	text-align: center;
}

.p-service-detail__business-label h3 {
	margin: 0;
	color: #fff;
	font-family: var(--font-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: .04em;
}

.p-service-detail__business-icon {
	display: block;
	width: 54px;
	height: 50px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: brightness(0) invert(1);
}

.p-service-detail__business-icon--risk {
	background-image: url("../../../svg/service-building.svg");
}

.p-service-detail__business-icon--consulting {
	background-image: url("../../../svg/service-insurance.svg");
}

.p-service-detail__business-icon--succession {
	background-image: url("../../../svg/service-hands.svg");
}

.p-service-detail__business-icon--lifeplan {
	background-image: url("../../../svg/service-family.svg");
}

.p-service-detail__business-image {
	overflow: hidden;
}

.p-service-detail__business-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 132px;
	object-fit: cover;
}

.p-service-detail__business-text {
	display: flex;
	align-items: center;
	padding: 26px 38px;
	background: linear-gradient(90deg, #fff 0%, #f8fafc 100%);
}

.p-service-detail__business-text p {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 2;
	
}

/* ==========================================================================
   主な保険の種類
   ========================================================================== */

.p-service-detail__insurance-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.p-service-detail__insurance-card {
	position: relative;
	min-height: 300px;
	padding: 26px 16px 34px;
	border: 1px solid #cbd9e6;
	background: #fff;
	overflow: hidden;
}

.p-service-detail__insurance-card::after {
	content: "";
	position: absolute;
	right: 24px;
	bottom: 16px;
	width: 105px;
	height: 105px;
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: .18;
	pointer-events: none;
}

/*
 * 右下アイコン用SVG（後から配置）
 */
.p-service-detail__insurance-card--damage::after {
	background-image: url("../../../img/service/service-building.svg");
}

.p-service-detail__insurance-card--life::after {
	background-image: url("../../../img/service/service-family.svg");
}

.p-service-detail__insurance-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 22px;
	color: var(--color-heading);
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .06em;
}

.p-service-detail__insurance-title-icon {
	display: block;
	width: 30px;
	height: 30px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}


.p-service-detail__insurance-title-icon--damage {
	background-image: url("../../../img/service/service-building.svg");
}

.p-service-detail__insurance-title-icon--life {
	background-image: url("../../../img/service/service-insurance.svg");
}

.p-service-detail__insurance-list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-service-detail__insurance-list li {
	position: relative;
	padding-left: 22px;
	color: var(--color-heading);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.55;
		font-family: var(--font-serif);
}

.p-service-detail__insurance-list li::before {
	content: "\f00c";
	position: absolute;
	top: .34em;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--color-navy);
	color: #fff;
	font-family: "Font Awesome 6 Free";
	font-size: 9px;
	font-weight: 900;
	line-height: 1;
}

/* ==========================================================================
   取扱保険会社
   ========================================================================== */

.p-service-detail__company-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.p-service-detail__company-card {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 190px;
	padding: 36px 40px 58px;
	border: 1px solid #cbd9e6;
	background: #fff;
	overflow: hidden;
}

.p-service-detail__company-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 72px;
	background: url("../../../img/service/company-skyline.svg") center bottom / auto 68px repeat-x;
	opacity: .18;
	pointer-events: none;
}

.p-service-detail__company-logo {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.p-service-detail__company-logo img {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 102px;
	object-fit: contain;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {
	.p-service-page__content {
		padding: 60px 0 90px;
	}

	.p-service-detail__business-row {
		grid-template-columns: 135px 240px minmax(0, 1fr);
	}

	.p-service-detail__business-text {
		padding: 22px 26px;
	}

	.p-service-detail__business-text p {
		font-size: 14px;
		line-height: 1.85;
	}

	.p-service-detail__insurance-grid{
		grid-template-columns: 1fr;
	}

	.p-service-detail__insurance-card {
		min-height: 0;
	}
}

/* ==========================================================================
   Smartphone
   ========================================================================== */

@media (max-width: 767px) {
	.p-service-page__content {
		padding: 48px 0 70px;
	}

	.p-service-detail__section + .p-service-detail__section {
		margin-top: 56px;
	}

	.p-service-detail__heading {
		margin-bottom: 26px;
		font-size: 25px;
	}

	.p-service-detail__business-list {
		gap: 20px;
	}

	.p-service-detail__business-row {
		grid-template-columns: 135px minmax(0, 1fr);
		grid-template-areas:
			"label image"
			"text text";
		min-height: 0;
	}

	.p-service-detail__business-label {
		grid-area: label;
		min-height: 118px;
		padding: 14px 8px;
	}

	.p-service-detail__business-label h3 {
		font-size: 12px;
	}

	.p-service-detail__business-icon {
		width: 36px;
		height: 36px;
	}

	.p-service-detail__business-image {
		grid-area: image;
	}

	.p-service-detail__business-image img {
		min-height: 118px;
		height: 118px;
	}

	.p-service-detail__business-text {
		grid-area: text;
		padding: 20px 18px 22px;
	}

	.p-service-detail__business-text p {
		font-size: 14px;
		line-height: 1.9;
	}

	.p-service-detail__insurance-card {
		padding: 24px 20px 30px;
	}

	.p-service-detail__insurance-title {
		justify-content: flex-start;
		font-size: 21px;
	}

	.p-service-detail__insurance-list {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.p-service-detail__insurance-card::after {
		right: 12px;
		bottom: 12px;
		width: 90px;
		height: 90px;
	}

	.p-service-detail__company-card {
		min-height: 160px;
		padding: 30px 25px 52px;
	}

	.p-service-detail__company-logo img {
		max-width: 160px;
		max-height: 72px;
	}
}
