/*
Theme Name: Theme Nozaki sekiyu
Theme URI: 
Author: Asteria
Author URI: Asteria
Description: 
Version: 1.0

/* =Reset
-------------------------------------------------------------- */

.header__logo > figure{
    position: relative;
}
.header__logo p{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    text-align: center;
    margin: 0;
    display: none;
}
@media only screen and (min-width: 48em) {
    .header__logo {
        padding: 5px 0 25px 50px;
    }
    .header__logo p{
        display: block;
    }
    .banner__inner figure{
        transform: translateX(30px);
    }
}

@media only screen and (min-width: 80em) {
    .banner__inner figure {
        transform: translateX(100px);
    }
    .banner__content {
        padding: 165px 5px 165px 80px;
    }
}

.banner__inner .fade-slider {
    position: relative; 
}
.banner__inner .fade-slider .slick-list,
.banner__inner .fade-slider .slick-track{
    height: 100%;
}
.banner__inner .fade-slider .slick-slide{
    position: relative;
    height: 100%;
}
/*.banner__inner .fade-slider .slick-slide img{
    
}*/
.banner__inner .fade-slider img{
    aspect-ratio: 4/3;
    object-fit: cover;
}
@media (min-width: 48em) {
    .banner__inner .fade-slider {
        width: 55%;
        order: 2; 
    } 
}
@media (min-width: 48em) {
    .banner__inner .fade-slider{
        transform: translateX(30px);
    }
    .banner__inner .fade-slider img {
        aspect-ratio: unset;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        border: 0; 
    } 
}
@media only screen and (min-width: 80em) {
    .banner__inner .fade-slider {
        transform: translateX(100px);
    }
}

.t-company__message{
    padding-block: 60px;
}
.t-company__message .container{
    position: relative;
}
@media screen and (max-width: 767px) {
    .t-company__message {
        margin: 0 7.2%;
        padding-bottom: 70px;
    }
}
.t-company__message__content {
    padding-top: 100px;
    position: relative;
    z-index: 2;
}
@media screen and (max-width: 767px) {
    .t-company__message__content {
        padding-top: 53px;
    }
}
.t-company__message__pict {
    width: 44.8%;
    max-width: 700px;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 37px;
    right: 0;
    z-index: 1;
}
@media screen and (max-width: 767px) {
    .t-company__message__pict {
        width: 100%;
        margin: 40px auto 0;
        border-radius: 5px;
        position: static;
    }
}
.t-company__message__lead {
    margin-top: 38px;
    margin-right: 20%;
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 0.16em;
}
.t-company__message__lead:after,
.t-company__message__lead:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
}
.t-company__message__lead:before {
    margin-top: calc((1 - 1.4) * 0.5em);
}
.t-company__message__lead:after {
    margin-bottom: calc((1 - 1.4) * 0.5em);
}
@media screen and (max-width: 767px) {
    .t-company__message__lead {
        margin-top: 35px;
        margin-right: 0;
        font-size: 20px;
        line-height: 2;
        letter-spacing: 0.1em;
    }
    .t-company__message__lead:after,
    .t-company__message__lead:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
    }
    .t-company__message__lead:before {
        margin-top: calc((1 - 2) * 0.5em);
    }
    .t-company__message__lead:after {
        margin-bottom: calc((1 - 2) * 0.5em);
    }
}
.t-company__message__txt {
    width: 47.5%;
    margin-top: 93px;
    font-size: 16px;
    line-height: 2.125;
    letter-spacing: 0.04em;
}
.t-company__message__txt:after,
.t-company__message__txt:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
}
.t-company__message__txt:before {
    margin-top: calc((1 - 2.125) * 0.5em);
}
.t-company__message__txt:after {
    margin-bottom: calc((1 - 2.125) * 0.5em);
}
@media screen and (max-width: 767px) {
    .t-company__message__txt {
        width: 100%;
        margin-top: 40px;
        font-size: 12px;
        line-height: 2.3333333333;
        letter-spacing: 0.02em;
    }
    .t-company__message__txt:after,
    .t-company__message__txt:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
    }
    .t-company__message__txt:before {
        margin-top: calc((1 - 2.3333333333) * 0.5em);
    }
    .t-company__message__txt:after {
        margin-bottom: calc((1 - 2.3333333333) * 0.5em);
    }
}
.t-company__message__name-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 86px;
}
@media screen and (max-width: 767px) {
    .t-company__message__name-wrapper {
        margin-top: 34px;
    }
}
.t-company__message__name-wrapper span {
    display: inline-block;
    line-height: 1;
}
.t-company__message__company-name {
    margin-right: 35px;
    font-size: 16px;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
    .t-company__message__company-name {
        margin-right: 11px;
        font-size: 10px;
    }
}
.t-company__message__name {
    margin-right: 22px;
    font-size: 24px;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
    .t-company__message__name {
        margin-right: 11px;
        font-size: 14px;
    }
}
.t-company__message__furigana {
    font-size: 14px;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #009A00;
}
@media screen and (max-width: 767px) {
    .t-company__message__furigana {
        font-size: 10px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
}


.slider--footer {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
@media only screen and (min-width: 80em) {
    .slider--footer {
        margin-bottom: -70px;
    }
}

.slider--footer .slider__inner {
    display: flex;
    width: 200%; 
    animation: scroll 50s linear infinite;
    align-items: center;
    gap: 0;
}

.slider--footer .slider__group {
    display: flex;
    gap: 0;
    flex: 0 0 50%;
    align-items: center;
}

.slider--footer .slide {
    /*flex: 0 0 auto;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
    width: 240px;
}
.slider--footer .slide img{
    width: 100%;
    object-fit: cover;
}

.slider--footer .slider:hover .slider__inner {
    animation-play-state: paused;
}

@keyframes scroll {
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); } /* dịch sang trái 50% (1 nhóm) */
}