@charset "utf-8";

.section-title-en {
	font-size: 32px;
	font-weight: 900;
	color: #1a2e6e;
	line-height: 1;
	margin-bottom: 2px;
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	/* 太さは200〜700の間で選べます */
	text-transform: uppercase;
	/* Oswaldは全大文字で使うとかっこいいです */
	display: block;
}

.section-title-ja {
	font-size: 14px;
	color: #1a2e6e;
	font-weight: bold;
	margin-bottom: 14px;
	display: block;
}

.main-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 14px;
	background: #c0bdb8;
	display: block;
}

/* placeholder image via gradient */
.img-placeholder {
	width: 100%;
	border-radius: 4px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.description {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 40px;
}

.btn-primary {
	display: block;
	width: 100%;
	background: #1a2e6e;
	color: #fff;
	text-align: center;
	padding: 18px 16px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 28px;
	letter-spacing: 1px;
}

.consult-box {
	border: 7px solid #e0f0fa;
	padding: 20px 18px;
}

.consult-box h3 {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	color: #003288;
	margin-bottom: 16px;
}

.consult-box ol {
	padding-left: 0;
	list-style: none;
	counter-reset: item;
	font-size: 16px;
}

.consult-box ol li {
	counter-increment: item;
	display: flex;
	gap: 8px;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 14px;
	color: #333;
}

.consult-box ol li:last-child {
	margin-bottom: 0;
}

.consult-box ol li::before {
	content: counter(item) ".";
	color: #003288;
	font-weight: bold;
	font-size: 15px;
	flex-shrink: 0;
	margin-top: 1px;
}

.service__contents {
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 60px;
}

.service__contents .btn {
	margin-bottom: 40px;
}

.page__title span:first-child::after {
	content: "SERVICE";
	opacity: 0.2;
}

/* ===== PC layout (768px~) ===== */
@media (min-width: 768px) {

	/* 上段: 画像 + タイトル・ボタン を横並び */
	.top-row {
		display: flex;
		align-items: flex-start;
		gap: 48px;
	}

	.img-placeholder {
		flex: 0 0 48%;
		height: auto;
		margin-bottom: 0;
		border-radius: 8px;
		overflow: hidden;
		border-radius: 15px;
		margin-bottom: 40px;
	}

	.top-right {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-top: 8px;
		min-height: 320px;
		justify-content: space-between;
	}

	.top-right h2 {
		margin-bottom: 40px;
	}

	.section-title-en {
		font-size: 48px;
	}

	.section-title-ja {
		font-size: 32px;
		margin-bottom: 0;
	}

	.btn-primary {
		width: auto;
		display: inline-block;
		padding: 16px 40px;
		font-size: 16px;
		align-self: flex-start;
		margin-bottom: 0;
	}

	/* 説明文はPC版では非表示（デザイン上なし） */


	/* 相談ボックス: 平行四辺形風の背景 */
	.consult-box {
		transform: skewX(-27deg);
		transform-origin: top center;
		margin-left: 10%;
		margin-right: 10%;
		font-size: 20px;
		border: 12px solid #e0f0fa;
	}

	.consult-box ol {
		width: 70%;
		margin: 0 15%;
	}

	.consult-box h3, .consult-box ol {
		transform: skewX(27deg);
	}

	.consult-box h3,
	.consult-box ol {
		position: relative;
		z-index: 1;
	}

	.consult-box h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.consult-box ol li {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.service__contents {
		max-width: calc(1120px + 10%);
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 80px;
	}

	.description {
		word-break: auto-phrase;
		lang: "ja";
		/* 言語指定を忘れずに */
	}
}