@charset "utf-8";

/* =========================================================
   RECRUIT PAGE  (frame is inherited from /assets/news/css)
   ========================================================= */

/* ---- page frame: the two zones paint their own backgrounds ---- */
.news--recruit {
    padding: 0;
    background: transparent;
}
.news--recruit::before,
.news--recruit::after {
    content: none;
}
.news--recruit .inner {
    margin-bottom: 0;
}

/* zone 1: lead / heading / anchor collection */
.recruit-zone {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.recruit-zone--light {
    background: #ECECEC;
    padding: 50px 0 120px;
}
.recruit-zone--light::before {
    content: url(/assets/top/img/p/img-bg-about.webp);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* zone 2: job detail cards, same background as the security-policy page */
.recruit-zone--navy {
    background: #01084B;
    padding: 120px 0 200px;
}
.recruit-zone--navy::after {
    content: url(/assets/common/img/p/img-bg-policy.webp);
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: rotate(180deg);
}

.news--recruit .news-breadcrumbs,
.news--recruit .news-breadcrumbs-list-item-link,
.news--recruit .news-breadcrumbs-list-item::after {
    color: #fff;
}
.news--recruit .news-breadcrumbs-list-item-link--current {
    color: #fff;
    opacity: .5;
}

/* ---- hero (full-width key visual under the fixed header) ---- */
/* h1 の位置を修正前（padding-top:121px）と同じに保つため、
   上に追加した RECRUIT 行の高さ（22px + margin 10px = 32px）を差し引く。
   固定ヘッダー分の余白は共通CSSの main{padding-top} が担うのでここでは持たせない */
.recruit-hero {
    box-sizing: border-box;
    padding: 95px 0 40px;   /* 121px − RECRUIT行(22px) − margin(4px) */
    background: #01084B url(/assets/recruit/img/p/img-hero.webp?2026072801) center / cover no-repeat;
}
/* 英語版は RECRUIT 行がないので修正前と同じ値のまま */
html[lang="en"] .recruit-hero {
    padding-top: 121px;
}
/* SP 専用の改行は PC では無効にする（br.pc-only の対） */
.page-recruit br.sp-only {
    display: none;
}

/* h1 の上に置く英語表記（サイトポリシーの .policy-title-lv01-subtitle 準拠）。
   ただし margin-bottom はサイトポリシーの 10px ではなく 4px にしている。
   採用ページの h1 は line-height 1.45（トップページ準拠）で行内の余白が 9px あり、
   サイトポリシーの h1（1.12／余白 3px）より 6px 広いため、その分を差し引いて
   見た目の字間をサイトポリシー（13px）と一致させる */
.recruit-hero__subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 4px;
}
/* トップページの見出し（.section-title--ja）と同じ指定 */
.recruit-hero__title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.45;
    color: #fff;
}
/* 英語版はトップページの英語見出し（.section-title）と同じ指定 */
html[lang="en"] .recruit-hero__title {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    line-height: 1.22;
}

/* ---- lead ---- */
.recruit-lead {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    color: #333;
}
.recruit-lead + .recruit-lead {
    margin-top: 4px;
}

/* ---- category ---- */
/* only the section that follows the lead text needs a gap above it */
.recruit-lead + .recruit-category {
    margin-top: 32px;
}
.recruit-category + .recruit-category {
    margin-top: 90px;
}
.recruit-category__title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    color: #01084B;
    margin-bottom: 24px;
}
/* headings sitting on the navy zone */
.recruit-zone--navy .recruit-category__title {
    color: #fff;
}

/* ---- anchor collection (two columns of button links) ---- */
.recruit-anchor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.recruit-anchor__group--eng {
    grid-column: span 2;
}
.recruit-anchor__label {
    margin-bottom: 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
    color: #01084B;
}

/* ---- anchor list (buttons) ---- */
.recruit-anchor-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 20px;
}
.recruit-anchor__group--eng .recruit-anchor-list {
    grid-template-columns: 1fr 1fr;
}
.recruit-anchor-list__link {
    display: flex;
    align-items: center;
    /* every button is at least two text lines tall so they all line up */
    min-height: calc(3.2em + 34px);
    height: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 16px 44px 16px 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: #01084B;
    background: #fff;
    border: 1px solid #C9C9C9;
    border-radius: 6px;
    text-decoration: none;
    transition: color .3s, background .3s, border-color .3s;
}
.recruit-anchor-list__link::after {
    content: "";
    position: absolute;
    right: 22px;
    top: calc(50% - 6px);
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}
.recruit-anchor-list__link:hover {
    color: #fff;
    background: #01084B;
    border-color: #01084B;
}
/* クリック後にフォーカスが残って「カレント」に見えないよう、
   キーボード操作時（:focus-visible）のみ配色を変える。
   未対応ブラウザでも hover が死なないようルールを分けている */
.recruit-anchor-list__link:focus-visible {
    color: #fff;
    background: #01084B;
    border-color: #01084B;
}

