/* fontsize：clamp(最小値rem, ▲中間値vw, 最大値rem)

▲中間値vwの出し方
1)pc時（＊default）:ベース横幅2000px
2)tab時（max991px）:ベース横幅991px
3)sp時 （max576px）:ベース横幅576px

*/


/* ==================
01.TOP
=====================*/
/*FV*/


.fv-wrapper {
    height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
    padding: 0 60px;
}

.fv-wrapper_img {
    flex: 3;
    height: auto ;
    min-height: 0 ;
}


.fv-wrapper_txt {
    flex: 1;
    height: auto ;
    min-height: 0 ;
    display: flex;
    align-items: center;
}

    @keyframes zoomUp {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
    }

    .swiper{
    height: 100%;
}


    .swiper-slide-active .swiper-img,
    .swiper-slide-duplicate-active .swiper-img,
    .swiper-slide-prev .swiper-img {
    animation: zoomUp 16s linear 0s normal both;
    }

    .swiper-slide img {
    height: auto;
    width: 100%;
    }

    .swiper-img{
        height: 100%;
    }

    .swiper-img img{
        height: 100%;
    }

    .pc_fv-img{
        display: block;

    }
    .sp_fv-img{
        display: none;
    }

    .swiper-pagination{
    text-align: start;
    padding-left: 24px;
    } 
    
.swi
    per-pagination-bullet{
        width: 28px;
        height: 2px;
    }
    
    .swiper-pagination-bullet {
    position: relative;
    width: 60px;
    height: 4px;
    border-radius: 0;
    background-color: #cfcfcf;
    opacity: 1;
    }

    .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    }

    .swiper-pagination-bullet-active::before {
    animation: paginationActive 6s linear forwards;
    }

    @keyframes paginationActive {
    100% {
        width: 100%;
        opacity: 1;
    }
    }


    .fv-wrapper_txt .main-txt{
        display: flex;
        justify-content: space-between;
    }

    .main-copy .main-copy__wrapper{
        display: flex;
        gap: clamp(1.6rem, 1.2vw, 2rem);
        padding: 1.2rem 0;
    }


    .main-copy .self{
        font-family: "Noto Serif", serif;
        font-size: clamp(2.8rem, 1.7vw, 3.6rem);
        border: 1px solid var(--text-color);
        padding: 8px 10px;
        display: inline-block;
        line-height: 1.4;
    }

    .particle{
        margin-left: 1.6rem;
    }

    .sp-only-txt{
        display: none;
    }

    .company-name{
        background-color: var(--text-color);
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1; 
        display: flex;
        align-items: center;
        padding: 72px 40px 72px 120px;
        clip-path: polygon(
            90px 0,
            100% 0,
            100% 100%,
            0 100%,
            0 100%
        );
    }

    .company-name h3{
        color: #fff;
        display: flex;
        align-items: center;
    }

    .company-name h3 span{
        font-size: clamp(1.8rem, 1.3vw, 2.8rem); 
    }

    .company-name .self{
        font-size: clamp(4.8rem, 2.9vw, 6rem);
        font-family: "Noto Serif", serif;
        margin-left: 32px;
        line-height: 1;
    }

@media (max-width: 1600px) {
.main-copy .main-copy__wrapper{
    flex-direction: column;
}
}


@media (min-width: 1200px) and (max-width:1400px) {
    .company-name{
        padding: 60px 30px 60px 80px;
    }
    .company-name .self {
        margin-left: 16px;
        font-size: 4rem;
    }
}




@media (max-width: 1200px) {
    .sp-only-txt{
        display: block;
    }
    .pc-only-txt{
        display: none;
    }
    .company-name{
    display: none;
}   
}

@media (max-width: 991px) {
    .fv-wrapper{
        padding: 0;
    }
    .fv-wrapper_txt{
        padding: 0 24px;
    } 
}


@media (max-width: 768px) {
.main-copy .self{
        font-size: clamp(2rem, 4.8vw, 2.6rem);
        padding: 8px;
    }
    .particle{
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .fv-wrapper_txt{
        padding: 0 16px;
        justify-content: center;
    }
    
    .main-copy_group .last-txt{
        display: inline-block;
        line-height: 1.4;
        margin-top: 1.6rem;
    }
    
    .fv-wrapper_img {
        flex: 3;
    }

    .fv-wrapper_txt {
        flex: 1.5;
    }
}


.news-list{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px;
    gap: 4rem;
}

.news-list ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: scroll;
    height: fit-content;
}

.news-list ul li a{
    margin: 4px 12px 4px 0;
    background-color: #f9f9f9;
    padding: 28px 40px ;
    display: block;
    transition: background-color 0.2s ease-in-out;
}

.news-list ul::-webkit-scrollbar{
    width: 9px;
}

.news-list ul::-webkit-scrollbar-thumb{
    background: #c8c8c8;
    border-radius: 30px;
}

.s-news .row{
    justify-content: end;
}

