@charset "utf-8";

/* ------------------------------ */
/* 基本設定 */
/* ------------------------------ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* 固定ヘッダーの高さ分のオフセット */
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'IBM Plex Mono', sans-serif;
    letter-spacing: 0;
}

:root {
    --secondary-font: 'JetBrains Mono', sans-serif;
    --red-color: #DC0C1C;
    --brown-color: #79421A;
}

a {
    transition: .3s;
}

a:hover {
    opacity: .7;
}

.container-lg {
    width: 100%;
    padding: 0 20px;
    max-width: 90%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .container-lg {
        max-width: 100%;
    }
}

.m-section-ttl {
    width: fit-content;
    color: var(--red-color);
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 768px) {
    .m-section-ttl {
        font-size: 14px;

    }
}

.m-section-ttl--row {
    flex-direction: row;
    align-items: end;
}

.m-section-ttl--right {
    text-align: right;
}

.m-section-ttl--center {
    margin: 0 auto;
    text-align: center;
}

.m-section-ttl--right span {
    text-align: left;
}

.m-section-ttl span {
    font-size: clamp(40px, 6vw, 100px);
    font-weight: 900;
    font-family: var(--secondary-font);
    font-style: italic;
    line-height: 1;
    margin-right: 10px;
}

.header {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    z-index: 50;
}

@media screen and (max-width: 768px) {
    .header {
        top: 0;
    }
}

.header__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 54;
}

.header__overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1000px) {
    .header__inner {
        padding: 10px;
        padding-left: 0;
    }
}

.header__inner .header__logo {
    width: clamp(220px, 24vw, 360px);
}

/* ハンバーガーメニューボタン */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: var(--red-color);
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 60;
    position: relative;
    border-radius: 4px;
    box-sizing: border-box;
}

.header__hamburger-line {
    width: calc(100% - 0px);
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    margin: 2px 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%) rotate(45deg);
    margin: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%) rotate(-45deg);
    margin: 0;
}

.header-nav__list {
    display: flex;
    gap: 20px;
    background: #fff;
    padding-left: 20px;
    border-radius: 10px;
}

.header-nav__item a {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.header-nav__item a:not(.header-nav__link--btn):hover {
    opacity: 1;
}

.header-nav__item a:not(.header-nav__link--btn)::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red-color);
    transition: width 0.3s ease;
}

.header-nav__item a:not(.header-nav__link--btn):hover::after {
    width: 100%;
}

.header-nav__link--btn {
    display: flex;
    background: #E60012;
    color: #fff;
    padding: 20px !important;
    align-items: center;
}

.header-nav__link--btn span {
    display: inline-block;
    width: 44px;
    line-height: 1;
    transform: translateY(2px);
    height: auto;
    margin-left: 15px;
}

@media screen and (max-width: 480px) {
    .header-nav__link--btn span {
        transform: translateY(0);
    }
}

/* SP対応（1000px以下） */
@media screen and (max-width: 1000px) {
    .header__overlay {
        display: block;
    }

    .header__hamburger {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 55;
        overflow-y: auto;
    }

    .header-nav.is-active {
        right: 0;
    }

    .header-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        background: transparent;
    }

    .header-nav__item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav__item a {
        display: flex;
        padding: 20px 15px;
        font-size: 16px;
        width: 100%;
    }

    .header-nav__item a::after {
        display: none;
    }

    .header-nav__item a:hover {
        background-color: #f8f8f8;
        opacity: 1;
    }

    .header-nav__link--btn {
        margin-top: 10px;
        justify-content: center;
        background: #E60012;
        color: #fff;
        padding: 15px 20px !important;
        border-radius: 5px;
    }

    .header-nav__link--btn:hover {
        background: #c5000f;
        opacity: 1;
    }

}

.accent {
    display: none;
}

@media screen and (max-width: 1000px) {
    .accent {
        display: block;
        width: 30%;
        margin: 0 auto;
        margin-top: 10px;
        animation: shake 2s ease-in-out infinite;
    }
}

/* ------------------------------ */
/* メインビジュアル */
/* ------------------------------ */
.mainV {
    position: relative;
    width: 100%;
    height: 100vh;

    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .mainV {
        height: 88vh;
    }
}

