@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+U:wght@100..900&family=Murecho:wght@100..900&display=swap');

/* ============================================================
   CSS変数定義（カラー・フォント・ブレイクポイント）
   ============================================================ */
:root {
  /* カラー */
  --color-primary:       #00b4b4;   /* メインカラー：青緑 ロゴ・アクセントに使用 */
  --color-secondary:     #3cb371;   /* サブカラー：緑 庫内荷役事業系に使用 */
  --color-accent:        #f5a623;   /* アクセント：オレンジ 採用セクション背景 */
  --color-dark:          #000000;   /* ダーク：ボタン背景・テキストに使用 */
  --color-text:          #000000;   /* 本文テキスト */
  --color-text-white:    #ffffff;   /* 白テキスト */
  --color-bg:            #ffffff;   /* 背景：白 */
  --color-bg-light:      #f2f2f2;   /* 背景：薄グレー */
  --color-page-header:   #4a6080;   /* 下層ページヘッダー背景：ネイビー系 */

  /* ヘッダー */
  --header-height-pc:    80px;      /* PC（Personal Computer）版ヘッダー高さ */
  --header-height-sp:    60px;      /* SP（SmartPhone）版ヘッダー高さ */

  /* ブレイクポイント */
  --bp-sp:               768px;     /* SP（SmartPhone）対応ブレイクポイント */
}

/* ============================================================
   リセット・ベーススタイル
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* 【overflow-x: hidden について】
     今回の生年月日欄のように、どこかの要素が意図せず画面幅を超えてしまった場合、
     この指定がないとページ全体が右方向にスクロール可能になってしまい、
     「はみ出て見える」原因になる。個別要素側の修正（flex-wrap追加等）が本質的な
     対策だが、同種の問題の被害を抑える保険として、body側にもクリップ処理を入れておく */
  overflow-x: hidden;
}

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

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

/* ============================================================
   本文エリア内のリンク色
   ============================================================ */



ul {
  list-style: none;
}

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

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-pc);
  z-index: 160; /* .drawer(150)/.drawer__overlay(140)より高くし、ハンバーガーボタンが隠れないようにする */
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.3s ease;
}

/* トップページのみ：初期状態は透明ヘッダー */
.header--hero {
  background-color: transparent;
}

/* スクロール時：背景・影を追加（JSでクラス付与） */
.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* ---- ロゴ ---- */
.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  display: block;
}

.header__logo img {
  height: clamp(32px, 4vw, 44px);
  width: auto;
}

/* ロゴSVGインライン（img/common/img--logo.webpが読み込まれるまでのフォールバック） */
.header__logo-svg {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-mark {
  width: 40px;
  height: 40px;
}

.header__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name .ja {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.header__logo-name .en {
  font-size: 10px;
  font-weight: 400;
  color: #777;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

/* 透明ヘッダー時：ロゴテキストを白に */
.header--hero .header__logo-name .ja {
  color: var(--color-text-white);
}

.header--hero .header__logo-name .en {
  color: rgba(255, 255, 255, 0.75);
}

/* スクロール後：通常カラーに戻す */
.header--hero.is-scrolled .header__logo-name .ja {
  color: var(--color-dark);
}

.header--hero.is-scrolled .header__logo-name .en {
  color: #777;
}

header:not(.is-scrolled) .default {
  display: block;
}
header:not(.is-scrolled) .is-active, 
.is-scrolled .default {
  display: none;
}

/* ---- グローバルナビゲーション ---- */
.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.header__nav-list li a {
  font-size: clamp(16px, 1vw, 16px);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}



/* 透明ヘッダー時：ナビリンクは白 */
.header--hero .header__nav-item--dropdown,
.header--hero .header__nav-list li a {
  color: var(--color-text-white);
}

.header--hero.is-scrolled .header__nav-list li a {
  color: var(--color-text);
}



/* ホバーアンダーライン：通常ナビリンク */
.header__nav-list li:not(.header__nav-contact) a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}
.header__nav-list li:not(.header__nav-contact) a:hover::after {
  width: 100%;
}



/* お問い合わせボタン */
.header__nav-contact a {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  border: 1px solid var(--color-dark);
  color: var(--color-dark) !important;
  padding: 2px 30px 6px 30px;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header--hero .header__nav-contact a {
  border-color: var(--color-text-white);
  color: var(--color-text-white) !important;
}

.header--hero.is-scrolled .header__nav-contact a {
  border-color: var(--color-dark);
  color: var(--color-dark) !important;
}

.header__nav-contact a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-white) !important;
}
.is-scrolled .header__nav-contact a:hover {
  border-color: var(--color-primary);
  color: var(--color-text-white) !important;
}

.header__nav-contact a::after {
  display: none !important;
}

/* ---- ハンバーガーメニューボタン（SP用） ---- */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* 透明ヘッダー時：ハンバーガーラインは白 */
.header--hero .header__hamburger span {
  background-color: var(--color-text-white);
}

.header--hero.is-scrolled .header__hamburger span {
  background-color: var(--color-dark);
}

/* ✕アイコンへの変形（is-openクラス付与時） */
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SP（SmartPhone）ドロワーメニュー
   ============================================================ */
.drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 150;
  padding: calc(var(--header-height-sp) + 20px) 24px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  pointer-events: none; /* 閉じている間は画面外にあってもタップを受け付けない */
}

.drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer__list {
  display: flex;
  flex-direction: column;
}

.drawer__list li {
  border-bottom: 1px solid var(--color-bg-light);
}

