@charset "utf-8";
/* CSS Document */


/* sm mechanic_introduction */
#mechanic_introduction{
margin-top: -50px;/*マイナスマージンで調整*/
padding: 50px 0;
border-radius: 0 0 0 50px;
}

#mechanic_introduction h3,
#mechanic_introduction h4{
margin-bottom: 15px;
font-size: 2.0rem;
line-height: 1.4;
}

#mechanic_introduction .mechanic_photo{
margin-bottom: 15px;
text-align: center;
}

#mechanic_introduction .mechanic_photo img{
border-radius: 20px 20px 0 0;
}

#mechanic_introduction h4 span{
background:linear-gradient(transparent 80%, rgba(255,255,255,1.0) 80%);
padding-bottom: 10px;
}

#mechanic_introduction .mechanic_introduction-text{
overflow-wrap: break-word; 
}


/* md mechanic_introduction */
@media screen and (min-width:768px) {
#mechanic_introduction h3,
#mechanic_introduction h4{
text-align: center;
}

#mechanic_introduction .mechanic_photo img{
width: 60%;
}
}


/* lg mechanic_introduction */
@media screen and (min-width:1024px) {
#mechanic_introduction{
margin-top: -100px;/*マイナスマージンで調整*/
padding: 100px 0;
border-radius: 0 0 0 200px;
}

#mechanic_introduction h3,
#mechanic_introduction h4{
margin-bottom: 30px;
font-size: 3.0rem;
}

#mechanic_introduction .mechanic_photo{
margin-bottom: 30px;
}

#mechanic_introduction .mechanic_photo img{
border-radius: 40px 40px 0 0;
}
}


/* sm mechanic_conclusion */
#mechanic_conclusion{
padding: 50px 0;
border-radius: 0 50px 0 0;
}

#mechanic_conclusion h3{
margin-bottom: 15px;
font-size: 2.0rem;
line-height: 1.4;
}

#mechanic_conclusion p{
margin-bottom: 15px;
overflow-wrap: break-word; 
}

#mechanic_conclusion .text-emphasis{
margin-bottom: 30px;
font-weight: bold;
}

#mechanic_conclusion-interview-none{
margin-top: -30px;
}

#mechanic_conclusion-interview{
margin: 0 auto;
}

#mechanic_conclusion-interview .interview_img{
width: 280px; /* 正方形の横幅 */
height: 280px;/* 正方形の高さ */
margin: 0 auto 10px;
}

#mechanic_conclusion-interview .interview_img img{
width: 100%;  /* 表示したい範囲(100%) */
height: 100%; /* 表示したい範囲(100%) */
object-fit: cover; /* 画像をトリミング */
border-radius: 0 0 0 20px;
}

#mechanic_conclusion-interview h4{
position: relative;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0,63,146,1.0);
font-size: 1.8rem;
line-height: 1.4;
}

#mechanic_conclusion-interview h4:after{
content: "";
display: inline-block;
position: absolute;
bottom: 0;
right: 0;
width: 50px;
height: 15px;
background: url(../img/line_blue.svg)center center/cover no-repeat;
}

#mechanic_conclusion-interview h4:link,
#mechanic_conclusion-interview h4:visited{
color: rgba(0,63,146,1.0);
}

#mechanic_conclusion-interview .interview_text p{
margin-bottom: 0;
font-weight: bold;
}

#mechanic_conclusion-interview .interview_text .interview_year{
margin-right: 10px;
}

#mechanic_conclusion-interview .interview_text .interview_year:before{
content: "";
display: inline-block;
margin: 0 5px 0 0;
width: 15px;
height: 15px;
border-radius: 100%;
background: rgba(255,240,30,1.0);
}

#mechanic_conclusion-interview a:link,
#mechanic_conclusion-interview a:visited{
color:rgba(60,60,60,1.0);
}


/* md mechanic_conclusion */
@media screen and (min-width:768px) {
#mechanic_conclusion-interview{
width: 280px;
}
}


/* lg mechanic_conclusion */
@media screen and (min-width:1024px) {
#mechanic_conclusion{
padding: 100px 0;
border-radius: 0 200px 0 0;
}

#mechanic_conclusion h3{
margin-bottom: 30px;
font-size: 3.0rem;
text-align: center;
}

#mechanic_conclusion p{
margin-bottom: 30px;
}

#mechanic_conclusion .text-emphasis{
margin-bottom: 50px;
}

#mechanic_conclusion-interview-none{
margin-top: -50px;
}

#mechanic_conclusion-interview{
width: 400px;
}

#mechanic_conclusion-interview .interview_img{
width: 250px; /* 正方形の横幅 */
height: 250px;/* 正方形の高さ */
overflow: hidden;
border-radius: 0 0 0 40px;
}

#mechanic_conclusion-interview .interview_img img{
transition: 0.5s;
}

