@charset "UTF-8";
/* repair.css */

#lower_mv:before {
	background-image: url(../../img/repair/mv_pc.jpg);
}
@media screen and (max-width:768px) {
	#lower_mv:before {
		background-image: url(../../img/repair/mv_sp.jpg);
	}
}


/* ===== 安全モーター商会の修理について ===== */
.repair_list {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}
.repair_list:before,
.repair_list:after   {
	content: "";
	width: calc(100%/4 - 1.5%);
	display: block;
}
.repair_list:before {
	order: 1;
}
.repair_list li {
	width: calc(100%/4 - 1%);
	min-height: 5em;
	font-size: clamp(12px,1.4vw,14px);
	font-weight: 500;
	text-align: center;
	line-height: 1.3;
	letter-spacing: 0em;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	color: #ff5d00;
	border: 2px solid #ff5d00;
	border-radius: 10px;
	padding: 1em 0;
	margin-bottom: 1.5%;
}
@media screen and (max-width:899px) {
	.repair_list li {
		width: calc(100%/3 - 1%);
		font-size: clamp(13px,1.4vw,14px);
	}
	.repair_list:before {
		content: none;
	}
	.repair_list:after {
		width: calc(100%/3 - 1%);
	}
}


/* ===== example ===== */
.head_orange {
	font-size: 24px;
	font-size: clamp(20px,2.4vw,24px);
	font-feature-settings: "palt";
	color: #ff5d00;
	margin-bottom: 1em;
}
.head_white {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1em;
	color: #fff;
}
.white_box {
	border-radius: 10px;
	padding: 40px;
}
.white_box > p {
	font-feature-settings: "palt";
}
.orange_box + .head_orange {
	margin-top: 2em;
}
.orange_box {
	padding: 40px;
	padding: min(4vw,40px);
	border: 5px solid #ff5d00;
}
.orange_box + .orange_box {
	margin-top: 30px;
}
.dl_orange {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.dl_orange + .dl_orange {
	margin-top: 15px;
}
.dl_orange dt {
	min-width: 6em;
	text-align: center;
	line-height: 1;
	display: inline-block;
	margin-right: 1.25em;
	padding: .5em;
	color: #fff;
	background-color: #ff5d00;
}
.dl_orange dd {
	font-size: 20px;
	font-size: clamp(18px,2vw,20px);
	font-weight: bold;
	line-height: 1.5;
	color: #000;
}
.dl_orange dd small {
	font-size: 18px;
	font-size: clamp(16px,1.8vw,18px);
}
/* cardの流れ */
.card_flex {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	margin-top: 40px;
	margin-top: min(4vw,40px);
}
.card {
	width: calc(100%/3 - 20px);
	position: relative;
}

.card_before:before,
.card_repair:before {
	content: "";
	width:  20px;
	height: 20vw;
	max-height: 220px;
	display: block;
	position: absolute;
	right: 0;
	background-image: url(../../img/repair/orange_sankaku.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transform: translateX(25px);
}
.card .cont_wrap {
	margin-top: 20px;
}
#service .white_box .card img {
	width: 100%;
	max-width: inherit;
}
.card .img_wrap:before {
	min-width: 4.5em;
	text-align: center;
	line-height: 1;
	letter-spacing: .05em;
	font-size: 20px;
	font-family: din-2014, "Barlow", sans-serif !important;
	font-weight: 700;
	display: inline-block;
	position: absolute;
	top:  0;
	left: 0;
	padding: .25em .45em;
	color: #fff;
	background-color: #4d4d4d;
}
.card_before .img_wrap:before {
	content: "BEFORE";
}
.card_repair .img_wrap:before {
	content: "REPAIR";
	background-color: #000;
}
.card_after .img_wrap:before {
	content: "AFTER";
	background-color: #ff5d00;
}
.card p,
.card li {
	font-feature-settings: "palt";
	line-height: 1.7;
}
.card p {
	margin-bottom: .75em;
}
.card li {
	font-size: 14px;
	text-align: justify;
	letter-spacing: .05em;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.card li + li {
	margin-top: .2em;
}
.card li:before {
	content: "・";
	margin-right: .25em;
}
.card .list_big {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: .35em;
	color: #2c2c2c;
}
.card .list_big:before {
	content: "";
	width:  1em;
	height: 1em;
	min-width:  1em;
	min-height: 1em;
	background-color: #2c2c2c;
	margin-top: .3em;
}

/* 「repair」なし。「before」「after」のみ */
.only_before_after .card_flex {
	justify-content: center;
}
.only_before_after .card {
	width: calc(100%/2.4 - 20px);
}
.only_before_after .card_before {
	margin-right: 30px;
}

/* 「before」「after」のみ。「after」が大きい */
.only_before_afterBig .card .img_wrap,
.only_before_afterBig .card img {
	height: 100%;
	object-fit: cover;
}
.only_before_afterBig .card_after {
	width: calc(100%/1.475 - 20px);
}
.only_before_afterBig .card:before {
	height: 100%;
	max-height: inherit;
}




/* 黄色背景 BOX */
.yellow_box {
	margin-top: 40px;
	padding: 20px;
	background-color: #f7f6f2;
}
.white_box .yellow_box h4 {
	font-size: 16px;
	line-height: 1;
	margin-bottom: 1em;
	color: #2c2c2c;
}
.yellow_box .img_flex {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
}
#service .yellow_box .img_flex img {
	width: 100%;
	max-width: inherit;
}
#service .yellow_box .img_card {
	width: calc(100%/4 - 20px/1.5);
}
#service .yellow_box .img_card p {
	font-size: 14px;
	font-size: min(1.4vw,14px);
	font-feature-settings: "palt";
	font-weight: 500;
	text-align: center;
	line-height: 1.5;
	margin-top: .75em;
}