.drawer__list li a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  color: var(--color-dark);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer__list li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.drawer__contact {
  margin-top: 24px;
  border-bottom: none !important;
}

.drawer__contact a {
  display: inline-flex;
  align-items: center;
/*  background-color: var(--color-dark); */
/*  color: var(--color-text-white) !important;*/
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 14px !important;
  transition: background-color 0.2s ease;
}

.drawer__contact a:hover {
  background-color: var(--color-primary);
}

.drawer__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 140;
  opacity: 0;
  pointer-events: none; /* 非表示中は画面全体のタップを透過させる */
  transition: opacity 0.35s ease;
}

.drawer__overlay.is-visible {
  opacity: 1;
  pointer-events: auto; /* ドロワーを開いている間だけタップを受け付ける */
}

/* ============================================================
   ヒーローセクション（トップページ）
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* 【数値の意味】1s = 切り替えアニメーション時間。5秒間隔に対して1秒は自然な長さ */
  transition: opacity 1s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide picture,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 【数値の意味】rgba透明度0.35 = 写真の雰囲気を残しつつテキスト視認性を確保 */
  background-color: rgba(0, 0, 0, 0.35);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-white);
  padding-top: var(--header-height-pc);
  padding-left: 16px;
  padding-right: 16px;
}

.hero__alpha img {
  width: clamp(240px, 50vw, 460px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.3));
}

/* ============================================================
   2事業セクション（トップページ）
   ============================================================ */
.business {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.business__item {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(80px, 12vw, 140px);
  position: relative;
  z-index: 1;
}

.business__item--software {
  background-color: var(--color-bg);
  background-color: #bdd9ee;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}

.business__item--warehouse {
  /* 庫内荷役事業：サブカラー（緑）の薄い背景 */
  background-color: #f0f8f4;
  background-color: #c8e6c8;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.business__item-label {
  font-size: clamp(32px, 2.5vw, 43px);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  font-family: "M PLUS U", sans-serif;
  font-optical-sizing: auto;
}

.business__item--software {
  background: #b1ceec;
}

.business__item--warehouse {
  background: #c3e1c3;
}

.business__item-text {
  font-size: clamp(16px, 1vw, 16px);
  color: var(--color-text);
  margin-bottom: 28px;
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

.business__item-img {
  display: flex;
  justify-content: center;
  margin: 16px 0 32px;
}

.business__item-img img {
  width: 456px;
  max-width: 100%;
}

.business__item-btn {
  margin-top: auto;
}


/* ---- 共通ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: var(--color-dark);
  color: var(--color-text-white);
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  overflow: hidden;
  min-width: 220px;
}
 
/* テキスト部分：左寄り */
.btn__text {
  flex: 1;
  padding: 16px 24px;
  text-align: center;
}
.btn {
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-5px);
  transition: transform 0.4s ease;
}
.btn:hover .btn__arrow {
  color: #fff;
  transition: transform 0.4s ease;
  border-color: #fff;
}
 
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #3fa9f5;
  padding: 16px 18px;
  color: #3fa9f5;
  font-size: 1rem;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  transition: transform 0.4s ease;
}
.btn__arrow:hover {
  color: #fff;
}
 
.business__item--warehouse .btn__arrow {
  border-left-color: #00cd6d;
  color: #00cd6d;
}

/* ============================================================
   共通：セクション内テキスト
   ============================================================ */
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.section__heading {
  text-align: center;
  margin-bottom: 40px;
}

.section__heading-en {
  font-size: clamp(18px, 3.3vw, 50px);
  font-family: "M PLUS U", sans-serif;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.06em;
  display: block;
}

.section__heading-ja {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--color-primary);
  letter-spacing: 0.12em;
  display: block;
  margin-top: 6px;
}

/* ============================================================
   About Usセクション（トップページ）
   ============================================================ */
.about {
  background-color: var(--color-bg);  /* 白背景 */
  /* 【数値の意味】上下120px = デザイン画像のゆったりした余白を再現 */
  padding: clamp(80px, 10vw, 300px) 0;
  position: relative;
  overflow: hidden;
  margin-top: -150px;
}
 
/* 背景ドットパターン（グレー） */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 【数値の意味】32px間隔 = デザイン画像のゆったりしたドット間隔に合わせた値 */
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 4px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  /* コンテンツより背面に配置 */
  z-index: 0;
}
 
/* ドットパターンの上にコンテンツを表示 */
.about .section__inner {
  position: relative;
  z-index: 1;
}
 
.about__text {
  text-align: center;
  font-size: clamp(16px, 1vw, 16px);
  line-height: 2.1;
  color: var(--color-text);
  margin: 0 auto 40px;
}
 
.about__btn {
  text-align: center;
}
 
/* aboutセクションのボタン：デザイン準拠で横幅を広めに設定 */
.about__btn .btn {
  min-width: 260px;
}

.about__item-btn {
  display: flex;
  justify-content: center;
}
.item-label {
  font-size: clamp(25px, 3.3vw, 50px);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-family: "M PLUS U", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin-top: 30px;
}
.section__heading-ja {
  color: var(--color-text);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-top:0;
}
.about .js-fade.is-visible {
  margin-bottom: 25px;
  font-weight: 700;
}
.about .btn__arrow {
  color: #ffffff;
  border-color: #fff;
}

/* ============================================================
   Newsセクション（トップページ）
   ============================================================ */