/* ---- job block (framed card) ---- */
.recruit-job {
    margin-top: 40px;
    scroll-margin-top: 120px;
    background: #fff;
    border-radius: 6px;
    /* top padding lives in the title band below */
    padding: 0 40px 40px;
}
/* the title sits in its own band spanning the full card width */
.recruit-job__title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: #01084B;
    margin: 0 -40px 32px;
    padding: 32px 40px 28px;
    background: #ECECEC;
    border-radius: 6px 6px 0 0;
}
.recruit-job__subtitle {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 14px;
}

/* ---- table ---- */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid rgba(0, 0, 0, .15);
    margin-bottom: 30px;
    font-family: "Noto Sans JP", sans-serif;
}
.recruit-table th,
.recruit-table td {
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    padding: 20px 0;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.recruit-table th {
    width: 220px;
    font-weight: 700;
}
.recruit-table td {
    font-weight: 400;
}
.recruit-table td > p + p {
    margin-top: 8px;
}
.recruit-table__lead {
    margin-bottom: 8px;
}
.recruit-table__list > li {
    position: relative;
    padding-left: 15px;
}
.recruit-table__list > li::before {
    content: "・";
    position: absolute;
    left: -2px;
}
.recruit-table__note {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}
.recruit-table--condition th {
    width: 160px;
}

/* ---- accordion (native details) ---- */
/* the wrapper is not a box: the summary is a button, the body sits below it */
.recruit-accordion {
    margin-bottom: 20px;
}
.recruit-accordion__button {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    width: 292px;   /* same width as the entry button */
    margin: 0 auto;  /* PC は中央寄せ */
    padding: 18px 44px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: #01084B;
    background: #ECECEC;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
}
/* 英語版はラベルが長いため、指定の改行位置で2行に収まる幅にする
   （日本語版「条件（職種共通）」は1行で収まるので 292px のまま） */
html[lang="en"] .recruit-accordion__button {
    width: 320px;
}
.recruit-accordion__button::-webkit-details-marker {
    display: none;
}
/* the +/- icon is two bars, taken out of the flow so the label centres exactly */
.recruit-accordion__button::before,
.recruit-accordion__button::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: #01084B;
    transition: transform .3s ease;
}
.recruit-accordion__button::before {
    transform: translateY(-50%) rotate(90deg);
}
.recruit-accordion__button::after {
    transform: translateY(-50%);
}
/* the vertical bar rotates onto the horizontal one, turning + into - */
.recruit-accordion[open] .recruit-accordion__button::before {
    transform: translateY(-50%) rotate(0deg);
}

.recruit-accordion__body {
    display: none;
    margin-top: 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.recruit-accordion[open] .recruit-accordion__body {
    display: block;
}
/* 高さの実測値がぶれないよう、最後の要素の余白は持たせない */
.recruit-accordion__body > .recruit-table:last-child {
    margin-bottom: 0;
}
/* JS animates the height; the wrapper clips while it slides */
.recruit-accordion__body.is-animating {
    display: block;
    overflow: hidden;
    transition: height .35s ease;
}
@media (prefers-reduced-motion: reduce) {
    .recruit-accordion__body.is-animating {
        transition: none;
    }
    .recruit-accordion__button::before,
    .recruit-accordion__button::after {
        transition: none;
    }
}

/* ---- floating entry (CV) bar ---- */
.recruit-entry {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* 上へ戻るボタンを右端に絶対配置するための基準 */
    z-index: 80;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
}
/* keeps the page bottom clear of the fixed bar */
.page-recruit {
    padding-bottom: 102px;
}
.recruit-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;   /* ::after の「>」の基準 */
    box-sizing: border-box;
    width: 292px;   /* shared with the accordion button */
    padding: 18px 44px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    background: #2035FD;
    border: 2px solid transparent;
    border-radius: 40px;
    text-decoration: none;
    transition: color .3s, background .3s, border .3s;
}
.recruit-entry-button::after {
    content: "";
    position: absolute;
    right: 20px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.recruit-entry-button:hover,
.recruit-entry-button:focus {
    color: #2035FD;
    background: #fff;
    border: 2px solid #2035FD;
}

/* ---- back to top (circle with an up arrow) ---- */
.recruit-entry-totop {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    background: #fff;
    border: 1px solid #C9C9C9;
    border-radius: 50%;
    transition: background .3s, border-color .3s;
}
.recruit-entry-totop::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-top: 2px solid #01084B;
    border-right: 2px solid #01084B;
    transform: rotate(-45deg);
    transition: border-color .3s;
}
.recruit-entry-totop:hover,
.recruit-entry-totop:focus {
    background: #01084B;
    border-color: #01084B;
}
.recruit-entry-totop:hover::before,
.recruit-entry-totop:focus::before {
    border-top-color: #fff;
    border-right-color: #fff;
}
/* ラベルは読み上げ用に保持し、視覚的には隠す */
.recruit-entry-totop__text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   SP
   ========================================================= */
