@charset "utf-8";

/* -------------------------------------------------------------------------
  root
  ------------------------------------------------------------------------- */
:root {
  --color-black-100: #251a12;
  --color-black: #000000;
  --color-white: #fff;
  --color-gray: #F5F6FA;
  --color-gray-500: #585858;
  --color-blue-100: #065478;
  --color-blue: #192649;
  --color-green: #06783D;

  --line-height-reset: 1;
  --line-height-snug: 1.4;
  --line-height-body: 1.8;
  --line-height-loose: 2.3;
  --letter-spacing-reset: 0;
  --letter-spacing-sm: 0.02em;
  --letter-spacing-md: 0.05em;
  --letter-spacing-lg: 0.08em;

  --layer-bg-back: 10;
  --layer-bg: 15;
  --layer-bg-mask: 20;
  --layer-content: 30;
  --layer-overlay-light: 50;
  --layer-overlay-heavy: 60;
  --layer-cta: 100;
  --layer-header: 300;
  --layer-modal: 1000;
  --layer-toast: 9999;

  --header-height: 6rem;

  --layout-content-side: 2.5rem;
  --layout-max-width: calc(100rem + var(--layout-content-side) * 2);
  --layout-max-width-header: calc(96rem + 4rem);
  --layout-max-width-narrow: 60rem;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  --duration-fast: 0.35s;
  --duration-base: 0.7s;
  --duration-slow: 1.05s;

  --shadow-base-text: 0 0.3rem 0.6rem rgba(26, 26, 26, 0.75);
  --shadow-base: 0 0.3rem 0.6rem 0 rgba(0, 0, 0, 0.15);

  --sticky-scrolling-margin: 50vh;
  --content-screen-height: calc(100vh - var(--header-height));
  --adjustment-sticky-size: calc(var(--sticky-scrolling-margin) - calc(100vh - var(--header-height)));

  --color-base: var(--color-black-100);
  --color-on-dark: var(--color-white);
  --color-hamburger-line: var(--color-white);

  --sns-icon-size: 5rem;

}

@media screen and (min-width:744px) {
  :root {
    --layout-content-side: 10rem;
  }
}

@media screen and (min-width:1024px) {
  :root {
    --layout-content-side: 5rem;
  }
}


/* -------------------------------------------------------------------------
  reset nmc
  ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

video,
img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

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

button,
[type="button"] {
  -webkit-appearance: none;
  /* iOS/Safari 特有のデフォルトの角丸やシャドウ、ボタンのスタイルを削除 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 大文字化などが勝手に行われるのを防ぎ親要素の設定を継承 */
  cursor: pointer;
}

address {
  font-style: normal;
  /* 斜体を解除 */
}

/* -------------------------------------------------------------------------
  base
  ------------------------------------------------------------------------- */
html {
  font-size: 2.6667vw;
}

@media screen and (min-width: 744px) {
  html {
    /* 1024px基準 */
    font-size: 0.9766vw;
  }
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 0.7813vw;
  }
}

@media screen and (min-width: 1536px) {
  html {
    font-size: 12px;
  }
}

body {
  font-size: 1.4rem;
  line-height: var(--line-height-snug);
  color: var(--text-color-base);
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* スクロールを禁止するクラス */
body.is-locked {
  overflow: hidden;
}

section {
  --section-padding: 10rem;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);

  overflow: hidden;
  position: relative;
  z-index: var(--layer-content);
}

@media screen and (min-width: 1280px) {
  section {
    --section-padding: 15rem;
  }
}

/* -------------------------------------------------------------------------
  font
  ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-lg);
  margin: 0;
}

/* サイズ定義 (rem換算で統一) */
h1,
.h1 {
  font-size: 4rem;
}

h2,
.h2 {
  font-size: 2.8rem;
}

h3,
.h3 {
  font-size: 1.8rem;
}

h4,
.h4 {
  font-size: 1.4rem;
}

h5,
.h5 {
  font-size: 1.4rem;
}

.ff-en {
  font-family: bree-serif, serif;
  font-weight: 700;
  font-style: normal;
}

