@charset "UTF-8";

/* ==================================================
	BtoBの発注でも、生成AIで比較検討の時代に（数字は style.css の survey_*）
================================================== */
.agency_survey {
	background: url("../images/hikaku_bk.png");
}


/* ==================================================
	取り扱いのメリット
================================================== */
.agency_merit_list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: 60px;
}

.agency_merit_item {
	padding: 40px 30px 35px;
	text-align: center;
}

.agency_merit_num {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border: 1px solid var(--color_gold);
	border-radius: 50%;
	color: var(--color_gold);
	font-family: var(--font_en);
	font-size: var(--font_size_md);
	font-weight: 600;
	line-height: 1;
}

.agency_merit_title {
	margin-top: 20px;
	font-size: var(--font_size_md);
	font-weight: 700;
	line-height: 1.5;
}

.agency_merit_text {
	margin-top: 12px;
	text-align: left;
}

@media (max-width: 992px) {
	.agency_merit_list {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		max-width: 560px;
		margin: 40px auto 0;
	}
}

@media (max-width: 576px) {
	.agency_merit_item {
		padding: 30px 20px;
	}
}


/* ==================================================
	3つの代理店形態
================================================== */
.agency_type_wrap {
	overflow-x: auto;
	margin-top: 60px;
	border-radius: 16px;
	box-shadow: var(--shadow_base);
}

.agency_type_table {
	width: 100%;
	min-width: 760px;
	background: var(--color_white);
	font-size: 15px;
	line-height: 1.6;
}

.agency_type_table th,
.agency_type_table td {
	padding: 16px 18px;
	border-bottom: 1px solid var(--color_gray_30);
	text-align: center;
	vertical-align: middle;
}

.agency_type_table tbody tr:last-child th,
.agency_type_table tbody tr:last-child td {
	border-bottom: 0;
}

.agency_type_table thead th {
	background: var(--color_navy);
	color: var(--color_white);
	font-weight: 700;
}

/* 左の見出し列は左揃え */
.agency_type_table tbody th {
	width: 200px;
	background: var(--color_gray_10);
	font-weight: 700;
	text-align: left;
}

.agency_type_note {
	margin-top: 25px;
	font-size: var(--font_size_sm);
	text-align: center;
}

@media (max-width: 768px) {
	.agency_type_wrap {
		margin-top: 40px;
	}

	.agency_type_note {
		text-align: left;
	}
}


/* ==================================================
	役割分担（流れ図は style.css の step_flow）
================================================== */
.agency_role_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-top: 60px;
}

.agency_role_item {
	padding: 35px 40px;
}

.agency_role_title {
	font-size: var(--font_size_lg);
	font-weight: 700;
	line-height: 1.5;
}

.agency_role_item .arrow_list {
	margin-top: 15px;
}

.agency_role .step_flow {
	margin-top: 40px;
}

@media (max-width: 768px) {
	.agency_role_list {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		margin-top: 40px;
	}

	.agency_role_item {
		padding: 30px 20px;
	}
}


/* ==================================================
	取り扱いについてのお問い合わせ（入力欄は style.css の form_*）
================================================== */
/* PCはフォーム（左）と TimeRex の日程調整（右）を横並び。992px以下は縦並び */
.agency_contact_wrap {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 40px;
	margin-top: 50px;
}

/* 隣のフォーム（card）と角の丸みと影をそろえる */
.agency_timerex {
	overflow: hidden;
	border-radius: 20px;
	box-shadow: var(--shadow_base);
}

@media (max-width: 992px) {
	.agency_contact_wrap {
		grid-template-columns: minmax(0, 1fr);
		max-width: 720px;
		margin: 50px auto 0;
	}
}

@media (max-width: 768px) {
	.agency_contact_wrap {
		margin-top: 40px;
	}
}
