@charset 'utf-8';

/* =============================================================
   変数
   ============================================================= */
:root {
    --c-green: #00605d;
    --c-green-light: #5c9492;
    --c-green-pale: #c2dad9;
    --c-cream: #fcf7ef;
    --c-beige: #f1e4d3;
    --c-text: #524e4d;
    --c-gray: #b7b1b0;
    --c-gray-bg: #fafafa;
    --c-white: #fff;

    /* --ff-en   : Proxima Nova（Adobe Fonts）
       --ff-head : 見出し（デザインの A P-OTF A1Gothic Std の置き換え。Figma「フォント変更」タブ）
       --ff-lead : リード文・コンセプト文（同上。Zen Kaku Gothic New） */
    --ff-en: "proxima-nova", sans-serif;
    /* 英字は Proxima Nova・和文は Noto Sans JP（社員インタビューの役職「代表取締役 CEO」など。2026-11-18 指示）。
       var(--ff-en), var(--ff-body) と並べると間の sans-serif が先に効き、和文が端末の標準の書体になるので、この変数を使う */
    --ff-en-ja: "proxima-nova", "Noto Sans JP", sans-serif;
    --ff-head: "Noto Sans JP", sans-serif;
    --ff-lead: "Zen Kaku Gothic New", sans-serif;
    --ff-body: "Noto Sans JP", sans-serif;

    /* デザイン上の 1px。PC は等倍、SP は 375px 基準で拡縮（450px 以上は 1.2px で頭打ち） */
    --u: 1px;

    /* コンテンツ幅：1440px 以上は 1200px 固定、それ未満は左右の余白を詰めて可変 */
    --inner: 1200px;
    --gut: clamp(24px, 8.334vw, 120px);
    --cw: min(100vw - var(--gut) * 2, var(--inner));

    --header-h: 71px;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ブレイクポイント：768px・1024px・1200px（ほか 960・1280・1350px）。
   「〜以下」は 767.98px のように .98 を付ける（Windows の表示倍率やブラウザの拡大縮小では画面の幅が 767.5px のような端数になり、
   767px 以下・768px 以上のどちらにも当たらず PC のスタイルのまま崩れるため。2026-11-12 指摘）。JS の matchMedia・<source media> も同じ */
@media screen and (max-width: 1023.98px) {
    :root {
        --header-h: 60px;
    }
}

@media screen and (max-width: 767.98px) {
    :root {
        --u: min(1.2px, 100vw / 375);
        --gut: calc(28 * var(--u));
    }
}

/* =============================================================
   ベース
   ============================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ページ内リンクの移動先が固定ヘッダーに隠れないよう、ヘッダーの下に少しあけて止める */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--ff-body);
    font-weight: 400;
    color: var(--c-text);
    line-height: 2;
    background-color: var(--c-white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* =============================================================
   レイアウト
   ============================================================= */
.l-inner {
    width: var(--cw);
    margin-inline: auto;
}

/* =============================================================
   コンポーネント
   ============================================================= */

/* ---------- セクション見出し ---------- */
.c-ttl {
    display: flex;
    flex-direction: column;
}

/* ブラウザでは Proxima Nova が Figma より 0.05em ほど下に描かれ、和文との間が狭く見えるので、
   英字だけ上にずらして Figma の位置に合わせる（レイアウトは変えない。2026-11-09 指摘） */
.c-ttl__en {
    position: relative;
    top: -.052em;
    font-family: var(--ff-en);
    font-size: 96px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--c-green);
}

.c-ttl__ja {
    padding-left: .4em;
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--c-text);
}

/* 英字だけ、スクロールで画面に入ったらふわっと出す（script.js の initTtlFade）。
   読み込んだ時点で画面より下にある見出しだけ .is-fade で隠すので、JS が動かなくても見出しは消えない */
.c-ttl__en.is-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.c-ttl__en.is-fade.is-inview {
    opacity: 1;
    transform: none;
}

.c-ttl--white .c-ttl__en {
    color: var(--c-white);
}

/* 下層ページのセクション見出し（英字 60px） */
.c-ttl--md .c-ttl__en {
    font-size: 60px;
    line-height: 1;
}

.c-ttl--md .c-ttl__ja {
    margin-top: 9px;
    padding-left: .2em;
}

.c-ttl--white .c-ttl__ja {
    color: var(--c-green-light);
}

/* 採用情報の見出し（英字は太字、和文は緑。recruit-dark は緑の背景の上） */
.c-ttl--recruit .c-ttl__en {
    font-weight: 700;
}

.c-ttl--recruit .c-ttl__ja {
    color: var(--c-green);
}

.c-ttl--recruit-dark .c-ttl__en {
    color: var(--c-beige);
}

.c-ttl--recruit-dark .c-ttl__ja {
    color: var(--c-white);
}

@media screen and (max-width: 767.98px) {
    .c-ttl__en {
        font-size: calc(48 * var(--u));
        line-height: 1.08;
    }

    .c-ttl__ja,
    .c-ttl--md .c-ttl__ja {
        margin-top: calc(4 * var(--u));
        padding-left: calc(2 * var(--u));
        font-size: calc(13 * var(--u));
        line-height: 2.15;
    }

    .c-ttl--md .c-ttl__en {
        font-size: calc(48 * var(--u));
        line-height: 1.08;
    }
}

/* ---------- ボタン ----------
   light : 白抜き（緑背景上）  hover でベージュ塗り
   green : 緑抜き              hover で緑塗り
   brand : グレー抜き＋外部リンク hover でグレー塗り */
.c-btn {
    --btn-color: var(--c-green);
    --btn-hover-bg: var(--c-green);
    --btn-hover-color: var(--c-white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: calc(181 * var(--u));
    height: calc(39 * var(--u));
    padding: 0 calc(20 * var(--u));
    border: 1px solid var(--btn-color);
    border-radius: calc(24 * var(--u));
    font-family: var(--ff-en);
    font-size: calc(16 * var(--u));
    /* Figma は 500 だが見た目が太いので 1 段細く（2026-11-09 指示） */
    font-weight: 400;
    line-height: 1.22;
    color: var(--btn-color);
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}

.c-btn--light {
    --btn-color: var(--c-beige);
    --btn-hover-bg: var(--c-beige);
    --btn-hover-color: var(--c-green);
}

.c-btn--brand {
    --btn-color: var(--c-gray);
    --btn-hover-bg: var(--c-text);
    --btn-hover-color: var(--c-white);
    transition-duration: .3s;
}

/* ボタンの代わりの「Coming Soon」（ブランドサイトのページがまだ無いブランド。2026-11-18 先方指示）。
   押せるように見えないよう枠は付けず、ボタンと同じ高さ・文字の大きさで、色はブランドのボタンと同じグレー */
.c-coming-soon {
    display: inline-flex;
    align-items: center;
    height: calc(39 * var(--u));
    font-family: var(--ff-en);
    font-size: calc(16 * var(--u));
    line-height: 1.22;
    letter-spacing: .05em;
    color: var(--c-gray);
}

.c-btn--pale {
    --btn-color: var(--c-green-light);
    --btn-hover-bg: var(--c-green-light);
    --btn-hover-color: var(--c-white);
}

/* 縦に並ぶ 2 つの点。hover で 1 つの大きな点にまとまる */
.c-btn__dots {
    position: relative;
    width: calc(5 * var(--u));
    height: calc(14 * var(--u));
    margin-right: calc(-1 * var(--u));
}

.c-btn__dots::before,
.c-btn__dots::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: calc(5 * var(--u));
    height: calc(5 * var(--u));
    margin-top: calc(-2.5 * var(--u));
    border-radius: 50%;
    background-color: currentColor;
    transition: transform .5s var(--ease-out);
}

