@import './animations/entries.css';

/* ========================================
   Figma デザイン ビビッドグループ募集要項
   デザイントークン・ベース
   ======================================== */
/* MOBO（デザイン準拠）: assets/font/MOBO-Font11/MOBO-Bold.otf を配置すると使用されます。未配置時は M PLUS Rounded 1c を使用 */
@font-face {
    font-family: 'MOBO';
    src: url('../font/MOBO-Font11/MOBO-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MOBO-semi-bold';
    src: url('../font/MOBO-Font11/MOBO-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ベースカラー */
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-black: #1b1b1b;
    --color-dark-gray: #777777;
    --color-gray: #c1c1c1;
    --color-tab-inactive: #999999;
    --color-text: #3a3a3a;
    --color-placeholder: #909090;
    /* アクセント */
    --color-accent: #d7000f;
    --color-accent-text: #dc143c;
    --color-accent-hover: #ad030f;
    /* フォント（デザイン: MOBO-Bold / Outfit / Koulen） */
    --font-mobo:
        'MOBO', 'M PLUS Rounded 1c', 'Hiragino Sans', 'Meiryo', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-koulen: 'Koulen', var(--font-outfit);
    /* スペーシング */
    --container-max: 1040px;
    --container-padding: clamp(16px, 5vw, 150px);
    --section-gap: 70px;
    --card-radius: 20px;
    --btn-radius: 5px;
    /* シャドウ */
    --shadow-cta: 0 0 10px rgba(0, 0, 0, 0.4);
    --text-shadow-hero: 0 0 10px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-width: 375px;
    font-size: 10px;
    overflow-x: hidden;
}


body {
    margin: 0;
    font-family: var(--font-mobo);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-black);
    background: var(--color-light-gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   下層ページ共通 MV（.page_mv + data-main-visual）
   ======================================== */
.container_1440 {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.page_mv {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.page_mv_img_1 {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.page_mv_img_2 {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.page_mv_inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    color: var(--color-white);
    height: 100vh;
    height: 100dvh;
    z-index: 3;
}

.page_mv_title {
    font-family: var(--font-mobo);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 36px);
}

.page_mv_sub {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: clamp(14px, 2.5vw, 20px);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    z-index: 10;
}
.header_light {
    background: transparent;
    transition: background-color 0.45s ease;
}

body.past_mv .header_light {
    background: #fff;
}
.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    padding: 30px;
}
.header_logo {
    width: 95.05px;
    height: 46.43px;
}
.header_logo_link {
    width: inherit;
    height: inherit;
}
.header_logo_img {
    width: inherit;
    height: inherit;
}
.header_nav_cta_container {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: clamp(12px, 0.519vw + 9.766px, 16px);
    font-family: var(--font-mobo);
    font-weight: 700;
}
.header_nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}
.header_nav_link {
    text-decoration: none;
    color: var(--color-black);
}

/* 下層ページのみ: MV上はナビ文字を白、past_mv で #1b1b1b */
body:has(.page_mv) .header_light .header_nav_link {
    color: var(--color-white);
    transition: color 0.45s ease;
}

body:has(.page_mv).past_mv .header_light .header_nav_link {
    color: var(--color-black);
}

.header_cta_button:hover {
    background: var(--color-accent-hover);
}
.btn_dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 5px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.btn_dark:hover {
    background: var(--color-accent-hover);
}
.hum_btn {
    display: none;
}
@media screen and (max-width: 819px) {
    .header_inner {
        align-items: start;
    }
    .header_nav_cta_container {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100vh;
    height: 100dvh;
        padding: 100px 0 0 30px;
        flex-direction: column;
        align-items: baseline;
        background: var(--color-accent);
        gap: 50px;
        transform: translateX(100%);
        transition: 0.5s ease-in-out;
    z-index: 998;
    }
    .header_nav_cta_container.active {
        transform: translateX(0);
    }
    .header_nav_list {
        flex-direction: column;
    }
    .hum_btn {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        margin: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 999;
    }
    .hum_btn::before {
        content: '';
        position: fixed;
        top: 45px;
        right: 30px;
        width: 50px;
        height: 4px;
        border-radius: 10px;
        background: var(--color-black);
        transition: 0.5s ease-in-out;
    }
    .hum_btn.active::before {
        transform: translateY(7.5px) rotate(220deg);
        background: var(--color-black);
    }
    .hum_btn::after {
        content: '';
        position: fixed;
        top: 60px;
        right: 30px;
        width: 50px;
        height: 4px;
        border-radius: 10px;
        background: var(--color-black);
        transition: 0.5s ease-in-out;
    }
    .hum_btn.active::after {
        transform: translateY(-7.5px) rotate(-220deg);
        background: var(--color-black);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    font-family: var(--font-mobo);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.1em;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn--header {
    background: var(--color-black);
    color: var(--color-white);
}

.btn--entry {
    font-family: var(--font-outfit);
    font-weight: 500;
    background: var(--color-white);
    color: var(--color-accent);
    font-size: 32px;
    padding: 20px 50px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 = 810/1440 */
    min-height: 280px;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    inset: 0;
    background-color: var(--color-dark-gray);
    background-image:
        url('../../img/hero-bg.webp'),
        linear-gradient(
            135deg,
            var(--color-dark-gray) 0%,
            var(--color-black) 100%
        );
    background-size: cover, cover;
    background-position: center, center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    text-shadow: var(--text-shadow-hero);
}

.hero__title {
    margin: 0 0 20px;
    font-family: var(--font-mobo);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.hero__subtitle {
    margin: 0;
    font-family: var(--font-outfit);
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ========================================
   CTA Float (ENTRY)
   ======================================== */
.cta-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-mobo);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.1em;
    border-radius: var(--btn-radius);
    box-shadow: var(--shadow-cta);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
        z-index: 10;
}

@media (min-width: 769px) {
    .cta-float {
        right: 82px;
        bottom: 82px;
    }
}

/* ========================================
   Job Tabs（Figma 531:9769 準拠）
   ======================================== */


.job-tabs {
    padding: 100px 0 0;
    max-width: var(--container-max);
    margin: 0 auto;
}

.job-tabs__nav {
    background: var(--color-white);
    border-radius: 40px;
    padding: 10px 20px;
    max-width: 640px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.job-tabs__list {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: max-content;
}

.job-tabs__item {
    color: #999;
    font-family: var(--font-mobo);
    font-size: clamp(0.875rem, 3vw, 1.25rem);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /* 非選択時: 縦のみパディング（Figma py-[20px]） */
    padding: 20px 0;
    border-radius: 30px;
    transition: background 0.2s;
}

.job-tabs__item--active {
    background: var(--color-light-gray);
    /* 選択時: Figma px-[30px] py-[15px] */
    padding: 15px 30px;
    border-radius: 30px;
    color: #D7000F;
}

@media (max-width: 768px) {
    .job-tabs__nav {
        background: transparent;
        border-radius: 0;
        padding: 0 15px;
        max-width: 100%;
        overflow-x: visible;
    }
    .job-tabs__list {
        flex-wrap: wrap;
        gap: 8px;
        min-width: 0;
    }
    .job-tabs__item {
        font-size: clamp(14px, 2.5vw, 1rem);
        padding: 10px 16px;
        border-radius: 20px;
        background: var(--color-white);
        border: 1px solid #ddd;
    }
    .job-tabs__item--active {
        padding: 10px 16px;
        border-color: #D7000F;
    }
}

/* ========================================
   Job Content
   ======================================== */
.job-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 100px 10px 0;
}

.job-content__heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--section-gap);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .job-content__heading {
        margin-bottom: 20px;
    }
}

.job-content__title {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #D7000F;
}

.badge {
    font-family: var(--font-mobo);
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 22px;
}

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

.badge--sm {
    font-size: 15px;
    border-radius: 120px;
    flex-shrink: 0;
}

.badge--recruiting {
    background: var(--color-accent);
}

.badge--stopped {
    background: var(--color-dark-gray);
}

/* タブパネル：非表示／表示 */
.job-content-panel {
    display: none;
}

.job-content-panel.job-content-panel--active {
    display: block;
}

/* ========================================
   Card & Detail List
   ======================================== */
.card {
    background: var(--color-white);
    border-radius: var(--card-radius);
    padding: 50px;
    margin-bottom: var(--section-gap);
}

.detail-list__row {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 50px 0 50px 30px;
    border-bottom: 1px solid var(--color-gray);
    flex-wrap: wrap;
}

.detail-list__row:last-child {
    border-bottom: none;
}

.detail-list__term {
    font-family: var(--font-mobo);
    flex: 0 0 112px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #d7000f;
}

.detail-list__desc {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.detail-list__desc p {
    font-family: var(--font-mobo);
    margin: 0 0 0.5em;
    font-size: 16px;
    font-weight: 700;
}

.detail-list__note {
    font-family: var(--font-mobo);
    margin: 20px 0 0.5em;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-gray);
    display: block;
}

/* Bullet list（親: HTML の ■ + .bullet-list__mark で赤 / ネスト: 中灰・「・」は下記） */
.bullet-list {
    margin: 0;
    padding: 0;
}

.bullet-list__mark {
    color: #d7000f;
    font-weight: 700;
    margin-right: 0.2em;
}

.bullet-list__label {
    font-weight: 700;
    margin-left: 15px;
}

.bullet-list:not(.bullet-list--nested) > li {
    font-family: var(--font-mobo);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}

.bullet-list:not(.bullet-list--nested) > li:last-child {
    margin-bottom: 0;
}

.bullet-list--nested {
    margin-top: 20px;
    margin-left: 0;
    padding: 0;
}

.bullet-list--nested li {
    font-family: var(--font-mobo);
    position: relative;
    padding-left: 1.25em;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-gray);
}

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

.bullet-list--nested li::before {
    content: '・';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: none;
    color: var(--color-dark-gray);
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .card--job-details .bullet-list li {
        line-height: 1;
        margin-bottom: 10px;
    }
    .card--job-details .bullet-list__label {
        font-size: 14px;
        line-height: 1;
        margin-bottom: 0 0 10px;
    }
    .card--job-details .bullet-list--nested {
        margin-top: 10px;
    }
    .card--job-details .bullet-list--nested li {
        font-size: 13px;
        margin-bottom: 5px;
    }
}

/* Location list (勤務地) */
.location-list {
    margin: 0;
    padding: 0;
}

.location-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* flex + gap があるのでラベルの margin-left は重ねない */
.location-list .bullet-list__label {
    margin-left: 0;
}

/* 赤い ■ は .bullet-list__mark（HTML）で bullet-list と同仕様 */
.location-list__text {
    font-family: var(--font-mobo);
    font-weight: 700;
    flex: 1;
    min-width: 200px;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .detail-list__row .location-list li {
        gap: 5px;
        margin-bottom: 10px;
    }
    .detail-list__row .location-list .bullet-list__label {
        align-self: center;
    }
    .detail-list__row .location-list__text {
        font-size: 14px;
    }
    .detail-list__row .detail-list__desc p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .detail-list__row {
        flex-direction: column;
        gap: 16px;
        padding: 24px 16px;
        align-items: flex-start;
    }

    .detail-list__term {
        flex: none;
    }

    .card {
        padding: 24px 16px;
    }
}

/* ========================================
   Section Heading（下層セクション見出し）
   デザイン: EN 24px / 線 50px / JA 40px, gap 20px（本文色は body と同じ）
   ======================================== */
.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 100px 0 var(--section-gap);
    padding: 0 var(--container-padding);
    width: 100%;
}

.section-heading__en {
    margin: 0;
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    width: 100%;
    color: var(--color-dark-gray);
}

.section-heading__line {
    width: 50px;
    height: 0;
    position: relative;
}

.section-heading__line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
}

