/* =========================================================
   strength.css（7つの強み）
   ========================================================= */

/* ---------------------------------------------------------
   7つの強み（4枚＋3枚を中央寄せ）
   --------------------------------------------------------- */
.p-points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px 10px;
	padding-top: 18px;
}

.p-points__item {
	position: relative;
	width: 100%;
	max-width: 340px;
	background: var(--color-white);
	border: 1px solid #7cc4c4;
	border-radius: 8px;
}

.p-points__num {
	position: absolute;
	top: -18px;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
	color: var(--color-white);
	background: var(--color-primary-dark);
	border-radius: 50%;
	transform: translateX(-50%);
}

.p-points__img {
	overflow: hidden;
	border-radius: 7px 7px 0 0;
}

.p-points__img img {
	width: 100%;
	aspect-ratio: 486 / 272;
	object-fit: cover;
}

.p-points__body {
	padding: 16px 14px 22px;
}

.p-points__title {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--color-primary-dark);
	text-align: center;
}

.p-points__text {
	margin-top: 8px;
	font-size: 1.6rem;
	line-height: 170%;
	letter-spacing: 0;
}

@media (min-width: 600px) {
	.p-points__item {
		width: calc((100% - 10px) / 2);
	}
}

@media (min-width: 1000px) {
	.p-points__item {
		width: calc((100% - 30px) / 4);
	}
}

/* ---------------------------------------------------------
   事務所概要
   --------------------------------------------------------- */
.p-office {
	width: 100%;
	max-width: 580px;
	margin-inline: auto;
	overflow: hidden;
	font-size: 1.5rem;
	font-weight: 700;
	border-collapse: separate;
	border-radius: 10px;
}

.p-office th,
.p-office td {
	padding: 12px 24px;
	text-align: left;
	vertical-align: middle;
}

.p-office th {
	width: 40%;
	color: var(--color-white);
	background: var(--color-primary-dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.p-office td {
	background: var(--color-section-pale);
	border-bottom: 1px solid var(--color-primary-dark);
}

.p-office tr:last-child th,
.p-office tr:last-child td {
	border-bottom: none;
}

@media (max-width: 767px) {
	.p-office {
		font-size: 1.6rem;
		line-height: 170%;
	}

	.p-office th,
	.p-office td {
		padding: 12px 14px;
	}
}

/* ---------------------------------------------------------
   代表プロフィール
   --------------------------------------------------------- */
.p-profile {
	display: grid;
	gap: 28px;
	align-items: center;
}

.p-profile__img img {
	width: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.p-profile__name {
	padding-bottom: 10px;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-primary-dark);
	background-image: radial-gradient(circle, #6fbcbc 1px, transparent 1.2px);
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 5px 3px;
}

.p-profile__label {
	margin-top: 20px;
	font-size: 1.6rem;
	font-weight: 700;
}

.p-profile__text {
	margin-top: 10px;
	font-size: 1.6rem;
	line-height: 170%;
	
}

@media (min-width: 768px) {
	/* PC：テキスト左・画像右（スマホは画像が上のまま） */
	.p-profile {
		grid-template-columns: 1fr 350px;
		gap: 48px;
	}

	.p-profile__img {
		order: 2;
	}

	.p-profile__name {
		font-size: 2.2rem;
	}
}