.news {
  background-color: #e6e6e6;
  padding-bottom: 45px;
  position: relative;
}
.news::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  /* 【数値の意味】121px = デザイン画像の三角形の高さに合わせた値 */
  height: 121px;
  background-color: #e6e6e6;
  /* 【clip-path】上中央が頂点、左上・右上が底辺のΛ字 */
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.news__list {
  margin-bottom: 40px;
}

.news__item {
  border-bottom: 0.5px solid #000;
  padding-left: 20px;
  padding-right: 20px;
}
.news__item:first-child {
  border-top: 0.5px solid #000;
}

.news__item a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  transition: color 0.2s ease;
  color: #2e3192;
}
.news__item:not(:has(a)) {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 20px;
  transition: color 0.2s ease;
  color: #2e3192;
}

.news__item-date {
  font-size: clamp(16px, 1vw, 16px);
  color: #2e3192;
  white-space: nowrap;
  flex-shrink: 0;
  font-feature-settings: "tnum";  /* 数字等幅表示 */
}

.news__item-title {
  font-size: clamp(16px, 1vw, 16px);
  transition: transform 0.4s ease;
}

.news__item a:hover {
  font-weight: 700;
  transition: transform 0.4s ease;
}

.news__btn {
  text-align: center;
}
.news__item-btn {
  display: flex;
  justify-content: center;
}
.news .btn__arrow {
  color: #ffffff;
  border-color: #fff;
}

/* ============================================================
   採用情報セクション（トップページ）
   ============================================================ */
.recruit {
/*  background-color: var(--color-accent);*/
  background-color: #86a1ca;
  padding: clamp(24px, 2.2vw, 40px) 0;
}

.recruit .section__heading-en {
  color: var(--color-text-white);
}

.recruit .section__heading-ja {
  color: rgba(255, 255, 255);
}

.recruit__lead {
  text-align: center;
  color: var(--color-text-white);
  font-size: clamp(16px, 1vw, 16px);
  margin-bottom: 36px;
}

.recruit__btns {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
}
.recruit .section__inner:nth-child(3) {
  background-color: #000;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 100%;
}

.btn--recruit-software {
  background-color: var(--color-dark);
  min-width: 260px;
  justify-content: center;
}

.btn--recruit-warehouse {
  background-color: var(--color-secondary);
  min-width: 260px;
  justify-content: center;
}

