@charset "UTF-8";

/* 共通 */

:root {
    --primary-white: #fff;
    --primary-black: #333;
    --primary-green: #68A346;
    --primary-orange: #F4A876;
    --primary-yellow: #FAF966;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Sans JP",
        "Lato"
        Arial,
        sans-serif;
    font-style: normal;
    color: var(--primary-black, #020202);
    background-color: var(--primary-white, #F2F2F2);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    /* text-decoration: none;
    color: var(--primary-white); */
    display: inline-block;
}

.SpBr {
    display: inline-block;
}

.TABBr {
    display: inline-block;
}

.pcBr {
    display: none;
}

@media screen and (min-width: 768px) {
    .SpBr {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .TABBr {
        display: none;
    }

    .pcBr {
        display: inline-block;
    }
}

/* firstview */

.firstviewImg {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    transition: all 10s;
    /* position: relative; */
    object-position: center top;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animation {
    animation: zoom 10s;
}

.firstviewImg__hover {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.firstview__title {
    color: var(--primary-white, #fff);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 3.2rem;
    background-color: var(--primary-green);
    display: inline-block;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    position: absolute;
    top: 55.5%;
    left: 50%;
    transform: translate(-50%, -55.5%);
    white-space: nowrap;
    padding: 10px;
}

.firstview__subTitle {
    position: absolute;
    color: var(--primary-white, #fff);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    background-color: var(--primary-green);
    display: inline-block;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -85%);
    padding: 10px;
    margin-top: 30px;
}

/* firstview pc */

@media screen and (min-width:768px) {
    .firstview__title {
        font-size: 4.8rem;
        top: 60%;
    }

    .firstview__subTitle {
        top: 80%;
        left: 50%;
        transform: translate(-50%, -80%);
    }
}

/* 会社挨拶 */

.section--message {
    padding: 60px 5.3%;
}

.messageImg {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    /* position: relative;
    left: 50%;
    transform: translateX(-50%); */
    transition: all 10s;
}

.messageImg:hover {
    transform: scale(1.2);
}

.messageImg__hover {
    width: 70%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.message__mainTitle {
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.message__subTitle {
    color: var(--primary-yellow, #FAF966);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 30px;
}

.message__txt {
    color: var(--primary-black, #333);
    text-align: left;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
    position: relative;
    margin-top: 30px;
}

.message__txt::after {
    content: '';
    width: 53.3%;
    height: auto;
    aspect-ratio: 1/1;
    display: block;
    background-image: url(../images/ryobiLogo.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.3;
}

.message__txt span {
    color: var(--primary-green, #68A346);
}

.message__name {
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 30px;
}

/* 会社挨拶 */
@media screen and (min-width: 1024px) {

    .section--message {
        padding: 90px 5.3%;
    }

    .message__content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5%;
    }

    .message__detail {
        width: 47.5%;
    }

    .messageImg {
        position: static;
        left: 0%;
        transform: translateX(0%);
        border-radius: 0%;
        aspect-ratio: auto;
    }

    .messageImg__hover {
        position: static;
        left: 0%;
        transform: translateX(0%);
        overflow: hidden;
        width: 47.5%;
        height: 600px;
        border-radius: 0%;
        aspect-ratio: auto;
    }

    .message__mainTitle {
        font-size: 3.6rem;
        text-align: left;
    }

    .message__subTitle {
        font-size: 6.4rem;
        text-align: left;
        margin-top: 0px;
    }

    .message__txt {
        text-align: left;
        margin-top: 50px;
    }

    .message__name {
        font-size: 3rem;
        text-align: left;
        margin-top: 50px;
    }
}

/* 事業内容 */

.section--work {
    padding: 60px 5.3%;
}

.work__mainTitle{
    color: var(--primary-black, #333);
    text-align: left;
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.work__subTitle {
    color: var(--primary-yellow, #FAF966);
    text-align: left;
    font-family: "Noto Sans JP";
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.work__content {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    gap: 30px;
}

.work__item01 {
    position: relative;
    width: 53.3%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg01 {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg01__mask {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.work__item01:hover .workImg01__mask {
    opacity: 1;
}

.work01__name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.work__item02 {
    position: relative;
    width: 53.3%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg02 {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg02__mask {
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.work__item02:hover .workImg02__mask {
    opacity: 1;
}

.work02__name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.work__item03 {
    position: relative;
    width: 53.3%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg03 {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.workImg03__mask {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.work__item03:hover .workImg03__mask {
    opacity: 1;
}

.work03__name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

/* 事業内容 pc */

@media screen and (min-width: 1024px) {
    .section--work {
        padding: 90px 5.3%;
    }

    .work__title{
        display: flex;
        align-items: center;
    }

    .work__mainTitle {
        font-size: 3.6rem;
        padding-left: 20px;
    }

    .work__subTitle{
        font-size: 7.2rem;
    }

    .work__title::after {
        top: 26px;
    }

    .work__content {
        flex-direction: row;
        margin-top: 75px;
        justify-content: center;
    }

    .workImg01 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .work__item01 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .workImg02 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .work__item02 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .workImg03 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .work__item03 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        left: 0;
        transform: none;
    }

    .work01__name,
    .work02__name,
    .work03__name {
        font-size: 2.4rem;
        white-space: nowrap;
    }
}

/* 当社の強み */

.section--strength {
    padding: 70px 5.3% 0;
}

.strength__title {
    color: var(--primary-black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 50px 0;
}

.strength__title::after {
    content: 'Strength';
    color: rgba(250, 249, 102, 0.8);
    text-align: center;
    font-family: Lato;
    font-size: 7rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: absolute;
    z-index: -1;
    top: 16px;
    bottom: 0;
    right: 0;
    left: 0;
}

.strength__content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}