.safety{
	font-family: "BIZ UDPGothic", sans-serif;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mainvisual{
	background-color: #e6f3ff;
	margin-bottom: 20px;
	background-image: url(/images/safety/safety-bg2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.mainvisual__contents {
	padding: 0 60px;
	height: 250px;
	display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
}
.mainvisual__contents h1{
	margin: 0;
}
.mainvisual__canvas{
	width: 100%;
	max-width: 480px;
	height: 100%;
	position: relative;
}
.mainvisual__canvas img{
	position: absolute;
	bottom: 0;
}
.safety_navi{
	justify-content: center;
}
.navi_item{
	width: 120px;
	padding: 20px 10px;
	text-align: center;
}
.navi_item a{
	text-decoration: none;
}
.safety_navi p{
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin: 0;
}
.navi_arrow {
	position: relative;
	display: inline-block;
	width: 21px;
  	height: 12.5px;
}
.navi_arrow::before,
.navi_arrow::after {
	content: "";
  	position: absolute;
	left: calc(50% - 1.5px);
	width: 4px;
	height: 16px;
	border-radius: 9999px;
	background-color: #ccc;
	transform-origin: 50% calc(100% - 1.5px);
}
.navi_arrow::before {
  	transform: rotate(45deg);
}
.navi_arrow::after {
  	transform: rotate(-45deg);
}
.safety_box{
	text-align: center;
	margin: 0 60px 80px;
}
.safety_box h2{
	font-size: 27px;
	margin-bottom: 10px;
}
.navi_img{
	width: 180px;
	margin: auto;
}
.safety_box p{
	line-height: 1.9;
	letter-spacing: 0.64px;
}
.companies-text{
	display: inline-block;
	font-size: 24px;
	letter-spacing: 0.84px;
	background: linear-gradient(to bottom, transparent 60%, #ffea7b 70%);
}
.companies-text span{
	font-size: 36px;
	color: #2455aa;
	position: relative;
	top: 1px;
	padding: 0 2px;
}
.companies-list{
	flex-wrap: wrap;
	align-items: center;
    justify-content: center;
	margin: auto;
	gap: 30px 50px;
}
.companies .companies-list .sp-logo01 {
	width: 50px;
  }
  @media (min-width: 768px) {
	.companies-list .sp-logo01 {
	  width: 66px;
	}
	.companies-list .sp-logo02 {
		width: 76px;
	}
	.companies-list .sp-logo03 {
		width: 200px;
	}
	.companies-list .sp-logo04 {
		width: 165px;
	}
	.companies-list .sp-logo05 {
		width: 118px;
	}
	.companies-list .sp-logo06 {
		width: 200px;
	}
	.companies-list .sp-logo07 {
		width: 165px;
	}
	.companies-list .sp-logo08 {
		width: 45px;
	}
  }
  .companies .companies-list .sp-logo02 {
	width: 50px;
  }
  
  .companies .companies-list .sp-logo03 {
	width: 130px;
  }
  
  .companies .companies-list .sp-logo04 {
	width: 125px;
  }
  
  .companies .companies-list .sp-logo05 {
	width: 100px;
  }
  
  .companies .companies-list .sp-logo06 {
	width: 140px;
  }
  
  .companies .companies-list .sp-logo07 {
	width: 125px;
  }
  @media (min-width: 768px) {
	.companies .companies-list .sp-logo07 {
	  width: 165px;
	}
  }
  .companies .companies-list .sp-logo08 {
	width: 35px;
  }
  @media (min-width: 768px) {
	.companies .companies-list .sp-logo08 {
	  width: 45px;
	}
  }
  
.s_block{
	max-width: 720px;
	margin: auto;
}
.p_box{
	background-color: #f4f4f4;
	padding: 20px 30px;
	border-radius: 10px;
	font-size: 14px;
}
.p_box h3{
	font-size: 18px;
	margin: 0 0 10px;
}
.p_text-wrap{
	align-items: center;
}
.p_mark {
	width: 90px;
	padding-right: 10px;
}
.p_text-wrap p{
	width: calc(100% - 90px);
	text-align: left;
}
.refuse_box{
	margin: auto;
	background-color: #fff7f2;
	padding: 20px 30px;
	border-radius: 10px;
}
.refuse_box h3{
	font-size: 18px;
	margin-top: 0;
	text-align: left;
}
.refuse_box h3:before{
	display: inline-block;
	content: "";
	background-image: url(/images/safety/refusal.png);
	background-size: cover;
    background-repeat: no-repeat;
	width: 50px;
	height: 50px;
	margin-right: 10px;
	vertical-align: middle;
}
.refuse_lists{
	text-align: left;
	list-style-type: disc;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.6;
}
.trouble_box{
	background-color: #e6f3ff;
	padding: 20px 30px;
	margin: auto;
    border-radius: 10px;
}
.trouble_box h3{
	margin-top: 10px;
}
.trouble_box h3:before{
	display: inline-block;
	content: "";
	background-image: url(/images/safety/trouble-img.png);
	background-size: cover;
    background-repeat: no-repeat;
	width: 40px;
	height: 40px;
	margin-right: 10px;
	position: relative;
	top: 4px;
}
.trouble_box .btn{
	display: inline-block;
	background-color: white;
	color: #333;
	font-weight: bold;
	width: 230px;
	padding: 10px;
	margin: 10px;
	border-radius: 50vh;
}
.faq{
	background-color: #f4f4f4;
	padding: 20px 0;
}
.accordion-item {
	letter-spacing: .84px;
	margin-bottom: 20px;
}
.accordion-title {
	cursor: pointer;
	font-size: 17px;
	padding: 20px 20px 20px 40px;
	margin: 0;
	position: relative;
	background-color: white;
	border-radius: 14px;
}
.accordion-content {
	display: block;
	padding: 15px 36px 10px;
	position: relative;
}
.accordion-content p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}
/*
.accordion-content p:before {
    display: inline-block;
    content: 'A';
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: 10px;
	left: 10px;
	color: #ff7069;
}*/

.accordion-title span:before {
    display: inline-block;
    content: 'Q';
    font-size: 23px;
    font-weight: bold;
    position: absolute;
    top: -5px;
	left: -12px;
	width: 46px;
	height: 46px;
	line-height: 42px;
	background-color: #2d4ca9;
	color: white;
	text-align: center;
	border-radius: 23px;
}
/*
.accordion-title::after {
	border-right: solid 2px #ccc;
	border-top: solid 2px #ccc;
	content: "";
	display: block;
	height: 8px;
	position: absolute;
	right: 25px;
	top: 38%;
	transform: rotate(-45deg);
	transition: transform .3s ease-in-out, top .3s ease-in-out;
	width: 8px;
}
.accordion-title.open::after {
	top: 45%;
	transform: rotate(135deg);
}
*/

/* 横線 */
/* 縦線(クリック後) */
.accordion-title::before {
	transform: rotate(180deg);
}
.accordion-title::after {
  background: #333; /* 線の色 */
  content: "";
  height: 2px; /* 線の太さ */
  position: absolute;
  right: 25px;
  top: 50%; /* 線の位置を縦中央に */
  transition: opacity .3s ease-in-out;
  width: 15px; /* 線の幅 */
}
.accordion-title.open::before {
	background: #333;
	content: "";
	height: 2px; /* 線の太さ */
	position: absolute;
	right: 25px;
	top: 50%;
	transform: rotate(90deg);
	transition: transform .3s ease-in-out;
	width: 15px;
}
.approval_box .deco{
	display: inline-block;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    background-color: rgb(255, 218, 27);
    padding: 4px 20px 4px 26px;
	margin-right: 80px;
    border-radius: 50vh;
    white-space: nowrap;
	position: relative;
}
.approval_box .deco:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg) skew(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgb(255, 218, 27);;
    border-bottom: 2px solid rgb(255, 218, 27);;
    background-color: rgb(255, 218, 27);;
    z-index: -1;
}
.approval_box a{
	display: block;
	margin: 18px auto;
	padding: 0 20px;
	width: 330px;
	height: 80px;
	line-height: 78px;
	border-radius: 20px;
	color: #ff8400;
	border: 2px solid;
    font-size: 20px;
    font-weight: bold;
	position: relative;
}
.approval_box a:before {
    content: "";
    display: inline-block;
    background-image: url(/images/safety/approval_img.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -57px;
    right: 10px;
    width: 82px;
    height: 60px;
}
.approval_box a:after {
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    font-size: 15px;
    font-weight: bold;
    position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}
.text-underline{
	text-decoration: underline;
}
@media only screen and (max-width: 767px) {
	.mainvisual__contents{
		padding: 40px 15px 0;
		height: 296px;
		flex-direction: column;
	}
	.safety_navi{
		flex-wrap: wrap;
	}
	.navi_arrow::before,.navi_arrow::after {
		left: calc(50% - 1.5px);
		width: 3px;
		height: 12px;
		border-radius: 9999px;
		background-color: #ccc;
		transform-origin: 50% calc(100% - 1.5px);
	}
	.navi_item{
		width: calc((100% / 3) - 20px);
	}
	.safety_navi p{
		margin-bottom: 6px;
	}
	.safety_box{
		margin: 0 20px 50px;
	}
	.safety_box p{
		text-align: left;
	}
	.p_box{
		padding: 30px 24px;
	}
	.p_text-wrap{
		flex-direction: column;
	}
	.p_text-wrap p{
		width: 100%;
		margin: 10px 0 0;
	}
	.refuse_box{
		padding: 20px;
	}
	.trouble_box h3{
		font-size: 20px;
	}
	.trouble_box p{
		text-align: center;
	}
	.faq{
		padding: 20px 18px;
	}
	.accordion-title {
		font-size: 15px;
		padding: 15px 30px;
	}
	.accordion-content{
		padding: 15px 10px 10px 20px;
	}
	.accordion-title span:before {
		width: 36px;
		height: 36px;
		line-height: 33px;
		font-size: 20px;
	}
	.accordion-title.open::before, .accordion-title::after{
		right: 15px;
	}
}