.section-heading__ja {
    margin: 0;
    font-family: var(--font-mobo);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .section-heading__ja {
        font-size: clamp(28px, 6vw, 40px);
        white-space: normal;
    }
}

/* ========================================
   Flow（選考フロー）
   デザイン: gap 100px, 線 667px at 25px, ステップ w56px, 円 50px, gap 50px to note
   ======================================== */
.flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 0 var(--container-padding) 200px;
    max-width: 1440px;
    margin: 0 auto;
}

.flow__steps-wrap {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.flow__steps__image {
    display: none;
}

.flow__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* 赤い一本線 */
.flow__steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease-out;
    width: 83%;
    margin: auto;
}
.flow__steps.active::before {
    transform: scaleX(1);
}

.flow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.flow__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-koulen);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    border-radius: 25px;
    flex-shrink: 0;
}

.flow__label {
    font-family: var(--font-mobo);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.flow__note {
    color: var(--color-dark-gray);
    font-family: var(--font-mobo);
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    width: 100%;
}

@media (max-width: 768px) {
    .flow__steps-wrap {
        width: 100%;
    }

    

    .flow__num {
        width: 40px;
        height: 40px;
        font-size: 24px;
        border-radius: 20px;
    }

    .flow__steps::before {
        top: 20px;
        left: 20px;
        right: 20px;
    }

    .flow__label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .flow__steps-wrap {
        width: 100vw;
        max-width: 46rem;
        overflow: scroll;
        margin: 0 calc(50% - 50vw);
    }
    .flow__steps {
        display: none;
    }
    .flow__steps__image {
        display: block;
        max-width: unset;
        width: fit-content;
        height: 6.4rem;
        margin: 0 3rem 1rem;
    }
    .flow {
        gap: 3rem;
    }
}

/* ========================================
   Timeline (入社後の流れ) — デザイン準拠
   Paragraph+Background: 期間 | 縦線 | タイトル+説明、gap 50px, px40 py20
   ======================================== */
.timeline {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 var(--container-padding) 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .timeline {
        padding: 0 0 200px;
    }
}

.timeline__item {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--color-white);
    padding: 20px 40px;
    border-radius: 10px;
    width: 100%;
}