@media (max-width: 900px) {
    /* PC 専用の改行は SP では無効にする */
    .page-recruit br.pc-only {
        display: none;
    }
    /* SP 専用の改行は SP で有効にする */
    .page-recruit br.sp-only {
        display: inline;
    }
    /* SP も同様に、RECRUIT 行＋マージン分を差し引いて h1 位置を維持 */
    .recruit-hero {
        padding: 14.48vw 0 8vw;   /* 21.3333vw − RECRUIT行(6.1333vw) − margin(0.72vw) */
        background-image: url(/assets/recruit/img/s/img-hero.webp?2026072801);
    }
    html[lang="en"] .recruit-hero {
        padding-top: 21.3333333333vw;
    }
    .recruit-hero__subtitle {
        font-size: 3.7333333333vw;
        line-height: 1.6428571429;
        margin-bottom: 0.72vw;   /* PC同様、h1の行内余白の差(2.3px)を差し引いた値 */
    }
    /* SP はトップページの見出しと同じ 7.4666vw（英日共通） */
    .recruit-hero__title,
    html[lang="en"] .recruit-hero__title {
        font-size: 7.4666666667vw;
    }
    .recruit-lead {
        font-size: 3.7333333333vw;
        line-height: 1.9;
    }
    .recruit-lead + .recruit-category {
        margin-top: 12vw;
    }
    .recruit-category + .recruit-category {
        margin-top: 14.6666666667vw;
    }
    .recruit-category__title {
        font-size: 5.3333333333vw;
        margin-bottom: 6.4vw;
    }
    .recruit-anchor {
        grid-template-columns: 1fr;
        gap: 8vw;
    }
    .recruit-anchor__group--eng {
        grid-column: auto;
    }
    .recruit-anchor__group--eng .recruit-anchor-list {
        grid-template-columns: 1fr;
    }
    .recruit-anchor__label {
        padding-bottom: 2.6666666667vw;
        margin-bottom: 4vw;
        font-size: 4.2666666667vw;
    }
    .recruit-anchor-list {
        grid-template-columns: 1fr;
        gap: 2.6666666667vw;
    }
    .recruit-anchor-list__link {
        min-height: 0;
        height: auto;
        padding: 4.2666666667vw 10.6666666667vw 4.2666666667vw 4.2666666667vw;
        font-size: 3.7333333333vw;
    }
    .recruit-anchor-list__link::after {
        right: 5.3333333333vw;
    }
    .recruit-job {
        margin-top: 6.4vw;
        scroll-margin-top: 22vw;
        padding: 0 5.3333333333vw 6.4vw;
    }
    .recruit-zone--light {
        padding: 12vw 0 18.6666666667vw;
    }
    .recruit-zone--light::before {
        content: url(/assets/top/img/s/img-bg-about.webp);
        width: 65.6613333333vw;
        transform: scale(.5);
        transform-origin: top left;
    }
    .recruit-zone--navy {
        padding: 18.6666666667vw 0 32vw;
    }
    .recruit-zone--navy::after {
        content: url(/assets/common/img/s/img-bg-policy.webp);
        transform: translate(-50%, -50%) scale(.5) rotate(180deg);
        transform-origin: bottom right;
    }
    .recruit-job__title {
        font-size: 5.0666666667vw;
        margin: 0 -5.3333333333vw 5.3333333333vw;
        padding: 5.3333333333vw 5.3333333333vw 4.2666666667vw;
    }
    .recruit-job__subtitle {
        font-size: 4.2666666667vw;
        margin-bottom: 3.2vw;
    }
    .recruit-table {
        margin-bottom: 6.4vw;
    }
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
        padding: 4vw 0;
        font-size: 3.7333333333vw;
        line-height: 1.8;
    }
    .recruit-table th {
        border-bottom: none;
        padding-bottom: 2.6666666667vw;
    }
    .recruit-table td {
        padding-top: 0;
    }
    .recruit-table__list > li {
        padding-left: 4vw;
    }
    .recruit-table__note {
        font-size: 3.2vw;
    }
    .recruit-table--condition th {
        width: 100%;
    }
    .recruit-accordion {
        margin-bottom: 4.2666666667vw;
    }
    .recruit-accordion__button,
    html[lang="en"] .recruit-accordion__button {
        width: 100%;   /* SP はカード幅いっぱい（英語版のPC幅指定も打ち消す） */
        padding: 4vw 9.6vw;
        font-size: 3.7333333333vw;
    }
    .recruit-accordion__button::before,
    .recruit-accordion__button::after {
        right: 4.2666666667vw;
        width: 4.2666666667vw;
    }
    .recruit-accordion__body {
        margin-top: 4vw;
        font-size: 3.7333333333vw;
    }
    .recruit-entry {
        padding: 3.2vw 5.3333333333vw;
    }
    .page-recruit {
        padding-bottom: 22.4vw;
    }
    .recruit-entry-button {
        padding: 4vw 4vw;
        width: 62vw;   /* 右端の上へ戻るボタン分を空ける */
        font-size: 4.2666666667vw;
        border-radius: 13.3333333333vw;
    }
    .recruit-entry-button::after {
        right: 4vw;
    }
    .recruit-entry-totop {
        right: 4vw;
        width: 11.7333333333vw;
        height: 11.7333333333vw;
    }
    .recruit-entry-totop::before {
        width: 2.4vw;
        height: 2.4vw;
        margin-top: 0.8vw;
    }
}
