/* =============================
   TEAM / RECRUIT PAGE
   ============================= */

.team-hero{
    position:relative;
    height:55vh;
    overflow:hidden;
}

.team-hero-image,
.team-hero-image img{
    width:100%;
    height:100%;
}

.team-hero-image img{
    object-fit:cover;
    object-position:center 100%;
    filter:brightness(55%);
}

.team-hero-text{
    position:absolute;
    left:8%;
    bottom:12%;
    color:white;
}

.team-hero-text h1{
    font-size:56px;
    font-weight:900;
    line-height:1.2;
}

.team-message{
    padding:120px 8%;
    background:white;
    max-width:1100px;
    margin:0 auto;
}

.section-label{
    color:#0d3b2a;
    font-weight:bold;
    letter-spacing:3px;
    margin-bottom:20px;
}

.team-message h2{
    font-size:42px;
    color:#0d3b2a;
    margin-bottom:50px;
}

.team-message p{
    font-size:18px;
    line-height:2.2;
    margin-bottom:28px;
}

.team-message strong{
    color:#0d3b2a;
    font-size:22px;
}

.recruit{
    padding:120px 8%;
    background:#f7f7f7;
}

.recruit h2{
    text-align:center;
    font-size:42px;
    color:#0d3b2a;
    margin-bottom:60px;
}

.recruit-table{
    max-width:1100px;
    margin:0 auto;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.recruit-table .row{
    display:grid;
    grid-template-columns:1fr 2fr 2fr;
    border-bottom:1px solid #e5e5e5;
}

.recruit-table .row:last-child{
    border-bottom:none;
}

.recruit-table .row div{
    padding:28px;
    line-height:1.8;
    border-right:1px solid #e6e6e6;
}

.recruit-table .row div:last-child{
    border-right:none;
}

/* 項目 */
.recruit-table .row div:first-child{
    background:#ffffff;
    color:#111;
    font-weight:700;
}

.recruit-table .head div{
    color:white;
    font-weight:bold;
    text-align:center;
}

.recruit-table .head div:first-child{
    background:#fff;
    color:#111;
}

/* トップチーム */
.recruit-table .head div:nth-child(2){
    background:#0d3b2a;
    color:#fff;
}

.recruit-table .row:not(.head) div:nth-child(2){
    background:#eef8f1;
    color:#111;
    font-weight:700;
}

/* セカンドチーム */
.recruit-table .head div:nth-child(3){
    background:#66c7f4;
    color:#fff;
}

.recruit-table .row:not(.head) div:nth-child(3){
    background:#edf8ff;
    color:#111;
    font-weight:700;
}

.entry{
    padding:100px 8%;
    text-align:center;
    background:white;
}

.entry h2{
    font-size:42px;
    color:#0d3b2a;
    margin-bottom:25px;
}

.entry p{
    font-size:18px;
    margin-bottom:40px;
}

.entry-btn{
    display:inline-block;
    padding:18px 50px;
    background:#0d3b2a;
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-weight:bold;
    transition:.3s;
}

.entry-btn:hover{
    background:#146b49;
}

@media (max-width:900px){
    .team-hero{ height:55vh; }

    .team-hero-text{
        left:6%;
        right:6%;
        bottom:10%;
    }

    .team-hero-text h1{ font-size:36px; }

    .team-message,
    .recruit,
    .entry{
        padding:80px 6%;
    }

    .team-message h2,
    .recruit h2,
    .entry h2{
        font-size:32px;
    }

    .team-message p{
        font-size:16px;
        line-height:2;
    }

    .recruit-table{
        background:transparent;
        box-shadow:none;
        border-radius:0;
    }

    .recruit-table .row{
        display:block;
        background:white;
        margin-bottom:22px;
        border-radius:16px;
        overflow:hidden;
        box-shadow:0 8px 22px rgba(0,0,0,.08);
        border-bottom:none;
    }

    .recruit-table .row div{
        padding:18px 22px;
        border-bottom:1px solid #eee;
        border-right:none;
    }

    .recruit-table .row div:last-child{
        border-bottom:none;
    }

    .recruit-table .head{
        display:none;
    }

    .entry-btn{
        width:100%;
        max-width:320px;
    }
}
/* ===== TEAM PAGE FORCE FIX ===== */

.team-hero{
    margin-top:0;
}

.team-message{
    width:auto;
}

.recruit-table .row{
    display:grid !important;
    grid-template-columns:1fr 2fr 2fr !important;
}

@media (max-width:900px){
    .recruit-table .row{
        display:block !important;
    }
}
/* ===== TEAM HERO FIX ===== */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 100%;
    filter:brightness(55%);
}

.hero-text{
    position:absolute;
    left:8%;
    bottom:12%;
    top:auto;
    transform:none;
    color:white;
    text-align:left;
    z-index:2;
}

.hero-text h1{
    font-size:56px;
    font-weight:900;
    line-height:1.2;
}

.scroll-down{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    color:white;
    letter-spacing:4px;
    font-size:13px;
}

@media(max-width:900px){
    .hero-text{
        left:6%;
        right:6%;
        bottom:10%;
    }

    .hero-text h1{
        font-size:36px;
    }
}