.c-btn__dots::before {
    transform: translateY(calc(-4.5 * var(--u)));
}

.c-btn__dots::after {
    transform: translateY(calc(4.5 * var(--u)));
}

.c-btn__icon {
    width: calc(14 * var(--u));
    height: calc(14 * var(--u));
}

@media (any-hover: hover) {
    .c-btn:hover {
        border-color: var(--btn-hover-bg);
        background-color: var(--btn-hover-bg);
        color: var(--btn-hover-color);
    }

    .c-btn:hover .c-btn__dots::before,
    .c-btn:hover .c-btn__dots::after {
        transform: translateY(0) scale(1.6);
    }
}

/* ---------- 和文ラベルのボタン（右端に「＞」。採用情報）----------
   green : 緑の線（生成りの背景の上）  hover で緑塗り
   light : 生成りの線（緑の背景の上）  hover で生成り塗り */
.c-pill-btn {
    --btn-color: var(--c-green);
    --btn-hover-bg: var(--c-green);
    --btn-hover-color: var(--c-white);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    width: 260px;
    height: 45px;
    padding: 0 25px 0 20px;
    border: 1px solid var(--btn-color);
    border-radius: 999px;
    font-family: var(--ff-head);
    font-size: 16px;
    /* Figma は 500 だが見た目が太いので 1 段細く（2026-11-09 指示） */
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--btn-color);
    white-space: nowrap;
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

.c-pill-btn--light {
    --btn-color: var(--c-beige);
    --btn-hover-bg: var(--c-beige);
    --btn-hover-color: var(--c-green);
}

.c-pill-btn--gray {
    --btn-color: var(--c-text);
    --btn-hover-bg: var(--c-text);
    --btn-hover-color: var(--c-white);
}

.c-pill-btn__icon {
    flex-shrink: 0;
    width: 6px;
    height: 10px;
    transition: transform .4s var(--ease-out);
}

/* 一覧に戻る：「＜」を左に */
.c-pill-btn--back {
    flex-direction: row-reverse;
    justify-content: flex-end;
    column-gap: 16px;
    width: 210px;
    padding: 0 18px 0 20px;
    font-weight: 400;
}

.c-pill-btn--back .c-pill-btn__icon {
    transform: scaleX(-1);
}

@media (any-hover: hover) {
    .c-pill-btn:hover {
        background-color: var(--btn-hover-bg);
        color: var(--btn-hover-color);
    }

    .c-pill-btn:hover .c-pill-btn__icon {
        transform: translateX(3px);
    }

    .c-pill-btn--back:hover .c-pill-btn__icon {
        transform: scaleX(-1) translateX(3px);
    }
}

@media screen and (max-width: 767.98px) {
    .c-pill-btn {
        width: calc(214 * var(--u));
        height: calc(35 * var(--u));
        padding: 0 calc(19 * var(--u)) 0 calc(20 * var(--u));
        font-size: calc(13 * var(--u));
        line-height: 2.15;
    }

    .c-pill-btn__icon {
        width: calc(6 * var(--u));
        height: calc(10 * var(--u));
    }

    .c-pill-btn--back {
        column-gap: calc(24 * var(--u));
        width: calc(195 * var(--u));
        padding: 0 calc(18 * var(--u));
    }
}

/* ---------- 丸矢印 ---------- */
.c-arrow {
    --arrow-color: var(--c-green);
    --arrow-hover-color: var(--c-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: calc(30 * var(--u));
    height: calc(30 * var(--u));
    border: 1px solid var(--arrow-color);
    border-radius: 50%;
    color: var(--arrow-color);
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

.c-arrow--light {
    --arrow-color: var(--c-beige);
    --arrow-hover-color: var(--c-green);
}

.c-arrow--white {
    --arrow-color: var(--c-white);
    --arrow-hover-color: var(--c-green);
}

/* 生成りで塗った丸（画像の上に置く）。hover で緑に塗る */
.c-arrow--fill {
    --arrow-color: var(--c-green);
    --arrow-hover-color: var(--c-white);
    border-color: transparent;
    background-color: var(--c-cream);
}

/* 薄いグレーで塗った丸（2 階層目のページ一覧）。hover で緑に塗る */
.c-arrow--pale {
    --arrow-color: var(--c-green-light);
    --arrow-hover-color: var(--c-white);
    border-color: transparent;
    background-color: #dce4e6;
    color: var(--c-white);
}

/* 緑で塗った丸（採用情報の募集職種）。hover で白に塗る */
.c-arrow--solid {
    --arrow-color: var(--c-white);
    --arrow-hover-color: var(--c-green);
    border-color: transparent;
    background-color: var(--c-green);
    color: var(--c-cream);
}

/* 矢印の形は Arrow.astro（Figma の書き出しどおり）。幅だけ決め、高さは形に合わせる。
   幅＝軸の長さ＋1.5（線 1.5 のとき。左右に線の太さの半分ずつ出る）。基本は 30px の丸で軸 11 */
.c-arrow__icon {
    width: calc(12.5 * var(--u));
    height: auto;
    /* 矢じりの先がちょうど枠の端にあるので、画面の画素に合わせる位置によっては先が平らに切れる。枠の外も描く */
    overflow: visible;
}

/* PC と SP で軸の長さが違う矢印は形を 2 つ描き、画面幅で出し分ける（Arrow.astro の spLen・long） */
.c-arrow__icon--pc {
    display: none;
}

@media screen and (min-width: 768px) {
    .c-arrow__icon--pc {
        display: block;
    }

    .c-arrow__icon--sp {
        display: none;
    }
}

.c-arrow--prev .c-arrow__icon {
    transform: scaleX(-1);
}

.c-arrow--down .c-arrow__icon {
    transform: rotate(90deg);
}

/* 親要素（リンク・ボタン）の hover で塗りつぶす */
@media (any-hover: hover) {
    a:hover > .c-arrow,
    a:hover .l-header__mega-ttl .c-arrow,
    button:hover > .c-arrow {
        background-color: var(--arrow-color);
        color: var(--arrow-hover-color);
    }
}

/* ---------- リンク右端の点（メガメニュー） ---------- */
.c-dot {
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--c-green-light);
    transition: transform .5s var(--ease-out), background-color .5s var(--ease-out);
}

/* ---------- 開閉式サイトマップ（SPメニュー・SPフッター） ---------- */
.c-sitemap-acc {
    display: flex;
    flex-direction: column;
    gap: calc(18 * var(--u));
}

/* 線は見出しの下（開いたときは線の下に子リンク） */
.c-sitemap-acc__head {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 calc(56 * var(--u)) calc(13 * var(--u)) calc(26 * var(--u));
    border-bottom: 1px solid var(--c-green-light);
    text-align: left;
    color: var(--c-white);
}

.c-sitemap-acc__en {
    font-family: var(--ff-en);
    font-size: calc(13 * var(--u));
    /* Figma は 500 だが見た目が太いので 1 段細く（2026-11-10 指示。PC フッターとそろえる） */
    font-weight: 400;
    line-height: 1.22;
    /* デザインどおり #5c9492（2026-11-26 指示。11-25 に白寄り（--c-green-pale）、11-26 に白・白寄りと変えたが、
       先方の勘違いで、英字の小見出しは初めのままでよかった。白寄りにするのは子リンクだけ） */
    color: var(--c-green-light);
}

/* Figma は 500 だが見た目が太いので 1 段細く（2026-11-09 指示）。11-26 にいったん 500 にしたが、先方の勘違いで 400 のままに戻した */
.c-sitemap-acc__ja {
    font-family: var(--ff-head);
    font-size: calc(15 * var(--u));
    font-weight: 400;
    line-height: 1.87;
    letter-spacing: .02em;
}

/* 矢印：開閉ありは下向き、単独リンクは右向き */
.c-sitemap-acc__icon {
    position: absolute;
    top: 50%;
    right: calc(34 * var(--u));
    width: calc(7 * var(--u));
    height: calc(7 * var(--u));
    margin-top: calc(-9 * var(--u));
    border-top: 1.5px solid var(--c-green-pale);
    border-right: 1.5px solid var(--c-green-pale);
    transform: rotate(45deg);
}

.c-sitemap-acc__icon--toggle {
    margin-top: calc(-12 * var(--u));
    transform: rotate(135deg);
    transition: transform .4s var(--ease-out);
}

.c-sitemap-acc__head[aria-expanded="true"] .c-sitemap-acc__icon--toggle {
    margin-top: calc(-8 * var(--u));
    transform: rotate(-45deg);
}

/* 高さ 0 ⇔ 中身の高さ を grid-template-rows でアニメーション */
.c-sitemap-acc__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease-out);
}

