@charset "utf-8";

.pc_hoyo_fv {
	margin-bottom: 8px;
	background-image: url(../images/bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding: 15px 0;
}

.pc_hoyo_fv strong {
	display: block;
	text-align: center;
	font-weight: 900;
	margin-bottom: 8px;
	padding: 0 10px;
}

.pc_hoyo_fv ul {
	justify-content: center;
	padding-top: 50px;
}

.pc_hoyo_fv ul li {
	position: relative;
	writing-mode: vertical-rl;
	text-orientation: upright;
	white-space: nowrap;
	min-width: 45px;
	display: flex;
	align-items: center;
	margin-right: 1%;
}

.pc_hoyo_fv ul li:last-of-type {
	margin-right: 0;
}

.pc_hoyo_fv ul li p {
	writing-mode: horizontal-tb;
	font-size: 14px;
	width: 45px;
	height: 45px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	background-color: #db0808;
	border-radius: 3px;
	position: absolute;
	top: -50px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
}

.pc_hoyo_fv ul li p:before {
	content: "";
	width: 100%;
	border-bottom: 2px solid #db0808;
	position: absolute;
	top: 50%;
	left: -45px;
	transform: translateY(-50%);
}

.pc_hoyo_fv ul li p:after {
	content: "";
	width: 100%;
	border-bottom: 2px solid #db0808;
	position: absolute;
	top: 50%;
	right: -45px;
	transform: translateY(-50%);
}

.pc_hoyo_fv ul li:first-of-type p:before,
.pc_hoyo_fv ul li:nth-of-type(2) p:before {
	content: none;
}

.pc_hoyo_fv ul li:nth-last-of-type(3) p:after {
	border-bottom: 2px dashed #db0808;
}

.pc_hoyo_fv ul li:first-of-type p {
	line-height: 1.2;
	font-weight: 900;
}

.pc_hoyo_fv ul li:first-of-type span {
	padding: 8px 2px;
	background-color: #db0808;
	border: 1px solid #db0808;
	color: #fff;
	font-weight: 900;
}

.pc_hoyo_fv ul li p span {
	font-size: 18px;
	font-weight: 900;
}

.pc_hoyo_fv ul li a {
	background-color: #fff;
	padding: 8px 2px;
	height: 100%;
	border: 1px solid #db0808;
	color: #db0808;
	font-weight: 900;
}

.pc_hoyo_fv ul li a:hover {
	color: #fff;
	background-color: #db0808;
}

.service_summary table {
	width: 100%;
	background-color: #fae8e8;
	border-radius: 3px;
}

.service_summary table th {
	width: 100%;
	color: #fff;
	background-color: #f15c5c;
	font-weight: 900;
	padding: 5px;
	text-align: center;
	border-radius: 3px 3px 0 0;
}

.service_summary table td {
	width: 100%;
	padding: 10px;
}

.hoyo_list {
	background-color: #f0e9f4;
	padding: 10px;
	border-radius: 3px;
}

.hoyo_list p {
	color: #5d456c;
	font-weight: 900;
	text-align: center;
}

.hoyo_list ul li:after {
	content: "｜";
	padding: 0 5px;
	color: #5d456c;
}

.hoyo_list ul li:last-of-type:after {
	content: none;
}

.cv_mini p a {
	border-radius: 3px;
	text-align: center;
	display: block;
	padding: 10px 0;
	background-color: #ff8300;
	color: #fff;
	position: relative;
	box-shadow: 0 4px 0 #d87000;
	font-weight: 900;
}

.cv_mini p a:hover {
	top: 4px;
	box-shadow: none;
}

@media only screen and (max-width: 768px){

.sp_hoyo_fv {
	margin-bottom: 8px;
	padding: 10px;
	background-image: url(../images/bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.sp_hoyo_fv strong {
	font-weight: 900;
	text-align: center;
	display: block;
}

.sp_hoyo_fv ul {
	margin-top: 8px;
}

.sp_hoyo_fv ul li {
	width: calc(98% / 2);
	margin-right: 2%;
	margin-top: 2%;
}

.sp_hoyo_fv ul li:nth-of-type(2n) {
	margin-right: 0;
}

.sp_hoyo_fv ul li:nth-of-type(-n + 2) {
	margin-top: 0;
}

.sp_hoyo_fv ul li a {
	color: #db0808;
	border: 1px solid #db0808;
	border-radius: 3px;
	background-color: #fff;
	display: block;
	font-weight: 900;
	text-align: center;
	padding: 8px 0;
}

.service_summary table th,
.service_summary table td {
	width: 100%;
}

.cv_mini p {
	width: calc(98% / 2);
	margin-right: 2%;
}

.cv_mini p:first-of-type a {
	background-color: #00b677;
	box-shadow: 0 4px 0 #009b65;
}

.cv_mini p:last-of-type {
	margin-right: 0;
}

.cv_mini p img {
	width: 40px;
	margin: 0 auto 5px;
}

}