.timeline__period {
    font-family: var(--font-mobo);
    flex: 0 0 93px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
color: #D7000F;
}

.timeline__connector {
    flex: 0 0 auto;
    width: 2px;
    height: 40px;
    background: var(--color-gray);
    align-self: center;
}

.timeline__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.timeline__title {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.timeline__desc {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    
    color: #777777;
}

@media (max-width: 768px) {
    .timeline__item {
        gap: 24px;
        padding: 20px 24px;
    }

    .timeline__period {
        flex: 0 0 100px;
        font-size: 18px;
    }

    .timeline__connector {
        height: 32px;
    }
}

@media (max-width: 768px) {
    .timeline__item {
        gap: 20px;
        padding: 15px 40px 15px 10px;
    }
    .timeline__period {
        flex-basis: 60px;
        font-size: 13px;
    }
    .timeline__title {
        font-size: 14px;
    }
    .timeline__desc {
        font-size: 12px;
    }
    .timeline {
        gap: 10px;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    margin-top: 0;
}

/* エントリー・プライバシーポリシーページではCTAを非表示 */
.page-template-page-entry .footer__cta,
.page-template-page-privacypolicy .footer__cta {
    display: none;
}

.footer__cta {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    overflow: hidden;
}

.footer__cta-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-black);
    background-image:
        url('../../img/footer-cta-bg.webp'),
        linear-gradient(
            180deg,
            var(--color-dark-gray) 0%,
            var(--color-black) 100%
        );
    background-size: cover, cover;
    background-position: center, center;
}