.ff-ja-normal {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ff-ja-medium {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ff-ja-bold {
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-weight: 900;
}

.ff-min {
  font-family: fot-tsukumin-pr6n, sans-serif;
  font-style: normal;
  font-weight: 300;
}

/* -------------------------------------------------------------------------
  layout
  ------------------------------------------------------------------------- */

.l-stack {
  --content-gap: 5rem;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  width: 100%;
}

.l-stack>* {
  margin-top: 0;
  margin-bottom: 0;
}

.l-stack--lg {
  --content-gap: 10rem;
}

.l-stack--sm {
  --content-gap: 3rem;
}

.l-container {
  --content-padding: var(--layout-content-side);
  --content-max-width: var(--layout-max-width);
  padding-inline: var(--content-padding);
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* 画面幅いっぱい */
.l-container--full {
  padding-inline: 0;
  max-width: none;
}

/* 画面幅いっぱい（モバイルのみ） */
.l-container--sp-full {
  padding-inline: 0;
}

@media screen and (min-width:744px) {
  .l-container--sp-full {
    padding-inline: var(--content-padding);
  }
}

@media screen and (min-width:744px) {

  /* ユーティリティ的に使う */
  .l-pc-narrow {
    max-width: var(--layout-max-width-narrow);
    margin-inline: auto;
  }
}

/* l-peel (めくりレイアウト) */
.l-peel {
  position: relative;
  height: auto;
  background-color: var(--color-white);
}

.l-peel::after {
  content: "";
  display: block;
  height: 100vh;
  pointer-events: none;
}

.l-peel--first::after {
  display: none;
}

.l-peel--next-layer {
  margin-top: -100vh;
}

.l-peel--z8 {
  z-index: 8;
}

.l-peel--z7 {
  z-index: 7;
}

.l-peel--z6 {
  z-index: 6;
}

.l-peel--z5 {
  z-index: 5;
}

.l-peel--z4 {
  z-index: 4;
}

.l-peel--z3 {
  z-index: 3;
}

.l-peel--z2 {
  z-index: 2;
}

.l-peel--z1 {
  z-index: 1;
}

.l-peel__item {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--header-height);
}

.l-peel__item>section {
  min-height: var(--content-screen-height);
}


/* ==========================================================================
   【備忘録】めくりレイアウト（Sticky + 負マージン）におけるアンカーリンクの仕様と制約
   ==========================================================================
   ■ このコメントが前提とする関連クラス
   ・.l-peel             : めくりレイアウトの親要素
   ・.l-peel--next-layer : margin-top: -100vh がかかる層（次ページ相当）
   ・.u-anchor-wrap      : アンカー調整の基点（本ファイルの対象・position: relative を担う）
   ・.u-anchor-target    : アンカーの実体（本ファイルの対象・空タグとして配置）

   ■ デフォルト（現状の空タグ配置ルール）で対応可能な前提条件
   ・「デフォルトの空タグ配置ルール」とは：
     .u-anchor-target を .l-peel の直下かつ第一子として配置する運用ルールのこと。
   ・上記ルールが成立するのは、ターゲットの着地点が「.l-peel」内の
     最初の要素の上辺である場合のみ。

   ■ JS（動的計算）でズレを自動調整できない理由
   ・リンク元が「上」にある場合と「下」にある場合で、
     ターゲット要素のスクロール状態（見た目の座標）が異なるため。
   ・position: sticky は画面追従によって要素の絶対座標が動的に変わるため、
     JS を用いても固定中のデッドゾーン（sticky 固定中にスクロール量と
     表示位置がずれる区間）を考慮した共通の計算式（逆算）が成立しないため。

   ■ 上記以外の想定パターンと対症療法
   ・sticky で固定する要素の「途中（内部のバナーや子セクション等）」に
     ターゲットを設ける場合：
     コンテンツのテキスト量等で高さが変動するため、
     レスポンシブ（ブレイクポイント）ごとにアンカー用空タグの「top」位置を
     手動で調整（ハードコード）するしかない。
   ========================================================================== */
/* ページ内リンク（アンカー）位置調整 */
.u-anchor-wrap {
  position: relative;
}

.u-anchor-target {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
  /* 【座標相殺ルール】
       構造イメージ:
         .l-peel--next-layer  ← margin-top: -100vh（ブラウザ座標が 100vh 上にずれる）
           .u-anchor-wrap     ← position: relative（アンカー基点）
             .u-anchor-target ← top: 100vh で意図的に 100vh 下へずらす
                                → 結果、見た目の上辺と一致する
  
       理由: 親要素（.l-peel--next-layer）に「margin-top: -100vh」がかかっているため、
             ブラウザが認識する絶対座標が 100vh 分、上にずれています。
             それを相殺して正しい着地位置にするため、
             あらかじめ 100vh 分「下」に配置しています。
    */
}


/* -------------------------------------------------------------------------
  components
  ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
 c-card
------------------------------------------------------------------------- */
.c-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 3rem;

  aspect-ratio: 1 / 1;
}


.c-card-slogan {
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 2rem;

}

.c-card-slogan__img-title>img {
  display: block;
  width: 27.2rem;
  margin-inline: auto;
}

.c-card-slogan h2 {
  font-size: 2rem;
}

@media screen and (min-width: 744px) {
  .c-card-info {
    aspect-ratio: unset;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  }
}

.c-card-recruit-info {
  padding: 2rem;
  padding-bottom: 0.5rem;
  background-color: var(--color-white);
  box-shadow: var(--shadow-base);
}

.c-card-recruit-info__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.c-card-recruit-info__title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-card-recruit-info__tag {
  font-size: 0.9em;
  line-height: var(--line-height-reset);
  color: var(--color-white);
  background-color: var(--color-green);
  border-radius: 0.3em;
  padding: 0.3em 0.6em;
  padding-top: 0.2em;
  flex-shrink: 0;
}

.c-card-recruit-info__tag--career {
  background-color: var(--color-blue-100);
}

.c-card-recruit-info--in-modal {
  padding: 0 2rem;
  padding-left: 0.7rem;
  background-color: transparent;
  box-shadow: none;
}

@media screen and (min-width:744px) {
  .c-card-recruit-info--in-modal {
    padding: 0 4rem;
    padding-left: 2rem;
  }
}

.c-card-recruit-info__entory {
  padding-bottom: 2.5rem;
  margin-top: 2rem;
}

/* -------------------------------------------------------------------------
  c-button
  ------------------------------------------------------------------------- */
.c-button {
  font-size: 2rem;
  line-height: var(--line-height-reset);

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 12.5em;
  margin-inline: auto;

  padding: 1.5rem 3.2rem;
  color: var(--color-white);
  background-color: var(--color-black);
}

.c-button--green {
  background-color: var(--color-green);

}

.c-button__text {
  display: block;
  flex-grow: 1;
}

.c-button__bar {
  display: block;
  padding-right: 0.2em;
  position: relative;

}

.c-button__bar::before {
  content: "";
  display: block;
  height: 1px;
  width: 2.3em;
  background-color: currentColor;
}

.c-button__bar::after {
  content: "";
  display: block;
  background-color: currentColor;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* 「+ さらに詳しく」 */

.c-button-plus-minus {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4em;

  width: 100%;
  padding: 2rem 0 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}



.c-button-plus-minus__icon {
  --icon-size: 1.2rem;
  position: relative;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
}

.c-button-plus-minus__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background-color: currentColor;
  transform: translateY(-50%);
}


.c-button-plus-minus__icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.2rem;
  height: 100%;
  background-color: currentColor;
  transform: translateX(-50%);
}

