@charset "UTF-8";


@keyframes txtloop {
0% {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}

@keyframes txtloop2 {
0% {
transform: translateX(0);
}
to {
transform: translateX(-200%);
}
}


/*PC*/
@media print, screen and (min-width: 769px) {

#work_style{
position: relative;
margin: 0 auto 120px;
overflow: hidden;
}

#work_style .bg_img{
position: fixed;
width: 100%;
height: 100%;
top:0;
left: 0;
z-index: -1;
}

#work_style .bg_img img{
object-fit: cover;
height: 100vh;
}

#work_style .section_wrap{
width:80%;
margin:60px auto 120px;
position: relative;
}

#work_style .section_wrap .red_ttl{
font-size: 3rem;
font-weight: 700;
line-height: 1.6;
letter-spacing: .1rem;
color: #FFF;
margin: 0 0 40px;
text-align: center;
}

#work_style .section_wrap .red_ttl2{
font-size: 2.6rem;
font-weight: 700;
line-height: 1.6;
letter-spacing: .1rem;
color: #FFF;
margin: 0 0 40px;
text-align: center;
}


#work_style .section_wrap .txt{
font-size: 1.4rem;
font-weight: 500;
line-height: 2.2;
text-align: center;
margin: 0;
color: #FFF;
}

#work_style article{
overflow: hidden;
position: relative;
margin:0;
}

#work_style .loop_wrap {
display: flex;
width: 100%;
overflow: hidden;
margin: 0 auto 0;
}

#work_style .loop_wrap div {
flex: 0 0 auto;
white-space: nowrap;
font-size:7rem;
font-weight:500;
line-height:1;
overflow: hidden;
color:#FFF;
letter-spacing: 4rem;
opacity: .6;
}

#work_style .loop_wrap div:nth-child(odd) {
animation: txtloop 70s -35s linear infinite;
}
#work_style .loop_wrap div:nth-child(even) {
animation: txtloop2 70s linear infinite;
}

#work_style .slider2{
margin:-12px 0 60px;
}

#work_style .list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 60px auto 0;
}

#work_style .list li{
width: 32%;
background: #FFF;
padding:20px;
box-sizing: border-box;
border-radius: 1rem;
}

#work_style .list li h4{
font-size: 1.6rem;
font-style: italic;
letter-spacing: -.1rem;
color: #443E6E;
line-height: 1;
margin: 0 0 30px;
position: relative;
}

#work_style .list li h4::before{
content:"";
position: absolute;
bottom: -10px;
left: 0;
width: 30%;
height: 1px;
background:-webkit-linear-gradient(0deg, #6F59C5, #261551);
}

#work_style .list li h4 span{
font-size: 1.1rem;
margin-bottom: 15px;
background: #443E6E;
display: table;
padding: 5px 15px;
border-radius:50rem;
letter-spacing: 0;
color: #FFF;
box-sizing: border-box;
}

#work_style .list li .img{
width: 96%;
margin: 0 auto 20px;
}

#work_style .list li .img img{
border-radius: .6rem;
}

}






/*sp*/
@media only screen and (max-width: 768px) {

#work_style{
position: relative;
margin: 0 auto 80px;
overflow: hidden;
}

#work_style .bg_img{
position: fixed;
width: 100%;
height: 100%;
top:0;
left: 0;
z-index: -1;
}
#work_style .bg_img img{
object-fit: cover;
height: 100vh;
}

#work_style .section_wrap{
width:90%;
margin:20px auto 40px;
position: relative;
}

#work_style .section_wrap .red_ttl{
font-size: 2rem;
font-weight: 700;
line-height: 1.6;
letter-spacing: .1rem;
color: #FFF;
margin: 0 0 30px;
text-align: center;
}

#work_style .section_wrap .red_ttl2{
font-size: 1.8rem;
font-weight: 700;
line-height: 1.6;
letter-spacing: .1rem;
color: #FFF;
margin: 0 0 30px;
text-align: center;
}


#work_style .section_wrap .txt{
font-size: 1.1rem;
font-weight: 500;
line-height: 2.2;
text-align: center;
margin: 0;
color: #FFF;
}

#work_style article{
overflow: hidden;
position: relative;
margin:0;
}

#work_style .loop_wrap {
display: flex;
width: 100%;
overflow: hidden;
margin: 0 auto 0;
}

#work_style .loop_wrap div {
flex: 0 0 auto;
white-space: nowrap;
font-size:6rem;
font-weight:500;
line-height:1;
overflow: hidden;
color:#FFF;
letter-spacing: 1.2rem;
opacity: .6;
}

#work_style .loop_wrap div:nth-child(odd) {
animation: txtloop 70s -35s linear infinite;
}
#work_style .loop_wrap div:nth-child(even) {
animation: txtloop2 70s linear infinite;
}

#work_style .slider2{
margin:-5px 0 60px;
}

#work_style .list{
margin: 50px auto 0;
}

#work_style .list li{
background: #FFF;
padding:20px;
box-sizing: border-box;
border-radius: 1rem;
margin-top: 30px;
}

#work_style .list li h4{
font-size: 1.2rem;
font-style: italic;
letter-spacing: -.1rem;
color: #443E6E;
line-height: 1;
margin: 0 0 30px;
position: relative;
}

#work_style .list li h4::before{
content:"";
position: absolute;
bottom: -10px;
left: 0;
width: 30%;
height: 1px;
background:-webkit-linear-gradient(0deg, #6F59C5, #261551);
}

#work_style .list li h4 span{
font-size: 0.9rem;
margin-bottom: 15px;
background: #443E6E;
display: table;
padding: 5px 15px;
border-radius:50rem;
letter-spacing: 0;
color: #FFF;
box-sizing: border-box;
}

#work_style .list li .img{
width: 96%;
margin: 0 auto 20px;
}

#work_style .list li .img img{
border-radius: .6rem;
}


}