.btn--recruit-warehouse .btn__arrow {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn--recruit-software:hover { background-color: var(--color-primary); }
.btn--recruit-warehouse:hover { background-color: #2d9e5e; }

.recruit__item-btn:first-child a {
  background-color: #3fa9f5;
}
.recruit__item-btn:nth-child(2) a {
  background-color: #00cd6d;
}
.recruit__item-btn:first-child a .btn__arrow,
.recruit__item-btn:nth-child(2) a .btn__arrow {
  color: #fff;
  border-color: #fff;
}


/* ============================================================
   フッター
   ============================================================ */
.footer {
  background-color: #f2f2f2;
  padding: 56px 0 0;
  border-top: 1px solid #e0e0e0;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 40px);
}

.footer__main {
  display: flex;
  justify-content:space-between;
  padding-bottom: 48px;
}

/* ---- フッターブランドエリア ---- */
.footer__brand {
  width: 600px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.footer__logo-svg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__logo-mark {
  width: 328px;
  max-width: 100%;
}

.footer__logo-name .ja {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.04em;
}

.footer__logo-name .en {
  font-size: 10px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.08em;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__address-block {
  display: flex;
  gap: 10px;
}

.footer__address-block dt {
  font-size: 11px;
  width: 80px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
  letter-spacing: 0.06em;
}

.footer__address-block dd {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ---- フッターナビゲーション ---- */
.navigation-block {
  width: 440px;
  display: flex;
  justify-content: space-around;
}
.navigation-block nav {
  border-left: 1px solid #3e3e3e;
  padding-left: 10px;
}

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

.footer__nav-list li a {
  font-size: 12px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer__nav-list li a:hover {
  color: var(--color-text);
}

.navigation-block .footer__nav-col:first-child li:last-child {
  margin-top: 35px;
}

/* ---- フッターボトム ---- */
.footer__bottom {
  border-top: 1px solid #e0e0e0;
  background: #333333;
  padding: 16px;
}

.footer__copyright {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.04em;
}

/* ---- ページトップボタン ---- */
.pagetop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
  border: none;
  text-decoration: none;
}

.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pagetop:hover {
  background-color: var(--color-dark);
  transform: translateY(-2px);
}

.pagetop img {
  width: 71px;
  height: 71px;
}
.pp-sheel img {
  width: 150px;
  max-width: 100%;
}

/* ============================================================
   下層ページ共通：ページヘッダー
   ============================================================ */
.page-header {
  background-color: #86a1ca;
  border-left: clamp(30px, 2.5vw, 50px) solid #000;
  padding: calc(var(--header-height-pc) + clamp(8px, 2.5vw, 10px)) 0px clamp(8px, 2.5vw, 10px);
}

.page-header__inner {
  margin: 0 auto;
  padding: clamp(8px, 2.5vw, 30px) clamp(16px, 0.8vw, 10px) ;
}

.page-header__title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-family: "M PLUS U", sans-serif;
  font-weight: 400;
  color: var(--color-text-white);
}





/* ================================================================================================================
   ================================================================================================================

   下層ページ共通：本文エリア

   ================================================================================================================
   ================================================================================================================ */
.page-content {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px);
}
a,
.page-content a {
  color: #2e3192;
}
.page-content .d-flex {
  display: flex;
}

.page-content__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

/* ---- リード文エリア ---- */
.page-lead {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.page-lead__text {
  flex: 1;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 2;
  color: var(--color-text);
}

.page-lead__meta {
  flex-shrink: 0;
  text-align: right;
  color: var(--color-text);
  line-height: 2.2;
  white-space: nowrap;
}

/* ---- 各ポリシーセクション ---- */
.policy-section {
  margin-bottom: clamp(36px, 4vw, 52px);
  /* スクロールアニメーション用初期状態 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.policy-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-section__heading {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.policy-section__body {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 2;
  color: var(--color-text);
}

/* ---- 連絡先ボックス ---- */
.contact-box {
  background-color: var(--color-bg-light);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 36px);
  margin-top: clamp(40px, 5vw, 60px);
  font-size: clamp(16px, 1vw, 16px);
  line-height: 2.2;
  color: var(--color-text);
}

.contact-box__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

/* ============================================================
   フェードインアニメーション（IntersectionObserver用）
   ============================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ページヒーロー（about・software・warehouse 上部フルワイド画像）
   ============================================================ */
.page-hero {
  width: 100%;
  /* 【数値の意味】ヘッダー高さ分だけ上にオフセットしてヘッダー直下から始める */
  margin-top: var(--header-height-pc);
  overflow: hidden;
  position: relative;
}

.page-hero__img {
  width: 100%;
  /* 【数値の意味】340px = ページヒーローとして十分な高さ、かつコンテンツの邪魔にならない */
  height: clamp(200px, 30vw, 340px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ページヒーロー内テキストオーバーレイ */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 3vw, 40px) clamp(16px, 5vw, 60px);
  /* 【数値の意味】グラデーション下方向 = テキストの可読性確保 */
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.page-hero__title-en {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  line-height: 1.1;
  display: block;
}

.page-hero__title-ja {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.06em;
  font-family: 'M PLUS 2', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  display: block;
  margin-top: 4px;
}

/* ============================================================
   共通：セクション見出し（+αアクセント付き）
   ============================================================ */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.section-title__accent {
  /* 左の青緑縦ライン */
  display: inline-block;
  width: 5px;
  height: 1.2em;
  background-color: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

.section-title__text {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* +αアクセント付き大見出し（software・warehouse・aboutページ） */
.catchcopy {
  background-color: var(--color-bg-light);
  padding: clamp(32px, 4vw, 48px) 0;
  position: relative;
  overflow: hidden;
}

.catchcopy__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.catchcopy__img {
  flex-shrink: 0;
  width: clamp(100px, 15vw, 180px);
}

.catchcopy__img img {
  width: 100%;
  height: auto;
}

.catchcopy__body {
  flex: 1;
}

.catchcopy__heading {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* 「+ アルファ」アクセント */
.catchcopy__heading .plus-alpha {
  color: var(--color-primary);
}

.catchcopy__heading .plus-alpha--green {
  color: var(--color-secondary);
}

.catchcopy__text {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2;
  color: var(--color-text);
}

/* ============================================================
   会社情報（about）：企業理念
   ============================================================ */
.philosophy {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.philosophy__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.philosophy__icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.philosophy__icon-img {
  width: clamp(80px, 12vw, 140px);
}

.philosophy__keywords {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.philosophy__keyword {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.philosophy__label {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

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

.philosophy__list li {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--color-text);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.philosophy__list li::before {
  content: '―';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ============================================================
   会社情報（about）：ご挨拶
   ============================================================ */
.greeting {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg-light);
}

.greeting__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.greeting__body {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.2;
  color: var(--color-text);
  max-width: 820px;
}

.greeting__body p + p {
  margin-top: 1.5em;
}

.greeting__sig {
  margin-top: 32px;
  text-align: right;
  font-size: clamp(13px, 1.1vw, 14px);
  color: #555;
}

/* ============================================================
   会社情報（about）：会社概要テーブル
   ============================================================ */
.company-overview {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.company-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(16px, 1.2vw, 16px);
}

.company-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.company-table tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.company-table th {
  width: 160px;
  padding: 20px 16px 20px 0;
  font-weight: 700;
  color: var(--color-dark);
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
}

.company-table td {
  padding: 20px 0;
  color: var(--color-text);
  line-height: 1.8;
  vertical-align: top;
}

/* ============================================================
   会社情報（about）：アクセス
   ============================================================ */
.access {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg-light);
}

.access__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
}

.access__item-heading {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.access__item-address {
  font-size: clamp(13px, 1.1vw, 14px);
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 16px;
}

.access__map {
  width: 100%;
  /* 【数値の意味】280px = 地図として視認性を保てる最低限の高さ */
  height: clamp(200px, 25vw, 280px);
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.access__directions {
  margin-top: 12px;
  font-size: 12px;
  color: #555;
  line-height: 1.8;
}

.access__directions li {
  padding-left: 12px;
  position: relative;
}

.access__directions li::before {
  content: '・';
  position: absolute;
  left: 0;
}

dl.c-suite-list {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

dl.c-suite-list dt {
	width: 25%;
}
dl.c-suite-list dd {
	width: calc(100% - 25%);
}

/* ============================================================
   ソフトウエア開発事業（software）：主な業務
   ============================================================ */
.service-list {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.service-list__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.service-list__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.service-list__img {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.service-list__img img {
  width: 100%;
  height: auto;
}

.service-list__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-list__item-heading {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.service-list__item-text {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2;
  color: var(--color-text);
}

/* ============================================================
   ソフトウエア開発事業（software）：特徴と強み
   ============================================================ */
.strengths {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg-light);
}

.strengths__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


.strengths__item-heading {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.strengths__item-text {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2;
  color: var(--color-text);
}

/* ============================================================
   ソフトウエア開発事業（software）：開発分野・開発実績
   ============================================================ */
.dev-fields {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.dev-fields__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.dev-fields__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
}

.dev-fields__item {
  font-size: clamp(13px, 1.1vw, 14px);
  color: var(--color-text);
  line-height: 1.9;
  padding: 4px 0 4px 14px;
  position: relative;
}

.dev-fields__item::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* 開発実績グリッド */
.dev-results {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg-light);
}

.dev-results__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.dev-results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.dev-results__category {
  background-color: var(--color-bg);
  border-radius: 4px;
  padding: clamp(20px, 2.5vw, 28px);
}

.dev-results__category-heading {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.dev-results__category-list li {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--color-text);
  line-height: 2;
  padding-left: 12px;
  position: relative;
}

.dev-results__category-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #aaa;
}

/* ============================================================
   ソフトウエア開発事業（software）：開発言語・書籍ツール
   ============================================================ */
.dev-lang {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.dev-lang__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.dev-lang__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.dev-lang__col-heading {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.dev-lang__col-list li {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--color-text);
  line-height: 2.2;
}

/* ============================================================
   ソフトウエア開発事業（software）：資格一覧
   ============================================================ */
.qualifications {
  padding: clamp(32px, 4vw, 48px) 0;
  background-color: var(--color-bg-light);
}

.qualifications__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.qualifications__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.qualifications__list li {
  font-size: clamp(13px, 1.1vw, 14px);
  color: var(--color-text);
  line-height: 2;
  padding-left: 12px;
  position: relative;
}

.qualifications__list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ============================================================
   庫内荷役事業（warehouse）：事業案内
   ============================================================ */
.warehouse-intro {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.warehouse-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.warehouse-intro__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.warehouse-intro__text {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2;
  color: var(--color-text);
}

.warehouse-intro__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ============================================================
   庫内荷役事業（warehouse）：物流の流れ（フローチャート）
   ============================================================ */
.flow {
  padding: clamp(40px, 5vw, 60px) 0;
  background-color: var(--color-bg-light);
}

.flow__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.flow__heading {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
  text-align: center;
}

.flow__chart {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
}

.flow__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 生産者→消費者の上段ラベル行 */
.flow__labels {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.flow__label-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}

.flow__label-box {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.flow__label-box--end {
  background-color: var(--color-secondary);
}

.flow__arrow-right {
  width: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 18px;
}

/* 下段フロー */
.flow__nodes {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}

.flow__node-box {
  background-color: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.flow__node-box--highlight {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.flow__node-box--green {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ============================================================
   庫内荷役事業（warehouse）：業務案内
   ============================================================ */
.warehouse-work {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.warehouse-work__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.warehouse-work__list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}

.warehouse-work__item {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.warehouse-work__item:nth-child(even) {
  grid-template-columns: 320px 1fr;
}

.warehouse-work__item:nth-child(even) .warehouse-work__body {
  order: 1;
}

.warehouse-work__item:nth-child(even) .warehouse-work__img {
  order: 0;
}

.warehouse-work__item-heading {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.warehouse-work__item-text {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2;
  color: var(--color-text);
}

.warehouse-work__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ============================================================
   庫内荷役事業（warehouse）：業務実績
   ============================================================ */
.warehouse-results {
  padding: clamp(40px, 5vw, 56px) 0;
  background-color: var(--color-bg-light);
}

.warehouse-results__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.warehouse-results__list li {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--color-text);
  line-height: 2;
  padding-left: 14px;
  position: relative;
}

.warehouse-results__list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* ============================================================
   庫内荷役事業（warehouse）：作業の様子（写真ギャラリー）
   ============================================================ */
.gallery {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--color-bg);
}

.gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}

.gallery__lead {
  font-size: clamp(13px, 1.1vw, 14px);
  color: #666;
  margin-bottom: 24px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.gallery__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery__item img {
  width: 100%;
  /* 【数値の意味】aspect-ratio 4/3 = 写真として一般的な比率で統一感を出す */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.gallery__item-caption {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   採用CTAセクション（software・warehouse 下部）
   ============================================================ */
/* software版：オレンジ（既存.recruitを流用） */
.recruit--software {
  background-color: var(--color-accent);
}

/* warehouse版：緑 */
.recruit--warehouse {
  background-color: var(--color-secondary);
}

.recruit--warehouse .section__heading-en,
.recruit--warehouse .section__heading-ja,
.recruit--warehouse  {
  color: var(--color-text-white);
}

.recruit--warehouse .recruit__lead {
  color: rgba(255,255,255);
}
.recruit__lead {
  color: #000000;
}
/* ============================================================
   開示の手続き・個人情報の取扱：番号付き見出し・リスト
   ============================================================ */

/* 番号付きセクション見出し（disclosure・personal-info用） */
.policy-section__heading--numbered {
  border-left: none;
  padding-left: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* 丸付き箇条書き（○ マーク） */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.policy-list li {
  color: var(--color-text);
  line-height: 1.9;
  padding-left: 20px;
  position: relative;
}

.policy-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 12px;
  top: 3px;
}

/* カッコ付き番号リスト（(1)(2)...） */
.policy-list--numbered li::before {
  content: none;
}

.policy-list--numbered li {
  padding-left: 0;
  list-style: none;
}

/* ダッシュ区切りリスト（・マーク） */
.policy-list--dot li::before {
  content: '・';
  color: var(--color-text);
}

/* 定義リスト風テーブル（personal-info・disclosure 事業者名称など） */
.def-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.def-table th {
  width: 200px;
  padding: 10px 16px 10px 0;
  font-weight: 400;
  color: var(--color-text);
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
}

.def-table td {
  padding: 10px 0;
  color: var(--color-text);
  line-height: 1.8;
}











/* ============================================================
  採用情報ドロップダウン（PCヘッダー）
  ============================================================ */

/* ドロップダウンを持つ親li */
.header__nav-item--dropdown {
  position: relative;
  font-size: clamp(16px, 1vw, 16px);
  font-weight: 500;
  cursor: pointer;
  /* 下方向にホバー判定を広げてサブメニューとの隙間を埋める */
  padding-bottom: 20px;
  margin-bottom: -20px;
}

/* スクロール後：文字色を黒に */
.is-scrolled .header__nav-item--dropdown {
  color: var(--color-text);
}

/* ホバーアンダーライン */
.header__nav-item--dropdown::after {
  content: '';
  position: absolute;
  bottom: 20px; /* padding-bottom分ずらす */
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}

.header__nav-item--dropdown:hover::after {
  width: 100%;
}

/* ドロップダウンメニュー本体 */
.header__nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%; /* padding-bottomのおかげで隙間なく繋がる */
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 200px;
  z-index: 200;
  /* 消えるときだけ遅延を入れて猶予を持たせる */
  transition: opacity 0.15s ease, visibility 0.15s ease;
  transition-delay: 0.1s;
}
.header--hero.is-scrolled .header__nav-dropdown {
  background: var(--color-bg);
}

/* ホバー時：即座に表示（遅延なし） */
.header__nav-item--dropdown:hover .header__nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

/* 吹き出し三角 */
.header__nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--color-bg);
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
}

.header__nav-dropdown {
  background-color: #fff;
}
.entrance .header__nav-dropdown {
  background: none;
}

.header__nav-dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header__nav-dropdown li a:hover {
  color: #000;
}
.entrance .header__nav-dropdown li a:hover {
  color: #fff;
}
.is-scrolled .header__nav-dropdown li a:hover {
  color: var(--color-text);
}

/* ============================================================
   採用情報アコーディオン（SPドロワー）
   ============================================================ */

.drawer__item--accordion {
  border-bottom: 1px solid var(--color-bg-light);
}

/* トリガー：aタグをdrawer__list li aと同じ見た目に */
.drawer__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-size: 15px;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer__accordion-trigger:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

/* 矢印アイコン */
.drawer__accordion-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.drawer__accordion-trigger[aria-expanded="true"] .drawer__accordion-arrow {
  transform: rotate(-135deg) translateY(2px);
}

/* 展開リスト */
.drawer__accordion-list {
  list-style: none;
  padding: 0 0 12px 12px;
  margin: 0;
}

.drawer__accordion-list li {
  border-bottom: none;
}

.drawer__accordion-list li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--color-dark);
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease, padding-left 0.2s ease;
}

.drawer__accordion-list li a:hover {
  color: var(--color-primary);
  opacity: 1;
  padding-left: 8px;
}



/* ============================================================
   フォーム）
   ============================================================ */
#formWrap td.position select {
  width: 379px;
}
#formWrap td .need__item {
  display: inline-block;
  width: 40px;
  background: #ff0000;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 10px;
  text-align: center;
}
#formWrap td:not(:has(> span.need__item)) {
  padding-left: 73px;
}
#formWrap td input,
#formWrap td select {
  padding: 8px 30px 8px 8px;
}
#formWrap td select,
#formWrap td label {
  margin-left: 10px;
}
#formWrap td .year {
  margin-left: -3px;
}
#formWrap td.mail input:first-child {
  margin-bottom: 5px;
}
#formWrap p label,
#formWrap td label,
#formWrap td select {
  cursor: pointer;
}
#formWrap td textarea {
  padding: 8px 30px 8px 8px;
}

/* 親要素（pタグなど）で2つのボタンを横並びにする */
#formWrap p.center {
  display: flex;
  justify-content: center; /* 中央に寄せる */
  gap: 45px;               /* ボタンとボタンの間の隙間 */
  width: 100%;
  max-width: 500px;        /* PCで広がりすぎないように制限 */
  margin: 0 auto;          /* 全体を中央寄せ */
}

/* ボタン共通の横幅設定 */
#formWrap .btn-confirm,
#formWrap .btn-reset {
  flex: 1;                 /* 2つのボタンを全く同じ横幅に広げる */
  min-height: 48px;        /* 押しやすいように高さを48px以上に固定 */
  padding: 12px 0;         /* 上下の余白 */
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition:transform 0.4s ease;
}

/* 確認ボタンの色 */
#formWrap .btn-confirm {
  background-color: #489ee5;
  color: #ffffff;
}

/* リセットボタンの色 */
#formWrap .btn-reset {
  background-color: #e0e0e0;
  color: #333333;
}

/* 共通：ボタンにマウスを乗せたとき */
#formWrap .btn-confirm:hover,
#formWrap .btn-reset:hover {
  transform: translateY(-5px);
  transition:transform 0.4s ease;
}
.error-box {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.9;
}
#formWrap p.center.p-confirm {
	margin-top:40px;
	margin-bottom: clamp(48px, 6vw, 80px);
	max-width: 100%;
}
#formWrap p.center.p-confirm label {
	background: #f0f0f0;
	padding: 12px 16px;
	border-radius: 16px;
}

.contact #formWrap .job-table.company-table {
  width: 900px;
  margin: 0 auto;
}

