@charset "UTF-8";

:root {
	--bg-color--primary: #ffffff;
}

body {
	background-color: var(--bg-color--primary);
}

.main_container {
	padding-bottom: 55px;
}

.common_help-container {
	display: flex;
	max-width: 1360px;
	margin: 0 auto;
	flex-direction: column;
}
.common_help-title {
	display: flex;
	width: 100%;
	height: 80px;
	margin-bottom: 25px;
	background-color: #ffffe0;
	font-weight: bold;
	font-size: clamp(1.5em, 1.211em + 0.6vw, 1.75em);
	text-align: center;
	justify-content: center;
	align-items: center;
}
.common_help-contents {
	display: block;
	width: 100%;
}

#urgent_help .common_help-contents {
	display: flex;
	column-gap: 30px;
	justify-content: space-between;

	row-gap: 30px;
}

.common_help-list {
	width: 100%;
	column-gap: 20px;

	row-gap: 25px;
}
.common_help-item {
	display: flex;
	width: 100%;
	flex-direction: column;

	row-gap: 10px;
}



.common_help-subtitle {
	display: flex;
	position: relative;
	font-size: clamp(1rem, 0.711rem + 0.6vw, 1.25rem);
	line-height: clamp(1.688rem, 1.543rem + 0.3vw, 1.813rem);
	column-gap: 10px;
	align-items: center;
}
.common_help-subtitle::before {
	display: block;
	min-width: 5px;
	background-color: #006252;
	content: "";
}

.common_help-circle , .common_help-text {
	font-size: clamp(0.875em, 0.658em + 0.45vw, 1.063em);
	line-height: clamp(1.563rem, 1.418rem + 0.3vw, 1.688rem);
	text-align: justify;
}
.common_help-circle a , .common_help-text a {
	color: #0072b2;
}

.common_help-circle {
	display: flex;
	flex-direction: column;

	row-gap: 5px;
}
.common_help-circle li {
	display: flex;
}
.common_help-circle li::before {
	content: "･";
}
.urgent_help-detail .common_help-text {
	margin-bottom: 5px;
}
.common_help-num {
	display: flex;
	font-size: 0.875em;
	flex-direction: column;
	counter-reset: number;
}
.common_help-num li {
	display: flex;
	flex-direction: column;
}
.common_help-num li , .common_help-num li span {
	display: flex;
}.common_help-num li span {
	align-items: baseline;
}
.common_help-num li span::before {
	display: inline-flex;
	width: 18px;
	margin-right: 0.5em;
	border: 1px solid #2b1e1d;
	border-radius: 100%;
	font-size: 10px;
	line-height: 1;
	justify-content: center;
	align-items: center;
	content: counter(number);
	counter-increment: number;

	aspect-ratio: 1 / 1;
}
.common_help-num img {
	max-width: 540px;
	width: 100%;
	height: auto;
}.accident_caution-text {
	margin-top: 5px;
	font-size: 0.875em;
	line-height: 21px;
}

.tel-link {
	width: fit-content;
}

@media screen and (min-width: 768px) {
	.main_container {
		padding-top: 115px;
	}
	.common_page-text br {
		display: none;
	}
	.common_help-container {
		width: 95%;
	}
	.common_help-list {
		display: grid;
	}
	.common_help-item {
		max-width: 640px;
	}
	#urgent_help {
		margin-bottom: 60px;
	}

	#urgent_help .common_help-list {
		display: grid;
		row-gap: 24px;
		column-gap: 80px;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-between;
		justify-content: flex-start;
		grid-template-columns: 1fr 1fr;    /* 1列あたり5件 */
		grid-template-rows: auto auto;
		/*grid-auto-flow: column;*/
	}
	#urgent_help .common_help-list > li {
		/* width: calc(50% - 10px); */
	}
	#urgent_help .common_help-list li:nth-of-type(1) {
		order: 1;
	}
	#urgent_help .common_help-list li:nth-of-type(2) {
		order: 2;
	}
	#urgent_help .common_help-list li:nth-of-type(3) {
		order: 3;
	}

	#contact_help .common_help-list {
		grid-template-rows: repeat(var(--rows), auto);    /* 1列あたり5件 */
		grid-auto-flow: column;
	}

	.common_help-subtitle::before {
		height: 50px;
	}
	.common_help-num {
		margin-top: 20px;

		row-gap: 20px;
	}
	#contact_help .common_help-text {
		max-width: 520px;
	}
}
@media screen and (max-width: 767px) {
	.main_container {
		padding-top: 55px;
	}
	.common_help-container {
		width: 100%;
	}
	.common_help-contents {
		padding: 0 20px;
	}
	#urgent_help {
		margin-bottom: 65px;
	}
	#urgent_help .common_help-contents {
		flex-direction: column;
	}
	.common_help-list {
		display: flex;
		flex-direction: column;

		row-gap: 30px;
	}
	.common_help-circle {
		max-width: 540px;
		width: 100%;
		margin: 0 auto;
	}
	.common_help-num {
		width: fit-content;
		margin: 15px auto 0;
		row-gap: 15px;
	}
	.common_help-subtitle br {
		display: none;
	}
	.common_help-subtitle::before {
		height: 60px;
	}
	.common_help-text {
		max-width: 540px;
		width: 100%;
		margin: 0 auto;
	}
	.accident_caution-text {
		max-width: 540px;
		width: 100%;
		margin: 5px auto 0;
	}
}

#urgent_help .common_help-list > li:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1 / 3;
}

/* 左上 */
#urgent_help .common_help-list > li:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
}

/* 左下（LPガス）を上詰め */
#urgent_help .common_help-list > li:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
}




/*******************************************************************************
	
*******************************************************************************/
