@charset "UTF-8";

/* -------------------------
    このファイルは staff.html（18_職員紹介）専用のスタイルです。
    ヘッダー・フッター・共通ボタン・共通見出し（.c-heading）は css/common.css を参照しています。
------------------------- */

.l-main {
    min-width: 1000px;
    background: var(--color-cream);
    overflow: clip;
}


/* -------------------------
    ページタイトル（ヒーロー）
------------------------- */

.staff-hero {
    position: relative;
    padding: 250px 0 60px;
    overflow: hidden;
}

.staff-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 220px;
}

.staff-hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: var(--color-orange);
    border-radius: 4px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.staff-hero__title {
    margin-top: 21px;
    color: #000;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1.9px;
    line-height: 60px;
}

.staff-hero__profile {
    margin-top: 40px;
}

.staff-hero__profile-heading {
    display: flex;
    align-items: baseline;
    gap: 17px;
}

.staff-hero__profile-role {
    font-size: 16px;
    letter-spacing: 0.8px;
}

.staff-hero__profile-name {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.staff-hero__profile-meta {
    margin-top: 8px;
    font-size: 16px;
    line-height: 30px;
}

.staff-hero__profile-hub {
    display: inline-block;
    vertical-align: top;
}

.staff-hero__illust {
    position: absolute;
    right: 20px;
    top: -50px;
    width: 830px;
    height: 493.52px;
    pointer-events: none;
}

.staff-hero__illust-photo {
    position: absolute;
    top: 0;
    left: 222.66px;
    width: 607.34px;
    height: 463.71px;
}

.staff-hero__illust-dots {
    position: absolute;
    top: 3.98px;
    left: 4.97px;
    width: 200.79px;
    height: 195.82px;
}

.staff-hero__illust-mountain {
    position: absolute;
    top: 374.74px;
    left: 0;
    width: 465.2px;
    height: 118.78px;
    z-index: 1;
}


/* -------------------------
    インタビュー（Q&A × 2 + 写真 を1グループとして3グループ）
------------------------- */

.staff-interview {
    position: relative;
    padding: 0 60px;
    overflow: clip;
}

.staff-interview__inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.staff-interview__group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-interview__group + .staff-interview__group {
    margin-top: 100px;
}

.staff-interview__text {
    align-self: flex-start;
    width: 868px;
    max-width: 100%;
    margin: 100px auto 0;
}

.staff-interview__q {
    margin-top: 40px;
    color: var(--color-orange);
    font-size: 35px;
    font-weight: 700;
    line-height: 60px;
}

.staff-interview__text > .staff-interview__q:first-child {
    margin-top: 0;
}

.staff-interview__a {
    font-size: 20px;
    line-height: 35px;
    text-align: justify;
}

.staff-interview__a--gap-lg {
    margin-bottom: 140px;
}

.staff-interview__group:not(:last-child) > .staff-interview__text:last-child > .staff-interview__a:last-child {
    margin-bottom: 0;
}

.staff-interview__photo {
    display: block;
    width: 1000px;
    max-width: 100%;
    aspect-ratio: 1000 / 445;
    object-fit: cover;
    margin-top: 40px;
    border-radius: 31px;
}

.staff-interview__deco {
    position: absolute;
    pointer-events: none;
}

.staff-interview__photo-wrap {
    position: relative;
    display: inline-block;
}

.staff-interview__deco--01 {
    top: -40px;
    right: -60px;
    width: 150px;
    height: auto;
}

.staff-interview__deco--02 {
    bottom: -40px;
    left: -60px;
    width: 230px;
    height: auto;
}

.staff-interview__deco--03 {
    right: -190px;
    top: 210px;
    width: 210px;
    height: auto;
}

.staff-interview__deco--04 {
    left: -390px;
    top: 615px;
    width: 270px;
    height: auto;
}

.staff-interview__deco--05 {
    right: -200px;
    top: 1390px;
    width: 200px;
    height: auto;
}

.staff-interview__deco--06 {
    left: -250px;
    top: 2800px;
    width: 210px;
    height: auto;
}

/* -------------------------
    わたしの代表的な1日紹介
------------------------- */

.staff-schedule {
    padding: 100px 20px 200px;
}

.staff-schedule__deco {
    position: absolute;
    height: auto;
    pointer-events: none;
}

.staff-schedule__deco--01 {
    left: -70px;
    top: -40px;
    width: 170px;
}

.staff-schedule__deco--02 {
    right: -290px;
    top: 0;
    width: 350px;
}

.staff-schedule__deco--03 {
    right: -140px;
    bottom: -120px;
    width: 340px;
}

.staff-schedule__deco--04 {
    left: -170px;
    bottom: -30px;
    width: 300px;
}

.staff-schedule__inner {
    position: relative;
    max-width: 1130px;
    margin: 0 auto;
    padding: 100px 40px 60px;
    background: #fff;
    border-radius: 31px;
    text-align: center;
}

.staff-schedule__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 130px;
    height: 53px;
    background: var(--color-green);
    border-radius: 200px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2.4px;
    white-space: nowrap;
    margin: 0 auto 30px;
}

