@charset 'UTF-8' ;
/* ============================
section officestaff
=============================== */
.hero-section {
    position: relative;
}

.officeStaff-top {
    max-width: 375px;
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block; 
}

.emplo-title {
    margin: 0 auto;
    max-width: 375px;
    width: 100%;
    border-radius: 0 100px 0 0;
    background: linear-gradient(186deg, #D5E7E5 4.78%, #FFFDFD 95.2%);
    padding: 68px 25px 67px 25px;
}

.officestaff {
    position: relative;
    margin-top: -100px; /* sectionごとかぶせる */
    z-index: 1;
}

.emplo-title h2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--o, linear-gradient(90deg, #2B958A 0%, #70B6AF 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emplo-title :nth-child(2) {
    margin-top: 5px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
}

.emplo-title :nth-child(3) {
    margin-top: 28px;
    font-weight: 500;
    line-height: 1.8;
}

/* ============================
スライダー
=============================== */
.officeStaff-slider {
    overflow: hidden;
    width: 100%;
}

.officeStaff-slider-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: officeStaff-slide 15s linear infinite;
    align-items: flex-start; /* 追加 */
}

.officeStaff-slider-inner img {
    width: 187px;
    height: 196px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
}

/* 偶数番目だけ下にずらす */
.officeStaff-slider-inner img:nth-child(even) {
    margin-top: 40px; /* 段差の量、好みで調整 */
}

@keyframes officeStaff-slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
メッセージ
=============================== */
.emplo-message {
    margin: 39px auto 0;
    max-width: 325px;
    width: 100%;
}
.emplo-message p:first-child {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 2.2;
    background: linear-gradient(129deg, #1D8278 21.73%, #70B6AF 83.1%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emplo-message p:nth-child(2) {
    margin-top: 39px;
    font-weight: 500;
    line-height: 1.8;
}

.emplo-message p:nth-child(3) {
    margin-top: 30px;
    font-weight: 500;
    line-height: 1.8;
}

.emplo-message p:nth-child(4) {
    margin-top: 30px;
    font-weight: 500;
    line-height: 1.8;
}

.emplo-message p:nth-child(5) {
    margin-top: 30px;
    font-weight: 500;
    line-height: 1.8;
}

.officeStaff-img {
    margin-top: 46px;
    max-width: 375px;
    width: 100%;
    height: 600px;
}

/* ========== emplo-message ========== */
.emplo-message p:first-child {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.emplo-message p:not(:first-child) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.emplo-message p.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================
５つの魅力
=============================== */

.enployees-exp-title {
    max-width: 325px;
    width: 100%;
    margin: 80px auto 0;
}
.enployees-five-exp {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.6;
}

.reason-five {
    color: #2B958A;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.enployees-exp-img1{
    margin-top: 30px;
}

.enployees-exp-img1 {
    height: 195px;
    max-width: 375px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.enployees-exp-img {
    height: 195px;
    max-width: 375px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.enployees-exp-desc {
    display: flex;
    align-items: center;
}

.enployees-exp-desc p:first-child {
    color: #FFF;
    font-family: "Zen Kaku Gothic New";
    width: 40px;
    height: 40px;
    display: flex;           /* 追加 */
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(162deg, #2B958A 12.16%, #8EC6C1 95.66%);
    margin-right: 22px;
}

.enployees-exp-desc p:nth-child(2) {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6; 
}

.enployees-exp-desc-all > p {
    margin-top: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.enployees-exp-img {
    margin-top: 50px;   
}

.enployees-exp-desc-all {
    margin: 30px auto 0;
    max-width: 325px;
    width: 100%;
}
/* ========== enployees-exp-title ========== */
.enployees-exp-title {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.enployees-exp-title.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* ========== enployees-exp ========== */
.enployees-exp-img1,
.enployees-exp-img,
.enployees-exp-desc-all {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.enployees-exp-img1.is-visible,
.enployees-exp-img.is-visible,
.enployees-exp-desc-all.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================
FAQ
=============================== */
.enployees-faq-title {
    color: #FFF;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    padding-top: 61.5px;
}

.enployees-faq-title-line {
    width: 325px;
    height: 3px;
    background: #FFF;
    margin: 50px auto 0;
}

.enployees-faq {
    border-radius: 50px;
    background: linear-gradient(176deg, #2B958A 3.8%, #70B6AF 97.97%);
    padding-bottom: 50px;   /* 下にかぶる分だけ余白を増やす */
    margin-top: 99px;
    position: relative;
    z-index: 2;              /* FAQを前面に */
}


.faq-title > p{
    color: #FFF;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 30px;
}

.faq-question span {
    font-weight: 500;
    line-height: 1.5;
}

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

.faq-item label {
    margin-top: 20px;
}

.faq-question img:first-child {
    width: 36px;
    height: 36px;
}
/* ============================
FAQ　アコーディオン
=============================== */
/* チェックボックスを非表示 */
.faq-toggle {
    display: none;
}

.faq-item {
    background: #FFF;
    border-radius: 10px;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 16px 12px;
    font-weight: 700;
    gap: 10px;
}

.faq-q-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-plus-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* 回答は最初非表示 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 12px;
}

.faq-answer p {
    font-weight: 400;
    padding-bottom: 16px;
    line-height: 2;
    font-size: 1.6rem;
}

/* チェック時に回答を表示 */
.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
}

/* チェック時にプラスを回転 */
.faq-toggle:checked + .faq-question .faq-plus-img {
    transform: rotate(45deg);
}

/* ============================
ギャラリー
=============================== */
.gallery-jump {
    max-width: 375px;
    width: 100%;
    padding: 170px 38px 100px 37px;
    background: url(../img/emplo-gallery.png);
    background-size: cover;
    background-position: center;
    margin-top: -80px;       /* FAQをgalleryの上にかぶせる */
    position: relative;
    z-index: 1;              /* galleryはFAQの下 */
    box-sizing: border-box;
}

/* gallery-jumpの要素がfaqのアニメーションに巻き込まれないよう上書き */
.gallery-jump > p,
.gallery-jump a {
    opacity: 1;
    transform: none;
    transition: none;
}


.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
=============================== */
.officeStaff-slider-bottom {
    margin-top: 50px;
    overflow: hidden;
    width: 100%;
}

.officeStaff-slider-bottom-inner {
    display: flex;
    width: max-content;
    animation: officeStaff-bottom-slide 25s linear infinite;
}

.officeStaff-slider-bottom-inner img {
    width: 187px;
    height: 196px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes officeStaff-bottom-slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== enployees-faq ========== */
.enployees-faq-title,
.enployees-faq-title-line,
.faq-title > p,
.faq-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.enployees-faq-title.is-visible,
.enployees-faq-title-line.is-visible,
.faq-title > p.is-visible,
.faq-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 425px以下：画面幅いっぱいに表示（base.css と対応） */
@media (max-width: 425px) {
    .officeStaff-top,
    .emplo-title,
    .officeStaff-img,
    .enployees-exp-img1,
    .enployees-exp-img,
    .gallery-jump {
        max-width: none;
    }
}