.c-sitemap-acc__head[aria-expanded="true"] + .c-sitemap-acc__body {
    grid-template-rows: 1fr;
}

.c-sitemap-acc__body-inner {
    overflow: hidden;
}

/* 2 列（縦方向に並べてから右列へ） */
.c-sitemap-acc__list {
    column-count: 2;
    column-gap: calc(20 * var(--u));
    padding: calc(10 * var(--u)) calc(26 * var(--u)) calc(10 * var(--u)) calc(30 * var(--u));
}

.c-sitemap-acc__list--single {
    column-count: 1;
}

.c-sitemap-acc__list-item {
    break-inside: avoid;
}

.c-sitemap-acc__link {
    display: block;
    font-size: calc(13 * var(--u));
    line-height: calc(32 * var(--u));
    /* 緑の背景の上で見づらいので白寄りに（2026-11-25 指示「白を強めに」。それまでは --c-green-light。開閉の矢印と同じ色） */
    color: var(--c-green-pale);
}

/* 英語の子リンク（ブランド名）。先頭の「ブランド紹介TOP」は和文の 13px のまま */
.c-sitemap-acc__link--en {
    font-family: var(--ff-en);
    font-size: calc(15 * var(--u));
    letter-spacing: .05em;
}

/* ---------- 規約系リンク ---------- */
.c-policy {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 8px;
}

/* block にして li の行の高さ（本文の line-height）を持ち込まない（PC は文字が下にずれ、SP は行の間隔が広がっていた） */
.c-policy__link {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--c-green-light);
    transition: color .3s;
}

@media (any-hover: hover) {
    .c-policy__link:hover {
        color: var(--c-white);
    }
}

/* SP：縦に並べて 2 列（デザインは 5 件で 3 段。「個人情報の取り扱い」を削除して 4 件になったので 2 段 × 2 列に。2026-11-12） */
@media screen and (max-width: 767.98px) {
    .c-policy {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-auto-flow: column;
        justify-content: start;
        column-gap: calc(58 * var(--u));
        row-gap: calc(18 * var(--u));
    }

    .c-policy__link {
        font-size: calc(12 * var(--u));
    }
}

/* ---------- 流れ続けるスライダー（画面に入ったら script.js で .is-active を付与） ---------- */
.js-loop.is-active > * {
    animation-play-state: running;
}

@keyframes c-loop-x {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- 下層ページ上部（パンくず＋見出し＋右側の画像） ---------- */
/* 生成りの帯は 450px まで。画像は帯の下に 50px はみ出す */
.c-page-hero {
    padding-top: 120px;
    background: linear-gradient(var(--c-cream), var(--c-cream)) 0 0 / 100% 450px no-repeat;
}

/* 左端はコンテンツ幅に揃え、右端は画面の端まで */
.c-page-hero__inner {
    display: flex;
    align-items: flex-start;
    margin-left: calc((100% - var(--cw)) / 2);
}

.c-page-hero__head {
    flex-shrink: 0;
    padding: 49px 40px 0 0;
}

.c-page-hero__ttl {
    margin-top: 21px;
}

/* 見出しが長いページでは、画像の幅を詰めて重ならないようにする。
   高さは --hero-h（px の数値。初期値 380）、SP はその 0.4816 倍（380 → 183） */
.c-page-hero__img {
    flex: 0 1 50vw;
    min-width: 0;
    height: calc(var(--hero-h, 380) * 1px);
    margin-left: auto;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}

.c-page-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PC：パンくずはページの見出しより少し右（Figma：見出しの左端から 6px、Brands・Business・News は 4px。2026-11-11 指示）。
   ずらす量は各ページの冒頭の箱で --crumb-shift に入れる（入れていない所はずらさない：採用情報 TOP・インタビュー詳細）。
   SP は Figma どおり見出しの左端にそろえる */
@media screen and (min-width: 768px) {
    .c-breadcrumb {
        margin-left: var(--crumb-shift, 0px);
    }

    .c-page-hero,
    .c-recruit-hero,
    .p-people__hero,
    .p-sus__hero,
    .p-doc__hero {
        --crumb-shift: 6px;
    }

    .c-page-hero--lg,
    .p-news__hero,
    .p-news-detail {
        --crumb-shift: 4px;
    }
}

.c-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
}