/* -------------------------------------------------------------------------
  c-head
  ------------------------------------------------------------------------- */
.c-head-with-logo {
  font-size: 2.8rem;
  text-align: center;
}

.c-head-with-logo__logo {
  display: block;
  height: 0.9em;
  width: auto;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.c-head-with-logo__text {
  display: block;
}

.c-head-with-logo__date {
  display: block;
  letter-spacing: 0;
}

.c-head-with-logo__date small {
  font-size: 0.67em;
}

.c-head-with-logo__desc {
  font-size: 0.6em;
}



/* -------------------------------------------------------------------------
  c-list
  ------------------------------------------------------------------------- */
/* sns リンクリスト */
.c-list-sns {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.c-list-sns__item {
  width: var(--sns-icon-size);
}

/* 四角囲いのテキストリスト */
.c-list-square {
  font-size: 1.6rem;
}

.c-list-square__item {
  background-color: rgba(255, 255, 255, 0.5);
  border: solid 0.1rem var(--color-black);
  text-align: center;
  padding: 1rem 0;
}

.c-list-square__item+.c-list-square__item {
  margin-top: 1.2rem;
}

/* データリスト */
.c-list-normal-dl>div {
  display: flex;
  gap: 2rem;
}

.c-list-normal-dl>div+div {
  margin-top: 1rem;
}

.c-list-normal-dl__dt {
  color: var(--color-white);
  background-color: var(--color-gray-500);

  width: 5.5em;

}

.c-list-normal-dl__dd {
  font-size: 1.7rem;
}

/* コロンのdl */
.c-list-colon-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 1em;
}

.c-list-colon-dl>div {
  display: flex;
}

.c-list-colon-dl__dt {}

.c-list-colon-dl__dt::after {
  content: "：";
}

/* -------------------------------------------------------------------------
  header
  ------------------------------------------------------------------------- */
.l-header {
  height: var(--header-height);
  z-index: var(--layer-header);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-black);
  overflow: hidden;
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

@media screen and (min-width:1024px) {
  .l-header__inner {
    padding-right: 0.5rem;
    max-width: calc(103rem + 4rem);
    margin-inline: auto;
  }
}

.l-header__logo {
  height: 100%;
}

.l-header__logo>a {
  display: block;
  height: 100%;
  padding: 1rem 2rem;
  width: 22.5rem;
}

.l-header__logo img {
  height: 100%;
  width: auto;
}

/* -------------------------------------------------------------------------
  header nav
  ------------------------------------------------------------------------- */
.l-header__nav {
  position: fixed;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: var(--content-screen-height);
  padding-top: 5rem;
  background-color: var(--color-black);
  color: var(--color-on-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s var(--ease-in),
    visibility 0s linear 0.15s;
}

@media screen and (min-width: 1024px) {
  .l-header__nav {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;

    /* // PC表示リセット */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* SPメニュー展開時のアクティブ状態 */
.l-header__nav.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity var(--duration-nav-base) var(--ease-out),
    visibility 0s linear 0s;
}

/* ナビゲーション内部レイアウト */
/* navコンテンツラッパー */
.l-header-nav {
  height: 100%;
}

.l-header-nav__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 1024px) {
  .l-header-nav__inner {
    display: block;
  }
}

/* コンテンツエリア（スクロール領域） */
.l-header-nav__content {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width: 1024px) {
  .l-header-nav__content {
    display: block;
    height: 100%;
    overflow: hidden;
  }
}

@media screen and (min-width: 1024px) {
  .menu-wrapper {
    display: flex;
    height: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .menu-wrapper>li {
    height: 100%;
    transition: background-color 0.3s var(--ease-out);
  }

  .menu-wrapper>li:hover {
    color: var(--color-base);
    background-color: var(--color-gray);
  }
}

.menu-wrapper>li>a {
  display: block;
  padding: 1.5rem 3rem;
}

@media screen and (min-width: 1024px) {
  .menu-wrapper>li>a {
    height: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
  header hamburger 
  ------------------------------------------------------------------------- */
.l-header__hamburger {
  --hamburger-gap: 0.6rem;
  /* 3本用に少し狭めるのが一般的 */
  --hamburger-line-height: 0.1rem;
  /* 中央の線からのオフセット距離 */
  --hamburger-offset: calc(var(--hamburger-gap) + var(--hamburger-line-height));

  width: var(--header-height);
  height: 100%;
  position: relative;

  display: flex;
  flex-direction: column;
  /* アイコンとテキストを縦に並べる */
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  /* アイコンとMENU文字の間の距離 */

  border-left: solid 1px #707070;
}



@media screen and (min-width:1024px) {
  .l-header__hamburger {
    display: none;
  }
}

/* 3本線を包むコンテナ */
.l-header__hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
}

/* ハンバーガーライン */
.l-header__hamburger-line {
  display: block;
  position: relative;
  width: 3rem;
  height: var(--hamburger-line-height);
  background-color: var(--color-hamburger-line);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

/* menuテキスト */
.l-header__hamburger-text {
  font-size: 1rem;
  color: var(--color-hamburger-line);
  line-height: 1;

  margin-top: 0.3em;
  margin-bottom: -0.3em;
}

/* Active（×に変形）時の挙動 */
.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(1) {
  /* 1本目を中央に寄せて45度回転 */
  transform: translateY(var(--hamburger-offset)) rotate(45deg);
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(2) {
  /* 2本目は消す */
  opacity: 0;
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(3) {
  /* 3本目を中央に寄せて-45度回転 */
  transform: translateY(calc(var(--hamburger-offset) * -1)) rotate(-45deg);
}

/* -------------------------------------------------------------------------
  header-logo-svg
  ------------------------------------------------------------------------- */
#header-logo {
  display: block;
  width: 100%;
  height: auto;
  line-height: 1;
}

/* 最初（トップ）：ロゴを全部白にする */
#header-logo path,
#header-logo rect {
  fill: #ffffff;
  transition: fill 0.3s ease;
}

/* スクロール後：各パーツをブランドカラーに戻す */
#header-logo #mark path{
  fill: #06783d;
}

/* 紺色パーツ（文字、社名など） */
.is-scrolled #header-logo #text path,
.is-scrolled #header-logo #company-name path:not(#path-dot),
.is-scrolled #header-logo #company-name rect {
  fill: #192649;
}

/* 赤いドット */
.is-scrolled #header-logo #path-dot {
fill: #e73517 !important;
}

/* --- クラスがついた時：本来の色に戻す --- */

/* 文字と社名を紺色（#192649）に */
.is-scrolled #header-logo #text path,
.is-scrolled #header-logo #company-name path:not(#path-298) {
  fill: #192649;
}

/* マークを本来の緑（#06783d）に */
.is-scrolled #header-logo #mark {
  fill: #06783d;
}