.mainV::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 20;
}

.mainV-ttl {
    position: absolute;
    top: 70%;
    left: 5%;
    width: clamp(200px, 27vw, 400px);
    z-index: 40;
}

@media screen and (max-width: 768px) {
    .mainV-ttl {
        top: 75%;
    }
}

.mainV__inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.mainV__items {
    display: none;
}

.mainV__item {
    position: absolute;
    width: 23vw;
    min-width: 120px;
    top: 0;
    left: 0;
    opacity: 1;
    /* アニメーション関連はJSで制御 */
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.mainV__item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------ */
/* 2枚の画像がある場合の交互表示 */
/* ------------------------------ */

.mainV__item--dual img:first-child {
    position: relative;
    z-index: 1;
    /* アニメーションはJSで設定 */
    opacity: 1;
    visibility: visible;
}

.mainV__item--dual img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    /* アニメーションはJSで設定 */
}

/* 
   注: 移動アニメーション（conveyorBeltStep等）と
   画像切り替えアニメーション（imageSwitch1/2）は
   JavaScript (script.js) 内で動的に生成・挿入されます。
   これにより、「スムーズ移動 → 停止」の繰り返しを実現しています。
*/









/* ------------------------------ */
/* 社長メッセージ */
/* ------------------------------ */

.top-message {
    padding-top: 160px;
    background: url("../img/message-bg.webp") center center / contain no-repeat;
}

@media screen and (max-width: 768px) {
    .top-message {
        padding-top: 80px;
    }
}

.top-message__inner {
    display: flex;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .top-message__inner {
        flex-direction: column;
    }
}

.top-message__left {
    width: 50%;
    flex-shrink: 0;
    max-height: 840px;
}

@media screen and (max-width: 768px) {
    .top-message__left {
        width: 100%;

    }


}


.top-message__copy {
    width: 100%;
    max-width: 450px;
    margin-top: 72px;
}

@media screen and (max-width: 768px) {
    .top-message__copy {
        width: 80%;
        margin-top: 30px;
    }
}

.top-message__text {
    line-height: 1.8;
    color: var(--brown-color);
    font-weight: 600;
    margin-top: 2em;
    max-width: 600px;


}

@media screen and (max-width: 768px) {
    .top-message__text {
        font-size: 14px;
    }
}

/* ------------------------------ */
/* 社員インタビュー */
/* ------------------------------ */
.top-interview {
    padding-top: 160px;
}

@media screen and (max-width: 768px) {
    .top-interview {
        padding-top: 80px;
    }
}

.top-interview__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .top-interview__list {
        display: none;
    }
}

.top-interview__left {
    position: relative;
    z-index: 2;
}

.top-interview__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 768px) {
    .top-interview__inner {
        grid-template-columns: 1fr;
    }
}


.top-interview__right {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .top-interview__right {
        margin-top: 30px;
    }
}