.c-breadcrumb__item {
    display: flex;
    align-items: center;
    column-gap: 12px;
    font-family: var(--ff-en);
    font-size: 14px;
    line-height: 1.64;
    color: var(--c-text);
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Figma は 600 だが見た目が太いので 1 段細く（2026-11-10 指示） */
.c-breadcrumb__current {
    font-weight: 500;
}

@media (any-hover: hover) {
    .c-breadcrumb__link:hover {
        text-decoration: underline;
    }
}

/* 1023px 以下は見出しの下に画像を置く */
@media screen and (max-width: 1023.98px) {
    .c-page-hero {
        padding-top: calc(93 * var(--u));
        background-size: 100% calc(100% - 85 * var(--u));
    }

    .c-page-hero__inner {
        flex-direction: column;
        align-items: stretch;
        margin-left: var(--gut);
    }

    .c-page-hero__head {
        padding: 0 var(--gut) 0 0;
    }

    .c-page-hero__ttl {
        margin-top: calc(10 * var(--u));
    }

    .c-page-hero__img {
        flex: none;
        height: calc(var(--hero-h, 380) * .4816 * var(--u));
        margin: calc(25 * var(--u)) 0 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023.98px) {
    .c-page-hero {
        padding-top: 120px;
        background-size: 100% calc(100% - 120px);
    }

    .c-page-hero__img {
        height: 340px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 767.98px) {
    .c-breadcrumb__list,
    .c-breadcrumb__item {
        column-gap: calc(10 * var(--u));
    }

    .c-breadcrumb__item {
        font-size: calc(12 * var(--u));
        line-height: 1.92;
    }
}

/* 画像の大きい 1 階層目（Brands・Business）：PC 720×420。SP は画像の上の余白と帯の終わりもデザインに合わせる */
.c-page-hero--lg {
    --hero-h: 420;
}

@media screen and (max-width: 767.98px) {
    .c-page-hero--lg {
        background-size: 100% calc(100% - 101 * var(--u));
    }

    .c-page-hero--lg .c-page-hero__img {
        margin-top: calc(33 * var(--u));
    }
}

/* 2 階層目（mod="sub"）：PC は画像をコンテンツ幅の中に収めて四隅を丸める。
   生成りの帯は、画像の下端から --hero-overhang だけ上で終わる */
.c-page-hero--sub .c-page-hero__img img {
    aspect-ratio: var(--hero-ratio);
}

@media screen and (min-width: 1024px) {
    .c-page-hero--sub {
        background-size: 100% calc(100% - var(--hero-overhang, 62px));
    }

    .c-page-hero--sub .c-page-hero__inner {
        width: var(--cw);
        margin-inline: auto;
    }

    .c-page-hero--sub .c-page-hero__img {
        flex-basis: 593px;
        height: auto;
        margin-top: 49px;
        border-radius: 10px;
    }

    .c-page-hero--long .c-page-hero__ttl {
        margin-top: 13px;
    }
}

/* 英字見出しが 2 行になる長い見出し（Company Profile） */
.c-page-hero--long .c-ttl__en {
    font-size: 85px;
    line-height: 1.25;
}

.c-page-hero--long .c-ttl__ja {
    margin-top: 6px;
}

/* 1023px 以下：画像は 1 階層目と同じく右端まで。帯は画像の高さの半分ほどで終わる
   （画像の幅＝画面幅－左の余白、高さ＝幅×縦横比） */
@media screen and (max-width: 1023.98px) {
    .c-page-hero--sub {
        background-size: 100% calc(100% - (100vw - var(--gut)) * var(--hero-hr) * .46);
    }

    .c-page-hero--sub .c-page-hero__img {
        height: auto;
    }
}

@media screen and (max-width: 767.98px) {
    .c-page-hero--long .c-ttl__en {
        font-size: calc(48 * var(--u));
        line-height: 1.21;
    }

    .c-page-hero--long .c-ttl__ja {
        margin-top: calc(2 * var(--u));
    }

    .c-page-hero--long .c-page-hero__img {
        margin-top: calc(40 * var(--u));
    }
}

/* 濃い背景の上のパンくず */
.c-breadcrumb--white .c-breadcrumb__item {
    color: var(--c-white);
}

/* ---------- 楕円の軌道と円形写真（1200 × 1038 の枠に対する割合で配置） ----------
   軌道はデザインどおり 1022 × 669 の楕円を -25° 傾けたもの */
.c-orbit {
    position: relative;
    aspect-ratio: 1200 / 1038;
}

.c-orbit__ring {
    position: absolute;
    top: 17.794%;
    left: 6.79%;
    width: 85.204%;
    height: 64.454%;
    border: 1px solid var(--c-green-light);
    border-radius: 50%;
    transform: rotate(-25deg);
}

.c-orbit__planet {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
}

.c-orbit__planet img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.c-orbit__planet--01 {
    top: 23.699%;
    left: 7.083%;
    width: 20.917%;
}

.c-orbit__planet--02 {
    top: 5.106%;
    left: 63.833%;
    width: 23.583%;
}

.c-orbit__planet--03 {
    top: 50%;
    left: 74.917%;
    width: 17.583%;
}

.c-orbit__planet--04 {
    top: 65.703%;
    left: 8.25%;
    width: 29.417%;
}

/* 画面に入ったら、軌道が中央から大きく広がり、その途中から円形写真がふわっと順に出る（2026-11-10 指示）
   Orbit.astro が .is-anim を付けて隠し、script.js（initOrbit）が画面に入ったら .is-inview を付ける。
   軌道は transform で拡大すると線まで細くなって見えないため、線は 1px のまま大きさ（top/left/width/height）を広げる */
.c-orbit.is-anim .c-orbit__ring {
    /* 広がる様子が見えるよう、ゆるやかな減速（easeOutCubic）で 2 秒かける */
    transition:
        top 2s cubic-bezier(.33, 1, .68, 1),
        left 2s cubic-bezier(.33, 1, .68, 1),
        width 2s cubic-bezier(.33, 1, .68, 1),
        height 2s cubic-bezier(.33, 1, .68, 1),
        opacity .3s ease-out;
}

.c-orbit.is-anim:not(.is-inview) .c-orbit__ring {
    top: 50%;
    left: 49.6%;
    width: 0;
    height: 0;
    opacity: 0;
}

.c-orbit.is-anim .c-orbit__planet {
    transition: opacity 1.4s ease-out, transform 1.4s var(--ease-out), filter 1.4s ease-out;
}

.c-orbit.is-anim:not(.is-inview) .c-orbit__planet {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(24px) scale(.9);
}

/* 写真は軌道が広がりきる前（0.6 秒後、軌道が約 6 割の大きさの時）から順に出す（2026-11-11 指示） */
.c-orbit.is-anim.is-inview .c-orbit__planet--01 {
    transition-delay: .6s;
}

.c-orbit.is-anim.is-inview .c-orbit__planet--02 {
    transition-delay: .8s;
}

.c-orbit.is-anim.is-inview .c-orbit__planet--03 {
    transition-delay: 1s;
}

.c-orbit.is-anim.is-inview .c-orbit__planet--04 {
    transition-delay: 1.2s;
}

/* SP：270 × 177 の楕円を -25° 傾けたもの（320 × 274 の枠に対する割合） */
@media screen and (max-width: 767.98px) {
    .c-orbit {
        width: calc(320 * var(--u));
        aspect-ratio: 320 / 274;
    }

    .c-orbit__ring {
        top: 17.816%;
        left: 7.72%;
        width: 84.444%;
        height: 64.533%;
    }

    .c-orbit__planet--01 {
        top: 13.139%;
        left: 15.625%;
        width: 25.312%;
    }

    .c-orbit__planet--02 {
        top: 5.474%;
        left: 65.313%;
        width: 28.75%;
    }

    .c-orbit__planet--03 {
        top: 58.394%;
        left: 61.25%;
        width: 21.562%;
    }

    .c-orbit__planet--04 {
        top: 58.394%;
        left: 2.188%;
        width: 35.625%;
    }
}

/* ---------- 下層ページ末尾の Contents ---------- */
.c-contents {
    padding: 76px 0 96px;
    background-color: var(--c-cream);
}

.c-contents__label {
    padding-left: 14px;
    border-left: 1px solid var(--c-green);
    font-family: var(--ff-en);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--c-green);
}

.c-contents__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 21px;
}

.c-contents__link {
    display: flex;
    height: 130px;
    border-radius: 10px;
    background-color: var(--c-white);
    overflow: hidden;
}

.c-contents__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 33px 16px 0 41px;
}