/* ===================================
   サンクスページ用スタイル
   =================================== */

.thanks-box {
  max-width: 680px;
  margin: 0px auto 80px;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}

/* チェックアイコン */
.thanks-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 24px;
  line-height: 1;
}

/* 完了タイトル */
.thanks-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  color: #1a1a1a;
}

/* 本文 */
.thanks-text {
  font-size: 0.97rem;
  line-height: 2;
  color: #333;
  margin-bottom: 24px;
}

/* 注意書き */
.thanks-note {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #777;
  background: #f8f8f8;
  border-left: 3px solid #222;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 36px;
  border-radius: 0 2px 2px 0;
}

/* 電話お問い合わせ */
.thanks-tel {
  border-top: 1px solid #222;
  padding-top: 32px;
  margin-bottom: 40px;
}

.thanks-tel-label {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 8px;
}

.thanks-tel-label i {
  margin-right: 6px;
}

.thanks-tel-number {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 6px;
  pointer-events: none; /* PC では電話リンクを無効化 */
}

.thanks-tel-hours {
  font-size: 0.82rem;
  color: #777;
}

/* トップへ戻るボタン */
.thanks-btn-wrap {
  margin-top: 8px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: #1a1a1a;
  color: #fff!important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, opacity 0.2s;
}

.thanks-btn:hover {
  background: #333;
  opacity: 0.85;
}
 
