/* ===================================
    Table of Content
====================================== */
/*  - Global Style
    - RD_pur Style
    - RD_org Style
    - RD_org Style
    - int_man Style
    
    
/* ==================================== */

/* ===================================
    Global Style
====================================== */
.pageBannerWrap {
    background: url("../images/banner/RD.webp") center no-repeat;
    background-size: cover;
}

.rdTxtWrap p {
    font-size: 1.25rem;
}

.contentTitle h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mainColor);
}

.rdImgBox {
    width: 100%;
    height: 300px;
    text-align: center;
    margin-top: 1rem;
}

.rdImgBox img {
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.secondTitle h4 {
    color: var(--mainColor);
    position: relative;
    font-weight: 700;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.secondTitle h4:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--mainColor);
}

@media screen and (min-width:1560px) {
    .esgImgBox {
        height: 320px;
    }
}

@media screen and (min-width:992px) {
    .contentTitle h2 {
        margin-bottom: 1.5rem;
    }

    .esgImgBox {
        text-align: right;
        margin-top: 0;
    }
}

/* ===================================
    RD_pur Style
====================================== */
.rdPurCollapse {
    margin-bottom: -2rem;
}

.rdPurCollapse .collapseWrap {
    margin-top: 0;
}

.rdPurCollapse .collapseBox {
    position: relative;
    padding-bottom: 2rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.rdPurCollapse .collapseBox .collapseButtom {
    height: 350px;
}

.rdPurCollapse .collapseBox .collapseButtom.rdPur1 {
    background: url("../images/RD/RD_pur_img1.webp") center no-repeat;
    background-size: cover;
}

.rdPurCollapse .collapseBox .collapseButtom.rdPur2 {
    background: url("../images/RD/RD_pur_img2.webp") center no-repeat;
    background-size: cover;
}

.rdPurCollapse .collapseBox .collapseButtom.rdPur3 {
    background: url("../images/RD/RD_pur_img3.webp") center no-repeat;
    background-size: cover;
}

.rdPurCollapse .collapseBox .collapseButtom.rdPur4 {
    background: url("../images/RD/RD_pur_img4.webp") center no-repeat;
    background-size: cover;
}

.rdPurCollapse .collapseBox .collapseButtom::after,
.rdPurCollapse .collapseBox .collapseButtom::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000000 0%, #00000075 15%, #00000000);
    opacity: 1;
}