.c-contents__en {
    font-family: var(--ff-en);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.33;
    color: var(--c-green);
}

.c-contents__ja {
    margin-top: 9px;
    margin-left: -2px;
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--c-text);
}

.c-contents__img {
    flex-shrink: 0;
    width: 130px;
    overflow: hidden;
}

.c-contents__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}

.c-contents__img--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-green);
    color: var(--c-cream);
}

.c-contents__logo {
    width: 56px;
    height: auto;
}

/* 白い背景に生成りのカード（採用情報）。上端に緑の線（SP は以前は無し。2026-11-18 指示「SP でアワードの下の緑線が抜けている」で PC と同じに） */
.c-contents--white {
    border-top: 1px solid var(--c-green);
    background-color: var(--c-white);
}

.c-contents--white .c-contents__link {
    background-color: var(--c-cream);
}

@media (any-hover: hover) {
    .c-contents__link:hover .c-contents__img img {
        transform: scale(1.06);
    }
}

/* 1200〜1439px：3 列のまま「サステナビリティ」が 1 行に入るよう、写真の幅をコンテンツ幅に合わせて縮める */
@media screen and (min-width: 1200px) {
    .c-contents__img {
        width: min(130px, var(--cw) * .1083);
    }
}

/* 1199px 以下は 2 列（3 列では文字の欄が狭く、和文が折り返すため）。
   2 列でもカードが狭い 768〜820px ほどでは、写真を縮めて文字の欄を 138px 確保する（「サステナビリティ」約 131px が 1 行に入るように。2026-11-11 指示）。
   写真の幅＝カードの幅（(コンテンツ幅 − 間 30px) ÷ 2）− 文字の欄と左右の余白 195px、最大 130px */
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
    .c-contents__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .c-contents__img {
        width: clamp(100px, (var(--cw) - 30px) / 2 - 195px, 130px);
    }
}

@media screen and (max-width: 767.98px) {
    .c-contents {
        padding: calc(52 * var(--u)) 0 calc(43 * var(--u));
    }

    .c-contents__label {
        font-size: calc(14 * var(--u));
    }

    .c-contents__list {
        grid-template-columns: 1fr;
        gap: calc(10 * var(--u));
        margin-top: calc(19 * var(--u));
    }

    .c-contents__link {
        height: calc(90 * var(--u));
    }

    .c-contents__text {
        padding: calc(21 * var(--u)) calc(12 * var(--u)) 0 calc(28 * var(--u));
    }

    .c-contents__en {
        font-size: calc(13 * var(--u));
        line-height: 1.54;
    }

    .c-contents__ja {
        margin-top: calc(-1 * var(--u));
        font-size: calc(14 * var(--u));
        line-height: 2;
    }

    .c-contents__img {
        width: calc(90 * var(--u));
    }

    .c-contents__logo {
        width: calc(40 * var(--u));
    }
}

/* ---------- 2 階層目のページ末尾：同じカテゴリー内のページ一覧 ---------- */
.c-local-nav {
    padding: 66px 0 95px;
    background-color: #f3f4f4;
}

.c-local-nav__inner {
    position: relative;
}

/* 「About Us | Contents」。PC は縦向きにして左端に置く */
.c-local-nav__label {
    display: flex;
    align-items: center;
    font-family: var(--ff-en);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: .02em;
    color: var(--c-green);
    white-space: nowrap;
}

.c-local-nav__label span + span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    margin: 0 14px 0 15px;
    background-color: currentColor;
    vertical-align: -2px;
}

@media screen and (min-width: 768px) {
    .c-local-nav__label {
        position: absolute;
        top: 5px;
        left: 0;
        transform: translateX(20px) rotate(90deg);
        transform-origin: 0 0;
    }
}

.c-local-nav__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    gap: 30px;
    margin-left: 79px;
}

.c-local-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    height: 95px;
    padding: 0 26px 0 35px;
    border-radius: 10px;
    background-color: var(--c-white);
}

.c-local-nav__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.c-local-nav__ja {
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--c-text);
}

.c-local-nav__en {
    margin-top: -2px;
    font-family: var(--ff-en);
    font-size: 12px;
    line-height: 1.67;
    color: var(--c-green-light);
}

/* 1199px 以下は 2 列（3 列では「カルチャーと成長環境」などが折り返すため） */
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
    .c-local-nav__list {
        grid-template-columns: repeat(2, minmax(0, 320px));
    }
}

@media screen and (max-width: 767.98px) {
    .c-local-nav {
        padding: calc(37 * var(--u)) 0 calc(39 * var(--u));
    }

    .c-local-nav__label {
        font-size: calc(14 * var(--u));
    }

    .c-local-nav__list {
        grid-template-columns: 1fr;
        gap: calc(20 * var(--u));
        margin: calc(27 * var(--u)) 0 0;
    }

    .c-local-nav__link {
        height: calc(95 * var(--u));
        padding: 0 calc(26 * var(--u)) 0 calc(35 * var(--u));
    }

    .c-local-nav__ja {
        font-size: calc(14 * var(--u));
        line-height: 2;
    }

    .c-local-nav__en {
        font-size: calc(12 * var(--u));
    }
}

/* ---------- ページ内の目次（Index 01 ○○ ∨） ----------
   チップの間隔は --index-gap（PC）/ --index-gap-sp（SP）でページごとに変えられる */
.c-page-index {
    display: flex;
    align-items: center;
    column-gap: 24px;
}

.c-page-index__label {
    font-family: var(--ff-en);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: .02em;
    color: var(--c-green);
}

.c-page-index__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px var(--index-gap, 24px);
}

.c-page-index__link {
    display: flex;
    align-items: center;
    column-gap: 20px;
    height: 34px;
    padding: 0 15px;
    border-radius: 5px;
    background-color: #f3f4f4;
    color: var(--c-text);
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

.c-page-index__num {
    font-family: var(--ff-en);
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 1px;
    color: var(--c-green);
    transition: color .4s var(--ease-out);
}

.c-page-index__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71;
    letter-spacing: 1px;
}

.c-page-index__icon {
    width: 8px;
    height: 5px;
}

@media (any-hover: hover) {
    .c-page-index__link:hover {
        background-color: var(--c-green);
        color: var(--c-white);
    }

    .c-page-index__link:hover .c-page-index__num {
        color: var(--c-white);
    }
}

@media screen and (max-width: 767.98px) {
    .c-page-index__label,
    .c-page-index__num {
        display: none;
    }

    .c-page-index__list {
        gap: calc(10 * var(--u)) var(--index-gap-sp, calc(10 * var(--u)));
    }

    .c-page-index__link {
        column-gap: calc(10 * var(--u));
        height: calc(34 * var(--u));
        padding: 0 calc(10 * var(--u));
        border-radius: calc(5 * var(--u));
    }

    .c-page-index__text {
        font-size: calc(12 * var(--u));
        line-height: 2;
    }

    .c-page-index__icon {
        width: calc(8 * var(--u));
        height: calc(5 * var(--u));
    }
}