/* 404 */
 .error-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 60px 0;
    margin-top: 60px;
  }
  .error-inner {
    text-align: center;
    padding: 0 20px;
  }
  .error-code {
    font-family: 'Shippori Mincho B1', serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 400;
    color: #102487;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.15;
  }
  .error-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #102487;
    margin-bottom: 16px;
  }
  .error-text {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 40px;
  }
  .error-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .error-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #102487;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 40px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .error-btn-primary:hover {
    background: #0b1a6a;
  }
  .error-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #102487;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 40px;
    text-decoration: none;
    border: 1px solid #102487;
    transition: background 0.2s, color 0.2s;
  }
  .error-btn-wrap a:hover {
    color: #ffffff!important;
  }
  .error-btn-secondary:hover {
    background: #102487;
    color: #ffffff;
  }
  

/* 以下追加 */
.contact .page-content h2.job-description__title {
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 10px;
	padding: 0;
	background: none;
}
.contact .job-table {
	text-align: left;
}

.contact .job-table {
	width: 900px;
	margin: 0 auto;
	border-collapse: collapse;
	font-size: clamp(14px, 1.2vw, 16px);	
}
.contact .job-table tr:last-child {
	border-bottom:1px solid #e0e0e0;
}
.contact .job-table tr {
	border-top:1px solid #e0e0e0;
}
.contact .job-table th {
	width: 160px;
	padding: 20px;
	font-weight: 700;
	vertical-align: middle;
	white-space: nowrap;
	text-align: left;
}
.contact .job-table td {
	width: calc(100% - 160px - 20px);
	padding: 20px 0;
	line-height: 1.8;
	vertical-align: top;
}
.contact .job-table > .center {
	margin-top: 40px;
	margin-bottom: clamp(48px, 6vw, 80px);
	display: flex;
	justify-content: center;
	gap: 45px;
	width: 100%;
	max-width: 500px;
	margin: 0;
}
.contact #formWrap p.center {
	margin-top: 40px;
	margin-bottom: clamp(48px, 6vw, 80px);
}
.contact .job-table {
	text-align: left;
}
.contact #formWrap td.position select {
  width: 379px;
}
.contact #formWrap td .need__item {
  display: inline-block;
  width: 40px;
  background: #ff0000;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 10px;
  text-align: center;
}
.contact #formWrap td:not(:has(> span.need__item)) {
  padding-left: 73px;
}
.contact #formWrap td input,
.contact #formWrap td select {
  padding: 8px 30px 8px 8px;
}
.contact #formWrap td select,
.contact #formWrap td label {
  margin-left: 10px;
}
.contact #formWrap td .year {
  margin-left: -3px;
}
.contact #formWrap td.mail input:first-child {
  margin-bottom: 5px;
}
.contact #formWrap p label,
.contact #formWrap td label,
.contact #formWrap td select {
  cursor: pointer;
}
.contact #formWrap td textarea {
  padding: 8px 30px 8px 8px;
}
  .error-btn-wrap .error-btn-primary {
    color:#fff;
  }



