@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: 768px) {
article{
overflow: hidden;
margin: 0 0 40px;
}
.loop_wrap {
display: flex;
width: 100%;
overflow: hidden;
margin: 0 auto 0;
}

.loop_wrap div {
flex: 0 0 auto;
white-space: nowrap;
font-size: 10rem;
font-weight:200;
line-height:1;
overflow: hidden;
color:rgba(244,144,27,.2);
}

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

.loop_wrap div:nth-child(even) {
animation: txtloop2 70s linear infinite;
}

#message{
margin:0 auto 220px;
}

#message .section_wrap{
width: 98%;
margin: auto;
}

#message .para-wrap {
max-width:100%;
margin: 0 auto 60px;
}

/* 土台：高さを安定させたいなら aspect-ratio を残す */
#message .para-zoom {
position: relative;
overflow: hidden;
border-radius: 4rem;
display: grid;
place-items: center;
}

#message .para-zoom > img {
width: 100%;
height: 100%;
object-fit: cover;
transform-origin: center center;
transform: translateZ(0) scale(0.7) translateY(0px); /* 初期値（JSで上書き） */
will-change: transform;
border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
#message .para-zoom > img { transform: none !important; }
}

#message .section_wrap .block{
width: 960px;
margin:0 auto;
}

#message .section_wrap .block h2{
font-size: 2.6rem;
line-height: 1.4;
margin: 0 0 60px;
text-align: center;
}

#message .section_wrap .block .txt{
font-size: 1.2rem;
;line-height: 2;
font-weight: bold;
margin: 0 0 80px;
}

#message .section_wrap .block .name{
text-align: right;
margin-bottom: 80px;

}

#message .section_wrap .block .name span{
font-size: 1.6rem;
line-height: 1.4;
margin-left: 10px;
}

#message .section_wrap .slider3{
margin: 0 auto 120px;
}

#message .section_wrap .slick-list{
overflow:inherit;
}

#message .section_wrap .slick-slide{
margin: 0 10px;
position: relative;
}


}
/*sp*/
@media only screen and (max-width: 767px) {
article{
overflow: hidden;
margin: 0 0 40px;
}
.loop_wrap {
display: flex;
width: 100%;
overflow: hidden;
margin: 0 auto 0;
}

.loop_wrap div {
flex: 0 0 auto;
white-space: nowrap;
font-size: 6rem;
font-weight:200;
line-height:1;
overflow: hidden;
color:rgba(244,144,27,.2);
}

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

.loop_wrap div:nth-child(even) {
animation: txtloop2 70s linear infinite;
}

#message{
margin:0 auto 60px;
}

#message .section_wrap{
width: 100%;
margin: auto;
}

#message .hed_img{
position: relative;
z-index: 10;
width: calc(100% - 6.25rem);
height: 36rem;
margin-top: 4rem;
margin-inline: auto;
overflow: hidden;
border-radius: 3rem;
}


#message .section_wrap .block{
width: 90%;
margin:0 auto;
}

#message .section_wrap .block h2{
font-size: 1.4rem;
line-height: 1.4;
margin: 0 0 30px;
text-align: center;
}

#message .section_wrap .block .txt{
font-size: 1rem;
;line-height: 2;
font-weight: bold;
margin: 0 0 40px;
}

#message .section_wrap .block .name{
text-align: right;
margin-bottom: 40px;

}

#message .section_wrap .block .name span{
font-size: 1.2rem;
line-height: 1.4;
margin-left: 10px;
}

#message .section_wrap .slider3{
margin: 0 auto 60px;
}

#message .section_wrap .slick-list{
overflow:inherit;
}

#message .section_wrap .slick-slide{
margin: 0 5px;
position: relative;
}
}