/*PC版*/

/*ページトップ*/

body{
    overflow-x: hidden;
}

main{
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.6rem;
    overflow-x: hidden;
}

.works-top{
    margin-top: 2rem;
    position: relative;
    height: 39.5rem;
}

.works-top-banner{
    display: block;
    position: absolute;
    right: 0;
    width: 114rem;
    height:39.5rem;
}

.works-top-banner-sp{
    display: none;
}

.page-title{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #4EC663;
    position: absolute;
    left: 19.5rem;
    top: 6.5rem;
    writing-mode: vertical-rl;
    letter-spacing: 1rem;
}

.pg-sec-title{
    margin-left: 3rem;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 2rem;

}

.sec-title{
    font-size: 3.3rem; 
    font-weight: 500;
}

.sub-text{
    font-size: 1.5rem;
    height: 1rem;
}

.sub-text::before{
    content:"";
    display: inline-block;
    background: url("../img/page-works/circle.svg") 100% 100% / cover;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align:middle;
    margin-right: 0.3rem;
    margin-top: -0.2rem;
}

/*セクション1*/

.main-section{
    background: url("../img/page-works/22014110.webp") 0% 0% no-repeat padding-box;
    background-size: cover;
    background-position: center center;
    padding-top: 8.5rem;
}


/*key-photo-area*/

.key-photo-area{
    width: 100%;
    padding: 0 7rem;
}

.key-photo{
    width: 113.5rem;
    height: auto;
    margin: 3rem auto;
    display: block;
}


.text-area{
    width: 117rem;
    margin: -2rem auto;
    margin-right: 3rem;
}

.sec-1{
    position: relative;
    margin-top: -1rem;
}


.highlight{
    position: absolute;
    font-size: 6.2rem;
    font-weight: 500;
    background-color:#F7D949;
    padding: 2rem 1.1rem 4rem;
    top: 6rem; right: 5rem;
    writing-mode: vertical-lr;
    border-radius: 0.8rem;
    color: #212121;
    letter-spacing: 4px;
}

.indent{
    margin-top: 7rem;
    right: 15rem;
    padding:2rem 1.5rem 2rem;
    letter-spacing: 4px;
}

.indent2{
    padding: 2.5rem 0 2.5rem;
    margin-top: 13rem;
    right: 25.5rem;
    letter-spacing: 4px;
}


/*職場の風景*/
.sec-2{
    width: 100%;
    max-width: 128rem;
    margin: 0 auto;
    padding: 21rem 0 10rem;
    position: relative;
    overflow: visible;
}

.discription{
    margin-left: 0.3rem;
    letter-spacing: 0;
}


/* 緑の装飾 */
.workplace-deco {
    position: absolute;
    left: -13rem;
    top: calc(19rem + 45rem - 25.5rem);
    width: 45rem;
    height: 40rem;
    background-image: url("../img/page-works/green-bg.svg");
    background-repeat: no-repeat;
    z-index: 1;
}

/* 1つ前の画像（画面左端に埋め込み） */
.workplace-prev-image {
    position: absolute;
    left: 0;
    top: calc(25rem + 45rem - 25.5rem); /* padding-top + メイン高さ - 前画像高さ = 下端揃え */
    width: 8.5rem;
    height: 26rem;
    overflow: hidden;
    z-index: 3;
}

.workplace-prev-swiper {
    width: 19rem;
    position: absolute;
    right: 0;
    border-radius: 1rem;
}

.workplace-prev-swiper .swiper-slide {
    width: 19.8rem;
    height: 25.5rem;
}

.prev-slide-img {
    width: 19rem;
    border-radius: 1rem;
}

/* スライダーコンテナ全体 */
.workplace-slider-container {
    display: grid;
    grid-template-columns: 38rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 47px;
    row-gap: 0;
    margin-left: 12rem;
    position: relative;
    z-index: 2;
}

/* 左側：メイン画像エリア（A: 選択中） */
.workplace-main-area {
    grid-row: 1 / 3;
    width: 38rem;
    height: 49rem;
    margin-left: 1.2rem;
}

.workplace-main-swiper {
    width: 38rem;
    height: 49rem;
    overflow: hidden;
    border-radius: 1rem;
}

.workplace-main-swiper .swiper-slide {
    width: 38rem;
    height: 49rem;
}

.main-slide-img {
    width: 38rem;
    height: 49rem;
    object-fit: cover;
    border-radius: 1rem;
}

/* 右側：テキスト・ナビエリア */
.workplace-info-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(49rem - 25.5rem); /* メイン高さ - サムネイル高さ */
}