/* 赤い「。」を本来の赤（#e73517）に */
.is-scrolled #header-logo #path-298 {
  fill: #e73517;
}

/* 変化 */

.l-header.is-scrolled {
  background-color: #fff;
  border-bottom: solid 1px #000;
}

.l-header.is-scrolled .l-header__hamburger-text {
  color: #000;
}

.l-header.is-scrolled .l-header__hamburger {
  border-left-color: #000;
}

.l-header.is-scrolled .l-header__hamburger-line {
  background-color: #000;
}

.l-header.is-scrolled .l-header__nav {
  background-color: #fff;
  color: #000;
}

/* -------------------------------------------------------------------------
  loding
  ------------------------------------------------------------------------- */
#loading {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: var(--content-screen-height);
  background-color: #000;
  opacity: 1;

  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;
}

#loading.is-off {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.p-loading__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: var(--content-screen-height);
  height: calc(100svh - var(--header-height));
}

.p-loading__bar-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: left;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.p-loading__bar-text-2 {
  font-size: 1.4rem;
  position: absolute;
  top: 1rem;
  right: 0;
  color: #fff;
  padding-right: 1.5rem;
  letter-spacing: 0;

  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.p-loading__bar-text {
  padding-left: 1rem;
  padding-right: 1rem;
  color: #fff;
  /* 文字色を背景に埋もれない色に */
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ローディング バーインジゲーター */
.p-loading__bar-wrapper {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #505050;
  overflow: hidden;
  position: relative;
  margin-top: 1rem;
}

.p-loading__bar-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  /* 伸びる棒の色 */
  transform: scaleX(0.25);
  /* 初期状態は0 */
  transform-origin: left;
}

.p-loading__bar-inner.is-active {
  transform: scaleX(1);
  transition: transform 3.4s linear;
}

/* svg */
.p-glitch {
  width: 8rem;
  height: auto;
  position: relative;
  aspect-ratio: 114.61 / 551;
}

.p-glitch {
  opacity: 0;
}

/* 0.4秒後にJSから付与される */
.p-glitch.is-show {
  opacity: 1;
}

.p-glitch.is-show--off {
  opacity: 0;
}

/* 全てのSVG共通 */
.p-glitch svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  /* 全てを重ねる */
  top: 0;
  left: 0;
}

