.staff-detail-main {
min-height: 70vh;
padding: 130px 0 80px;
}

@media (min-width: 768px) {
.staff-detail-main > .container {
max-width: 900px;
}

.staff-media-grid {
grid-template-columns: repeat(auto-fit, 300px);
justify-content: center;
}

.staff-media-grid .staff-media-item {
width: 300px;
aspect-ratio: 4 / 5;
}

.staff-media-grid .staff-media-item--video {
grid-column: auto;
}
}

.staff-breadcrumb {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 35px;
color: var(--text-sub);
font-size: 0.75rem;
letter-spacing: 0.08em;
}

.staff-breadcrumb a:hover {
color: var(--primary-blue);
}

.staff-profile {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
align-items: center;
gap: 70px;
}

.staff-profile__visual {
position: relative;
}

.staff-profile__image-stage {
position: relative;
margin-bottom: 30px
}

.staff-profile__image-stage::before {
content: '';
position: absolute;
inset: 24px -24px -24px 24px;
z-index: -1;
border: 1px solid rgba(0, 168, 255, 0.25);
border-radius: 10px;
}

.staff-profile__main-image {
position: relative;
width: 100%;
max-height: 720px;
aspect-ratio: 4 / 5;
display: block;
border-radius: 10px;
object-fit: cover;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
opacity: 1;
transform: scale(1);
transition: opacity 0.28s ease, transform 0.38s ease;
}

.staff-profile__main-image.is-switching {
opacity: 0;
transform: scale(0.99);
}

.staff-profile__thumbnails {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-top: 18px;
}

.staff-profile__thumbnail {
position: relative;
aspect-ratio: 1;
padding: 0;
overflow: hidden;
cursor: pointer;
background: #030509;
border: 2px solid transparent;
border-radius: 8px;
opacity: 0.62;
transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.staff-profile__thumbnail:hover,
.staff-profile__thumbnail:focus-visible,
.staff-profile__thumbnail.is-active {
border-color: var(--primary-blue);
opacity: 1;
}

.staff-profile__thumbnail:hover {
transform: translateY(-2px);
}

.staff-profile__thumbnail:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}

.staff-profile__thumbnail img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: top center;
}

.staff-profile__content h1 {
margin: 8px 0 2px;
font-family: var(--font-title);
font-size: clamp(2.4rem, 4vw, 3.6rem);
font-weight: 400;
line-height: 1.1;
letter-spacing: 0.08em;
}

.staff-profile__kana {
margin: 0 0 38px;
color: #fff;
font-size: 0.8rem;
letter-spacing: 0.18em;
}

.staff-profile__sns {
display: grid;
gap: 10px;
margin-bottom: 38px;
}

.staff-profile__sns a {
min-height: 48px;
padding: 10px 16px;
display: flex;
align-items: center;
gap: 12px;
border: 1px solid var(--border-color);
border-radius: 6px;
background: rgba(255, 255, 255, 0.03);
color: var(--text-sub);
}

.staff-profile__sns a:hover {
border-color: var(--primary-blue);
color: #fff;
}

.staff-profile__sns i {
width: 24px;
color: var(--primary-blue);
font-size: 1.2rem;
text-align: center;
}

.staff-back-link {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--text-sub);
font-size: 0.85rem;
}

.staff-back-link:hover {
color: var(--primary-blue);
}

.staff-biography {
width: min(820px, 100%);
margin: 100px auto 0;
padding: 45px 50px;
border: 1px solid var(--border-color);
border-radius: 10px;
background: rgba(15, 23, 42, .72);
backdrop-filter: blur(10px);
}

.staff-biography__heading {
margin-bottom: 28px;
text-align: center;
}

.staff-biography__heading h2 {
margin: 6px 0 0;
font-family: var(--font-serif);
font-size: 1.4rem;
font-weight: 400;
}

.staff-biography__text {
color: var(--text-main);
font-size: .95rem;
line-height: 2.15;
overflow-wrap: anywhere;
}

.staff-media-section {
padding-top: 110px;
}

.staff-media-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}

.staff-media-item {
margin: 0;
overflow: hidden;
border: 1px solid var(--border-color);
border-radius: 10px;
background: #030509;
}

.staff-media-item img,
.staff-media-item video {
width: 100%;
height: 100%;
max-height: 680px;
display: block;
object-fit: cover;
}

.staff-media-item--video {
grid-column: 1 / -1;
}

.staff-media-item--video video {
max-height: 680px;
object-fit: contain;
}

.staff-not-found {
padding: 90px 24px;
text-align: center;
}

.staff-not-found h1 {
margin: 8px 0 12px;
font-family: var(--font-serif);
font-weight: 400;
}

.staff-not-found p:not(.section-subtitle) {
margin-bottom: 30px;
color: var(--text-sub);
}

@media (max-width: 767px) {
.staff-detail-main {
padding: 105px 0 60px;
}

.staff-breadcrumb {
margin-bottom: 22px;
}

.staff-profile {
grid-template-columns: 1fr;
gap: 45px;
}

.staff-profile__image-stage::before {
inset: 14px -8px -14px 14px;
}

.staff-profile__thumbnails {
gap: 10px;
margin-top: 14px;
}

.staff-profile__content {
text-align: center;
}

.staff-profile__content h1 {
font-size: 2.2rem;
}

.staff-profile__kana {
margin-bottom: 28px;
}

.staff-profile__sns {
text-align: left;
}

.staff-biography {
margin-top: 65px;
padding: 30px 22px;
}

.staff-biography__heading {
margin-bottom: 22px;
}

.staff-biography__heading h2 {
font-size: 1.1rem;
line-height: 1.7;
}

.staff-biography__text {
font-size: .9rem;
line-height: 2;
text-align: left;
}

.staff-media-section {
padding-top: 75px;
}

.staff-media-grid {
grid-template-columns: 1fr;
gap: 16px;
}

.staff-media-item--video {
grid-column: auto;
}
}