.top-interview__item {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* アクティブなアイテムの前後のアイテムだけ横揺れ */
.top-interview__item.shake-adjacent {
    animation: shake 2s ease-in-out infinite;
}

/* 前後のアイテムに2秒間隔でバラバラに遅延を設定 */
.top-interview__item.shake-adjacent:nth-child(1) {
    animation-delay: 0s;
}

.top-interview__item.shake-adjacent:nth-child(2) {
    animation-delay: 0.2s;
}

.top-interview__item.shake-adjacent:nth-child(3) {
    animation-delay: 0.4s;
}

.top-interview__item.shake-adjacent:nth-child(4) {
    animation-delay: 0.6s;
}

.top-interview__item.shake-adjacent:nth-child(5) {
    animation-delay: 0.8s;
}

.top-interview__item.shake-adjacent:nth-child(6) {
    animation-delay: 1s;
}

.top-interview__item.shake-adjacent:nth-child(7) {
    animation-delay: 1.2s;
}

.top-interview__item.shake-adjacent:nth-child(8) {
    animation-delay: 1.4s;
}

.top-interview__item.shake-adjacent:nth-child(9) {
    animation-delay: 1.6s;
}

.top-interview__item p {
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto;
    width: fit-content;
    background: #8E694D;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.top-interview__img {
    position: relative;
}

.top-interview__img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 初期状態：box-img01を表示、box-img02を非表示 */
.top-interview__img img:first-child {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top-interview__img img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ホバー状態：box-img01を非表示、box-img02を表示 */
.top-interview__item:hover .top-interview__img img:first-child {
    opacity: 0;
    visibility: hidden;
}

.top-interview__item:hover .top-interview__img img:last-child {
    opacity: 1;
    visibility: visible;
}

/* アクティブ状態：box-img01を非表示、box-img02を表示 */
.top-interview__item.is-active .top-interview__img img:first-child {
    opacity: 0;
    visibility: hidden;
}

.top-interview__item.is-active .top-interview__img img:last-child {
    opacity: 1;
    visibility: visible;
}

/* top-interview__right-switch-itemの初期状態（非表示） */
.top-interview__right-switch-item {
    display: none;
}

/* アクティブなtop-interview__right-switch-itemのみ表示 */
.top-interview__right-switch-item {
    position: relative;
}

.top-interview__right-switch-item.is-active {
    display: block;
}

/* タップで表示のインジケーター */
.top-interview__tap-indicator {
    display: none;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(220, 12, 28, 0.9);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* SPの時のみ表示 */
@media screen and (max-width: 1000px) {
    .top-interview__right-switch-item.is-active .top-interview__tap-indicator {
        display: block;
    }

    /* 一度でもタッチしたら、全ての「タップで表示」マークを非表示 */
    /* .is-activeと.is-tappedの両方が付いている場合は、is-tappedを優先 */
    .top-interview__right-switch-item.is-active.is-tapped .top-interview__tap-indicator,
    .top-interview__right-switch-item.is-tapped .top-interview__tap-indicator {
        display: none !important;
    }
}

.top-interview__right-switch-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* イメージマップホバー時の透過効果 */
.top-interview__right-switch-item.map-hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* イメージマップのarea要素にカーソルをポインターに */
map area {
    cursor: pointer;
}

/* イメージマップのオーバーレイ（デバッグ用の色表示） */
.top-interview__right-switch-item {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.map-overlay.active {
    opacity: 1;
}

/* 最初のtop-interview__right-switch（画像表示用）のz-index設定 */
.top-interview__right .top-interview__right-switch:first-child {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* ボタンを含むtop-interview__right-switch（2つ目）を右下に配置 */
.top-interview__right .top-interview__right-switch:last-child {
    position: absolute;
    bottom: 25%;
    right: 10%;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 100;
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    .top-interview__right .top-interview__right-switch:last-child {
        bottom: 0;
    }
}

.btn-prev,
.btn-next {
    pointer-events: auto;
    position: relative;
    z-index: 101;
}

.top-interview__right-switch-btn {
    width: 90px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 102;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
    .top-interview__right-switch-btn {
        width: 60px;
    }
}

.top-interview__right-switch-btn:hover {
    opacity: 0.8;
}

.top-interview__right-switch-btn img {
    pointer-events: none;
}

.top-interview__right-switch-btn img {
    width: 100%;
    height: auto;
    display: block;
}








/* ------------------------------ */
/*数字で見る朝日 */
/* ------------------------------ */
.top-visual {
    width: 100%;
    overflow-x: hidden;
    height: auto;
    margin-top: 160px;
    padding-bottom: 180px;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FFFADB 40%, #FBDBBF 83%, #FFFFFF 100%);
}

@media screen and (max-width: 768px) {
    .top-visual {
        margin-top: 80px;
        padding-bottom: 80px;
    }
}

.top-visual__inner {
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 480px) {
    .top-visual__inner {
        width: 120%;
        transform: translateX(-10%);
    }
}

.top-visual__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-35%);
    animation: none;
}

.top-visual__inner.is-visible .top-visual__item--01 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 0s, 0.5s;
}

.top-visual__inner.is-visible .top-visual__item--02 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 0.2s, 0.7s;
}

.top-visual__inner.is-visible .top-visual__item--03 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 0.4s, 0.9s;
}