/* 通常時のロゴ */
.p-glitch__main {
  position: relative;
  /* これだけ z-index の基準にするため */
  fill: #fff;
  z-index: 1;
}

/* グリッチ用マスク共通：最初は隠しておく */
.p-glitch__mask {
  z-index: 2;
  opacity: 0;
  fill: #fff;
  /* バグった時に色を変えるならここを調整 */
}

/* --- ここが重要：5分割の切り抜き --- */

/* 1段目：上から 0%〜20% を表示 */
.p-glitch__mask--1 {
  clip-path: inset(0% 0 80% 0);
}

/* 2段目：上から 20%〜40% を表示 */
.p-glitch__mask--2 {
  clip-path: inset(20% 0 60% 0);
}

/* 3段目：上から 40%〜60% を表示 */
.p-glitch__mask--3 {
  clip-path: inset(40% 0 40% 0);
}

/* 4段目：上から 60%〜80% を表示 */
.p-glitch__mask--4 {
  clip-path: inset(60% 0 20% 0);
}

/* 5段目：上から 80%〜100% を表示 */
.p-glitch__mask--5 {
  clip-path: inset(80% 0 0% 0);
}




/* -------------------------------------------------------------------------
  main
  ------------------------------------------------------------------------- */
.l-main {}

/* -------------------------------------------------------------------------
  footer
  ------------------------------------------------------------------------- */
