﻿:root {
    --color-primary: #d50b00;
    --color-text: #212121;
    --color-text-muted: #666;
    --color-bg: #fff;
    --color-bg-gray: #f8f8f8;
    --color-bg-gray-mid: #f0f0f0;
    --color-bg-dark: #212121;
    --color-border: #ddd;
    --color-border-mid: #c5c5c5;
}

.p-mv {
    background-color: #fff;
    position: relative;
}

.p-mv__visual {
    z-index: 0;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    position: relative;
}

.p-mv__visual:active {
    cursor: grabbing;
}

.p-mv__visual .splide__track {
    overflow: clip visible;
}

.p-mv__img {
    width: 100%;
    height: auto;
    display: block;
}

.p-mv__img.is-message {
    height: calc(100% + 0.75vw);
}

@media (width<=1023px) {
    .p-mv__img.is-message {
        height: calc(100% + 1.6vw);
    }
}

.p-mv__footer {
    justify-content: flex-end;
    padding-top: 16px;
    display: flex;
}

@media (width<=1023px) {
    .p-mv__footer {
        padding-top: 12px;
    }
}

.p-mv__pager {
    gap: 20px;
    padding-right: 5px;
    display: flex;
}

.p-mv__page {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    display: flex;
}

@media (width<=1023px) {
    .p-mv__page {
        gap: 4px;
    }
}

.p-mv__page-num {
    color: #c5c5c5;
    font-family: ZCOOL QingKe HuangYou, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

@media (width<=1023px) {
    .p-mv__page-num {
        font-size: 1.25rem;
    }
}

.p-mv__page-bar {
    background-color: #c5c5c5;
    border-radius: 3px;
    width: 16px;
    height: 4px;
    display: block;
}

@media (width<=1023px) {
    .p-mv__page-bar {
        width: 12px;
        height: 3px;
    }
}

.p-mv__page.is-active .p-mv__page-num {
    color: #d50b00;
}

.p-mv__page.is-active .p-mv__page-bar {
    background-color: #d50b00;
}

.p-top-news__head {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px 50px;
    margin-bottom: 60px;
    display: flex;
}

@media (width<=1023px) {
    .p-top-news__head {
        margin-bottom: 52px;
    }
}

.p-top-news__head .c-sec-title {
    margin-bottom: 0;
}

@media (width<=1023px) {
    .p-top-news__head .c-sec-title {
        margin-bottom: 0;
    }
}

.p-top-news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    display: grid;
}

@media (width<=1023px) {
    .p-top-news__list {
        flex-direction: column;
        gap: 28px;
        display: flex;
    }
}

.p-top-news__tab {
    align-items: center;
    gap: 24px;
    display: flex;
}

@media (width<=1023px) {
    .p-top-news__tab {
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
}

.p-top-news__tab-btn {
    color: #c5c5c5;
    letter-spacing: 0.06em;
    background-color: #fff;
    border: 2px solid #c5c5c5;
    border-radius: 40px;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: 160px;
    padding: 8px 8px 10px;
    font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: color 0.4s ease-out, border 0.4s ease-out;
}

@media (width<=1023px) {
    .p-top-news__tab-btn {
        padding: 11px;
        font-size: 14px;
    }
}

.p-top-news__tab-btn:hover,
.p-top-news__tab-btn.is-active {
    color: #d50b00;
    border: 2px solid #d50b00;
}

.p-top-news__panel {
    display: none;
}

.p-top-news__panel.is-active {
    display: block;
}

.p-top-news__more {
    text-align: center;
    margin-top: 60px;
}

@media (width<=1023px) {
    .p-top-news__more {
        margin-top: 40px;
    }
}

.p-top-aboutus {
    background: url(/cms/riken/img/common/bg-white.webp) 50% 0 / cover repeat-y;
    align-items: center;
    padding: 200px 0 310px max(24px, 50% - 576px);
    display: flex;
    overflow: hidden;
}

@media (width<=1023px) {
    .p-top-aboutus {
        flex-direction: column;
        gap: 40px;
        padding: 100px 30px;
        overflow: visible;
    }
}

.p-top-aboutus .c-sec-title {
    margin-bottom: 36px;
}

@media (width<=1023px) {
    .p-top-aboutus .c-sec-title {
        margin-bottom: 20px;
    }
}

.p-top-aboutus__body {
    flex: 1;
    min-width: 0;
    padding-right: 80px;
}

@media (width<=1023px) {
    .p-top-aboutus__body {
        width: 100%;
        padding-right: 0;
    }
}

.p-top-aboutus__text {
    letter-spacing: 0.06em;
    color: #212121;
    max-width: 440px;
    margin-bottom: 42px;
    font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.8;
}

@media (width<=1023px) {
    .p-top-aboutus__text {
        letter-spacing: 0.06em;
        max-width: none;
        margin-bottom: 28px;
        font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.8;
    }
    .p-top-aboutus__more {
        text-align: center;
    }
}

.p-top-aboutus__img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    flex: 0 0 800px;
    height: 600px;
    overflow: hidden;
}