.top-visual__inner.is-visible .top-visual__item--04 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 0.6s, 1.1s;
}

.top-visual__inner.is-visible .top-visual__item--05 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 0.8s, 1.3s;
}

.top-visual__inner.is-visible .top-visual__item--06 {
    animation: slideDown 0.5s ease-out forwards, shake 2s ease-in-out 0.5s infinite;
    animation-delay: 1s, 1.5s;
}

.top-visual__item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 各アイテムに順番に遅延を設定 */
.top-visual__item--01 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

/* --01以外のアイテムは--01の位置に重なるように配置 */
.top-visual__item--02,
.top-visual__item--03,
.top-visual__item--04,
.top-visual__item--05,
.top-visual__item--06 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}


/* translateY(-35%)からtranslateY(0)に移動しながらフェードイン */
@keyframes slideDown {
    0% {
        transform: translateY(-35%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 左右に2px揺れるアニメーション（2秒に1回） */
@keyframes shake {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    5% {
        transform: translateY(0) translateX(-2px);
    }

    10% {
        transform: translateY(0) translateX(2px);
    }

    15% {
        transform: translateY(0) translateX(0);
    }
}

/* ------------------------------ */
/* インタビューモーダル */
/* ------------------------------ */
.interview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.interview-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interview-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}


.interview-modal__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: #fff;
    border: 4px solid var(--red-color);
    border-radius: 20px;
    padding-left: 40px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.interview-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    background: var(--brown-color);
}

.interview-modal__close:hover {
    opacity: 0.7;
}

.interview-modal__close span {
    line-height: 1;
    transform: translateY(-2px);
}

.interview-modal__inner {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 0px;
    flex: 1;
    min-height: 0;
    align-items: start;
}

@media screen and (max-width: 768px) {
    .interview-modal__inner {
        overflow: scroll;
    }
}

.interview-modal__left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    max-height: 100%;
    padding: 40px 0 40px 40px;
}

@media screen and (max-width: 768px) {
    .interview-modal__left {
        padding-left: 0;
    }
}

/* スクロールバーを非表示 */
.interview-modal__left {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.interview-modal__left::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.interview-modal__header {
    display: flex;
    gap: 15px;

    position: relative;
    align-items: center;
}

@media screen and (max-width: 1300px) {
    .interview-modal__header {
        flex-wrap: wrap;
    }
}

/* SP用のname-wrapper */
.interview-modal__name-wrapper--sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .interview-modal__header {
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
    }

    .interview-modal__header-inner {
        flex-shrink: 1;
    }

    /* SP用のname-wrapperを表示 */
    .interview-modal__name-wrapper--sp {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .interview-modal__name-wrapper--sp .interview-modal__name-img {
        width: 100%;
        max-width: 90px;
        min-width: 70px;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    /* 既存のname-wrapperを非表示 */
    .interview-modal__name-section .interview-modal__name-wrapper {
        display: none;
    }

    /* name-sectionは別ブロックとして下に配置 */
    .interview-modal__name-section {
        width: 100%;
        margin-top: 20px;
    }
}

.interview-modal__header-inner {
    flex-shrink: 0;
}


.interview-modal__label {
    font-size: 16px;
    color: var(--red-color);
    font-weight: 900;
    font-family: var(--secondary-font);
    font-style: italic;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
}

.interview-modal__dept {
    text-align: center;
    min-width: 140px;
    background: #C2A175;
    padding: 10px 15px;
    border-radius: 5px;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
    margin-top: 10px;
    align-self: flex-start;
}

.interview-modal__dept-text {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

@media screen and (max-width: 420px) {
    .interview-modal__dept-text {
        font-size: 17px;
    }
}

.interview-modal__dept-text--sub {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    font-family: Roboto Flex, sans-serif;
}



.interview-modal__name-section {
    display: flex;
    gap: 10px;
    align-items: end;
}



.interview-modal__name span {
    font-size: 14px;
    font-weight: 600;
    margin-left: 1em;
}

.interview-modal__name-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 150px;
    flex: 1;
}

.interview-modal__name {
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: bold;
    color: #C2A175;
    margin: 0;
    margin-top: 10px;
}

.interview-modal__name-img {
    width: 100%;
    max-width: 140px;
    min-width: 90px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.interview-modal__recommend {
    background: transparent;
    padding: 15px;
    padding-right: 0;
    border-radius: 5px;
    padding-left: 0;
    width: fit-content;
    min-width: 220px;
}

@media screen and (max-width: 768px) {
    .interview-modal__recommend {
        padding-left: 0;
        width: 100%;
    }
}

.interview-modal__recommend-title {
    background: var(--red-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding: 8px 12px;
}

.interview-modal__recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    gap: 10px;
}

.interview-modal__recommend-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.interview-modal__recommend-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--red-color);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.interview-modal__recommend-text {
    flex: 1;
    color: var(--red-color);
}

.interview-modal__qa {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}

@media screen and (max-width: 768px) {
    .interview-modal__qa {
        padding-right: 10px;
    }
}



.interview-modal__qa-item:last-child {
    border-bottom: none;
}

.interview-modal__qa-question {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0;
    border-top: 1px solid var(--red-color);
}

/* .interview-modal__qa-item:last-child .interview-modal__qa-question {
    border-bottom: 1px solid var(--red-color);
} */

.interview-modal__qa-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--red-color);
    flex-shrink: 0;
    font-style: italic;
    font-family: var(--secondary-font);

}

