/* ç¦åˆ©åŽšç”Ÿãƒšãƒ¼ã‚¸ï¼ˆpage-benefits.phpï¼‰å°‚ç”¨ã€‚recruit.css ã®å¾Œã«èª­ã¿è¾¼ã‚€ */
:root {
    --main-theme-color: #0075AA;
}

/* fv */
.fv {
    background-image: url(../images/benefits-fv.png);
    background-color: #fff;
    background-position: right center;
    background-size: auto 100%;
    height: 550px;
}
.fv-inner h1 {
    font-size: 58px;
    letter-spacing: 0.1em;
}

/* header */
.header-nav__list .linkwrap:nth-child(4) .activelink {
    border-bottom-color: var(--main-theme-color);
}

/* breadcrumbs */
.fv + nav.breadcrumbs {
    margin: 28px 0 0;
}
.fv + nav.breadcrumbs .breadcrumbs-inner {
    max-width: 1100px;
}

/* benefit */
.benefit {
    padding: 110px 0 115px;
}
.fv + nav.breadcrumbs + .benefit {
    padding-top: 84px;
}
.benefit.blue {
    background: #d9eefe;
}
.benefit-inner {
    margin: 0 auto;
    width: 92%;
    max-width: 1000px;
}
.benefit-head {
    margin: 0 0 68px;
    text-align: center;
}
.benefit-head h2 {
    color: var(--main-theme-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.benefit-text p,
.benefit-caption {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.09em;
    line-height: 28px;
}
.benefit-flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 54px;
}
.benefit-image {
    flex: none;
    line-height: 0;
    width: 350px;
}
.benefit-image.wide {
    width: 407px;
}
.benefit-text {
    flex: 1;
}
.benefit-logo {
    line-height: 0;
    margin: 0 0 28px;
}
.benefit-logo.center {
    margin: -20px auto 26px;
    text-align: center;
}
.benefit-logo.dummy {
    background: #eee;
    height: 82px;
    width: 350px;
}
.benefit-logo.half img {
    width: 232px;
}
.benefit-logo + p {
    margin-top: 0;
}

/* hotel */
.benefit-hotels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 27px;
}
.benefit-hotel {
    line-height: 0;
}
.benefit-caption {
    margin: 30px 0 0;
}
.benefit-btn {
    margin: 39px 0 0;
}
.benefit-btn a {
    align-items: center;
    background: var(--main-theme-color);
    color: #fff;
    display: flex;
    filter: drop-shadow(1.3px 1.3px 1.3px rgb(0 0 0 / 35%));
    font-size: 24px;
    font-weight: 700;
    gap: 15px;
    height: 70px;
    justify-content: center;
    letter-spacing: 0.1em;
    padding: 0 10px;
}
.benefit-btn a::after {
    background: url(../images/icon-circle-arrow-r-w.svg) no-repeat center / contain;
    content: "";
    flex: none;
    height: 36px;
    width: 36px;
}

/* activity cards */
.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 35px;
    margin: 45px 0 0;
}
.benefit-card__image {
    line-height: 0;
}
.benefit-card__text {
    background-color: #ccc;
    background-position: right 12px center;
    background-size: 28px;
    height: 60px;
    margin: -18px auto 0;
    padding: 0 20px;
    position: relative;
    width: 92%;
    display: flex;
    align-items: center;
}
.benefit-card__text p {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
}
.benefit-card:nth-child(1) .benefit-card__text {
    background-color: #65C0D7;
}
.benefit-card:nth-child(2) .benefit-card__text {
    background-color: #29ABE2;
}
.benefit-card:nth-child(3) .benefit-card__text,
.benefit-card:nth-child(5) .benefit-card__text {
    background-color: #2B6A9E;
}
.benefit-card:nth-child(4) .benefit-card__text {
    background-color: #308BE5;
}

/* footerï¼ˆrecruit.css ã® #d9eefe ã‚’ç™½ã¸ï¼‰ */
.footer {
    background: #fff;
}

@media screen and (max-width: 968px) {
    .fv {
        height: 420px;
    }
    .fv-inner h1 {
        font-size: 44px;
    }
    .benefit {
        padding: 80px 0;
    }
    .fv + nav.breadcrumbs + .benefit {
        padding-top: 40px;
    }
    .benefit-head {
        margin: 0 0 45px;
    }
    .benefit-head h2 {
        font-size: 28px;
    }
    .benefit-flex {
        gap: 35px;
    }
    .benefit-image,
    .benefit-image.wide {
        width: 42%;
    }
    .benefit-btn a {
        font-size: 18px;
    }
    .benefit-btn a::after {
        height: 30px;
        width: 30px;
    }
    .benefit-cards {
        gap: 35px 25px;
    }
    .benefit-card__text {
        background-size: 22px;
        height: 50px;
    }
    .benefit-card__text p {
        font-size: 18px;
    }
}
@media screen and (max-width: 768px) {
    .fv {
        background-position: 70% center;
        background-size: cover;
        height: 420px;
    }
    .fv-inner {
        align-items: flex-end;
        padding-bottom: 25px;
    }
    .fv-inner h1 {
        font-size: 8vw;
    }
    .fv + nav.breadcrumbs {
        margin-top: 20px;
    }
    .benefit {
        padding: 50px 0;
    }
    .fv + nav.breadcrumbs + .benefit {
        padding-top: 35px;
    }
    .benefit-head {
        margin: 0 0 30px;
    }
    .benefit-head h2 {
        font-size: 22px;
    }
    .benefit-text p,
    .benefit-caption {
        font-size: 14px;
        letter-spacing: 0.05em;
        line-height: 1.8;
    }
    .benefit-flex {
        flex-direction: column;
        gap: 25px;
    }
    .benefit-image,
    .benefit-image.wide {
        width: 100%;
    }
    .benefit-text {
        width: 100%;
    }
    .benefit-logo img {
        max-width: 240px;
    }
    .benefit-logo.dummy {
        width: 240px;
        height: 56px;
    }
    .benefit-logo.center {
        margin: -10px auto 20px;
    }
    .benefit-hotels {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }
    .benefit-caption {
        margin-top: 20px;
    }
    .benefit-btn {
        margin-top: 25px;
    }
    .benefit-btn a {
        font-size: 14px;
        height: auto;
        letter-spacing: 0.05em;
        min-height: 56px;
        padding: 10px 15px;
    }
    .benefit-btn a::after {
        height: 24px;
        width: 24px;
    }
    .benefit-cards {
        gap: 25px 15px;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }
    .benefit-card__text {
        background-position: right 8px center;
        background-size: 18px;
        height: 42px;
        margin-top: -12px;
    }
    .benefit-card__text p {
        font-size: 13px;
        letter-spacing: 0.02em;
    }
}