.l-footer {
  position: relative;
  z-index: var(--layer-content);
}

/* -------------------------------------------------------------------------
  fixed-form
  ------------------------------------------------------------------------- */
/* 初期状態：画面の外に隠す、または非表示にする */
/* モーダル全体のラッパー（初期状態は非表示） */
.l-modal-wrapper {
  position: fixed;
  top: 0;
  right: 0;

  width: 100%;
  height: 100vh;
  padding: 7.5rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--layer-modal);
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease-out;
}

/* JSで .is-active がついたらふわっと表示 */
.l-modal-wrapper.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  /* 画面内に戻す */
}

/* 真ん中の白いコンテンツエリア */
.l-modal-content {
  position: relative;
  /* 閉じるボタンの基準点 */

  width: 100%;
  color: #fff;

  height: 100%;
}


.c-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

/* form本体 */
.p-fixed-form {
  padding: var(--section-padding) 0;
}

.p-fixed-form>.l-container {
  padding-inline: 4rem;

}

/* -------------------------------------------------------------------------
  採用情報モーダル
  ------------------------------------------------------------------------- */
/* モーダルの黒背景（ラッパー） */
.c-modal-recruit-info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-inline: 1.5rem;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--layer-modal);

  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

/* クラス付与で表示 */
.c-modal-recruit-info.is-open {
  opacity: 1;
  visibility: visible;
}

/* 白いカード枠（インナー） */
.c-modal-recruit-info__inner {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: var(--layout-max-width-narrow);
  height: 100%;
  max-height: 80vh;

  display: flex;
  flex-direction: column;
  padding: 5rem 1.8rem 2.5rem;
}

@media screen and (min-width:744px) {
  .c-modal-recruit-info__inner {
    padding: 7.5rem 1.8rem 6rem;
  }

}