.interview-modal__qa-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--red-color);
    flex: 1;
}

@media screen and (max-width: 768px) {
    .interview-modal__qa-text {
        font-size: 18px;
    }
}

.interview-modal__qa-toggle {
    width: 30px;
    height: 30px;
    color: var(--red-color);
    border: 1px solid var(--red-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}



.interview-modal__qa-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: block;
}

.interview-modal__qa-icon::before,
.interview-modal__qa-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--red-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 横線（常に表示） */
.interview-modal__qa-icon::before {
    transform: translate(-50%, -50%);
    width: 12px;
    height: 2px;
}

/* 縦線（閉じている時のみ表示） */
.interview-modal__qa-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    width: 12px;
    height: 2px;
    opacity: 1;
}

/* 開いている時は縦線を非表示（-マーク） */
.interview-modal__qa-item.is-open .interview-modal__qa-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.interview-modal__qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0 0 50px;
    color: var(--brown-color);
    font-size: 15px;
}

.interview-modal__qa-answer--open {
    max-height: 1000px;
    padding: 15px 0 15px 50px;
    padding-top: 0;
}

.interview-modal__qa-answer p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}



.interview-modal__right {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    gap: 0px;
}

.interview-modal__right-img-wrapper {
    flex: 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.interview-modal__right-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .interview-modal__content {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }

    .interview-modal__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interview-modal__left {
        max-height: none;
        overflow-y: visible;
        padding-top: 80px;
    }

    .interview-modal__right {
        position: relative;
        height: auto;
        max-height: none;
    }

    .interview-modal__left {
        order: -1;
    }

    .interview-modal__right-img-wrapper {
        height: auto;
        min-height: 200px;
    }

    .interview-modal__right-img-wrapper:first-child {
        margin-bottom: 10px;
    }

    .interview-modal__right-img {
        height: auto;
        max-height: 300px;
        width: 100%;
        object-fit: contain;
    }

    .interview-modal__name-section {
        flex-direction: column;
        gap: 15px;
    }

    .interview-modal__name {
        font-size: 24px;
    }

    .interview-modal__qa-answer {
        padding-left: 40px;
    }

    .interview-modal__qa-answer--open {
        padding-left: 40px;
    }
}

/* ------------------------------ */
/* 福利厚生セクション */
/* ------------------------------ */
.benefits {
    margin-top: 80px;
}

.benefits__inner-top {
    background-color: var(--red-color);
    padding: 60px 40px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top {
        padding: 20px 0px;
    }
}

.benefits__inner-top-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-list {
        grid-template-columns: 1fr;
    }
}

.benefits__inner-top-item {
    padding: 40px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-item {
        padding: 10px 20px;
    }
}