.footer__cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 15, 15, 0.7);
}

.footer__cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    max-width: 600px;
}

.footer__cta-title {
    margin: 0 0 30px;
    font-family: var(--font-outfit);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer__cta-lead {
    font-family: var(--font-mobo);
    margin: 0 0 16px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
}

.footer__cta-desc {
    font-family: var(--font-mobo);
    margin: 0 0 30px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0.95;
}

.footer__bottom {
    background: var(--color-black);
    color: var(--color-white);
    padding: 100px var(--container-padding) 40px;
}

.footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__site-name {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.footer__company {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.footer__address {
    font-family: var(--font-mobo);
    margin: 0;
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-gray);
    line-height: 1.5;
}

.footer__tel {
    font-family: var(--font-mobo);
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-gray);
}

.footer__nav {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
}

.footer__nav-title {
    margin: 0 0 10px;
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark-gray);
    letter-spacing: 0.02em;
}

.footer__nav-block ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__nav-block a {
    font-family: var(--font-mobo);
    font-weight: 700;
    color: var(--color-white);
    font-size: 16px;
}

.footer__badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer__badge {
    background: var(--color-white);
    border-radius: var(--btn-radius);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.footer__badge img {
    width: auto;
    height: 80px;
    object-fit: contain;
}

.footer__badge-label {
    font-family: var(--font-mobo);
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    text-align: center;
    line-height: 1.2;
}

.footer__links {
    display: flex;
    gap: 30px;
    grid-column: 1 / -1;
}

.footer__links a {
    font-family: var(--font-mobo);
    font-weight: 700;
    color: var(--color-gray);
    font-size: 16px;
}

.footer__copy {
    max-width: 1440px;
    margin: 40px auto 0;
    padding-top: 20px;
    text-align: center;
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 12px;
    color: var(--color-white);
}

@media (min-width: 769px) {
    .footer__inner {
        grid-template-columns: auto 1fr auto;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .footer__badges {
        justify-content: center;
    }
}

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

/* ========================================
   Responsive: Mobile menu
   ======================================== */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
    height: 100dvh;
        background: var(--color-black);
        padding: 80px 24px 24px;
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 99;
    }

    .header__nav.is-open {
        transform: translateX(0);
    }

    .header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .header__menu-btn {
        display: block;
        position: relative;
        z-index: 101;
    }

    .job-tabs {
        padding-top: 60px;
    }

    .job-content {
        padding: 20px;
    }

    .section-heading {
        margin-top: 60px;
        gap: 10px;
        margin-bottom: 30px;
    }

    .flow,
    .timeline {
        padding-bottom: 80px;
    }
}

