@charset "utf-8";

/* !!! НЕ ПРАВИТЬ РУКАМИ: файл сгенерирован из public_html/assets/css/people.css скриптом scratch/build-sustainability-css.py (rem->px, обёртка div.ccm-page) */

body {
    background-color: #ffffff;
}

div.ccm-page {
.main {
    text-align: center;
}

@media screen and (max-width: 768px) {
.people__visual {
    background-image: url(../images/people3.jpeg);
    background-size: cover;
    background-position: center;
    height: 254px;
    position: relative;
}
}

.main__title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    font-family: 'Noto Serif JP';
    font-weight: 700;
    display: inline-block;
    background: rgba(0,0,0,0.25);
}

.title {
    font-size: 32px;
    white-space: nowrap;
}

.title__en {
    font-size: 16px;
}

.people__detail {
    padding: 40px 20px 0;
    text-align: center;
    position: static;
}

.top__txt {
    font-size: 1,40px;
    font-family: 'Noto Serif JP';
}

.btn {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    box-sizing: border-box;
    /* margin-top: 20px; */
    margin: 20px auto 0;
    width: 80%;
}

.btn1,
.btn2 {
    display: inline-block;
    line-height: 1.2;
    font-size: 12px;
    padding: 15px 40px;
    box-sizing: border-box;
    border-radius: 9999px;
    color: #FFF;
    background-image: linear-gradient(180deg, #FFC27D,#FF8A04);
    position: relative;
    white-space: nowrap;
}

.btn1::after {
    content: "";
    position: absolute;
    top: 43px;
    right: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: translateY(0) rotate(135deg);
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.btn2::after {
    content: "";
    position: absolute;
    top: 43px;
    right: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: translateY(0) rotate(135deg);
    transition: transform 0.3s ease;
    margin-top: 2px;
}

#health {
    background-color: #FFF6E9;
    margin-top: 30px;
}

.flow {
  overflow: hidden;
  width: 100%;
}

.flowword {
  display: inline-block;
  white-space: nowrap;
}

.flowword span {
    display: inline-block;
    margin-top: 30px;
    margin-right: 40px;
    font-size: 40px;
    font-weight: 700;
    color: #FFE9D0;
    animation: scroll-left 30s linear infinite; 
}

.effort_title {
    background-image: url(../images/wave_wh.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 35px;
    color: #E3963E;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.effort_detail {
    padding: 0 30px;
    margin-top: 35px;
    text-align: center;
}

.detail {
    background-color: #ffffff;
    border-radius: 20px;
    margin-top: 30px;
    padding: 30px 6%;
}

.d__title {
    font-size: 18px;
    font-family: 'Noto Serif JP';
}

.d__img {
    height: 60px;
    margin-top: 10px;
}

.de__txt {
    font-size: 14px;
    line-height: 2.0;
    margin-top: 10px;
}

#work {
    background-color: #FFF6E9;
}

.sdgs {
    background-color: #FFF6E9;
    max-width: 260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-top: 30px;
}

.top__btn {
    background-color: #E3963E;
}

@media screen and (min-width: 769px) {
    body {
        padding-top: 119px;
    }

    .main__contents {
        margin-top: 0;
    }

    .people__visual_wrapper {
        background-image: url(../images/people3.jpeg);
        background-size: cover;
        background-position: center;
        position: relative;
        height: 800px;
    }

    .main__title {
        transform: none;
        left: auto;
        bottom: auto;
        top: 70px;
        right: 3%;
        background:none;
        text-align: center;
    } 

    .title {
        font-size: 96px;
        font-weight: 700;
    }

    .title__en {
        font-size: 40px;
        font-weight: 700;
    }

    .people__detail {
        position: absolute;
        top: 308px;
        right: 3%;
        max-width: 710px;
    }

    .top__txt {
        font-size: 20px;
        line-height: 2.0;
        color: #ffffff;
        text-align: end;
        background: rgba(0,0,0,0.25);
        margin-top: 65px;
    }

    .top__txt .spbr {
        display: none;
    }

    .btn {
        width: 100%;
        margin: 100px 0 0;
        /* margin-top: 100px; */
    }

    .btn1,
    .btn2 {
        font-size: 24px;
        padding: 20px 35px;
        line-height: 1.2;
    }

    .btn1::after {
        top: 80px;
        width: 7px;
        height: 7px;
    }

    .btn1:hover::after {
    transform: translateY(3px) rotate(135deg);
    }


    .btn2:after {
        top: 80px;
        width: 7px;
        height: 7px;
    }

    .btn2:hover::after {
    transform: translateY(3px) rotate(135deg);
    }


    #health {
        margin: 0;
    }

    .flowword {
        display: inline-flex;
        gap: 60px;
    }

    .flow span {
        font-size: 150px;
    }

    .effort_title {
        margin-top: 20px;
        font-size: 32px;
}

    .effort_detail {
        max-width: 1240px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(auto,1fr);
        gap: 20px;
        text-align: center;
    }

    .detail {
        padding: 20px;
        text-align: center;
    }

    .d__title {
        margin-top: 20px;
    }

    .d__img {
        margin-top: 10px;
    }

    .de__txt {
        font-size: 16px;
        margin-top: 10px;
        text-align: left;
    }

    .sdgs {
        max-width: 780px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 60px;
        margin-top: 100px;
    }

    .top__btn:hover {
        background-color: #FFF;
        color: #E3963E;
    }

}
}