.benefits__inner-top-item:first-child {
    padding-right: 80px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-item:first-child {
        padding-right: 20px;
    }
}

.benefits__inner-top-item:last-child {
    padding-left: 80px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-item:last-child {
        padding-left: 20px;
    }
}

.benefits__inner-top-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-item:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

.benefits__inner-top-title {
    background-color: #fff;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    margin-bottom: 25px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-title {
        padding: 10px 20px;
        gap: 8px;
    }
}

.benefits__inner-top-number {
    font-size: 48px;
    font-weight: 900;
    color: #DC0C1C;
    font-family: var(--secondary-font);
    line-height: 1;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-number {
        font-size: 26px;
    }
}

.benefits__inner-top-label {
    font-size: 24px;
    font-weight: 700;
    color: #DC0C1C;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-label {
        font-size: 18px;
    }
}

.benefits__inner-top-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .benefits__inner-top-text {
        font-size: 14px;
    }
}

.benefits__inner-bottom {
    background-color: var(--red-color);
    padding: 60px 40px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-bottom {
        padding: 10px 0px;
    }
}

.benefits__inner-bottom .benefits__inner-top-list {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
    .benefits__inner-bottom .benefits__inner-top-list {
        grid-template-columns: 1fr;
    }
}

.benefits__inner-bottom .benefits__inner-top-item {
    padding: 40px;
}

@media screen and (max-width: 768px) {
    .benefits__inner-bottom .benefits__inner-top-item {
        padding: 30px 20px;
    }
}

.benefits__inner-bottom .benefits__inner-top-item:first-child {
    padding-right: 60px;
}

.benefits__inner-bottom .benefits__inner-top-item:nth-child(2) {
    padding-left: 60px;
    padding-right: 60px;
}

.benefits__inner-bottom .benefits__inner-top-item:last-child {
    padding-left: 60px;
}

@media screen and (max-width: 768px) {

    .benefits__inner-bottom .benefits__inner-top-item:first-child,
    .benefits__inner-bottom .benefits__inner-top-item:nth-child(2),
    .benefits__inner-bottom .benefits__inner-top-item:last-child {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.benefits__inner-bottom .benefits__inner-top-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .benefits__inner-bottom .benefits__inner-top-item:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .benefits__inner-bottom .benefits__inner-top-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}


/* ------------------------------ */
/* 募集要項 */
/* ------------------------------ */
.recruit {
    margin-top: 180px;
}

@media screen and (max-width: 768px) {
    .recruit {
        margin-top: 80px;
    }
}

.recruit__inner {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .recruit__inner {
        padding: 0;
    }
}

.recruit__section {
    margin-bottom: 60px;
}

.recruit__section:last-of-type {
    margin-bottom: 80px;
}

.recruit__section-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

@media screen and (max-width: 768px) {
    .recruit__section-header {
        padding-bottom: 4px;
    }
}

.recruit__section-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%;
    height: 2px;
    background-color: #cc0000;
    z-index: 1;
}

.recruit__section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 0;
    height: 2px;
    background-color: #FFC9CD;
    z-index: 1;
}

.recruit__section-number {
    font-size: 60px;
    font-weight: bold;
    color: #E60012;
    line-height: 1;
    margin-right: 20px;
    font-family: var(--secondary-font);
    font-style: italic;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .recruit__section-number {
        font-size: 32px;
        margin-right: 10px;
        transform: translateY(2px);
    }
}

.recruit__section-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .recruit__section-title {
        font-size: 18px;
    }
}

.recruit__content {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    align-items: start;
    border-bottom: 1px solid #FFC9CD;
    padding: 16px 0;
    color: var(--brown-color);
}

@media screen and (max-width: 768px) {
    .recruit__content {
        display: flex;
        flex-direction: column;
    }
}

.recruit__content>dt {
    font-weight: bold;
    color: var(--brown-color);
    grid-column: 1;
    padding-bottom: 8px;
    position: relative;
}

.recruit__content>dd {
    color: var(--brown-color);
    line-height: 1.8;
    grid-column: 2;
    margin: 0;
    padding: 0 0 25px 0;
    position: relative;
    border-bottom: 1px solid #FFC9CD;
}

