@charset "utf-8";

.page-hero {
    padding-top: 155px;
    margin: 0 auto;
    max-width: 325px;
    position: relative;
}

.back-img {
    background-image: url(../img/backimg-company.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top right;
}

.lead {
    margin-top: 50px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.title-en {
    margin-top: 50px;
    color: #2B958A;
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.2;
}

.title-ja {
    margin-top: 9px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
}

.title-menu {
    margin-top: 40px;
}

.title-menu li {
    margin-top: 30px;
    font-weight: 500;
    line-height: 1;
}

.title-menu img {
    width: 16px;
    height: 16px;
    margin-right: 18px;
}

/* ==========================
福利厚生
============================= */
.subtitle-en {
    color: #2B958A;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.subtitle-ja {
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.benefit-line {
    width: 100%;
    height: 1px;
    background: #333;
    margin-top: 30px;
}

.benefit {
    max-width: 325px;
    width: 100%;
    margin: 100px auto 0;
}

.benefit-txt {
    margin-top: 25px;
    font-weight: 500;
    line-height: 1.6;
}

.benefit-piece {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.benefit-piece img {
    width: 100px;
    height: 100px;
    align-items: center;
}

.benefit-piece-txt {
    max-width: 188px;
}

.benefit-piece-txt p:first-child {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.benefit-piece-txt p:nth-child(2) {
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ========== benefit ========== */
.subtitle-en,
.subtitle-ja,
.benefit-txt,
.benefit-piece,
.benefit-line,
.view-more-btn {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.subtitle-en.is-visible,
.subtitle-ja.is-visible,
.benefit-txt.is-visible,
.benefit-piece.is-visible,
.benefit-line.is-visible,
.view-more-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
View Moreボタン
=============================== */
.view-more-btn {
    margin: 30px auto 0;
    display: flex;
    width: 201px;
    height: 55px;
    border-radius: 60px;
    border: 1px solid #2B958A;
    justify-content: center;
    align-items: center;
}

.view-more-btn p {
    color: #2B958A;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.48px;
    margin-right: 14px;
}

.view-more-btn img {
    width: 20px;
    height: 20px;
}

/* ============================
数字でみる
=============================== */
.benefit-bg-top {
    margin-top: 129px;
    width: 100%;
    height: 138px;
    display: block;
}

.benefit-bg {
    background: #CBE5E2;
}

.numberofdex {
    margin: 0 auto;
    max-width: 325px;
    width: 100%;
}

.subtitle-number {
    color: #2B958A;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.subtitle-number-en {
    margin-top: 5px;
    color: #2B958A;
    text-align: center;
    font-weight: 600;
    line-height: 1;
}

.numberofdex-txt {
    margin-top: 25px;
}

/* セクション間 */
.number-company,
.number-envi,
.number-people {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.number-company {
    margin-top: 65px;
}

.number-envi,
.number-people {
    margin-top: 65px;
}

/* 見出しラベル */
.number-company > p,
.number-envi > p,
.number-people > p {
    color: #2B958A;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    height: 44px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-company > p {
    width: 136px;
}

.number-envi > p {
    width: 232px;
}

.number-people > p {
    width: 208px;
}

/* ========== subtitle-number ========== */
.subtitle-number {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.subtitle-number.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== subtitle-number-en / numberofdex-txt ========== */
.subtitle-number-en,
.numberofdex-txt {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.subtitle-number-en.is-visible,
.numberofdex-txt.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================
num-card フリップ
=============================== */
.num-card {
    perspective: 800px;
    width: 325px;
    height: 190px;
    margin: 16px auto 0;
}

.num-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    transition: transform 0.7s ease;
}

.num-card-inner.flipped {
    transform: rotateY(0deg);
}

.num-card-front,
.num-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.num-card-front {
    transform: rotateY(0deg);
}

.num-card-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 10px;
}

.num-card-back {
    background: linear-gradient(135deg, #2B958A, #70B6AF);
    transform: rotateY(180deg);
}



/* ============================
ギャラリー
=============================== */
.gallery-jump {
    width: 100%;
    padding: 230px 38px 100px 37px;
    background: url(../img/emplo-gallery.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.gallery-jump > p:first-child {
    color: #FFF;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1.2px;
    font-size: clamp(2.5rem, 13vw, 6rem);
    word-break: break-word;
    overflow-wrap: break-word;
}

.gallery-jump > p:nth-child(2) {
    margin-top: 18px;
    color: #FFF;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.28px;
}

.officegallery-button {
    margin-top: 30px;
    display: flex;
    padding: 20px 20px 20px 36px;
    border-radius: 60px;
    border: 3px solid #FFF;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    align-items: center;
    justify-content: center;
}

.officegallery-button p {
    color: #2B958A;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.48px;
    margin-right: 43px;
}

.officegallery-button img {
    width: 30px;
    height: 30px;
}

.photogallery-button {
    margin-top: 30px;
    display: flex;
    padding: 20px 20px 20px 36px;
    border-radius: 60px;
    border: 3px solid #2B958A;
    background: #2B958A;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    align-items: center;
    justify-content: center;
}

.photogallery-button p {
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.48px;
    margin-right: 10px;
}

.photogallery-button img {
    width: 30px;
    height: 30px;
}

.bottom-wrapper {
    position: relative;
}

.benefit-bg-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    z-index: 2;
    pointer-events: none;
}