/* ---------- 採用情報：セクションの説明文（見出しの下） ---------- */
.c-sec-desc {
    margin-top: 37px;
    padding-left: 3px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: .05em;
}

.c-sec-desc--white {
    color: var(--c-white);
}

/* ---------- 採用情報：社員インタビューの横スライダー（/recruit/・インタビュー詳細）----------
   画面の左右の端まで広げ、止まる位置はコンテンツの左端。カードは PC で hover したときに名前の帯を表示
   （hover できない端末では常に表示） */
.c-people-slider {
    --bleed: calc((100vw - var(--cw)) / 2);
    margin-inline: calc(var(--bleed) * -1);
}

.c-people-slider__list {
    display: flex;
    gap: 35px;
    padding: 0 var(--bleed) 0 calc(var(--bleed) + 3px);
    overflow-x: auto;
    scroll-padding-left: calc(var(--bleed) + 3px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.c-people-slider__list::-webkit-scrollbar {
    display: none;
}

.c-people-slider__item {
    flex: 0 0 329px;
    scroll-snap-align: start;
}

.c-people-card {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
}

/* 顔の大きさ・目の高さを人ごとにそろえる：拡大（--img-zoom）・横の位置（--img-x）・拡大の中心の高さ（--img-origin-y）。
   値は PeopleSlider.astro が枠の style に入れる（data/peoplePortrait.ts）。無い人は中央合わせのまま */
.c-people-card__img img {
    width: 100%;
    aspect-ratio: 329 / 458;
    object-fit: cover;
    object-position: var(--img-x, 50%) 50%;
    transform: scale(var(--img-zoom, 1));
    transform-origin: 50% var(--img-origin-y, 50%);
    transition: transform .6s var(--ease-out);
}

.c-people-card__body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    /* 見出しが長い（4 行など）ときは上に伸ばす */
    min-height: 46.07%;
    /* 右はデザイン（25px）より狭め、見出しの 15 文字の区切り（例：一人の悩みに向き合うことから、）を 1 行に収める */
    padding: 31px 18px 21px 26px;
    border-radius: 0 30px 0 0;
    background-color: rgb(0 96 93 / .85);
    color: var(--c-white);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

/* 改行は文節の切れ目（<wbr>）だけ。区切り（、。）ごとには改行しない。PeopleSlider.astro
   太さは 500（Figma は 400。2026-11-17 先方指示「太く」で 1 段太く。SP も同じ） */
.c-people-card__ttl {
    margin-bottom: 10px;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.67;
    letter-spacing: .05em;
}

.c-people-card__role {
    margin-top: auto;
    font-family: var(--ff-en-ja);
    font-size: 14px;
    line-height: 2;
    letter-spacing: .05em;
}

.c-people-card__name {
    margin-top: -1px;
    font-family: var(--ff-en);
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: .05em;
}

/* 役員は和文の氏名（Noto Sans JP の 500）＋英字（Proxima Nova）。PC は 16px・12px、SP は 12px・9px（2026-11-20 指示） */
.c-people-card__name--ja {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
    font-size: 16px;
}

.c-people-card__name-ja {
    font-family: var(--ff-head);
    font-weight: 500;
    letter-spacing: .03em;
}

.c-people-card__name-en {
    font-family: var(--ff-en);
    font-size: 12px;
    letter-spacing: .05em;
}

.c-people-slider__arrow {
    display: block;
    line-height: 0;
    transition: opacity .3s;
}

.c-people-slider__arrow:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

.c-people-slider__arrow .c-arrow {
    width: 51px;
    height: 51px;
}

/* Figma：51px の丸に軸 18.7・線 1.5 */
.c-people-slider__arrow .c-arrow__icon--pc {
    width: 20.2px;
}

.c-people-slider__nav {
    display: flex;
    column-gap: 41px;
}

@media (any-hover: hover) and (min-width: 768px) {
    .c-people-card__body {
        opacity: 0;
        transform: translateY(16px);
    }

    .c-people-card:hover .c-people-card__body,
    .c-people-card:focus-visible .c-people-card__body {
        opacity: 1;
        transform: none;
    }

    .c-people-card:hover .c-people-card__img img {
        transform: scale(calc(var(--img-zoom, 1) * 1.04));
    }
}

/* ---------- ニュースのカード（TOP の News・ニュース一覧・Related News）。NewsCard.astro ---------- */
.c-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    padding-right: 3px;
}

.c-news-card__date {
    flex-shrink: 0;
    font-family: var(--ff-en);
    font-size: 14px;
    line-height: 1.29;
    letter-spacing: .05em;
    color: var(--c-green);
}

.c-news-card__cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 13px;
}

/* --tag-py：上下の余白（文字を上下の中央にするため、対応ブラウザでは下の @supports で足し直す） */
.c-news-card__cat {
    --tag-py: 2px;
    padding: var(--tag-py) 9px;
    border: 1px solid var(--c-green);
    border-radius: 12px;
    font-family: var(--ff-en);
    font-size: 14px;
    line-height: 1.29;
    letter-spacing: .05em;
    color: var(--c-green);
    transition: background-color .3s, color .3s;
}

/* 画像は比率がまちまち（ロゴや横長のバナーなど）なので、切り取らずに全体を表示する */
.c-news-card__img {
    display: block;
    width: 99.15%;
    margin-top: 14px;
    border: 1px solid var(--c-gray);
    border-radius: 10px;
    background-color: var(--c-gray-bg);
    overflow: hidden;
}

/* 横長の画像が枠いっぱいになって窮屈なので、周りに余白をとって小さめに表示する */
.c-news-card__img img {
    width: 100%;
    aspect-ratio: 350 / 280;
    padding: 8%;
    object-fit: contain;
    transition: transform .6s var(--ease-out);
}

/* 画像が無いときはロゴマーク */
.c-news-card__noimg {
    display: grid;
    place-items: center;
    aspect-ratio: 350 / 280;
    background-color: var(--c-green);
    color: var(--c-cream);
}

.c-news-card__noimg svg {
    width: 30%;
}

.c-news-card__ttl {
    margin-top: 22px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: .05em;
}

@media (any-hover: hover) {
    .c-news-card:hover .c-news-card__cat {
        background-color: var(--c-green);
        color: var(--c-white);
    }

    .c-news-card:hover .c-news-card__img img {
        transform: scale(1.05);
    }

    .c-news-card__ttl a:hover {
        opacity: .7;
    }
}

/* 横スライダー（TOP の News・Related News）：右端は画面の端まで広げる。矢印は script.js の .js-slider */
.c-news-slider {
    margin-right: calc((100vw - var(--cw)) / -2);
}