@media screen and (max-width: 768px) {
    .recruit__content>dt {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .recruit__content>dd {
        font-size: 14px;
    }
}



/* 金額数字にRoboto Flexフォントを適用 */
.recruit__section .recruit__content>dd,
.recruit__section .recruit__allowance-list li {
    font-family: 'Roboto Flex', sans-serif;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.recruit__content>dt:last-of-type+dd,
.recruit__content>dd:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recruit__content>dd:only-child {
    grid-column: 1 / -1;
    border-bottom: none;
}

/* 総合職コースのみのセクション用 */
.recruit__section:first-child .recruit__content {
    display: block;
}

.recruit__section:first-child .recruit__content dd {
    display: block;
}

.recruit__job-subtitle {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    color: #000;
}

.recruit__content dd p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--brown-color);
}

.recruit__allowance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recruit__allowance-list li {
    margin-bottom: 8px;
}

.recruit__allowance-list li:last-child {
    margin-bottom: 0;
}

.recruit__buttons {
    max-width: 450px;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
    margin-top: 140px;

}

@media screen and (max-width: 768px) {
    .recruit__buttons {
        gap: 20px;
        flex-direction: column;
        margin-top: 50px;
    }
}

.recruit__button {
    display: inline-block;
    padding: 30px 60px;
    background-color: #E60012;
    text-align: center;
    width: 100%;

    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.recruit__button:hover {
    opacity: 0.8;
}

/* ------------------------------ */
/* フッター */
/* ------------------------------ */
.footer {
    margin-top: 120px;
    padding-top: 330px;
    position: relative;
    overflow: hidden;
    /* 背景画像のアニメーション時に余白ができないようにする */
}

@media screen and (max-width: 768px) {
    .footer {
        margin-top: 80px;
        padding-top: 220px;
    }
}

.footer__inner-wrapper {
    padding-bottom: 120px;
}

@media screen and (max-width: 768px) {
    .footer__inner-wrapper {
        padding-bottom: 20px;
    }
}

.footer__base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.footer__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

@media screen and (max-width: 1080px) {
    .footer__bg {
        top: 5%;
    }
}

@media screen and (max-width: 600px) {
    .footer__bg {
        top: 13%;
    }
}

.footer__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media screen and (max-width: 1080px) {
    .footer__bg img {
        object-fit: contain;

    }
}

@keyframes footer-bg-rotate-01 {
    0% {
        transform: rotate(-1deg);
    }

    50% {
        transform: rotate(1deg);
    }

    51%,
    100% {
        transform: rotate(1deg);
    }
}

@keyframes footer-bg-rotate-02 {

    0%,
    50% {
        transform: rotate(1deg);
    }

    51% {
        transform: rotate(1deg);
    }

    100% {
        transform: rotate(-1deg);
    }
}

/* もぐらたたき風の上下アニメーション - パターン1 (01, 04, 07) */
@keyframes mole-whack-pattern1 {
    0% {
        transform: translateY(0);
    }

    8% {
        transform: translateY(40px);
        /* 引っ込む（早く） */
    }

    15% {
        transform: translateY(0);
        /* 戻ってくる（早く） */
    }

    100% {
        transform: translateY(0);
        /* 停止状態を維持（85%の時間停止） */
    }
}

/* もぐらたたき風の上下アニメーション - パターン2 (02, 05, 08) */
@keyframes mole-whack-pattern2 {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(50px);
        /* 引っ込む（早く） */
    }

    18% {
        transform: translateY(0);
        /* 戻ってくる（早く） */
    }

    100% {
        transform: translateY(0);
        /* 停止状態を維持（82%の時間停止） */
    }
}

/* もぐらたたき風の上下アニメーション - パターン3 (03, 06, 09) */
@keyframes mole-whack-pattern3 {
    0% {
        transform: translateY(0);
    }

    9% {
        transform: translateY(45px);
        /* 引っ込む（早く） */
    }

    16% {
        transform: translateY(0);
        /* 戻ってくる（早く） */
    }

    100% {
        transform: translateY(0);
        /* 停止状態を維持（84%の時間停止） */
    }
}