/* ========================================
   Entry Page（Figma 531:8107）
   ======================================== */
.page-entry .main {
    padding-top: 0;
}

.entry-hero {
    position: relative;
    height: 810px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.entry-hero__image {
    position: absolute;
    inset: 0;
    background-color: var(--color-dark-gray);
    background-image:
        url('../../img/hero-bg.webp'),
        linear-gradient(
            135deg,
            var(--color-dark-gray) 0%,
            var(--color-black) 100%
        );
    background-size: cover;
    background-position: center;
}

.entry-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.entry-hero__content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    text-shadow: var(--text-shadow-hero);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.entry-hero__title {
    font-family: var(--font-mobo);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.entry-hero__subtitle {
    font-family: var(--font-outfit);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
}

.entry-content {
   background: #fff;
    margin: 0 auto;
    padding: 100px var(--container-padding) 200px;
}

.entry-intro {
    text-align: center;
    margin-bottom: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.entry-intro__lead {
    font-family: var(--font-mobo);
    font-size: clamp(18px, 2vw, 20px);
    color: var(--color-black);
    margin: 0 0 30px;
    line-height: 1.6;
}

.entry-intro__desc {
    font-family: 'Noto Sans JP', var(--font-mobo);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    margin: 0;
    line-height: 1.5;
}

.entry-intro__accent {
    color: var(--color-accent);
    font-weight: bold;
}

.entry-message {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    text-align: center;
    font-family: 'Noto Sans JP', var(--font-mobo);
    font-size: 16px;
    line-height: 1.6;
}

.entry-message--error {
    background: #fff3f3;
    color: #6b1c1c;
    border: 1px solid #e8b4b4;
}

.entry-message--success {
    background: #f0faf4;
    color: #1a4d2e;
    border: 1px solid #b8dcc8;
}

.entry-message--error p,
.entry-message--success p {
    margin: 0;
}

.entry-complete {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.entry-complete__eyebrow {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-dark-gray);
    margin: 0 0 1rem;
}

.entry-complete__title {
    font-family: var(--font-mobo);
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 2rem;
    line-height: 1.4;
}

.entry-complete__lead,
.entry-complete__note {
    font-family: 'Noto Sans JP', var(--font-mobo);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.entry-complete__note {
    margin-bottom: 3rem;
}

.entry-complete__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: center;
    align-items: center;
}

.entry-complete__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 15px 28px;
    border-radius: 5px;
    font-family: var(--font-mobo);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.entry-complete__btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.entry-complete__btn--primary:hover {
    opacity: 0.9;
    color: #fff;
}

.entry-complete__btn--outline {
    background: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.entry-complete__btn--outline:hover {
    background: var(--color-black);
    color: #fff;
}

.entry-form {
    display: flex;
    justify-content: center;
    padding: 0 var(--container-padding);
}

/* Figma 531:8116 準拠：カード padding px-[100px] py-[50px], gap-[70px] */
.entry-form__card {
    background: var(--color-light-gray);
    border-radius: 10px;
    padding: 50px 100px;
    width: 100%;
    max-width: 840px;
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: center;
}

.entry-form__head {
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.entry-form__head-en {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark-gray);
    margin: 0;
    letter-spacing: 0.02em;
}

.entry-form__head-line {
    width: 50px;
    height: 2px;
    background: var(--color-dark-gray);
    margin: 0;
}

.entry-form__head-ja {
    font-family: var(--font-mobo);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.entry-form__body {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
    width: 100%;
}

.entry-form__section {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry-form__section-title {
    font-family: var(--font-mobo);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 10px;
    padding: 0;
}

.entry-form__divider {
    height: 3px;
    background: #D7000F;
    margin: 0 0 0 0;
    width: 100%;
    
}

.entry-form__section .entry-form__divider {
    margin-bottom: 0;
}

.entry-form__section-title--optional {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.entry-form__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.entry-form__label-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.entry-form__label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.entry-form__required {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: 0.6px;
}

.entry-form__input,
.entry-form__select,
.entry-form__textarea {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
    background: var(--color-white);
    border: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
    letter-spacing: 0.8px;
}

.entry-form__input {
    padding: 10px 20px;
    border-radius: 3px;
}

.entry-form__select {
    padding: 10px 40px 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    background-image: url('../../img/works_accordion_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px 6px;
}

.entry-form__select:required:invalid {
    color: var(--color-dark-gray);
}

.entry-form__select option[value=''] {
    color: var(--color-dark-gray);
}

.entry-form__select option:not([value='']) {
    color: var(--color-black);
}

.entry-form__select--full {
    padding: 10px 40px 10px 30px;
    border-radius: 5px;
}

.entry-form__textarea {
    min-height: 200px;
    resize: vertical;
    padding: 20px 20px 10px 20px;
    border-radius: 5px;
}

.entry-form__input::placeholder,
.entry-form__textarea::placeholder {
    color: var(--color-placeholder);
}

.entry-form__input:focus,
.entry-form__select:focus,
.entry-form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.entry-form__date-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.entry-form__date-group {
    display: flex;
    gap: 5px;
    align-items: center;
    flex: 0 0 auto;
}

.entry-form__date-group .entry-form__select {
    flex: 0 0 auto;
    min-width: 100px;
    width: auto;
}

.entry-form__date-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.entry-form__date-unit {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.entry-form__agree {
    display: flex;
    align-items: center;
    gap: 20px;
}

.entry-form__checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    border: 1.5px solid var(--color-dark-gray);
    border-radius: 1px;
    accent-color: var(--color-accent);
}

.entry-form__agree-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    letter-spacing: 0.8px;
}

.entry-form__agree-link {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0px;
    letter-spacing: 0.8px;
}

.entry-form__agree-link:hover {
    opacity: 0.85;
}

.entry-form__submit-wrap {
    margin-top: 0;
    display: flex;
    justify-content: center;
}

.entry-form__submit {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-mobo);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 20px 30px;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    cursor: pointer;
    transition:
        opacity 0.2s,
        transform 0.1s;
}

.entry-form__submit:hover {
    opacity: 0.9;
}

.entry-form__submit:active {
    transform: scale(0.98);
}

/* Entry page responsive */
@media (max-width: 768px) {
    .entry-hero {
        height: 50vh;
        min-height: 320px;
    }

    .entry-content {
        padding: 60px var(--container-padding) 80px;
    }

    .entry-intro {
        margin-bottom: 60px;
    }

    .entry-complete__actions {
        flex-direction: column;
    }

    .entry-complete__btn {
        width: 100%;
        min-width: 0;
    }

    .entry-form__card {
        padding: 30px 20px 50px;
    }

    .entry-form__head-ja {
        font-size: 28px;
    }

    .entry-form__body {
        gap: 50px;
    }

    .entry-form__section-title {
        font-size: 20px;
    }

    .entry-form__date-row {
        gap: 20px;
    }

    .entry-form__date-group .entry-form__select {
        min-width: 80px;
    }
}

/* ========================================
   Privacy Policy Page（Figma 531:8324）
   ======================================== */
.page-privacy .main {
    padding-top: 0;
}

.privacy-hero {
    position: relative;
    height: 810px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.privacy-hero__image {
    position: absolute;
    inset: 0;
    background-color: var(--color-dark-gray);
    overflow: hidden;
}

/* Figma 531:8325 の2層背景：ローカル画像をレイヤーごとに配置 */
.privacy-hero__layer {
    position: absolute;
    left: 0;
    width: 100%;
    height: 133.33%;
    object-fit: cover;
    pointer-events: none;
}

.privacy-hero__layer--1 {
    top: -23.05%;
}

.privacy-hero__layer--2 {
    top: -10.98%;
}

.privacy-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.privacy-hero__content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    text-shadow: var(--text-shadow-hero);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.privacy-hero__title {
    font-family: var(--font-mobo);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.privacy-hero__subtitle {
    font-family: var(--font-outfit);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
}

.privacy-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px var(--container-padding) 200px;
    font-family: 'MOBO-semi-bold', 'M PLUS Rounded 1c', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.privacy-page-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    margin-bottom: 70px;
}

.privacy-page-head__en {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark-gray);
    margin: 0;
}

.privacy-page-head__line {
    width: 50px;
    height: 2px;
    background: var(--color-accent);
}

.privacy-page-head__ja {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 840px;
    margin: 0 auto;
}

.privacy-intro {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}

.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.privacy-section__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

.privacy-section__divider {
    height: 3px;
    background: var(--color-accent);
    width: 100%;
    margin: 0;
}

.privacy-section__body {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-section__body p {
    margin: 0;
}

.privacy-section__body p:last-child {
    margin-bottom: 0;
}

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

.privacy-list li {
    padding-left: 1em;
    position: relative;
}

.privacy-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.privacy-contact {
    font-style: normal;
    margin: 0;
}

.privacy-contact p {
    margin: 0;
}

.privacy-contact p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .privacy-hero {
        height: 50vh;
        min-height: 320px;
    }

    .privacy-content {
        padding: 60px var(--container-padding) 80px;
    }

    .privacy-page-head {
        margin-bottom: 50px;
    }

    .privacy-page-head__ja {
        font-size: 28px;
    }

    .privacy-body {
        gap: 40px;
    }

    .privacy-section__title {
        font-size: 20px;
    }
}