/* 閉じるボタン */
.c-modal-recruit-info__close {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 2.4rem;
  height: 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.c-modal-recruit-info__close::before,
.c-modal-recruit-info__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.c-modal-recruit-info__close::before {
  transform: rotate(45deg);
}

.c-modal-recruit-info__close::after {
  transform: rotate(-45deg);
}

/* はみ出た分をスクロールさせるエリア */
.c-modal-recruit-info__content {

  flex-grow: 1;
  -webkit-overflow-scrolling: touch;

  /* iOSサファリ用 */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  scrollbar-gutter: stable both-edges;
}



/* -------------------------------------------------------------------------
  utilities
  ------------------------------------------------------------------------- */
/* color */
.color-blue {
  color: var(--color-blue);
}

.color-on-dark {
  color: var(--color-white);
}

.bg-black {
  background-color: var(--color-black);
}

.bg-white {
  background-color: var(--color-white);
}

.bg-gray {
  background-color: var(--color-gray);
}

.u-text-right {
  text-align: right;
}

.u-text-center {
  text-align: center;
}

@media screen and (min-width:744px) {
  .u-text-center-pc {
    text-align: center;
  }
}

.u-text-palt {
  font-feature-settings: "palt";
}

.u-text-underline {
  text-decoration: underline;
}

.u-mt-sm {
  margin-top: 3rem;
}

.u-mt-md {
  margin-top: 5rem;
}

.u-lh-body {
  line-height: var(--line-height-body);

}

.u-lh-loose {
  line-height: var(--line-height-loose);
}

.ib {
  display: inline-block;
}

.pc {
  display: none;
}

@media screen and (min-width:744px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}


/* -------------------------------------------------------------------------
 本体サイトから完全移植する要素
  ------------------------------------------------------------------------- */
.m-common-access,
.l-footer {
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-synthesis: initial;
  -webkit-font-smoothing: initial;
  -moz-osx-font-smoothing: initial;
}


.m-common-access {
  padding-top: 0;
  padding-bottom: 0;
}

.l-footer {}

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

  .l-footer-inner,
  .l-inner {
    max-width: 95rem;
  }
}

/* -------------------------------------------------------------------------
 recaptcha
  ------------------------------------------------------------------------- */


.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-message {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 0.5em 1em;
  background-color: #f0f0f0;
  color: #aaa;
}

.recaptcha-message a {
  text-decoration: underline;
}



/* -----------------------------------
 * c-recruit-detail (WYSIWYG表示用スコープ)
 * モバイルファースト・ベースフォント14px
 * ----------------------------------- */
.c-recruit-detail {
  color: #333;
}

/* --- 見出し --- */
.c-recruit-detail h4 {
  margin: 2em 0 1em;

  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.c-recruit-detail>h4:first-child {
  margin-top: 0;
}

.c-recruit-detail h5 {
  font-size: 1em;
  margin: 1.5em 0 0.75em;
}

/* --- テキスト・リスト --- */
.c-recruit-detail p {
  margin-bottom: 1.5em;
}

.c-recruit-detail ul {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  list-style-type: disc;
}

.c-recruit-detail ul li {
  margin-bottom: 0.5em;
  /* スマホでのタップや視認性を考慮し少し広めに */
}

/* --- テーブル（モバイルファースト） --- */
.c-recruit-detail table {
  /* スマホ画面ではみ出さないよう横スクロールを許可 */
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.9em;
  /* スマホ時は少し小さく(約12.6px)して一覧性を高める */
}

.c-recruit-detail th,
.c-recruit-detail td {
  border: 1px solid #dcdcdc;
  padding: 0.5em 0.75em;
  /* スマホ用に余白を少し詰める */
  vertical-align: middle;
  text-align: left;
  white-space: nowrap;
  /* スクロールさせるため基本的に折り返さない */
}

/* 内容の文章が入る列（最後の列）はある程度の幅を確保して折り返す */
.c-recruit-detail td:last-child {
  white-space: normal;
  min-width: 125px;
}

.c-recruit-detail th {
  background-color: #f5f6fa;
  font-weight: bold;
}

/* --- PC・タブレット向けの調整 (画面幅 768px以上) --- */
@media screen and (min-width:744px) {


  .c-recruit-detail table {
    display: table;
    /* 横スクロールを解除し、通常のテーブル幅に戻す */
    font-size: 1em;
    /* テーブルのフォントサイズを14pxに戻す */
  }

  .c-recruit-detail th,
  .c-recruit-detail td {
    padding: 0.75em 1em;
    /* 画面に余裕ができるので余白を広げる */
    white-space: normal;
    /* PCではセル内で適宜折り返す */
  }

  .c-recruit-detail th {
    white-space: nowrap;
    /* 見出し列は折り返さない */
  }
}