.rdPurCollapse .collapseBox .collapseButtom.open::after {
    background: linear-gradient(to top, #D22730 0%, #00000040 10%, #ffffff20);
    opacity: 1;
}

.rdPurCollapse .collapseBox:hover .collapseButtom::after {
    /* background: linear-gradient(to top, #D22730 0%, #d2272d75 15%, #D2272E00); */
    background: linear-gradient(to top, #D22730 0%, #00000040 10%, #ffffff20);
    opacity: 1;
}

.rdPurCollapse .collapseBox .collapseButtom .titleBox {
    display: flex;
    align-items: flex-end;
    min-height: 350px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.rdPurCollapse .collapseBox .collapseButtom .titleBox h4 {
    color: var(--whiteColor);
    padding-bottom: 1rem;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.rdPurCollapse .collapseBox .collapseContent {
    width: calc(100vw - 2rem);
}

.rdPurCollapse .collapseBox .collapseContent {
    transform: translateX(0);
}

.rdPurCollapse .collapseContent p {
    font-size: 1.25rem;
}

@media screen and (min-width: 1100px){
    .collapseBoxes {
        margin-left: 0;
    }
}

@media screen and (min-width: 1200px) {
    .rdPurCollapse .collapseBox {
        width: calc(100% / 2 - 1rem);
        margin: 0.5rem;
    }

    .rdPurCollapse .collapseBox .collapseContent {
        width: calc(100vw - 3.25rem);
    }

    .rdPurCollapse .collapseBox:nth-child(2n-1) .collapseContent {
        transform: translateX(0);
    }

    .rdPurCollapse .collapseBox:nth-child(2n) .collapseContent {
        transform: translateX(calc(-50% - 0.5rem));
    }
}


@media screen and (min-width: 1560px) {
    .rdPurCollapse .collapseBox {
        width: calc(1560px / 2 - 1rem);
        margin: 0.5rem;
    }

    .rdPurCollapse .collapseBox .collapseContent {
        width: calc(1560px - 1rem);
    }

    .rdPurCollapse .collapseBox:nth-child(2n-1) .collapseContent {
        transform: translateX(0);
    }

    .rdPurCollapse .collapseBox:nth-child(2n) .collapseContent {
        transform: translateX(calc(-50% - 0.5rem));
    }
}


/* ===================================
    RD_org Style
====================================== */
.orgImgBox {
    width: auto;
    height: 450px;
}

.orgImgBox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rdOrgBg {
    min-height: 200px;
    position: relative;
    margin-top: 2rem;
}

.rdOrgBg::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 400px;
    height: 100%;
    background-color: #F5F5F5;
    -webkit-clip-path: polygon(0 54%, 100% 20%, 100% 100%, 0% 100%);
    clip-path: polygon(0 54%, 100% 20%, 100% 100%, 0% 100%);
    margin-bottom: -2rem;
}


.rdConBox {
    width: calc(780px - 1rem);
    margin: 0 1rem 2rem 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.rdConBox p {
    font-size: 1.5rem;
    font-weight: 700;
}

.rdConContact {
    list-style: none;
}

.rdConContact li {
    list-style: none;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.rdConContact li a:hover {
    color: var(--mainColor);
}

.rdConContact li::before {
    color: var(--black40);
    padding-right: 0.5rem;
    font-family: 'icomoon' !important;
}

.rdConContact li.rdConTel::before {
    content: "\e911";
}

.rdConContact li.rdConMap::before {
    content: "\e90f";
}

.rdConContact li.rdConMail::before {
    content: "\e914";
}

.rdConBtn a {
    display: block;
    max-width: 300px;
    height: 75px;
    text-align: center;
    line-height: 75px;
    font-size: 1.5rem;
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
    transition: 0.2s ease-in;
}

.rdConBtn a:hover {
    color: var(--whiteColor);
    background: var(--mainColor);
}

.boxL {
    margin-left: 0;
    margin-right: 0;
}

@media screen and (min-width:768px) {
    .boxR {
        margin-right: 0;
    }
}

@media screen and (max-width:1560px) {
    .rdConBox {
        width: calc(780px - 3rem);
    }

    .boxR {
        margin-right: 0;
        margin-left: 0;
    }
}

@media screen and (max-width:1300px) {
    .rdConBox {
        width: calc(50vw - 2rem);
    }
}

@media screen and (max-width:991px) {
    .rdConBox {
        width: calc(100vw - 2rem);
    }
}



/* ===================================
    RD_area Style
====================================== */
.areaImgBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.areaImgBox:not(:last-child) {
    border-right: 1px solid var(--grayColorLight2);
}

.areaImgBox img {
    max-width: 150px;
    width: 100%;
    height: 150px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border: 1px solid var(--grayColorLight2);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.areaImgBox p {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}


.rdAreaBg {
    margin-top: 4rem;
}

.rdAreaBg>.row {
    display: flex;
    justify-content: center;
}

.pageSelectSwiper {
    width: 70%;
}

@media screen and (min-width:992px) {
    .rdAreaBg>.row {
        padding: 0 1rem;
    }

    .pageSelectSwiper {
        width: 100%;
        margin: 0 1rem 0 0;
    }

    .pageSelectSwiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
        opacity: 0;
    }
}

/**項目列表**/
.areaListWrap {
    background: url("../images/RD/RD_area_bg.webp") right bottom no-repeat;
    background-size: contain;
    margin-bottom: -2rem;
    padding: 0 0 2rem 3rem;
    width: 100%;
}

.areaListTitle {
    padding-left: 0;
}

.areaListTitle h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mainColor);
    margin-bottom: 1.5rem;
}

.areaListWrap .rdTxtWrap {
    padding-left: 0;
}

@media screen and (min-width:1200px) {
    .areaList {
        min-width: 80vw;
    }
}

@media screen and (min-width:1500px) {
    .areaList {
        min-width: 1200px;
    }
}

@media screen and (max-width:991px) {
    .areaListWrap {
        display: flex;
        justify-content: center;
        padding: 0 1rem;
        margin-top: 2rem;
    }
}

/* ===================================
    int_man Style
====================================== */
.intImgBox {
    width: auto;
    min-height: 360px;
}

.intImgBox img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:1300px) {
    .intImgBox img {
        aspect-ratio: 4 / 3;
    }
}


@media screen and (max-width:1200px) {
    .mt-5.intImgBox {
        order: 1;
        margin-top: 1rem !important;
    }

    .intImgBox img {
        aspect-ratio: 16 / 9;
    }

    .rdTxtWrap p.pr-3, .rdTxtWrap p.pl-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width:768px) {
    .intImgBox {
        min-height: unset;
    }
}