/**20251016 スタッフ紹介********************/
.page-staff {
    padding-bottom: 100px;
}
.page-staff .comingsoon {
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #0a2a43, #144e75);
    font-size: 2.2rem;
    text-align: center;
    font-weight: 700;
    color: #f0f9ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
    animation: glowFade 3s ease-in-out infinite;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    position: relative;
    overflow: hidden;
}
/* アニメーション効果 */
@keyframes glowFade {
    0% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 123, 255, 0.6);
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
        transform: scale(1);
        opacity: 0.95;
    }
}
/**************************************************************************************************************************************************************************************/
/**20260122 スタッフ紹介********************/
/*=======================================
    section　staff-c1
=========================================*/
.staff-c1 > .copy-obi {
    text-align: center;
    color: white;
    padding: 1.5rem;
    background: #0DCCFF;
    background: linear-gradient(90deg, rgba(13, 204, 255, 1) 0%, rgba(71, 96, 255, 1) 100%);
}
.staff-c1 > .copy-obi > h2 {
    font-family:
        "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: clamp(25px,  3.2vw, 145px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.04em;
}
.staff-c1 > .copy-obi > p {
    font-weight: bold;
    font-size: clamp(18px,  3.2vw, 24px);
}
/*=======================================
    section　staff-c2
=========================================*/
.staff-c2 {
    padding: 2rem 0;
}
.staff-c2 > p {
    font-size: clamp(18px,  3.2vw, 25px);
    text-align: center;
    margin-bottom: 1rem;
}
/*=======================================
   section　staff-c3
   スタッフ紹介：3列グリッド（PC）
========================================= */
.page-staff .staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 33px; /* カード間の余白 */
    align-items: stretch;
}
@media (max-width: 990px) {
    .page-staff .staff-grid {
        gap: 15px; /* カード間の余白 */
    }
}
/* カードがグリッドの子要素として崩れないように */
.page-staff .staff-card {
    width: 100%;
    max-width: 100%;
    border: #45b035 2px solid;
    border-radius: 10px;
    padding: 8%;
}
@media (max-width: 810px) {
    .page-staff .staff-card {
        padding: 4%;
    }
}
/* レスポンシブ：タブレット2列、スマホ1列 */
@media (max-width: 990px) {
    .page-staff .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .page-staff .staff-grid {
        grid-template-columns: 1fr;
    }
}
/* card内のlayout */
/* ヘッダー：左に Driver + 番号、右にタイトル */
.staff-card__head {
    display: flex;
    gap: 14px;
    align-items: center; /* ← これに変更 */
    margin-bottom: 12px;
}
.staff-card__tag {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: #f28c00;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 23px;
}
.staff-card__no {
    display: inline-block;
    margin-top: 4px;
    font-size: 70px;
    font-weight: 900;
    line-height: 0.95;
    color: #f28c00;
    font-family:
        "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "ヒラギノ角ゴシック", "Noto Sans JP", "Roboto", "Segoe UI", sans-serif;
}
.staff-card__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}
@media (max-width: 810px) {
    .staff-card__tag {
        font-size: 16px;
    }
    .staff-card__no {
        font-size: 50px;
    }
    .staff-card__title {
        font-size: 20px;
    }
}
@media (max-width: 600px) {
    .staff-card__title {
        font-size: 25px;
    }
}
/*=======================================
    ポップアップと画像配置
=========================================*/
/* サムネ2枚重ね（ベース＋キャラPNG） */
.videoThumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
    line-height: 0;
    width: 100%;
    overflow: hidden;
}
img.videoThumb__base {
    padding: 0 15% 15% 0;
    transform-origin: 85% 95%;
    transform: translate(0, 0) scale(1) rotate(0deg);
    will-change: transform;
}
@media (max-width: 600px) {
    img.videoThumb__base {
        width: 100%;
        height: auto;
        padding: 0 10% 5% 0;
    }
}
@keyframes zoom {
    0% {
        transform: translate(0, 0) scale(1);
    }
    30% {
        transform: translate(20%, 10%) scale(1.3);
    }
    60% {
        transform: translate(20%, 10%) scale(1.3);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}
.videoThumb:hover img.videoThumb__base {
    animation: zoom .7s ease-in-out forwards;
}
/* SP（タッチデバイス）はアニメーション無効 */
@media (hover: none) and (pointer: coarse) {
    .videoThumb__overlay {
        animation: none !important;
        transition: none !important;
        transform: translate(0, 0) scale(1) rotate(0deg) !important;
    }
}
.videoThumb__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* 見た目と動作の土台 */
    transform-origin: 85% 95%;
    transform: translate(0, 0) scale(1) rotate(0deg);
    transition: transform .25s ease;
    will-change: transform;
}
@keyframes yahho {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(-10%, -14%) scale(1.03) rotate(-6deg);
    }
    45% {
        transform: translate(-12%, -10%) scale(1.06) rotate(6deg);
    }
    70% {
        transform: translate(-10%, -12%) scale(1.023) rotate(-4deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}
.videoThumb:hover .videoThumb__overlay {
    animation: yahho .7s ease-in-out forwards;
}
@media (max-width: 700px) {
    .videoThumb__overlay {
        width: 45%;
        height: auto;
    }
}
@media (max-width: 600px) {
    .videoThumb__overlay {
        width: 35%;
        height: auto;
    }
}
/* SP（タッチデバイス）はアニメーション無効 */
@media (hover: none) and (pointer: coarse) {
    .videoThumb__overlay {
        animation: none !important;
        transition: none !important;
        transform: translate(0, 0) scale(1) rotate(0deg) !important;
    }
}
/* モーダル ポップアップ動画　staff.js連動 */
.videoModal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
.videoModal[aria-hidden="false"] {
    display: block;
}
.videoModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}
.videoModal__dialog {
    position: relative;
    width: min(750px, 75vw);
    margin: 6vh auto 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.videoModal__content {
    aspect-ratio: 16 / 16;
    background: #000;
}
.videoModal__content video {
    width: 100%;
    height: 100%;
    display: block;
}
.videoModal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(000, 000, 000, .35);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
/* 下のメタ情報（中央寄せ、行間整え） */
.staff-card__meta {
    margin: 5px 0 0;
    padding: 0;
    text-align: center;
}
.staff-card__meta-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    line-height: 1.6;
}
.staff-card__meta dt, .staff-card__meta dd {
    margin: 0;
    font-size: 120%;
}
.staff-card__meta dt {
    font-weight: normal;
}
/*=======================================
    安心・安全のプロフェッショナル
=========================================*/
.anshin-anzen {
    background: #DAEFD7;
    background: linear-gradient(90deg, rgba(218, 239, 215, 1) 50%, rgba(177, 219, 171, 1) 100%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 70px 0;
    margin-top: 5rem;
}
.anshin-anzen-area {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    max-width: 1075px;
    margin: 0 auto;
    gap: 40px;
}
@media (max-width: 1075px) {
    .anshin-anzen-area {
        flex-direction: column;
        margin: 0 4%;
    }
}
.anshin-anzen > div > div > h2 {
    font-weight: 900;
    font-size: clamp(24px,  3.2vw, 35px);
}
.anshin-anzen > div > div > p {
    font-size: clamp(18px,  3.2vw, 21px);
    line-height: 1.65;
}
.anshin-anzen > div > div > p > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #0b3a1f;
    background: linear-gradient(135deg, #b9e3b3, #7fd08c);
    border-radius: 999px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transition:
        transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.anshin-anzen > div > div > p > a:hover, .anshin-anzen > div > div > p > a:focus-visible {
    transform: translateY(-3px);
    color: #ffffff;
    background: linear-gradient(135deg, #45b035, #2e8b57);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
/* 画像側（キャラクターバス） */
.anshin-anzen-area > img {
    animation: busFloat 2.5s ease-in-out infinite;
}
@keyframes busFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(-0.6deg);
    }
}
@media (max-width: 1075px) {
    .anshin-anzen-area > img {
        margin: 0 auto;
    }
}
@media (max-width: 800px) {
    .anshin-anzen-area > img {
        width: 80%;
    }
}
/**暫定的な対処OP時には不要***/
.page-id-1554 .page-staff {
  padding-bottom: 0px !important;
}