/* ============================================================
   SP（SmartPhone）対応 ※ メディアクエリは末尾にまとめて記載
   ============================================================ */
@media (max-width: 768px) {

  /* ---- ヘッダー ---- */
  .header {
    height: var(--header-height-sp);
  }

  .header__nav, .header__nav-item--dropdown {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  /* ---- ドロワー ---- */
  .drawer,
  .drawer__overlay {
    display: block;
  }

  /* ---- ヒーロー ---- */
  .hero__content {
    padding-top: var(--header-height-sp);
  }

  /* ---- 2事業グリッド：縦並びに変更 ---- */
  .business {
    grid-template-columns: 1fr;
  }

  /* ---- About ---- */
  .about__text {
    text-align: left;
  }

  /* ---- News ---- */
  .news__item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* ---- 採用ボタン：縦並びに変更 ---- */
  .recruit__btns {
    flex-direction: column;
    align-items: center;
  }

  .btn--recruit-software,
  .btn--recruit-warehouse {
    width: 100%;
    max-width: 320px;
  }

  /* ---- フッター：縦並びに変更 ---- */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    flex-direction:column;
  }

  .navigation-block {
    width: 100%;
    justify-content: flex-start;
    gap: 30px;
  }

  /* ---- ページヘッダー ---- */
  .page-header {
    padding: calc(var(--header-height-sp) + 24px) 0 24px;
  }

  /* ---- リード文：縦積みに変更 ---- */
  .page-lead {
    flex-direction: column;
    gap: 20px;
  }

  .page-lead__meta {
    text-align: left;
  }

  /* ---- ページトップボタン ---- */
  .pagetop {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  /* ---- ページヒーロー ---- */
  .page-hero {
    margin-top: var(--header-height-sp);
  }

  /* ---- キャッチコピー ---- */
  .catchcopy__inner {
    flex-direction: column;
  }

  .catchcopy__img {
    width: clamp(80px, 25vw, 120px);
  }

  /* ---- 企業理念 ---- */
  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__icon-col {
    flex-direction: row;
    justify-content: flex-start;
  }

  /* ---- 会社概要テーブル ---- */
  .company-table th {
    width: 100px;
  }

  /* ---- アクセス ---- */
  .access__map {
    height: 200px;
  }

  /* ---- 主な業務：ソフトウエア ---- */
  .service-list__grid {
    grid-template-columns: 1fr;
  }

  /* ---- 開発分野グリッド ---- */
  .dev-fields__grid {
    grid-template-columns: 1fr;
  }

  /* ---- 開発実績グリッド ---- */
  .dev-results__grid {
    grid-template-columns: 1fr;
  }

  /* ---- 開発言語グリッド：2列に変更 ---- */
  .dev-lang__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ---- 事業案内：庫内荷役 ---- */
  .warehouse-intro__grid {
    grid-template-columns: 1fr;
  }

  /* ---- 業務案内グリッド ---- */
  .warehouse-work__item,
  .warehouse-work__item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .warehouse-work__item:nth-child(even) .warehouse-work__body,
  .warehouse-work__item:nth-child(even) .warehouse-work__img {
    order: unset;
  }

  /* ---- ギャラリー：2列に変更 ---- */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- 定義テーブル ---- */
  .def-table,
  .def-table th,
  .def-table td {
    display: block;
  }

  .def-table th {
    padding-bottom: 0;
    color: var(--color-dark);
    font-weight: 700;
  }

  .def-table td {
    padding-top: 4px;
    padding-bottom: 12px;
  }
   #formWrap {
	width:100%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="text"], form textarea {
	width:100%;
	padding:5px;
	font-size:110%;
	display:block;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
#formWrap td.position select {
	width: 100%;
}
.header--hero .header__hamburger.is-open span {
  background-color: var(--color-text);
}
 .thanks-box {
   margin: 36px auto 56px;
   padding: 36px 24px;
 }

 .thanks-icon {
   font-size: 52px;
   margin-bottom: 20px;
 }

 .thanks-title {
   font-size: 1.3rem;
   margin-bottom: 20px;
 }

 .thanks-text {
   font-size: 0.92rem;
   text-align: left;
 }

 .thanks-note {
   font-size: 0.78rem;
    padding: 14px 16px;
  }

  /* スマホでは電話タップ可能に */
  .thanks-tel-number {
    pointer-events: auto;
    font-size: 1.5rem;
  }

  .thanks-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
 }