.staff-schedule__timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 0;
    list-style: none;
    text-align: left;
}

.staff-schedule__timeline::before {
    content: "";
    position: absolute;
    left: 150px;
    top: 10px;
    bottom: 10px;
    border-left: 2px dashed var(--color-green);
}

.staff-schedule__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 16px 0;
}

.staff-schedule__item::before {
    content: "";
    position: absolute;
    left: 150px;
    top: 32px;
    width: 10px;
    height: 10px;
    background: var(--color-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.staff-schedule__time {
    flex: 0 0 120px;
    min-width: 0;
    color: var(--color-green);
    font-size: 20px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.staff-schedule__desc {
    flex: 1;
    margin: 0;
    padding-left: 30px;
    color: #333;
    font-size: 16px;
}


/* -------------------------
    OFFのわたし
------------------------- */

.staff-off {
    position: relative;
    overflow: visible;
    background: var(--color-cream);
    padding: 180px 0;
}

.staff-off__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}


.staff-off__inner {
    position: relative;
    z-index: 1;
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 20px;
}

.staff-off__card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.staff-off__deco-book {
    position: absolute;
    right: -100px;
    top: -100px;
    width: 210px;
    height: auto;
    pointer-events: none;
}

.staff-off__photo {
    flex-shrink: 0;
    width: 368px;
    height: 368px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-off__bubble {
    position: relative;
    max-width: 580px;
    padding: 60px 70px;
    background: #fff;
    border-radius: 30px;
}

.staff-off__bubble::after {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    width: 40px;
    height: 50px;
    background: #fff;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
    transform: translateY(-50%);
}

.staff-off__text {
    font-size: 20px;
    line-height: 40px;
    text-align: justify;
}


/* -------------------------
    職員一覧
------------------------- */

.staff-list {
    padding: 50px 20px 400px;
}

.staff-hero:last-child,
.staff-interview:last-child,
.staff-schedule:last-child,
.staff-off:last-child {
    padding-bottom: 400px;
}

.staff-list__inner {
    max-width: 1130px;
    margin: 0 auto;
}

.staff-list__note {
    margin: 0 0 100px;
    color: #000;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: right;
}

.staff-list__deco-dots {
    position: absolute;
    left: -250px;
    top: -280px;
    width: 220px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.staff-list__slider {
    position: relative;
    margin: 0 0 60px;
}

.staff-list__viewport {
    overflow: hidden;
    padding: 10px 0;
    margin: -10px 0;
}

.staff-list__viewport img {
    -webkit-user-drag: none;
    user-select: none;
}

.staff-list__grid {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recruit-staff-card {
    flex: 0 0 auto;
}

.staff-list__prev,
.staff-list__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 61px;
    height: 61px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.3s;
}

.staff-list__prev {
    left: -30px;
}

.staff-list__next {
    right: -30px;
}

.staff-list__prev:hover,
.staff-list__next:hover {
    opacity: 0.8;
}

.staff-list__prev-icon,
.staff-list__next-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.staff-list__prev-icon {
    transform: scaleX(-1);
}

.recruit-staff-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 5px rgba(101, 63, 49, 0.2);
}

.recruit-staff-card a {
    position: relative;
    display: block;
    padding-bottom: 20px;
    border-radius: 30px;
    overflow: hidden;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.recruit-staff-card a:hover {
    opacity: 0.8;
}

.recruit-staff-card__photo-wrap {
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.recruit-staff-card__photo {
    display: block;
    width: 100%;
    aspect-ratio: 311 / 319;
    object-fit: cover;
    transform: scale(1.2);
    margin: 0;
    transition: transform 0.4s ease;
}

.recruit-staff-card a:hover .recruit-staff-card__photo {
    transform: scale(1.28);
}

.recruit-staff-card__name {
    margin: 5px 24px 4px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-align: left;
}

.recruit-staff-card__meta {
    margin: 24px 24px 0;
    font-size: 16px;
    text-align: left;
}

.recruit-staff-card__arrow {
    position: absolute;
    right: 20px;
    bottom: 16px;
    width: 34px;
    height: 34px;
}

.staff-hero__illust-photo--uploaded {
    aspect-ratio: 1222 / 933;
    object-fit: cover;
    -webkit-mask-image: url("../images/staff/hero_illust_photo.webp");
    mask-image: url("../images/staff/hero_illust_photo.webp");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