@media (width<=1023px) {
    .p-top-aboutus__img {
        border-radius: 10px;
        flex: none;
        order: -1;
        align-self: flex-start;
        width: 315px;
        height: 200px;
    }
}

.p-top-aboutus__img-pic {
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-aboutus__img-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-products {
    z-index: 1;
    height: 737px;
    margin-top: -110px;
    position: relative;
    overflow: clip;
}

@media (width<=1023px) {
    .p-top-products {
        background: url(/cms/riken/img/common/bg-red.webp) top/cover, #d50b00;
        height: auto;
        margin-top: 0;
        padding-bottom: 80px;
    }
}

.p-top-products:before {
    content: "";
    z-index: 0;
    background: url(/cms/riken/img/common/bg-red.webp) 50% / cover, #d50b00;
    height: 627px;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
}

@media (width<=1023px) {
    .p-top-products:before {
        display: none;
    }
}

.p-top-products__img-area {
    z-index: 1;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 468px;
    position: absolute;
    top: 0;
    left: max(24px, 50% - 576px);
    right: 0;
    overflow: hidden;
}

@media (width<=1023px) {
    .p-top-products__img-area {
        border-radius: 0;
        width: 100%;
        height: 200px;
        margin-bottom: 128px;
        position: relative;
        left: 0;
    }
}

.p-top-products__img-pic {
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-products__img-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-products__cards {
    z-index: 2;
    gap: 15px;
    display: flex;
    position: absolute;
    top: 410px;
    left: max(103px, 50% - 497px);
}

@media (width<=1023px) {
    .p-top-products__cards {
        justify-content: space-between;
        gap: 0;
        top: 151px;
        left: 30px;
        right: 30px;
    }
}

.p-top-products__card {
    background-color: #ddd;
    border-radius: 10px;
    width: 180px;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 0 7.5px #0003;
}

@media (width<=1023px) {
    .p-top-products__card {
        border-radius: 7px;
        width: 100px;
        height: 137px;
    }
}

.p-top-products__box {
    z-index: 2;
    background-color: #fff;
    border-radius: 20px;
    width: 480px;
    padding: 50px 50px 58px 55px;
    position: absolute;
    top: 235px;
    right: max(24px, 50% - 576px);
    box-shadow: 0 0 6px #0000001a;
}

@media (width<=1023px) {
    .p-top-products__box {
        width: auto;
        margin: 0 30px;
        padding: 30px;
        position: relative;
        top: 0;
        right: 0;
    }
}

.p-top-products__box .c-sec-title {
    margin-bottom: 24px;
}

@media (width<=1023px) {
    .p-top-products__box .c-sec-title {
        margin-bottom: 20px;
    }
}

.p-top-products__deco {
    pointer-events: none;
    width: 310px;
    height: auto;
    position: absolute;
    top: -80px;
    right: -115px;
}

@media (width<=1023px) {
    .p-top-products__deco {
        width: 138px;
        top: 6px;
        right: 2px;
    }
}

.p-top-products__text {
    letter-spacing: 0.06em;
    color: #212121;
    margin-bottom: 42px;
    font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.8;
}

@media (width<=1023px) {
    .p-top-products__text {
        letter-spacing: 0.06em;
        font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.8;
    }
    .p-top-products__more {
        text-align: center;
    }
}

.p-top-ir-sus {
    background: url(/cms/riken/img/common/bg-white.webp) 50% 0 / cover repeat-y;
    padding-block: 200px;
}

@media (width<=1023px) {
    .p-top-ir-sus {
        padding-block: 100px 184px;
    }
}

.p-top-ir__card {
    background-color: #fff;
    border-radius: 20px;
    align-items: center;
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 12px #0000001a;
}

@media (width<=1023px) {
    .p-top-ir__card {
        border-radius: 10px;
        flex-direction: column;
    }
}

.p-top-ir__text-area {
    flex: 1;
    min-width: 0;
    padding: 60px 60px 70px 80px;
}

.p-top-ir__text-area .c-sec-title {
    margin-bottom: 36px;
}

@media (width<=1023px) {
    .p-top-ir__text-area .c-sec-title {
        margin-bottom: 20px;
    }
    .p-top-ir__text-area {
        padding: 30px;
    }
}

.p-top-ir__text {
    letter-spacing: 0.06em;
    color: #212121;
    margin-bottom: 40px;
    font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.8;
}

@media (width<=1023px) {
    .p-top-ir__text {
        letter-spacing: 0.06em;
        font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.8;
    }
    .p-top-ir__more {
        justify-content: center;
        display: flex;
    }
}

.p-top-ir__img-area {
    flex: 0 0 540px;
    height: 460px;
    overflow: hidden;
}

@media (width<=1023px) {
    .p-top-ir__img-area {
        flex: none;
        order: -1;
        width: 100%;
        height: 150px;
    }
}

.p-top-ir__img-pic {
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-ir__img-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-sustainability {
    align-items: center;
    gap: 60px;
    padding-top: 200px;
    display: flex;
}

@media (width<=1023px) {
    .p-top-sustainability {
        flex-direction: column;
        gap: 40px;
        padding-top: 80px;
    }
}

.p-top-sustainability__img-area {
    border-radius: 20px;
    flex: 0 0 480px;
    height: 560px;
    overflow: hidden;
}

@media (width<=1023px) {
    .p-top-sustainability__img-area {
        border-radius: 10px;
        flex: none;
        width: 315px;
        height: 200px;
    }
}

.p-top-sustainability__img-pic {
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-sustainability__img-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.p-top-sustainability__text-area {
    flex: 1;
    min-width: 0;
}

.p-top-sustainability__text-area .c-sec-title {
    margin-bottom: 36px;
}

@media (width<=1023px) {
    .p-top-sustainability__text-area .c-sec-title {
        margin-bottom: 20px;
    }
    .p-top-sustainability__text-area .c-sec-title__main {
        letter-spacing: -1px;
    }
}

.p-top-sustainability__text {
    letter-spacing: 0.06em;
    color: #212121;
    margin-bottom: 42px;
    font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.8;
}

@media (width<=1023px) {
    .p-top-sustainability__text {
        letter-spacing: 0.06em;
        margin-bottom: 32px;
        font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.8;
    }
    .p-top-sustainability__more {
        justify-content: center;
        display: flex;
    }
}

@keyframes recruit-scroll-up {
    to {
        transform: translateY(-1160px);
    }
}

@keyframes recruit-scroll-down {
    0% {
        transform: translateY(-1392px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes recruit-scroll-right {
    to {
        transform: translate(-1920px);
    }
}

.p-top-recruit {
    z-index: 2;
    background-image: url(/cms/riken/img/common/bg-red.webp);
    background-position: 0 0;
    background-size: 1600px 2500px;
    justify-content: center;
    align-items: center;
    padding-block: 160px 170px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.p-top-recruit:before {
    content: "";
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='350' height='500'%3E%3Cline x1='0' y1='0.5' x2='350' y2='0.5' stroke='rgba(255,255,255)'/%3E%3Cline x1='0.5' y1='0' x2='0.5' y2='500' stroke='rgba(255,255,255)'/%3E%3C/svg%3E");
    background-position: 50%;
    background-repeat: repeat;
    background-size: 350px 500px;
    display: block;
    position: absolute;
    inset: 0;
}

.p-top-recruit:after {
    content: "";
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(120% 100% at 50% 100%, #a00a0073 0%, #0000 70%);
    height: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.p-top-recruit__body {
    z-index: 5;
    flex-direction: column;
    align-items: center;
    display: flex;
    position: relative;
}

.p-top-recruit__body .c-sec-title {
    align-items: center;
    margin-bottom: 56px;
}

.p-top-recruit__catch {
    letter-spacing: 0.06em;
    color: #fff;
    text-align: center;
    margin-bottom: 64px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 2;
}

.p-top-recruit__catch-kuten {
    letter-spacing: -0.41em;
}

.p-top-recruit__btns {
    flex-direction: column;
    gap: 16px;
    display: flex;
}

.p-top-recruit__btns .c-btn-slide .c-btn-slide__hover {
    background-color: #fff;
}

.p-top-recruit__btns .c-btn-slide:hover {
    color: #d50b00;
}

.p-top-recruit__btns .c-btn-slide:hover .c-btn-slide__arrow:before {
    filter: brightness(0) saturate() invert(11%) sepia() saturate(4000%) hue-rotate(352deg);
    background-image: url(/cms/riken/img/icn/icn-arrow.webp);
}

.p-top-recruit__btns .c-btn-slide[target="_blank"]:hover .c-btn-slide__label:after {
    background: url(/cms/riken/img/icn/icn-blank.webp) 50% / contain no-repeat;
}

.p-top-recruit__col {
    width: 300px;
    height: 862px;
    position: absolute;
    top: 0;
    overflow: hidden;
}

.p-top-recruit__col--left {
    z-index: 4;
    left: 12.5%;
}

.p-top-recruit__col--right {
    z-index: 3;
    right: 12.5%;
}

.p-top-recruit__col-inner {
    flex-direction: column;
    gap: 32px;
    display: flex;
}

.p-top-recruit__col-inner img {
    aspect-ratio: 3/2;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
    width: 100%;
    display: block;
}

.p-top-recruit__col--left .p-top-recruit__col-inner {
    animation: 30s linear infinite recruit-scroll-up;
}

.p-top-recruit__col--right .p-top-recruit__col-inner {
    animation: 36s linear infinite recruit-scroll-down;
}

.p-top-recruit__sp-scroll {
    display: none;
}

.p-top-recruit__sp-inner {
    gap: 20px;
    display: flex;
}

.p-top-recruit__sp-inner img {
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
    width: 300px;
    height: 200px;
    display: block;
}

@media (width<=1023px) {
    .p-top-recruit {
        padding-top: 166px;
        padding-bottom: 80px;
        overflow: visible;
    }
    .p-top-recruit:before {
        background-image: repeating-linear-gradient(0deg, #fff3 0 1px, #0000 1px 350px), repeating-linear-gradient(90deg, #fff3 0 1px, #0000 1px 150px);
        background-position: 50px -110px;
    }
    .p-top-recruit:after {
        display: none;
    }
    .p-top-recruit__sp-scroll {
        z-index: 3;
        width: 100%;
        height: 200px;
        display: block;
        position: absolute;
        top: -84px;
        left: 0;
        overflow: hidden;
    }
    .p-top-recruit__sp-inner {
        animation: 30s linear infinite recruit-scroll-right;
    }
    .p-top-recruit__col {
        display: none;
    }
    .p-top-recruit__body {
        width: 100%;
        padding-inline: 20px;
    }
    .p-top-recruit__body .c-sec-title {
        margin-bottom: 28px;
    }
    .p-top-recruit__catch {
        margin-bottom: 40px;
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .p-top-recruit__col-inner,
    .p-top-recruit__sp-inner {
        animation-play-state: paused;
    }
}