.c-news-slider__list {
    display: flex;
    gap: 50px;
    padding-right: var(--gut);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.c-news-slider__list::-webkit-scrollbar {
    display: none;
}

.c-news-slider__item {
    flex: 0 0 clamp(260px, 24.5vw, 353px);
    scroll-snap-align: start;
}

@media screen and (max-width: 767.98px) {
    .c-news-card__meta {
        padding-right: calc(2 * var(--u));
    }

    .c-news-card__date {
        font-size: calc(12 * var(--u));
        line-height: 1.5;
    }

    .c-news-card__cats {
        gap: calc(4 * var(--u)) calc(6 * var(--u));
    }

    .c-news-card__cat {
        --tag-py: calc(3 * var(--u));
        padding: var(--tag-py) calc(9 * var(--u));
        border-color: var(--c-green-light);
        border-radius: calc(20 * var(--u));
        font-size: calc(12 * var(--u));
        line-height: 1;
    }

    .c-news-card__img {
        width: 99.2%;
        margin-top: calc(6 * var(--u));
    }

    .c-news-card__ttl {
        margin-top: calc(15 * var(--u));
        font-size: calc(13 * var(--u));
        line-height: 1.85;
    }

    /* ニュース一覧：画像を左、タイトルを右に並べる。タイトルは 5 行まで */
    .c-news-card--list {
        display: grid;
        grid-template-columns: calc(154 * var(--u)) minmax(0, 1fr);
        column-gap: calc(20 * var(--u));
        align-items: start;
    }

    .c-news-card--list .c-news-card__meta {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-right: 0;
    }

    .c-news-card--list .c-news-card__date {
        line-height: 1.25;
        color: var(--c-green-light);
    }

    .c-news-card--list .c-news-card__cats {
        justify-content: flex-start;
        gap: calc(4 * var(--u)) calc(5 * var(--u));
    }

    .c-news-card--list .c-news-card__cat {
        --tag-py: calc(2 * var(--u));
        padding: var(--tag-py) calc(5 * var(--u));
        font-size: calc(11 * var(--u));
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: 0;
        color: var(--c-green-light);
    }

    .c-news-card--list .c-news-card__img {
        width: auto;
        margin-top: calc(11 * var(--u));
        border: 0;
    }

    .c-news-card--list .c-news-card__img img,
    .c-news-card--list .c-news-card__noimg {
        aspect-ratio: 154 / 123;
    }

    .c-news-card--list .c-news-card__ttl {
        display: -webkit-box;
        margin-top: calc(14 * var(--u));
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        font-weight: 500;
        line-height: 1.77;
    }

    .c-news-slider__list {
        gap: calc(20 * var(--u));
    }

    .c-news-slider__item {
        flex-basis: calc(242 * var(--u));
    }
}

/* カテゴリーのタグの文字を上下の中央に（2026-11-12 指摘「タグ内のテキストが少し下がって見える」。Mac・iPhone）。
   Proxima Nova は OS によって行の中の文字の位置が違い（Windows はほぼ中央、Mac・iOS は下寄り）、上下の余白を同じにしても下がって見える。
   対応ブラウザ（Chrome 133・Safari 18.2 以降）では行を大文字の高さ〜ベースラインに切り詰め（text-box）、
   切り詰めた分（行の高さ − 大文字の高さ）を上下の余白に半分ずつ足す。枠の高さは変わらない（news.css・news-detail.css も同じ） */
@supports (text-box: trim-both cap alphabetic) {
    .c-news-card__cat,
    .c-news-card--list .c-news-card__cat {
        text-box: trim-both cap alphabetic;
        padding-block: calc(var(--tag-py) + (1lh - 1cap) / 2);
    }
}

/* ---------- 採用エントリー（右端に付けた緑のタブ）。components/recruit/EntryBtn.astro ----------
   ページ末尾（Contents の下の余白）に置き、sticky で画面の右下に追従させる。
   フッターが見えてくると本来の位置（フッターの手前）で止まる。上の margin で自身の高さを打ち消す */
.c-entry-btn {
    position: sticky;
    bottom: 29px;
    z-index: 50;
    display: flex;
    margin: -67px 0 0 auto;
    align-items: center;
    justify-content: space-between;
    width: 237px;
    height: 67px;
    padding: 0 23px 0 34px;
    border-radius: 90px 0 0 90px;
    background-color: var(--c-green);
    font-family: var(--ff-head);
    font-size: 16px;
    /* Figma の 500。2026-11-09 に「見た目が太い」で 400 にしたが、2026-11-13 の先方指示「1 ウェイト太く」で 500 に戻した */
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--c-white);
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out), opacity .5s var(--ease-out), visibility .5s;
}

/* 止まる位置まで来たらフェードアウト（止まったまま一緒に流れない。2026-11-17 先方指示）。script.js の initEntryEnd */
.c-entry-btn.is-end {
    opacity: 0;
    visibility: hidden;
}

.c-entry-btn .c-arrow {
    width: 31px;
    height: 31px;
    background-color: var(--c-white);
}

/* Figma：31px の丸に軸 11.37・線 1.5（幅＝軸＋1.5） */
.c-entry-btn .c-arrow__icon {
    width: 12.87px;
}

/* 背景が緑のセクションに重なっている間は色を反転する：白地に緑の文字、緑の丸に白の矢印（2026-11-10 指示）。
   script.js の initEntryInvert が is-invert を付ける */
.c-entry-btn.is-invert {
    background-color: var(--c-white);
    color: var(--c-green);
}

.c-entry-btn.is-invert .c-arrow {
    background-color: var(--c-green);
    color: var(--c-white);
}

@media (any-hover: hover) {
    .c-entry-btn:hover {
        background-color: var(--c-green-light);
    }

    .c-entry-btn:hover > .c-arrow {
        background-color: var(--c-white);
        color: var(--c-green);
    }

    /* 反転中の hover：緑の部分を薄い緑にする（ふだんの hover で背景の緑が薄くなるのと同じ） */
    .c-entry-btn.is-invert:hover {
        background-color: var(--c-white);
        color: var(--c-green-light);
    }

    .c-entry-btn.is-invert:hover > .c-arrow {
        background-color: var(--c-green-light);
        color: var(--c-white);
    }
}

@media screen and (max-width: 767.98px) {
    .c-entry-btn {
        bottom: calc(26 * var(--u));
        margin-top: calc(-48 * var(--u));
        width: calc(170 * var(--u));
        height: calc(48 * var(--u));
        padding: 0 calc(13 * var(--u)) 0 calc(18 * var(--u));
        font-size: calc(13 * var(--u));
        line-height: 2.15;
    }

    /* 色は PC と同じ濃い緑（SP のデザインは薄い緑 #5c9492 だが、2026-11-12 先方指示「グリーン濃く」） */
    .c-entry-btn .c-arrow {
        width: calc(21 * var(--u));
        height: calc(21 * var(--u));
    }

    .c-entry-btn .c-arrow__icon {
        width: calc(9.37 * var(--u));
    }
}

/* ---------- 採用情報の下層ページの冒頭（パンくず＋見出し＋説明文。右上に白いロゴマーク）。components/recruit/RecruitHero.astro ---------- */
.c-recruit-hero {
    padding-top: 169px;
}

.c-recruit-hero__inner {
    position: relative;
}

.c-recruit-hero .c-breadcrumb__item {
    color: var(--c-green);
}