.business__item--software,
.business__item--warehouse,
.news::before {
  clip-path: none;
}
.news::before {
  top: -60px;
}
.about {
  margin-top: -50px;
}
/* ============================================================
   求人票（job-description）
   ============================================================ */
  .contact .job-table,
  .contact .job-table th,
  .contact .job-table td {
    display: block;
    width: 100%;
  }
  .contact .job-table th {
    padding-bottom: 4px;
     padding-left: 0;
  }
  .contact .job-table td {
    padding-top: 4px;
    padding-bottom: 20px;
    display:flex;
    flex-direction:column;
    gap: 7px;
  }
  .contact .job-table td.birth {
    /* 【flex-wrap: wrap の追加について】
       「必須」バッジ＋年/月/日のセレクトボックス3つ＋「年」「月」「日」の文字が
       flex-direction:rowで1行に並ぶ指定になっていたが、wrapの指定がなかったため、
       スマホ幅（320〜375px程度）ではこれらの合計幅が画面幅を超えてしまい、
       テーブル全体が右にはみ出す原因になっていた。
       wrapを追加することで、収まりきらない分は自動的に折り返されるようになる */
    flex-direction:row;
    flex-wrap: wrap;
    align-items: center;
  }
  .contact .job-table td:has(label) {
    flex-direction: row;
    flex-wrap:wrap;
  }
  .contact #formWrap td:not(:has(> span.need__item)) {
    padding-left:0;
  }
  .contact form input[type="text"], form textarea, .contact #formWrap td.position select {
    width: 100%;
  }
  .contact #formWrap td .need__item {
    margin-left: 0;
    margin-right: 0;
  }
  .page-content .d-flex {
    flex-direction: column-reverse;
  }
  .gap-50 {
    gap: 25px;
  }
  .w60,.w40 {
    width: 100%!important;
  }
  .index-warehouse .gap {
    grid-template-columns: 1fr 1fr!important;
    margin-top: 30px;
  }
  .index-warehouse figure img {
    width: 100%;
  }
}