.s-news article{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.s-news article .news-contents{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 10;
}

.s-news article .news-contents .date{
    background-color: unset;
    padding: 0;
    display: inline-block;
}

.more-arrow{
    display: block;
    width: 24px;
    height: 18px;
    flex: 2;
}

.more-arrow img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.s-news article .info{
    display: flex;
    align-items: center;
}

.s-news article .info .date{
    color: #b3b3b3;
}

.s-news article .txt .ttl{
    font-size: var(--font-size-pc-base);
    font-weight: 600;
    line-height: 1.6;
}

.new-tag{
    margin-left: 1.2rem;
    color: var(--text-red);
}

.category-tag{
    margin-left: 2rem;
    background-color: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    font-size: var(--font-size-pc-small);
    border-radius: 20px;
}

.sec-ttl{
    position: relative;
    margin-top: 0.2rem;
    padding: 1.4rem 0;
    border-top: 1px solid #e4e4e4;
}

.sec-ttl::before{
    position: absolute;
    content: '';
    width: 2%;
    left: 0;
    top: -1px;
    border-top: 2px solid #ef8633;
}

.sec-ttl .txtanimation{
    font-size: clamp(7rem, 4vw, 9rem);
    font-family: "Afacad", sans-serif;
    line-height: 1;
    font-weight: 400;
}

.sec-ttl .ja{
    font-size: var(--font-size-pc-large);
    font-weight: 500;
}





/* hover*/
    @media (hover: hover) {
        .news-list ul li a:hover{
        background-color: #ececec;
    }
    }

@media (max-width: 991px) {
    .sec-ttl .txtanimation{
    font-size: clamp(6rem, 6.4vw, 7.2rem); 
}
}

@media (max-width: 768px) {
.sec-ttl::before{
    width: 8%;
}
.more-arrow{
    display:none ;
}
}

@media (max-width: 576px) {
    .s-news article .txt .ttl{
    font-size: var(--font-size-sp-base);
}

.news-list,.news-list ul li a{
    padding: 16px;
}

.s-news article .info{
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: start;
}

.new-tag,.category-tag{
    margin-left: 0;
}
}

.s-about .row{
    justify-content: space-between;
    align-items: center;
}

.s-about .__txt h4{
    font-size: clamp(2.4rem, 2.4217961654894045vw, 3.2rem); 
    color: var(--text-color);
    font-weight: 500;
}

.s-about .__txt p span{
    color: #fff;
    background-color: var(--accent-color);
    padding: 0.04rem 0.24rem;
    margin: 0 0.12rem;
}

.s-about .__txt .visit{
    background-color: #fff;
    box-shadow: 0px 0px 40px 0px rgba(137, 137, 137, 0.18);
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.s-about .__txt .visit h5{
    background-color: #b3b3b3;
    color: #fff;
    padding: 8px;
    font-size: var(--font-size-pc-base);
    border-radius: 12px 12px 0 0;
}

.s-about .__txt .visit p{
    text-align: center;
    padding: 24px;
    
}

@media (max-width:1199px) {
    .s-about .__txt h4{
    font-size: clamp(2.4rem, 7.5vw, 2.8rem); 
    }
}

.s-advantage{
    background-color: #162613;
}

.s-advantage .sec-ttl {
    border-top: none;
}

.s-advantage .sec-ttl::before {
    display: none;
}

.s-advantage .ttl-wrapper .row{
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.button-wrapper{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1.2rem;
}

.s-advantage .button-ani{
    background-color: #fff;
}

.s-advantage .button-ani::before, .s-advantage .button-ani::after{
    border-top: 24px solid var(--text-color);
    border-bottom: 24px solid var(--text-color);
}


.s-advantage .button-ani span{
    color: #0b0f0a;
}


.s-advantage .card{
    border: 1px solid #fff;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 8rem;
}

.s-advantage .card h4{
    font-size: clamp(5.2rem, 5.449041372351161vw, 6.0rem); 
    color: #fff;
    font-weight: 400;
    font-family: "Afacad", sans-serif;
}

.s-advantage .card img{
    width: 266px;
}

.s-advantage .card p{
    color: #fff;
    font-weight: 500;
    font-size: var(--font-size-pc-large);
    position: relative;
    margin-top: 20px;
}

.s-advantage .card p::before{
    position: absolute;
    content: "";
    width: 14%;
    height: 1px;
    background-color: #fff;
    top: -16px;
    left: 45%;
    transform: translate(0, -45%);
}

@media (max-width:1199px) {
.s-advantage .card{
    padding: 5.2rem;
    }

.s-advantage .card img{
    width: 220px;
    }
}

@media (max-width:991px) {
    .s-advantage .card{
    padding: 2.4rem;
}

.button-wrapper{
    justify-content: start;
    }

.s-advantage .card{
    gap: 1rem;
    }

.s-advantage .card h4{
    line-height: 1.2;
    }
}

@media (max-width:576px) {
.s-advantage .card img{
    width: 120px;
} 

.button-wrapper{
    display: flex;
    flex-direction: column;
    align-items: start;
    }

    
.s-advantage .card p::before{
    top: -10px;
}
}

.tagcolle-modal-arrow {
    color: unset;
    filter: drop-shadow(unset) !important;
}

.tagcolle-icon{
    width: 16px;
    height: 16px;
}

.tagcolle-btn-default{
    box-shadow: none !important;
    background-color: transparent !important;
    border-color: none !important;
    }





.s-link .sec-ttl{
    border-top: none;
}

.s-link .sec-ttl::before{
    display: none;
}

.s-link .link .__img{
    overflow: hidden;
}

.s-link .link .__img img{
    transition: transform 0.3s ease;
}

.s-link .link a .wrapper{
    padding: 3rem;
}

.s-link .row{
    justify-content: space-between;
}

.link {
    transition: background-color 0.3s ease;
}

.link .__txt{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link .sec-ttl .txtanimation::before{
    content: none;
}

.link .__txt .text{
    width: 76%;
}

.link .__txt p{
    margin-top: 2.4rem;
}

.link-arrow{
    transition: transform 0.3s ease;
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 50px;
}

.link-arrow .__icon{
    width: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* hover */
@media (hover: hover) {
.s-link .link a:hover .__img img{
    transform: scale(1.04);
}

.s-link .link a:hover .link-arrow{
    transform: translateX(8px);
}

.s-link .link:hover{
    background-color: #f0f0f0;
}
}

@media (max-width:991px) {
    .s-link .link a .wrapper{
        padding: 0;
    }

    .s-link .sec-ttl .txtanimation{
        font-size: clamp(5.2rem, 5.4vw, 5.8rem);
    }
}

@media (max-width:768px) {
    .s-link .col-md-6{
    width: 100%;
    }
}

@media (max-width:576px) {
    .link .__txt .text{
    width: 100%;
    }

    .link-arrow{
    margin-top: 3rem;
    }

    .link h2{
    font-size: clamp(5rem, 4.75rem + 1.25vw, 5.2rem);
    }

    .s-link .row{
    gap: 4rem;
}
}

.s-engage .banner{
    width: 80%;
    margin: 0 auto;
    transition: opacity 0.2s ease-in-out;
}

.s-engage .banner-sp{
display: none;
}

/* hover */
@media (hover: hover) {
.s-engage .banner:hover{
    opacity: 0.8;
    }
}

@media (max-width:991px) {
    .s-engage .banner{
    width:100%
    }
}

@media (max-width:768px) {
    .s-engage .banner{
        display: none;
    }

    .s-engage .banner-sp{
    display: block;
    }
}

/* ==================
02.p-business
=====================*/

.s-business{
    position: relative;
}

.ani-wrapper{
    position: absolute;
    top: -40px;
    right: -200px;
    z-index: -2;
}

.circle{
    position:relative;
    width: 48vw;
    height: auto;
    }

.circle-img{
    animation: spin 48s linear infinite; 
}

@keyframes spin{
0%   { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.p-business .s-business .contents .__img .row{
    justify-content: end;
}

.s-business .__txt h3{
    font-size: clamp(2.8rem, 1.5vw, 3.2rem); 
    font-weight: 500;
}

.s-business .__txt p{
    font-size: clamp(1.8rem, 0.95vw, 2rem);
    font-weight: 500;
    line-height: 2;
}

.s-advantage .sec-ttl,.s-advantage p{
    color: #fff;
    /* text-align: center; */
    justify-content: center;
}

.s-advantage .__wrapper{
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.s-advantage .__wrapper .__item{
    display: flex;
    align-items: center;
    gap: 6rem;
    background-color: rgba(36, 54, 31, 0.6);
    border-radius: 12px;
    padding: 36px 120px;
    width: 80%;
    margin: 0 auto;
}

.s-advantage .__img{
    width: 120px;
}

.s-advantage .__txt h4{
    color: #fff;
    font-family: "Afacad", sans-serif;
    font-size: clamp(2.4rem, 1.5vw, 3.2rem); 
    font-weight: 400;
}

.s-advantage .__txt .__ttl{
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.s-advantage .__txt .__ttl::after{
    position: absolute;
    width: 100%;
    content: "";
    height: 1px;
    background-color: #324e32;
    bottom: -10px;
    right: 0;
}

.s-advantage .__txt .__ttl p{
    font-size: clamp(2.2rem, 1.15vw, 2.4rem); 
    position: relative;
    font-weight: 500;
}

.s-advantage .__txt p{
    color: #fff;
    font-size: var(--font-size-pc-base); 
    font-weight: 400;
    text-align: start;
    
}

.list ul{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.list ul li{
    display: flex;
    align-items: start;
    background-color: rgba(192, 192, 192, 0.4);
    padding: 20px 40px;
}

.list ul li .ttl{
    flex: 2;
    font-weight: 600;
}

.list ul li p{
    flex: 6;
}

.s-achievement .row{
    justify-content: space-between;
}


@media (max-width:1199px) {
.s-advantage .__wrapper .__item{
    padding: 36px 80px;
    }

    .s-advantage .__wrapper .__item{
        width: 100%;
    }
}

@media (max-width:991px) {
    .s-advantage .__wrapper .__item{
    padding: 36px 40px;
    gap: 3rem;
    }

    .list ul li{
        display: block;
    }

    .list ul li .ttl{
    font-size: var(--font-size-sp-base);
    }

    .s-achievement .row{
        flex-wrap: wrap-reverse;
    }

    .ani-wrapper{
    right: -40px;
    top: 20px;
    }

    .circle{
    width: 72vw;
    }
}

@media (max-width:576px) {
    .s-advantage .__wrapper .__item{
    display: block;
    padding: 36px 24px;
    }

    .s-advantage .__img{
        margin: 0 auto;
    }

    .s-advantage .__txt{
        margin-top: 2.4rem;
    }

    .s-advantage .__txt .__ttl{
    gap: 1.2rem;
    }

    .circle{
    width: 100vw;
    }
}

/* ==================
03.p-steel_types
=====================*/
.p-steel_types .common-header img{
object-position: center 80%;
}

.p-steel_types .s-list .s-list_wrapper{
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0 60px;
    padding: 60px 0;
}

.p-steel_types .s-list .contents{
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.p-steel_types .s-list .item{
    display: flex;
    background-color: rgba(223, 223, 223, 0.4);
    padding: 2.4rem;
}

.p-steel_types .s-list .item .__ttl{
    flex: 4;
    font-size: clamp(2.2rem, 1.15vw, 2.4rem);
    font-weight: 500;
}

.p-steel_types .s-list .item .__type{
    flex: 7;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    row-gap: 1.2rem;
    column-gap: 4rem;
    justify-items: start;
}

.p-steel_types .s-list .item ul li{
    position: relative;
    font-size: var(--font-size-pc-base);
}

.p-steel_types .s-list .item ul li::before{
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 30px;
    background-color: #000;
    top: 5px;
    left: -16px;
}

.small-txt{
    font-size: var(--font-size-pc-base);
}

.list-attention p{
    color: var(--text-red);
    text-align: end;
}

.p-steel_types .s-contact .contents{
    background-image: url(/app/webroot/img/steel_types/contact-bg.jpg);
    background-position: 0 80%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0px 0px 40px 0px rgba(137, 137, 137, 0.18);
    text-align: center;
}

.p-steel_types .s-contact .contents h4{
    font-size: clamp(2rem, 1.1vw, 2.4rem);
    font-family: "Noto Serif", serif;
    font-weight: 600;
    background-color: #162613;
    padding: 24px 90px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    color: #fff;
}

.p-steel_types .s-contact .contents .txt-wrapper{
    padding: 60px 90px;
}

.p-steel_types .s-contact .contents p{
    text-align: center;
}

.p-steel_types .s-contact .contents .more-button{
    background-color: #fff;
}


@media (max-width:1470px) {
    .p-steel_types .s-list .item{
        display:block;
        padding: 40px 60px;
    }
    .p-steel_types .s-list .item .__type{
        padding-left: 20px;
        margin-top: 24px;
    }
}

@media (max-width:765px) {
    .p-steel_types .common-header img{
    object-position: 20% 0%;
    }
    .p-steel_types .s-list .item .__type{
        display: block;
    }
    .p-steel_types .s-list .item ul li{
        margin: 0.8rem 0;
    }
    .p-steel_types .s-list .item{
        padding: 24px;
    }
    .p-steel_types .s-list .s-list_wrapper{
        margin: 0 auto;
        padding: 30px 0;
    }
    .list-attention p{
        text-align: left;
    }
    .p-steel_types .s-contact .contents h4,.p-steel_types .s-contact .contents .txt-wrapper{
        padding: 24px;
    }
    
}

/* ==================
04.p-products_handled
=====================*/
.p-products_handled .common-header img{
    object-position: 80% 0%;
    }

.product-list-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.product-list-wrapper .__item{
    width: 48%;
    transition: opacity 0.3s ease !important;
    background-color: #fff;
}


.product-list-wrapper .__item .__contents{
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-list-wrapper .__item .__ttl p{
    font-size: var(--font-size-pc-large);
    font-weight: 500;
}

.product-list-wrapper .__item .__wrapper .__img{
    flex: 5;
    overflow: hidden;
    background-color: #e4e4e4;
}

.product-list-wrapper .__item .__wrapper .__txt{
    flex: 5;
}

.product-list-wrapper .__item .__wrapper .__img img{
transition: transform 0.3s ease;
aspect-ratio: 3 / 2;
object-fit: contain;
}


.product-list-wrapper .__item .__wrapper .__txt ul{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}

.product-list-wrapper .__item .__wrapper .__txt h4,
.product-list-wrapper .__item .__wrapper .__txt p,
.product-list-wrapper .__item .__wrapper .__txt span{
    font-size: 1.2rem;
    color: #757575;
}

.product-list-wrapper .__item .__wrapper .__txt h4{
font-weight: 600;
color: var(--primary-color);
}

.shape-list{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.shape-list span{
    color: #fff !important;
    font-weight: 400;
}

.product-list-wrapper  .__item .__wrapper .__txt span{
    background-color: #a0a0a0;
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
}

.product-list-wrapper  .__item .main-text p{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; 
}

.product-list-wrapper .__item .more-arrow_area{
width: 100%;
background-color: var(--primary-color);
display: block;
padding: 2rem;
display: flex;
justify-content: center;
}

.p-products_handled .more-arrow{
    height: unset;
    flex: unset;
    transition: transform 0.3s ease;
}


.p-products_handled .pagination-container ul{
    display: flex;
    margin-top: 6rem;
}

.p-products_handled .pagination-container ul li a{
    background-color: unset;
}

.p-products_handled .pagination .navi-active a{
color: var(--text-color);
font-weight: 600;
}

/* hover */
@media (hover: hover) {
.product-list-wrapper .__item  a:hover .__wrapper .__img img{
    transform: scale(1.04);
}

.product-list-wrapper .__item a:hover .more-arrow{
    transform: translateX(8px);
}

/* .product-list-wrapper .__item:hover{
    opacity: 0.8;
} */
}


@media (max-width:765px) {
.product-list-wrapper .__item{
    width: 100%;
}

.p-products_handled .more-arrow{
    display: block;
}
}



/* ==================
04.p-products_handled-detail
=====================*/

.p-products_handled-detail .product-list-wrapper .__item{
    width: 100%;
    padding: 60px;
}

.p-products_handled-detail .product-list-wrapper .__item:hover{
    opacity: unset;
}

.p-products_handled-detail .product-list-wrapper .__item .__contents{
    padding: 0;
}

.p-products_handled-detail .product-list-wrapper .__item .__contents .main-text p{
    display: block;
}

.p-products_handled-detail .product-list-wrapper .__item .__contents .__wrapper .__txt ul{
    margin-top: 0;
}

.p-products_handled-detail .__contents .__wrapper{
    display: flex;
    gap: 2.4rem;
}

/* swiper */
.p-products_handled-detail .slider-thumbnail .swiper-slide{
    opacity: .3;
    transition: opacity .5s;
    width: calc(100% / 3);
    }
.p-products_handled-detail .slider-thumbnail .swiper-slide.swiper-slide-thumb-active{
    opacity: 1;
    }

.p-products_handled-detail .product-list-wrapper .__item .__wrapper .__img{
    background-color: unset;
    height: 100%;
}

.p-products_handled-detail .swiper{
    max-width: 500px;
    width: 100%;
}
.p-products_handled-detail .slider-thumbnail{
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.p-products_handled-detail .swiper-slide{
cursor: pointer;
}

.p-products_handled-detail .swiper-slide img{
    height: auto;
    width: 100%;
}

.p-products_handled-detail .swiper-button-next, .swiper-button-prev{
    color: var(--accent-color);
}

.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 2.4rem;
    font-weight: 600;
}

.p-products_handled-detail .back-button{
    display: flex;
    justify-content: center;
}

.p-products_handled-detail .go-back{
width: fit-content;
}

@media (max-width:765px) {
    .p-products_handled-detail .__contents .__wrapper{
    flex-direction: column;
    gap: 1.6rem;
}  
.p-products_handled-detail .product-list-wrapper .__item{
    padding: 24px;
}
.p-products_handled-detail .go-back{
text-align: center;
}
}


/* ==================
05.p-company
=====================*/

.p-company .common-header img{
    object-position: 0% 30%;
}

.s-message .row{
    justify-content: space-between;
}

.s-message .__img img{
object-fit: contain;
aspect-ratio: 2 / 3;
}

.s-message .__img p{
    display: flex;
    flex-direction: column; 
    font-size: var(--font-size-pc-small);
    font-family: "Noto Serif", serif;
    font-weight: 500;
}

.p-company th{
    background-color: #ececec;
    padding: 3.2rem 4rem;
    width: 20%;
    font-weight: 400;
    font-size: var(--font-size-pc-base);
    border-bottom: none;
}

.p-company td{
    background-color: #ffffff;
    padding: 2rem 4rem;
    font-weight: 400;
    font-size: var(--font-size-pc-base);
}

.s-history_wrapper{
    background-color: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
}

.history-list .row{
    justify-content: end;
}

.history-list .row ul{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.history-list .row ul::before{
    position: absolute;
    content: "";
    height: 100%;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    left: -40px;
}

.history-list .row li{
    display: flex;
    gap: 2rem;
    position: relative;
}

.history-list .row li::before{
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 30px;
    background-color: var(--accent-color);
    top: 6px;
    left: -46px;
}

.history-list .row li h3{
    flex: 2;
    color: var(--accent-color);
    font-size: var(--font-size-pc-base);
}

.history-list .row li p{
    flex: 10;
}

.s-customers_wrapper{
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px 60px;
    margin-bottom: 20px;
}

.s-customers_wrapper .__inner .row{
    justify-content: space-between;
    align-items: baseline;
}

.s-customers_wrapper .__inner .__txt ul{
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.s-customers_wrapper .__inner .__txt ul li{
    border: 1px solid #ececec;
    padding: 2rem 4rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

.s-customers_wrapper .__inner h3{
    font-family: "Noto Serif", serif;
    font-size: var(--font-size-pc-large);
}

.s-customers_wrapper .__inner .__txt span{
    display: block;
    text-align: start;
    margin-top: 16px;
    font-size: var(--font-size-pc-small);
    color: #646464;
}

.s-social{
    background-image: url("/app/webroot/img/company/sdgs-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.s-social .row{
    justify-content: space-between;
}

.s-social p{
    color: #fff;
    font-weight: 400;
}

.s-social .sec-ttl .txtanimation,.s-social .sec-ttl p{
    color: #fff;
}

.s-social .sec-sub_ttl h2{
    color: #fff;
}

.s-social .button-ani{
    background-color: #fff;
}

.link-icon{
    width: 12px;
    height: 8px;
    margin-left: 20px;
}

.official-site{
    padding: 2.4rem 8rem;
    border-radius: 12px;
    border: 1px solid #ffffff;
}

.official-site p{
    font-size: var(--font-size-pc-small);
}

.official-site_link a{
    color: #fff;
    border-bottom: 1px dotted #ffffff;
    transition: opacity 0.3s ease;
    font-size: var(--font-size-pc-small);
    line-height: 1.8;
}

.official-site .link-icon{
    margin-left: 4px;
}

@media (hover: hover) {
    .official-site_link a:hover{
    opacity: 0.5;
    }
}

.map-area{
    width: 100%;
    height: 60vh;
}

.map-area iframe{
    width: 100%;
    height: 100%;
}

.howtogo .__txt{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background-color: rgba(192, 192, 192, 0.4);
    padding: 4rem;
}

.howtogo .icon{
    width: 52px;
    height: 52px;
}

.howtogo .__txt .list ul li{
    position: relative;
    padding: 0;
    padding-left: 40px;
    display: block;
    background-color: unset;
}

.howtogo .__txt .list ul li::before{
    position: absolute;
    content: "";
    width: 20px;
    height: 1px;
    background-color: var(--text-color);
    top: 10px;
    left: 0;
}

.howtogo .__txt .station p{
    display: flex;
    align-items: center;
}

@media (max-width:991px) {
    .history-list .row ul{
        margin-left: 9rem;
        width: 80%;
    }
}

@media (max-width:765px) {
    .p-company .common-header img{
    object-position: 64% 30%;
    }

    .p-company th{
    width: 30%;
    } 

    .p-company .time{
    display: block;
    font-size: var(--font-size-sp-small);
    }

    .history_wrapper {
        padding: 60px 10px;
    }
    
    .history-list .row li{
        display: block;
    }
    .s-customers_wrapper{
    padding: 32px 24px;
    }

    .official-site{
    padding: 2.4rem;
    }
        
    .howtogo .__txt{
    padding: 2.4rem;
    gap: 2.4rem;
    }

    .howtogo .__txt .station span{
        font-size: clamp(1.8rem, 2.6vw, 2.2rem);
    }
}

@media (max-width:576px) {
    .p-company th,.p-company td{
    width: 100%;
    display: block;
    padding: 2.4rem 2rem;
    font-size: var(--font-size-sp-base);
    } 

    .s-message .__img p{
    text-align: end;
    }

    .p-company .time{
    display: block;
    }

    .s-message .__img img{
    aspect-ratio: 3 / 2;
    background-color: #ebebeb;
    }

    .history-list .row ul{
        margin-left: 9rem;
        width: 72%;
    }

    .history-list .row ul{
        margin-left: 6rem;
    }

    .howtogo .__txt{
    display: flex;
        flex-direction: column;
    }
}


/* ==================
06.p-equipment
=====================*/
.p-equipment main{
    overflow-x: unset !important;
}
.p-equipment .sec-ttl .txtanimation{
    font-size: clamp(8rem, 5.5vw, 12rem);;
}

.column-nav{
    position: sticky;
    top: var(--header-height);
    height: fit-content;
    z-index: 10;
    text-align: center;
    height: 100vh;
    padding: 60px 20px 0;
}

.column-nav a.active {
    color: var(--accent-color);
}

.column-nav ul{
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.column-nav ul li{
position: relative;
}

.column-nav ul li a{
    transition: color 0.2s ease-in-out;
    font-family: "Noto Serif", serif;
    font-weight: 600;
}

.sub-menu {
    position: absolute;
    top: -20px;
    left: 180px; 
    width: 240px;
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.25s ease;
    z-index: 10;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
    gap: 0 !important;
}

.sub-menu a {
    padding: 20px;
    white-space: nowrap;
    position: relative;
    display: block;
}

.sub-menu a::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 80%;
    height: 1px;
    background-color: #b4b4b4;
}

.sub-menu li:last-child a::after {
    display: none;
}

.s-equipment_list .contents-wrapper{
    padding: 0 120px;
}

@media (hover: hover) {
.column-nav ul li a:hover{
    color: var(--accent-color);
}

.has-sub:hover .sub-menu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    }
}

.s-equipment_list .list li div{
    display: flex;
    flex: 3;
}

.s-equipment_list .list ul li{
    align-items: center;
}

.s-equipment_list .list ul li h3{
    flex: 8;
    font-size: var(--font-size-pc-base);
}

.s-equipment_list .list ul li p{
    flex: 4;
    text-align: start;
}

.s-equipment_list .ndt-engineer ul li{
    flex: 6;
}

.s-equipment_list .ndt-engineer ul li h3{
flex: 3;
}

.s-equipment_list .ndt-engineer ul li div{
flex: 7;
}

.s-equipment_list .ndt-engineer ul li .headcount{
text-align: end;
}

.sp-arrow{
    display: none;
}

@media (max-width:1199px) {
.sub-menu {
    left: 120px;
}
}


@media (max-width:991px) {
.s-equipment_list .list ul li p{
    text-align: start;
}

.s-equipment_list .list ul li{
    padding: 24px;
}

.s-equipment_list .list li div{
    display: block;
    margin-left: 40px;
}

.column-nav{
    height: auto;
}

.column-nav ul{
    display: flex;
}

@media (hover: hover) {
.has-sub:hover .sub-menu{
    opacity: 0;
    display: none;
    }
}

.column-nav ul{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.column-nav ul li a{
    display: inline-block;
    border: 1px solid var(--text-color);
    border-radius: 30px;
    padding: 8px 0;
    width: stretch;
    display: flex;
    justify-content: center;
}

.s-equipment_list .ndt-engineer ul li .headcount{
text-align: start;
}
.s-equipment_list .contents-wrapper{
    padding: 0 24px;
}

.sp-arrow{
    display: block;
    transform: rotate(90deg);
    position: absolute;
    right: 20px;
}
}

@media (max-width:768px) {
.p-equipment .sec-ttl .txtanimation{
    font-size: clamp(5.1rem, 10.4vw, 9rem);
}

.p-equipment .sec-sub_ttl h2{
    font-size: clamp(2.2rem, 1.3vw, 2.8rem);
}

.column-nav ul{
    display: flex;
    flex-direction: column;
}

.column-nav{
    padding:  24px;
}
}

/* ==================
07.p-news
=====================*/
.categorytag-wrapper ul{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.categorytag-wrapper li a{
    border: 1px solid var(--text-color);
    border-radius: 30px;
    padding: 8px 0;
    width: stretch;
    display: flex;
    justify-content: center;
    transition: color 0.3s ease-in-out;
}

.categorytag-wrapper li.is-current a {
    color: #fff;
    background:  var(--text-color);
}

.p-news .news-list ul{
    height: unset;
    width: 100%;
    overflow-y: unset;
}

.p-news .news-list{
    background-color: unset;
    gap: 6rem;
}

.p-news .contents{
    background-color: #fff;
}


@media (hover: hover) {
    .categorytag-wrapper li a:hover{
    background-color: var(--text-color);
    color: #fff;
}   
}


/* paging */
.p-news .paging-text,
.p-products_handled .paging-text{
    color:#333;
    display:inline;
    zoom:1;
    display:inline-block;
    overflow:hidden;
    text-decoration:none;
}

.p-news .paging-text a,
.p-products_handled .paging-text a{
    transition: 0.3s ease-in-out;
    padding: 20px; 
    display:block;
    font-size: var(--font-size-pc-base);
}

.p-news .paging .current,
.p-products_handled .paging .current{
    background: var(--text-color);
    color:#fff;
    display:inline;
    zoom:1;
    padding:20px;
    text-decoration:none;
    display:inline-block; 
    cursor:pointer;
}

@media (hover: hover) {
.p-news .paging-text a:hover,
.p-products_handled .paging-text a:hover {
    background: var(--text-color);
    color: #fff;
    text-decoration:none;
    cursor:pointer;
}
.p-news .prev a:hover,
.p-products_handled .prev a:hover {
    background: unset;
    opacity: 0.4;
}
}





@media (max-width:768px) {
.categorytag-wrapper ul{
    display: flex;
    flex-direction: column;
}
}

/* ==================
07.p-news-detail
=====================*/

.p-news-detail .s-news .news-list{
    align-items: start;
}

.p-news-detail .news-detail_contents .info{
    display: flex;
    align-items: center;
}


.news-detail_contents .__img-wrapper{
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.news-detail_contents .__img-wrapper .__img img{
    object-fit: contain;
}


.news-detail_contents .__txt{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.news-detail_contents .__txt .ezm-generativeai-html p{
    margin-bottom: 1.2rem;
}

.news-detail_contents .__file{
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.news-detail_contents .__file .item{
    transition: opacity 0.3s ease-in-out;
    background-color: #ddd;
    border-radius: 8px;
}

.news-detail_contents .__file .item a{
    display: block;
    padding: 16px;
}

@media (hover: hover) {
.news-detail_contents .__file .item:hover{
    opacity: 0.6;
}
}

.news-detail_contents .__file .file-icon{
    width: 24px;
    height: 24px;
    margin-right: 12px;
}


.p-news-detail .back-button{
    display: flex;
    justify-content: center;
}

.p-news-detail .go-back{
background-color: unset;
padding: 0;
width: unset;
}

.p-news-detail .go-back a{
width: fit-content;
    display: block;
    background: #757575;
    padding: 16px 30px;
    height: unset;
    width: unset;
    color: #fff;
    transition: opacity 0.2s ease-in-out;
}

@media (max-width:768px) {
.news-detail_contents .__img-wrapper{
    flex-direction: column;
}
.p-news-detail .s-news .news-list{
    padding: 24px;
}
}

@media (max-width :576px) {
.p-news-detail .news-detail_contents .info{
    flex-direction: column;
    align-items: start;
    gap: 0.8rem;
}
.news-detail_contents .__file{
    justify-content: center;
}
}

/* ==================
07.p-products_handled 
=====================*/
.p-products_handled .categorytag-wrapper li a {
border-radius: 0;
}

.p-products_handled .paging{
    width: fit-content;
    margin: 6rem auto 0;
}




/* ==================
08.p-contact
=====================*/
.number span{
    font-size: clamp(5.2rem, 2.7vw, 6rem);
    font-weight: 500;
    font-family: "Afacad", sans-serif;
}

.attention-txt{
    display: block;
    font-size: var(--font-size-pc-small);
}

.tel-fax{
    display: flex;
    gap: 6rem;
}

.tel-fax .time{
    font-size: var(--font-size-pc-small);
}

.tel-fax .small{
    font-size: var(--font-size-pc-base);
}

.tel-fax li{
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.4rem 4rem;
    width: 48%;
    background-color: rgba(255, 255, 255, 0.8);
}

.tel-fax li .ttl,.tel-fax li .number,.tel-fax li .time{
line-height: 1;
}

.tel-fax li .time{
    margin-top: 0.8rem;
}

.p-contact .sec-ttl .txtanimation{
    font-size: clamp(4rem, 2.3vw, 4.6rem);
}

.number span{
font-size: clamp(5.2rem, 2.7vw, 6rem);
}

.p-contact .sec-ttl .txtanimation::after{
    height: 8px;
}

.p-contact .sec-ttl{
    padding: 0;
}

.mail th,.mail td{
    width: 100% !important;
    font-weight: 600;
}

.mail .__wrapper{
    display: flex;
}

.mail .__wrapper .sub_sec-ttl{
    flex: 4;
}

.mail .__wrapper p{
    flex: 8;
}

.mail .__wrapper p .red{
    color: var(--text-red);
    font-weight: 600;
}

.required{
    color: var(--text-red);
    margin-left: 8px;
}

.input-item_wrapper{
    display: flex;
    gap: 2.4rem;
    font-weight: 400;
}

.ttl_policy{
    font-size: clamp(1.8rem, 1.762rem + 0.19vw, 2rem);
    font-weight: 600;
}

.lead_policy{
    position: relative;
    padding-bottom: 2rem;
    margin-right: 2rem;
}

.privacyBox{
    margin-right: 2rem;
}

.lead_policy::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    bottom: 0;
    right: 0;
    background-color: #e6e6e9;
}

.pp__wrapper{
    height: 40vh;
    overflow-y: scroll;
    
}

/* scrollbar */
.pp__wrapper::-webkit-scrollbar {
    width: 6px;
}

.pp__wrapper::-webkit-scrollbar-track {
    background: e6e6e9; 
}

.pp__wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 30px;
}

.p-contact tr{
    padding: 2rem 0;
}

.p-contact .p-region{
    padding: 2rem;
    width: 42%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: var(--bs-border-radius);
}

.pp-txt{
    line-height: 1.6 !important;
    margin-top: 2rem;
    font-size: var(--font-size-pc-small);
    color: #858585;
    font-weight: 400;
}

.pp-txt strong{
    font-size: var(--font-size-pc-base);
    color: var(--accent-color);
}

.information-address{
    border: 1px solid #ddd;
    padding: 1.6rem;
    border-radius: 4px;
    color: var(--text-color);
}

.agree-txt{
    margin-left: 8px;
}

.form-button{
    display: flex;
    width: fit-content;
}

button{
    border: none;
    background: none;
    display: inline-block;
}

.go-back{
    display: block;
    background: #757575;
    padding: 16px 30px;
    height: 48px;
    width: 160px;
    color: #fff;
    transition: opacity 0.2s ease-in-out;
}

.go-back .btn-arrow-icon{
    transform: rotate(180deg);
}

/* layout */
.button-set{
display: flex;
flex-direction: column;
align-items: center;
gap: 1.2rem;
}

.layout{
    display: flex;
    gap: 1.2rem;
}


@media (hover: hover) {
.go-back:hover{
    opacity: 0.7;
}
.go-back:hover .btn-arrow-icon{
    transform: rotate(180deg) translateX(4px);
}
}

@media (max-width:991px) {
    .mail .__wrapper{
    display: block;
    }
    .mail .__wrapper p{
        margin-top: 3rem;
    }
    td{
        margin-top: 0 !important;
    }
    .tel-fax {
        display: block;
    }
    .tel-fax li{
        margin-bottom: 3rem;
        width: 80%;
    }
    .p-contact .sec-ttl .txtanimation{
    font-size: clamp(2rem, 2.2vw, 2.4rem); 
    }
    .number span{
    font-size: clamp(3.6rem, 23.8vw, 4rem); 
    }
    .input-item_wrapper {
        display: block;
    }
    .input-item_wrapper .input-item{
        margin-top: 1.0rem;
    }
    .tel-fax .time{
    text-align: left;
    }
    .form-control,.p-contact .p-region{
        margin-top: 1.2rem;
    }
}

@media (max-width:576px) {
.pp-txt,.lead_policy{
    font-size: var(--font-size-sp-small) ;
}
.form-button{ /* PG設置用スタイル（不要となったら削除下さい） */
    flex-direction: column;
}
.tel-fax li{
    width: 100%;
    }
    .p-contact .p-region{
        width: 80%;
    }
    .layout{
    flex-direction: column;
}
}