/* お得box */
.white_box .yellow_box .head_bg_black {
	width: 100%;
	max-width: 800px;
	font-size: 16px;
	font-feature-settings: "palt";
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	margin: 0 auto 20px;
	padding: .4em .5em;
	color: #fff;
	background-color: #2c2c2c;
}
#service .otoku_img img {
	width: 100% !important;
	max-width: 800px !important;
}
.otoku_box {
	padding: 40px;
}
.note_wrap {
	max-width: 800px;
	margin: auto;
}
.note_wrap .note {
	line-height: 1.5;
}
.note_wrap .note + .note {
	margin-top: .5em;
}


/* ===== PRICE ===== */
#service .white_box .head_orange {
	display: flex;
	flex-wrap: wrap;
	font-size: 30px;
	font-size: clamp(25px,3vw,30px);
	margin-bottom: 50px;
	margin-bottom: min(5vw,50px);
}
#service .white_box h3.left_border {
	margin-bottom: 35px;
}

.left_border span:first-of-type,
.head_orange span:first-of-type {
	margin-right: .5em;
}
h3 .orange_tag {
	font-size: 18px;
	font-size: clamp(16px,1.8vw,18px);
	line-height: 1;
	display: inline-block;
	padding: .25em .25em .35em;
	color: #fff;
	background-color: #ff5d00;
}
.white_box h4 {
	font-size: 20px;
	margin-bottom: .35em;
}
.white_box h4 + p {
	margin-bottom: 1.5em;
}
.white_box .table_wrap + h4 {
	margin-top: 2em;
}

/* th内部、シロ文字クロ背景Box */
.table_tag {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	display: inline-block;
	margin-top: .5em;
	padding: .5em 1em;
	color: #fff;
	background-color: #2c2c2c;
}
/* 注釈 */
.note_flex {
	display: inline-flex;
	flex-wrap: nowrap;
}
.note_flex span {
	letter-spacing: .05em;
}





@media screen and (max-width:768px) {
	.white_box {
		padding: 40px 20px;
	}
	.white_box h4 {
		font-size: 18px;
	}
	.white_box h4 + p {
		line-height: 1.5;
	}
	.white_box > p {
		font-size: 16px;
	}
	.repair_list li {
		width: calc(100%/2 - 7px/2);
		min-height: inherit;
		font-size: min(4vw,16px);
		font-feature-settings: "palt";
		padding: 12px 10px;
	}
	.head_white {
		font-size: 18px;
		letter-spacing: .05em;
	}
	.left_border {
		flex-direction: row !important;
	}
	.left_border span {
		text-align: left;
		margin-right: 0 !important;
	}
	.left_border span.orange_tag {
		width: fit-content;
		display: block;
		text-align: center;
		margin-top: .25em;
	}
	.dl_orange {
		flex-wrap: wrap;
	}
	.dl_orange + .dl_orange {
		margin-top: 30px;
	}
	.dl_orange dt,
	.dl_orange dd {
		width: 100%;
		margin-right: 0;
	}
	.dl_orange dt {
		font-size: 16px;
		padding: .35em;
	}
	.dl_orange dd,
	.dl_orange dd small {
		font-size: 18px;
	}
	.dl_orange dd {
		letter-spacing: .05em;
		margin-top: .5em;
	}
	.dl_orange dd small {
		width: 100%;
		display: inline-block;
		text-align: center;
	}
	.card_flex {
		flex-wrap: wrap;
		margin-top: 30px;
	}
	.card {
		width: 100% !important;
		margin-right: 0 !important;
	}
	.note span {
		font-size: 14px;
	}
	.note_wrap .note + .note {
		margin-top: .75em;
	}
	/* オレンジの三角形 装飾 */
	.card_before:before,
	.card_repair:before  {
		content: none;
	}
	.card_before:after,
	.card_repair:after  {
		content: "";
		width: 100%;
		height:     25px;
		min-height: 25px;
		display: block;
		margin-top:    20px;
		margin-bottom: 20px;
		background-image: url(../../img/repair/orange_sankaku_bottom.svg);
		background-size:  contain;
		background-position: center;
		background-repeat: no-repeat;
	}
	.card li {
		letter-spacing: .1em;
	}
	.card p {
		font-size: 16px;
	}

	/* 「repair」なし。「before」「after」のみ */
	.only_before_after .card {
		width: 100%;
	}
	.only_before_afterBig .card .img_wrap,
	.only_before_afterBig .card img {
		height: auto;
		object-fit: inherit;
	}

	/* リサイクルボックス（黄色背景） */
	.yellow_box {
		padding: 20px;
		padding: clamp(20px,5.333vw,30px);
	}
	.yellow_box .img_flex {
		flex-wrap: wrap;
	}
	#service .yellow_box .img_card {
		width: calc(100%/2 - 10px/2);
	}
	#service .yellow_box .img_card:nth-of-type(n+3) {
		margin-top: 20px;
	}
	#service .yellow_box .img_card p {
		font-size: min(2.8vw,12px);
		font-feature-settings: "palt";
		letter-spacing: .05em;
	}
	.otoku_box {
		padding: 20px;	
	}
	.white_box .yellow_box .head_bg_black {
		text-align: left;
		padding: 10px 15px;
	}
	#service .white_box h3.left_border {
		margin-bottom: 30px;
	}

	/* table */
	.table_wrap table {
		min-width: 800px;
	}
	.table_wrap.add_width_half table {
		min-width: 500px;
	}
	.table_wrap.add_width_spfit table {
		min-width: 295px;
	}
}