:root {
    --color01: #f2f2f2;
}

.sp_hp1 article{
	margin-bottom: 80px;
}
.sp_hp1 article:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.sp_hp1 h2 img{
    width: 100%;
}

.sp_hp1 .title {
    margin: 40px 0 20px;
	font-size: 14px;
}
.sp_hp1 .title h3 {
    margin-bottom: 20px;
	font-size: 20px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #1F2D3D, #3A4B64);
	border-radius: 6px;
}
.sp_hp1 .title a{
	position: relative;
	padding-left: 20px;
    display: inline-block;
	color: var(--color01);
}
.sp_hp1 .title a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background-color: var(--color01);
	border-radius: 10px;
}
.sp_hp1 .title a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/sp/sp_hp/ico_new_open.webp);
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 5px;
}

.sp_hp1 .title p{
    padding-left: 20px;
}

.sp_hp1 h4{
	margin-bottom: 15px;
	font-size: 18px;
	padding: 10px 20px;
}
.sp_hp1 h4 span{
    border-left: 4px solid #ccc;
    padding-left: 20px;
    font-weight: bold;
}



.sp_hp1 .contents{
    font-size: 14px;
    margin-bottom: 20px;
    padding-left: 20px;
}
.sp_hp1 .contents .flexbox{
    display: flex;
    align-items: center;
}
.sp_hp1 .contents .flexbox .hp{
    flex-basis: 40%;
    margin-right: 20px;
}
.sp_hp1 .contents .flexbox .hp .image-box {
    position: relative;
    flex-shrink: 0;
}
.sp_hp1 .contents .flexbox .hp .image-box img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    /*box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;*/
    box-shadow:
    rgba(0, 0, 0, 0.45) 0px 25px 20px -20px,   /* 下向きの影（今までのやつ） */
    rgba(0, 0, 0, 0.15) 0px -5px 10px -8px;    /* 上向きの薄い影 */
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-box:hover .overlay {
    opacity: 1;
}
.image-box:hover .overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.sp_hp1 .contents .flexbox .hp .image-box .overlay a img{
	display: inline-block;
    width: 25px;
    margin-left: 8px;
}

.sp_hp1 .contents .flexbox .txt{
    flex-basis: 60%;
}
.sp_hp1 .contents .flexbox .txt h5{
    font-weight: bold;
    font-size: 16px;
}
.sp_hp1 .contents .flexbox .txt a{
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: underline;
    color:#333;
}
.sp_hp1 .contents .flexbox .txt a:hover{
    text-decoration: none;
}
.sp_hp1 .voice p{
    padding-left: 20px;
}


/* sp */
@media screen and (max-width: 768px) {

    .sp_hp1 article{
        padding: 0 10px;
        margin-bottom: 40px;
    }
    .sp_hp1 .title {
        margin: 10px 0 20px;
    }
    .sp_hp1 .title h3 {
        margin-bottom: 10px;
    }      
    .sp_hp1 .title p {
        padding-left: 10px;
    }
    .sp_hp1 h4 {
        margin-bottom: 10px;
        padding: 10px;
    }

    .sp_hp1 .contents {
        margin-bottom: 10px;
        padding-left: 10px;
    }
    
    .sp_hp1 .contents .flexbox {
        display: block;
    }
    .sp_hp1 .contents .flexbox .hp {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .sp_hp1 .voice p {
        padding-left: 10px;
    }


}