#mechanic_conclusion-interview a:hover img{
transform: scale(1.15);
}

#mechanic_conclusion-interview h4{
padding-bottom: 15px;
font-size: 2.0rem;
}

#mechanic_conclusion-interview .interview_text p{
font-size: 1.8rem;
}
}


/* sm list_mechanicflow */
#list_mechanicflow{
padding: 50px 0;
text-align: center;
}

#list_mechanicflow h4{
margin-bottom: 15px;
text-align: left;
font-size: 1.8rem;
line-height: 1.4;
}

#list_mechanicflow ul{
margin: 0 auto;
}

#list_mechanicflow ul li{
position: relative;
text-align: left;
}

#list_mechanicflow ul li:not(:last-child){
margin-bottom: 60px;
}

#list_mechanicflow ul li:not(:last-child):before{
content: "";
display: inline-block;
position: absolute;
bottom: -45px;
left: 50%;
transform: translateX(-50%);
width: 28px;
height: 38px;
background: url("../img/icon_arrow.svg")center center/cover no-repeat;
}

#list_mechanicflow .photo_none-left{
text-align: center;
}

#list_mechanicflow .photo_none-left .mechanicflow_text{
text-align: left;
}

#list_mechanicflow .mechanicflow_photo{
position: relative;
margin-bottom: 10px;
}

#list_mechanicflow .mechanicflow_photo img{
width: 80%;
border-radius: 0 20px 0 0;
}

#list_mechanicflow ul .photo-left img{
margin-left: 5%;
margin-right: 15%;
}

#list_mechanicflow ul .photo-right img{
margin-right: 5%;
margin-left: 15%;
}

#list_mechanicflow h5{
font-size: 1.8rem;
background-color: rgba(0,63,146,1.0);
line-height: 1.4;
}

#list_mechanicflow .photo_none-left h5{
display: inline-block;
margin-bottom: 10px;
padding: 5px 15px 3px 15px;
border-radius: 10px 10px 0 0;
}

#list_mechanicflow .photo-right h5,
#list_mechanicflow .photo-left h5{
display: inline-block;
position: absolute;
bottom: 10px;
}

#list_mechanicflow .photo-left h5{
left: 0;
padding: 5px 15px 3px 10px;
border-radius: 0 20px 20px 0;
}

#list_mechanicflow .photo-right h5{
right: 0;
padding: 5px 10px 3px 15px;
border-radius: 20px 0 0 20px;
}

#list_mechanicflow .mechanicflow_text{
overflow-wrap: break-word; 
line-height: 1.4;
}


/* md list_mechanicflow */
@media screen and (min-width:768px) {
#list_mechanicflow h4{
text-align: center;
}

#list_mechanicflow ul{
width: 70%;
}

#list_mechanicflow ul .photo-left .mechanicflow_text{
margin-right: 15%;
}

#list_mechanicflow ul .photo-right .mechanicflow_text{
margin-left: 15%;
}

#list_mechanicflow .photo_none-left .mechanicflow_text{
text-align: center;
}

#list_mechanicflow .photo_none-left .mechanicflow_text span{
display: inline-block;
text-align: left;
}
}


/* lg list_mechanicflow */
@media screen and (min-width:1024px) {
#list_mechanicflow{
padding: 100px 0;
}

#list_mechanicflow h3{
font-size: 3.0rem;
}

#list_mechanicflow h4{
margin-bottom: 30px;
font-size: 2.0rem;
}

#list_mechanicflow ul li:not(:last-child){
margin-bottom: 120px;
}

#list_mechanicflow ul li:not(:last-child):before{
bottom: -90px;
width: 56px;
height: 75px;
}

#list_mechanicflow .mechanicflow_photo{
margin-bottom: 20px;
}

#list_mechanicflow .mechanicflow_photo img{
width: 60%;
border-radius: 0 20px 0 0;
}

#list_mechanicflow ul .photo-left img{
margin-left: 5%;
margin-right: 35%;
}

#list_mechanicflow ul .photo-right img{
margin-right: 5%;
margin-left: 35%;
}

#list_mechanicflow h5{
font-size: 2.0rem;
}

#list_mechanicflow .photo_none-left h5{
margin-bottom: 15px;
padding: 10px 20px 8px 20px;
border-radius: 15px 15px 0 0;
}

#list_mechanicflow .photo-right h5,
#list_mechanicflow .photo-left h5{
bottom: 20px;
}

#list_mechanicflow .photo-left h5{
padding: 10px 20px 8px 15px;
border-radius: 0 30px 30px 0;
}

#list_mechanicflow .photo-right h5{
padding: 10px 15px 8px 20px;
border-radius: 30px 0 0 30px;
}

#list_mechanicflow ul .photo-left .mechanicflow_text{
margin-right: 35%;
}

#list_mechanicflow ul .photo-right .mechanicflow_text{
margin-left: 35%;
}
}