/* セクションタイトル */

.info{
    margin-left: 2.5rem;
    margin-top: -0.5rem;
}



.sec-title {
    font-size: 3.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
}

.ptext {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.works{
    margin-top: -0.5rem;
}

/* ナビゲーションボタン */
.workplace-nav {
    display: flex;
    gap: 4.2rem;
    margin-top: 1rem;
    margin-left: 4rem;
}

.workplace-button-prev,
.workplace-button-next {
    width: 50px;
    height: 50px;
    background-color: #41956A;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.workplace-button-prev:hover,
.workplace-button-next:hover {
    background-color: #41956A;
}

/* 矢印アイコン */
.workplace-button-prev span,
.workplace-button-next span {
    display: block;

}

.workplace-button-prev span {
    transform: rotate(-180deg);
    margin-left: 0;
}


.prev-btn{
    margin-top: 0.2rem;
}

.next-btn{
    vertical-align: sub;
}


/* .prev-btn{
    transform: rotate(-135deg);
} */

.workplace-button-next span {
    margin-top: -0.3rem;
}

/* サムネイルエリア（B, C, D）- 下端揃え */
.workplace-thumb-area {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-left: -2rem;
    margin-top: -2rem;
}

/* サムネイルスライダー */
.workplace-thumb-swiper {
    width: calc(19.8rem * 3 + 47px * 2);
    height: 25.5rem;
    overflow: hidden;
}

.workplace-thumb-swiper .swiper-wrapper {
    display: flex;
}

.workplace-thumb-swiper .swiper-slide {
    width: 19.8rem !important;
    height: 25.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumb-slide-img {
    width: 19.8rem;
    height: 25.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

/*要項*/
.sec-3{
    padding-bottom: 2rem;
}

.outline{
    padding:3rem 0;
    font-size: 1.6rem;
}

.job{
    margin-top: -1rem;
}
.list-area{
    background-color:#FFF4D8;
    height: 16rem;
    margin: 4rem auto;
    display: flex;
    font-weight: 500;
    align-items:center;
}

.table{
    margin: 1rem 1.4rem;
    font-size: 1.8rem;
    border-left: 1px solid #707070;
    border-top: none;
    padding-left: 1.5rem;
    padding-top: 1rem;
}

.table-name{
    width: 19rem;
    padding: 7rem 2rem;
    font-size: 2rem;
}

.table .flex-list{
    display: flex;
    gap: 3rem;
}

.flex-list{
    padding-bottom: 2rem;
}

dt{
    width: 7rem;
}

dt::before{
    content: "";
    display: inline-block;
    background: url("../img/page-works/rectangle.svg") 100% 100% / cover;
    width: 0.5rem;
    height: 1.8rem;
    vertical-align:middle;
    margin-right: 0.5rem;
    margin-top: -0.2rem;
}

.column{
    display: flex;
    flex-flow: column;
    margin-left: -1.5rem;
}


.entry-area{
    text-align: center;
    padding: 2.5rem 0 3rem 0;
    margin-left: -5rem;
}
.entry-button{
    width: 5rem;
    height: 5rem;
    vertical-align: middle;
    margin-left: 1rem;
}
.entry-area a{
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: -0.5rem;
}

.gray{
    border: none;
    width: 2px;
    background-color: #888888;
}

.black_line{
    height: 3px;
    background-color: #212121;
    margin-top: -0.5rem;
}

.pc-hidden{
    display: none;
}

.works2{
    padding-top: 0.2rem;
    
}


/*SP版*/

@media screen and (max-width:699.98px){

.works-top{
    margin-top: 0;
}

.works-top-banner{
    display: none;
}

.works-top-banner-sp{
    display: block;
    position: absolute;
    right: -77.5rem;
    width: 114rem;
    height: 39rem;
    top: 0;
}

.page-title{
    color: #4EC663;
    font-size: 2rem;
    right: 0.5rem;
    top: 2.5rem;
    letter-spacing: 0.8rem;
}

.pg-sec-title{
    margin-left: 1rem;
    margin-bottom: -1rem;
}
.sec-title{
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.main-section{
    padding-top: 3rem;
    background: url("../img/page-works-sp/22014110.webp") 0% 0% no-repeat padding-box;
        background-size: cover;
    background-position: center center;

}

.sp-hidden{
    display:none;
}

.key-photo-area{
    width: auto;
    padding: 0;
    margin: 1rem auto;

}
.key-photo{
    width: 94%;
    border-radius: 4rem;
    margin: 1rem 1rem;
}



.highlight{
    font-size: 1.8rem;
    padding: 1rem 0.5rem 2rem;
    right: 1.3rem;
    top: 2rem;
    letter-spacing: 0;
}


.indent{
    margin-top: 2.2rem;
    right: 4.8rem;
    padding-right: 0.6rem;
}

.indent2{
    margin-top: 4rem;
    margin-right: 0.5rem;
    right: 7.3rem;
    padding: 1rem 0 1rem 0;
    letter-spacing: 0.2rem;
}

.discription{
    padding: 0.8rem 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}

.sp-br-none{
    display: none;
}

.sec-3{
    padding-top: 1.5rem;
    padding-bottom: 0;
}

.text-area{
    width: auto;
    padding: 0.5rem 0;
    margin: 2rem 1rem 0;
}

.list-area{
    flex-direction: column;
    height: 27.5rem;
    width: 34.5rem;
    gap: 0;
    padding: 1.5rem 1rem 2rem;
    margin-left: 0.3rem;
}

.flex-list{
    flex-direction: column;
    gap: 0 !important;
}

.table{
    margin: 0.5rem 0;
    border-top: 1px solid #707070;
        border-left: none;
        padding: 1rem 0;
}

.table-name{
    font-size: 2rem;
    padding: 0;
    margin-left: 0.3rem;
}

.gray{
    border: 1px solid #b9b9b9;
    width: 100%;
    margin-top: 0.5rem;
}


.outline{
    padding: 0 0 0.8rem;
    margin-left: 0.2rem;
}

.sec-2{
    padding: 10rem 0 2rem;
}

dt{
    width: 10rem;
    font-size: 1.8rem;
    margin-top: 1px;
}

.hpay{
    margin-left: 1rem;
}

.column{
    font-size: 1.8rem;
    margin-left: -1rem;
}

/*スライドショー*/

.workplace-prev-image {
    width: 12rem;
    height: 16rem;
    top: 23.5rem;
    left: -2rem;
    z-index: 2;
}

.workplace-prev-swiper{
    height: 16rem;
}

.prev-slide-img {
    width: 12.5rem;
    height: max-content;
    border-radius: 1rem;
}

.workplace-slider-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        margin-left: 2rem;
        margin-right: 2rem;
        gap: 0;
        position: relative;
        
    }

    .workplace-main-area {
        grid-row: 2 / 4;
        grid-column: 1 / 4;
        width: 73%;
        height: auto;
        max-width: 25rem;
        margin: -2rem 4.5rem 0;
    }

    .workplace-main-swiper {
        width: 100%;
        height: auto;
        aspect-ratio: 380 / 491;
    }

    .workplace-main-swiper .swiper-slide {
        width: 100%;
        height: auto;
    }

    .main-slide-img {
        width: 100%;
        height: auto;
        aspect-ratio: 380 / 491;
    }

    .workplace-info-area {
        grid-row: 1 / 4;
        grid-column: 1 / 6;
        text-align: center;
        height: auto;
        margin-top: -7rem;
        margin-right: 4rem;
    }

    .workplace-nav {
        justify-content: space-between;
        width: 86%;
        position: absolute;
        top: 10rem;
        left: -2rem;
        z-index: 100;
    }

    .workplace-thumb-area {
        grid-row:3;
        height: 100%;
        z-index: 20;
        position: absolute;
        top: 0;
    }

    .workplace-thumb-swiper {
        width: calc(12.8rem * 3 + 30px * 2);
        height: auto; 
        overflow: hidden;
    }

    .workplace-thumb-swiper .swiper-slide {
        width: 30% !important;
        height: auto;
    }

    .thumb-slide-img {
        width: 100%;
        height: auto;
        aspect-ratio: 198 / 255;
    }

    .workplace-deco {
        background-size: cover;
        width: 30.5rem;
        height: 23rem;
        top: 18rem;
        left: -6rem;
    }

    /*その他*/
    .black_line{
        margin-top: 0;
    }

    .job{
        margin-left: 2rem;
    }

    .works{
        text-align: left;
    }

    .pc-hidden{
        display: block;
        padding: 3rem 1.5rem 1rem;
        font-size: 1.6rem;
        line-height: 1.5;
    }

.sub-text{
    margin-top: 0;
}

.sub-text::before {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    margin-top: -0.3rem;
}

.entry-area{
    margin-left: 0;
    padding: 2.8rem 0 6rem;
}

.entry-button{
    width: 5rem;
    height: 5rem;
}

.info{
    margin-top: -1rem;
}

.works2{
    font-size: 2.1rem;
}

.time{
    margin-left: -0.3rem;
}


}