/* 01, 02の回転アニメーションは削除 */

/* フッター背景画像の下から上への表示アニメーション */
@keyframes footer-bg-slide-up {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* 初期状態では非表示 */
.footer__bg {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

/* 表示アニメーション適用時 */
.footer__bg.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out forwards;
}

/* 各要素の遅延時間を設定（順番に下から上へ表示） */
/* これらは個別にアニメーションを指定するため、ここでは削除 */

/* 01, 02の回転アニメーションは削除（ガタガタをなくすため） */

/* もぐらたたきアニメーション - スライドアップ完了後（約2秒後）に開始 */
/* 停止時間をさらに長くするため、アニメーション時間を延長 */
/* 3パターンが被らないように開始タイミングをずらす */
/* パターン1: 01, 04, 07 (3で割った余りが1) - 最初に開始 */
.footer__bg--01.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0s forwards,
        mole-whack-pattern1 8s ease-in-out 2s infinite;
}

.footer__bg--04.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.45s forwards,
        mole-whack-pattern1 8s ease-in-out 2.45s infinite;
}

.footer__bg--07.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.9s forwards,
        mole-whack-pattern1 8s ease-in-out 2.9s infinite;
}

/* パターン2: 02, 05, 08 (3で割った余りが2) - パターン1の動きが終わってから開始（約10秒後） */
.footer__bg--02.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.15s forwards,
        mole-whack-pattern2 9s ease-in-out 10s infinite;
}

.footer__bg--05.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.6s forwards,
        mole-whack-pattern2 9s ease-in-out 10.45s infinite;
}

.footer__bg--08.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 1.05s forwards,
        mole-whack-pattern2 9s ease-in-out 10.9s infinite;
}

/* パターン3: 03, 06, 09 (3で割った余りが0) - パターン2の動きが終わってから開始（約19秒後） */
.footer__bg--03.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.3s forwards,
        mole-whack-pattern3 8.5s ease-in-out 19s infinite;
}

.footer__bg--06.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 0.75s forwards,
        mole-whack-pattern3 8.5s ease-in-out 19.45s infinite;
}

.footer__bg--09.is-visible {
    animation: footer-bg-slide-up 0.8s ease-out 1.2s forwards,
        mole-whack-pattern3 8.5s ease-in-out 19.9s infinite;
}

.footer__base img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0px;
}

@media screen and (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        padding: 0 15px;
    }
}

.footer__left {
    flex: 0 0 auto;
}

.footer__logo-area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .footer__logo-area {
        margin-bottom: 0px;
    }
}

.footer__logo {
    width: 20vw;
    min-width: 200px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .footer__logo {
        width: 100%;
        max-width: 230px;
        padding-left: 20px;
    }
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.footer__right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

@media screen and (max-width: 768px) {
    .footer__right {
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }
}

.footer__right .footer__nav-list {
    align-items: flex-start;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .footer__nav {
        gap: 15px;
    }
}

.footer__nav--left {
    align-items: flex-start;
    align-self: flex-start;
}

.footer__nav--right {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    font-weight: 600;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .footer__nav--right {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media screen and (max-width: 768px) {
    .footer__nav-list {
        gap: 10px;
    }
}

.footer__nav-item {
    margin: 0;
}

.footer__nav-link {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-right: 15px;
    transition: opacity 0.3s;
}

@media screen and (max-width: 768px) {
    .footer__nav-link {
        font-size: 13px;
        padding-right: 12px;
    }
}

.footer__nav--left .footer__nav-link::after {
    content: '';
    background: url('../img/footer-arrow.webp') no-repeat center center / contain;
    position: absolute;
    right: -7px;
    width: 14px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.footer__nav--right .footer__nav-link {
    padding-right: 0;
}

.footer__nav-link:hover {
    opacity: 0.7;
}

.footer__copyright {
    font-size: 12px;
    color: #fff;
    margin: 0;
    text-align: right;
    letter-spacing: 0;
}

@media screen and (max-width: 768px) {
    .footer__copyright {
        font-size: 11px;
        text-align: left;
    }
}