.c-recruit-hero__logo {
    position: absolute;
    top: 0;
    right: -4px;
    width: min(347px, var(--cw) * .2892);
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.c-recruit-hero__ttl,
.c-recruit-hero__desc {
    position: relative;
}

.c-recruit-hero__ttl {
    margin-top: 21px;
}

.c-recruit-hero__desc {
    margin-top: 44px;
}

/* ---------- 募集職種のセクション。components/recruit/PositionsSection.astro ----------
   PC は一覧をそのまま表示。SP は「募集ポジションを見る」で一覧を開く（.js-more） */
.c-positions-more {
    display: none;
}

@media screen and (max-width: 767.98px) {
    .c-recruit-hero {
        padding-top: calc(93 * var(--u));
    }

    .c-recruit-hero__logo {
        top: calc(-29 * var(--u));
        right: 0;
        width: calc(112 * var(--u));
    }

    .c-recruit-hero__ttl {
        margin-top: calc(10 * var(--u));
    }

    .c-recruit-hero__desc {
        margin-top: calc(28 * var(--u));
    }

    .c-positions-more {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: calc(60 * var(--u));
        margin-top: calc(31 * var(--u));
        padding: 0 calc(24 * var(--u)) 0 calc(26 * var(--u));
        border: 1px solid var(--c-green-light);
        border-radius: 999px;
        background-color: var(--c-white);
        font-family: var(--ff-head);
        font-size: calc(13 * var(--u));
        /* Figma は 500 だが見た目が太いので 1 段細く（2026-11-09 指示） */
        font-weight: 400;
        line-height: 2.15;
        letter-spacing: .02em;
        color: var(--c-green);
    }

    .c-positions-more[hidden] {
        display: none;
    }

    .c-positions-more .c-arrow {
        width: calc(23 * var(--u));
        height: calc(23 * var(--u));
    }

    /* Figma：23px の丸に軸 8.36・線 1.5 */
    .c-positions-more .c-arrow__icon {
        width: calc(9.86 * var(--u));
    }

    .c-positions-wrap:not(.is-open) {
        display: none;
    }
}

/* ---------- 採用情報：募集職種（Wantedly へのリンク） ---------- */
.c-positions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 372px));
    gap: 25px;
    margin-top: 46px;
    padding-left: 3px;
}

.c-positions__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    height: 100%;
    min-height: 66px;
    padding: 6px 20px 6px 33px;
    border: 1px solid var(--c-green-light);
    border-radius: 999px;
    background-color: var(--c-white);
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    color: var(--c-green);
    transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), color .4s var(--ease-out);
}

/* 文節の途中では改行しない。ただし 1 つの文節が枠に入らないときは途中でも改行し、矢印を押し出さない */
.c-positions__label {
    min-width: 0;
    word-break: auto-phrase;
    overflow-wrap: anywhere;
}

.c-positions__link--small {
    font-size: 14px;
    line-height: 2;
}

.c-positions__link .c-arrow {
    width: 33px;
    height: 33px;
}

/* Figma：33px の丸に軸 12・線 1.5（幅＝軸＋1.5。SP は 23px の丸に軸 8.36） */
.c-positions__link .c-arrow__icon {
    width: 13.5px;
}

@media (any-hover: hover) {
    .c-positions__link:hover {
        border-color: var(--c-green);
        background-color: var(--c-green);
        color: var(--c-white);
    }
}

/* 3 列は、いちばん長い職種名（16px で約 260px）が 1 行に入る 1350px 以上だけ。
   それより狭いと文節の途中で改行できない名前が枠からはみ出すため 2 列にする */
@media screen and (max-width: 1349.98px) {
    .c-positions {
        grid-template-columns: repeat(2, minmax(0, 372px));
    }
}

@media screen and (max-width: 767.98px) {
    .c-sec-desc {
        margin-top: calc(27 * var(--u));
        padding-left: 0;
        font-size: calc(15 * var(--u));
        line-height: 2.13;
    }

    .c-people-slider__list {
        gap: calc(25 * var(--u));
        padding-left: calc(var(--bleed) - 3 * var(--u));
        scroll-padding-left: calc(var(--bleed) - 3 * var(--u));
    }

    .c-people-slider__item {
        flex-basis: calc(222 * var(--u));
    }

    .c-people-card {
        border-radius: calc(20 * var(--u));
    }

    .c-people-card__img img {
        aspect-ratio: 222 / 308;
    }

    .c-people-card__body {
        min-height: 46.1%;
        padding: calc(13 * var(--u)) calc(17 * var(--u)) calc(20 * var(--u));
        border-radius: 0;
        background-color: rgb(0 96 93 / .85);
    }
    /* SP は文節の切れ目を待たず行末まで詰めて折り返す（4 行になると緑の帯が人物の半分以上にかぶるため） */
    .c-people-card__ttl {
        margin-bottom: calc(10 * var(--u));
        word-break: normal;
        line-break: strict;
        font-family: var(--ff-lead);
        font-size: calc(14 * var(--u));
        line-height: 1.57;
        letter-spacing: .02em;
    }

    .c-people-card__role {
        font-size: calc(10 * var(--u));
        line-height: 1.2;
    }

    .c-people-card__name {
        margin-top: calc(3 * var(--u));
        font-size: calc(14 * var(--u));
        line-height: 1.29;
    }

    .c-people-card__name--ja {
        column-gap: calc(6 * var(--u));
        font-size: calc(12 * var(--u));
    }

    .c-people-card__name-en {
        font-size: calc(9 * var(--u));
    }

    .c-people-slider__arrow .c-arrow {
        width: calc(30 * var(--u));
        height: calc(30 * var(--u));
    }

    .c-people-slider__arrow .c-arrow__icon {
        width: calc(12.5 * var(--u));
    }

    .c-positions {
        grid-template-columns: minmax(0, 1fr);
        gap: calc(15 * var(--u));
        margin-top: calc(31 * var(--u));
        padding-left: 0;
    }

    .c-positions__link,
    .c-positions__link--small {
        min-height: calc(60 * var(--u));
        padding: calc(14 * var(--u)) calc(24 * var(--u)) calc(14 * var(--u)) calc(26 * var(--u));
        font-size: calc(14 * var(--u));
        line-height: 2;
    }

    .c-positions__link .c-arrow {
        width: calc(23 * var(--u));
        height: calc(23 * var(--u));
    }

    .c-positions__link .c-arrow__icon {
        width: calc(9.86 * var(--u));
    }

    .c-people-slider {
        --bleed: var(--gut);
    }

    .c-people-slider__nav {
        column-gap: calc(13 * var(--u));
    }
}

/* ---------- 2 階層目のページ一覧：採用情報（生成りの背景） ---------- */
/* デザインは --c-beige（#f1e4d3）の 50% を生成り（#fcf7ef）に重ねた色 */
.c-local-nav--beige {
    background-color: #f7eee1;
}

/* =============================================================
   ユーティリティ
   ============================================================= */
.u-sp {
    display: none;
}

@media screen and (max-width: 767.98px) {
    .u-pc {
        display: none;
    }

    .u-sp {
        display: inline;
    }
}

/* 見出しの「、」「。」の区切りの途中で改行しない（PC。lib/text.ts の phrases で分けた span） */
@media screen and (min-width: 768px) {
    .u-phrase {
        display: inline-block;
    }
}

/* 1200px 以上（デザインどおりの文字組みが収まる幅）だけ改行する */
.u-br-lg {
    display: none;
}

@media screen and (min-width: 1200px) {
    .u-br-lg {
        display: inline;
    }
}

.u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
