/*************************************************
  Base Sections
**************************************************/
/* サイト全体のデフォルトフォント */
body {
  font-family: "Yu Gothic", YuGothic, "游ゴシック体",
               "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
               sans-serif;
  font-weight: 400;   /* 通常の本文はレギュラー */
  line-height: 1.8;   /* 読みやすい行間 */
  color: #fff;        /* 今のLPは暗背景なので白文字 */
}

/* 見出しだけ別フォントを指定（例：明朝体） */
h1, h2, h3, h4, h5, h6 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400; /* 見出し用に少し太め */
}


.sec{ position: relative; }
.sec *{ box-sizing: border-box; }
:root{
  --section-bg: #383737;   /* = wave と次セクションの背景そのもの */
  --wave-top:   #2d2c2c;
  --msg-bg: #383737;      /* 帯の外側 */
  --msg-fg: #f3f3f3;      /* テキスト色 */
  --msg-grad: #2d2c2c;    /* サイドのフェード色 */
  --wave-height: 300px;
  --banner-text: #fff;

  /* 帯の垂直位置 & 高さ（PC） */
  --msg-strip-top: clamp(200px, 50vh, 420px);
  --msg-strip-h:   clamp(300px, 42vh, 480px);

  /* マスク（濃さ） */
  --msg-veil: 0.40; /* セクション全体色でうっすら“ベール” */
  --msg-edge: 0.98; /* 両サイドのフェード（強め） */

  /* CTA 色（必要なら流用） */
  --msg-accent: #e0522b;
  --msg-accent-dim: #c84826;
	
  --header-h: 100px;   /* PCのヘッダー高さ */
  --header-h-sm: 56px; /* SPのヘッダー高さ（約半分） */
	
  
}

/*************************************************
  Header override（EntryとHamburgerを大きなボックスで並べる）
**************************************************/
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  /* お好みのガラス風（そのまま継承でも可） */
  background: linear-gradient(180deg, rgba(15,15,15,.65), rgba(15,15,15,0));
  backdrop-filter: saturate(120%) blur(4px);
  width: 100%;
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-inner img{
  transform: translate(30px,30px);
  border-radius: 0 0 10px 10px;
}

.header-actions {
  display: flex;
  align-items: stretch; /* 子要素の高さを揃える */
  height: 100%;
  gap:0;
}

/* Entry ボタン */
.entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C34811;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0 48px;
  height: 100px;
  border-radius: 0;
  transition: background-color .3s ease;
}
.entry-btn:hover,
.entry-btn:focus-visible {
  background: #325CAA;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;      /* ← 縦方向 */
  align-items: center;
  justify-content: center;
  gap: 0;                    /* 線の間隔 */
  width: 112px;   /* 正方形に近いサイズ感 */
  padding: 0;
  height: 100px;
  background: #222222;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color .3s ease;
}
.hamburger:hover,
.hamburger:focus-visible {
  background: #325CAA;
}

/* Hamburgerの線 */
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  opacity: .95;
}

/* ====== Responsive ====== */
@media (max-width: 768px){
  :root{ --header-h: var(--header-h-sm); }

  .header-inner{ padding-right: 8px; } /* 右端の窮屈さ軽減 */

  /* 右側アクションを縦積み（Entryの下にハンバーガー） */
  .header-actions{
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    height: auto;           /* 中身の合計に */
  }

  .entry-btn{
    height: var(--header-h-sm);
    padding: 0 20px;        /* 横幅も少し絞る */
    font-size: .95rem;
  }

  .hamburger{
    height: var(--header-h-sm);
    width: 56px;            /* 正方形寄りにしてタップしやすく */
    gap: 5px;
  }

  .hamburger span{
    width: 22px;
    height: 2px;
  }

  main{ padding-top: var(--header-h-sm); }
}

/* “動きを減らす” ユーザー設定尊重（任意） */
@media (prefers-reduced-motion: reduce){
  .entry-btn, .hamburger{ transition: none; }
}

/******** Drawer Base ********/
body.no-scroll { overflow: hidden; }
.global-drawer { position: fixed; inset: 0; z-index: 60; }

.gd-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .25s ease;
}

.gd-panel {
  position: absolute; inset: 0;
  background: #383737cc; color: #fff;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}
.global-drawer.is-open .gd-overlay { opacity: 1; }
.global-drawer.is-open .gd-panel { opacity: 1; transform: translateY(0); }

/* ヘッダ */
.gd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.gd-head h2 { font-size: 18px; font-weight: 700; margin: 0; opacity: .9; }
.gd-close {
  background: transparent; color: #fff; border: none; font-size: 28px;
  width: 38px; height: 38px; cursor: pointer;
}

/* 2カラムコンテナ */
.gd-container {
  width: min(1280px, 100% - 48px);
  margin: 24px auto 40px;
  display: grid; gap: 40px;
  grid-template-columns: 420px 1fr;
}

/* 左メニュー */
.gd-left { display: flex; flex-direction: column; gap: 20px; max-height: 80vh; overflow-y: auto; }
.gd-menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.gd-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  text-decoration: none; color: #fff; opacity: .92;
  transition: background-color .2s ease, transform .2s ease;
}
.gd-menu a:hover { background: rgba(255,255,255,.08); transform: translateX(2px); }
.gd-entry__btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 100px; border-radius: 10px; border: 1px solid #fff;
  color: #fff; text-decoration: none; font-weight: 700;
  transition: opacity .2s ease, background .2s ease;
}
.gd-entry__btn:hover { opacity: .9; background: red;}

/* 右カラム */
.gd-right { display: flex; flex-direction: column; gap: 28px; }
.ft-lead {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .08em; opacity: .95;
}
.ft-lead .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff7e4a; display: inline-block;
}

/* 各ブロック */
.gd-block { display: flex; align-items: flex-start; gap: 20px; }
.gd-block .ft-lead { flex: 0 0 140px; }

/* カード群 横並び */
.gd-cards-row{
  display:flex;
  gap:18px;
  flex-wrap:wrap;          /* 2つ横並び、3つ目は1つ目の下へ */
  align-items:flex-start;  /* 行の基準を上に固定 */
}
.gd-cards-row--wrap { flex-wrap: wrap; }

/* カード */
.gd-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:#fff;
  opacity:.95;
  width:220px;             /* 必要に応じて 220〜280px に調整可 */
  gap:8px;                 /* 画像とタイトルの隙間は gap で統一 */
}
.gd-card__thumb{
  position:relative;
  overflow:hidden;
  border-radius:6px;
  width:100%;
  aspect-ratio:16/9;
  background:#2f2f2f;
}
.gd-card__thumb img{
  display:block;           /* ←これが効きます */
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform .35s ease;
}
.gd-card:hover .gd-card__thumb img { transform: scale(1.08); }
.gd-card__title{
  display:flex;            /* 行高の中央に寄せたい場合に便利 */
  align-items:center;
  min-height: calc(1.4em * 2);  /* 2行ぶん確保（1行なら余白になる） */
  line-height:1.4;
  font-size:14px;
  letter-spacing:.04em;
  margin:0;                /* gap を使うので margin-top は不要 */
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .gd-container { grid-template-columns: 1fr; }
  .gd-block { flex-direction: column; gap: 12px; }
  .gd-block .ft-lead { flex: none; }
  .gd-cards-row { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .gd-container { width: calc(100% - 28px); }
  .gd-card { width: 100%; }
}


/*************************************************
  FV (First View)
**************************************************/
.sec-fv{
  position: relative;
  min-height: 99vh;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
}

/* Swiper */
.fv-swiper{ position: absolute; inset: 0; }
.fv-swiper .swiper-wrapper{ height: 100%; z-index:0; }
.fv-slide{
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fv-slide::after{
  content:"";
  position:absolute; inset:0; z-index: 1;
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(38,37,37,0) 20%,
    rgba(38,37,37,.3) 45%,
    rgba(38,37,37,.6) 65%,
    var(--wave-top) 100%
  );
}

/* キャッチコピー（中央～下寄せ） */
.fv-catch{
  display: none;
  position:absolute;
  inset:auto 0 12vh 0;
  text-align:center;
  z-index: 3;
}
.fv-catch p{
  margin:0;
  color:#fff;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.02;
  font-size: clamp(52px, 7.2vw, 128px);
  text-shadow:
    0 10px 30px rgba(0,0,0,.45),
    0 3px 10px rgba(0,0,0,.35);
}

/* 画像見出し<H1>を全面にオーバーレイ */
.sec-fv .top-mainvisual__ttl {
  position: absolute; inset: 0;
  z-index: 5;
  display: grid; place-items: center; /* まとめて中央寄せ */
  pointer-events: none;               /* 下のスライダー操作を阻害しない */
  margin: 0;
}

/* 画像の基本スタイル */
.sec-fv .top-mainvisual__ttl img {
  position: absolute;
  top: 70%; left: 10%;
  transform: none; /* 中央基準で重ねる */
  display: block;
  max-width: min(60vw, 800px); /* 適宜調整 */
  height: auto;
}

/* 背景ピースは常時表示（演出不要なら） */
.sec-fv .top-mainvisual__ttl .item--bg {
  opacity: 1;
  transform: none;
  animation: none;
}

/* 共通アニメーション（名前衝突回避のため固有名） */
.sec-fv .top-mainvisual__ttl .item {
  opacity: 0;
  animation: topFadeUp 1s ease forwards;
}

@keyframes topFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* 0.5秒刻みの遅延（12枚分） */
.sec-fv .top-mainvisual__ttl .delay-01 { animation-delay: .3s; }
.sec-fv .top-mainvisual__ttl .delay-02 { animation-delay: .4s; }
.sec-fv .top-mainvisual__ttl .delay-03 { animation-delay: .5s; }
.sec-fv .top-mainvisual__ttl .delay-04 { animation-delay: 1s; }
.sec-fv .top-mainvisual__ttl .delay-05 { animation-delay: 1.1s; }
.sec-fv .top-mainvisual__ttl .delay-06 { animation-delay: 1.2s; }
.sec-fv .top-mainvisual__ttl .delay-07 { animation-delay: 1.3s; }
.sec-fv .top-mainvisual__ttl .delay-08 { animation-delay: 1.4s; }
.sec-fv .top-mainvisual__ttl .delay-09 { animation-delay: 1.5s; }
.sec-fv .top-mainvisual__ttl .delay-10 { animation-delay: 1.6s; }
.sec-fv .top-mainvisual__ttl .delay-11 { animation-delay: 1.7s; }
.sec-fv .top-mainvisual__ttl .delay-12 { animation-delay: 1.8s; }

/* 動きを減らす環境でも“見える”ように */
@media (prefers-reduced-motion: reduce) {
  .sec-fv .top-mainvisual__ttl .item { 
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}







/* ページネーション非表示 */
.sec-fv .swiper-pagination{ display:none !important; }

/*************************************************
  Scroll Indicator（右下の丸）
**************************************************/
.scroll-indicator{
  position: absolute;
  right: clamp(28px, 4.6vw, 72px);
  bottom: clamp(28px, 7vh, 84px);
  width: clamp(230px, 15.6vw, 270px);
  height: clamp(230px, 15.6vw, 270px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 4;
  cursor: pointer;
  transition: all .35s ease;
  background: radial-gradient(circle at 50% 50%,
              rgba(255,255,255,.06) 0%,
              rgba(255,255,255,.03) 100%);
  backdrop-filter: blur(2px);
}
.scroll-indicator::before{
  content:"";
  position:absolute; inset:7px;
  border-radius:50%;
  border:1.2px solid rgba(255,255,255,.28);
  transition: all .35s ease;
}
.scroll-indicator::after{
  content:"";
  position:absolute; inset:-12px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
  animation: si-pulse 2.8s ease-in-out infinite;
  pointer-events:none;
}
.si-arrow{
  position: relative;
  width: 2px; height: 22px;
  background: #fff; opacity:.95;
  border-radius: 2px;
  transition: transform .35s ease;
  transform: translateY(-10px);
}
.si-arrow::after{
  content:"";
  position:absolute; left:50%; bottom:-2px;
  width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg);
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
}
.si-label{
  position:absolute; left:50%;
  transform:translateX(-50%);
  bottom: clamp(38px, 4.2vw, 74px); 
  white-space: nowrap;
  font-size:14px; font-weight:700; letter-spacing:.08em;
  color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.35);
}
.scroll-indicator:hover{
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 32px 0 rgba(255,255,255,.10) inset;
}
.scroll-indicator:hover::before{ border-color: rgba(255,255,255,.85); }
.scroll-indicator:hover .si-arrow{ transform: translateY(6px); }

@keyframes si-pulse{
  0%,100{ opacity:.25; transform: scale(1); }
  50%{ opacity:.45; transform: scale(1.05); }
}

/*************************************************
  Wave（FV 下に重ねる）
**************************************************/
.wave-sep{
  position: relative;
  background: var(--section-bg);
  height: var(--wave-height);
  margin-top: -1px;
  line-height: 0;
  overflow: hidden;
  transform: translateZ(0);
  z-index: 10!important;
}
.wave-svg{ width:100%; height:100%; display:block; }

/*************************************************
  News（最新1件のみカード表示）
**************************************************/

/* 視覚的に非表示（スクリーンリーダー用） */
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.sec-news {
  position: relative;
  background: var(--section-bg);   /* ← 透明にしない */
  padding: clamp(32px, 1vw, 56px) 0;
  margin-top: clamp(-100px, -10vw, -48px); /* Optional: 波に少しめり込ませる */
}

.news-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  padding: 0 clamp(16px, 4vw, 32px);
}

.news-card {
  position: relative;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 20px 60px;
  color: #fff;
  width: clamp(320px, 50%, 620px);
  box-shadow: 0 0 24px rgba(0,0,0,0.35);
  z-index: 11; /* 波よりも前面に */
}

.news-card time {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.news-card .ttl {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-card .more {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .25s ease;
}
.news-card .more:hover {
  color: #ff7e4a; /* 本家オレンジ */
}

/*************************************************
  Message
**************************************************/
.sec-message{
  position: relative;
  overflow: hidden;
  background: var(--section-bg);
  padding: clamp(56px, 8vw, 96px) 0;
  color: var(--msg-fg);
  isolation: isolate;
  min-height: 620px;
}

/* テキストのグリッド */
.msg-inner{ 
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 左：余白／右：本文 */
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: clamp(20px, 4vw, 48px);
}

/* 小見出し（Message＋オレンジドット） */
.msg-ttl-en{
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .08em;
  color: #fff; opacity: .95;
  margin-top: 4px;
}
.msg-ttl-en::before{
  content:""; display:inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff7e4a;
}

/* キャッチコピー（2行） */
.msg-ttl{
  grid-column: 1 / -1;
  margin: 0;
}
.msg-ttl-jp{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  margin: 2em 0;
}
.msg-ttl-jp span{
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.25;
  display: block;
  width: 100%;
  max-width: 1280px;
}
.msg-ttl-jp span:first-child{ text-align: left;  margin-left: 10%; }
.msg-ttl-jp span:last-child { text-align: right; margin-right: 10%; }

/* 本文（右カラムのみ） */
.msg-body{
  grid-column: 2;
  max-width: 560px;
  margin-top: clamp(8px, 2vw, 16px);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2;
  color: rgba(255,255,255,.92);
}
.msg-body p{ margin: 0 0 1.1em; }

/* CTA（グラデの帯） */
.msg-cta{
  margin-top: clamp(14px, 2.4vw, 20px);
  text-align: left;
}
.msg-cta span,
.msg-cta a{
  display:block;
  width: 80%;
  padding: .3em .3em;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    90deg,
    rgba(224, 82, 43, 0.9) 0%,
    rgba(228, 98, 62, 0.6) 40%,
    rgba(228, 98, 62, 0.3) 80%,
    rgba(224, 82, 43, 0.01) 100%
  );
  border-radius: 0;
  box-shadow: none;
}

/* 背景の横スクロール帯（共通ラッパ） */
.msg-bgstrip{
  position: absolute;
  left: 0; right: 0;
  top: var(--msg-strip-top);
  height: var(--msg-strip-h);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* 画像を横に並べて無限ループ */
.msg-strip{
  display: flex;
  width: max-content;
  animation: msgMarquee 200s linear infinite;
}
.msg-strip img{
  display: block;
  height: 100%;   /* 帯の高さにフィット（←可変） */
  width: auto;
  object-fit: cover;
  opacity: 1;
}

/* ベール + 両端フェード */
.msg-bgstrip::before,
.msg-bgstrip::after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.msg-bgstrip::before{
  background: rgba(56,55,55,var(--msg-veil));
  z-index: 1;
}
.msg-bgstrip::after{
  background:
    linear-gradient(90deg,
      rgba(56,55,55,var(--msg-edge)) 0%,
      rgba(56,55,55,0) 30%,
      rgba(56,55,55,.9) 65%,
      rgba(56,55,55,var(--msg-edge)) 100%
    );
  z-index: 2;
}

/* 無限ループ */
@keyframes msgMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* レスポンシブ */
@media (max-width: 1024px){
  :root{
    --msg-strip-top: clamp(120px, 18vh, 200px);
    --msg-strip-h:   clamp(180px, 26vh, 260px);
  }
}
@media (max-width: 768px){
  :root{
    --msg-strip-top: clamp(90px, 16vh, 160px);
    --msg-strip-h:   clamp(150px, 22vh, 220px);
  }
  .msg-inner{
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .msg-ttl-jp{
    text-align: center;
  }
  .msg-ttl-jp span:nth-child(1),
  .msg-ttl-jp span:nth-child(2){
    text-align: center;
    font-size: clamp(28px, 8vw, 44px);
  }
  .msg-body{
    grid-column: 1;
    max-width: 100%;
    margin-top: 0;
  }
  .msg-cta{ text-align: center; }
}

/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce){
  .msg-strip{ animation: none; }
}

/*************************************************
  Company
**************************************************/
:root{
  --cmpy-gap: clamp(24px, 5vw, 72px);
  --cmpy-img-w: min(44vw, 640px);
  --cmpy-panel: #4a4948; /* 背面パネルの色(少し明るめグレー) */

  /* ▼ 丸(ドット)の共通パラメータ */
  --cmp-dot-size: 42px;                       /* 丸の大きさ(PC) */
  --cmp-dot-overlap: -0.35em;                 /* 右端から左へ寄せる(重なり具合) */
  --cmp-dot-color: rgba(255,255,255,.16);     /* 丸の塗り */
  --cmp-dot-border: 1px solid rgba(255,255,255,.06);
}

/* セクション本体 */
.sec-company{
  position: relative;
  background: var(--section-bg);
  padding: clamp(64px, 9vw, 120px) 0;
  color: #fff;
  overflow: hidden;
}

/* 2カラムの器 */
.company-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr var(--cmpy-img-w);
  column-gap: var(--cmpy-gap);
  align-items: center;
}

/* 左側：見出し群 */
.sec-lead{
  display:inline-flex; gap:10px; align-items:center;
  font-size: 14px; letter-spacing:.08em; opacity:.95;
}
.sec-lead .dot{ width:8px; height:8px; border-radius:50%; background:#ff7e4a; display:inline-block; }

/* 見出し */
.company-ttl{
  margin: .8em 0 1.2em;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  line-height: 1.25;
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 40px);
}
.u-accent{
  background: linear-gradient(180deg, transparent 70%, #e0522b 0) no-repeat;
  background-size: 100% 0.22em;
  background-position: left calc(100% - 0.06em);
}

/* ------------------------------
   リンクリスト（クラス名はそのまま）
   背景Pillは廃止し、末尾に“少しかぶる丸”
------------------------------ */
.company-links{
  list-style:none; padding:0; margin: 0;
  display: grid;
  gap: clamp(12px, 1.6vw, 16px);
  max-width: 520px;
}

/* 旧: 背景付きpill → 新: テキストのみ＋末尾の丸 */
.pill{
  position: relative;
  display:inline-block;
  color:#fff; text-decoration:none;
  font-family: "Yu Gothic", YuGothic, "游ゴシック体",
               "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.8;
  letter-spacing: .02em;

  /* 丸のぶんだけ右に余白（テキストに食い込ませるため少なめ） */
  padding-right: calc(var(--cmp-dot-size) * 0.6);

  /* 背景Pill関連のプロパティは撤廃 */
  background: none;
  border-radius: 0;
  transition: color .25s ease;
}

/* テキストの末尾に重なる丸 */
.pill::after{
  content:"";
  position: absolute;
  top: 50%;
  right: var(--cmp-dot-overlap);   /* マイナスでテキスト側に食い込ませる */
  width: var(--cmp-dot-size);
  height: var(--cmp-dot-size);
  border-radius: 50%;
  background: var(--cmp-dot-color);
  border: var(--cmp-dot-border);
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}

/* hover：まずは軽い拡大と色味アップ（動きは後で差し替え可） */
.pill:hover{ color:#fff; }
.pill:hover::after{
  transform: translateY(-50%) scale(1.06);
  background: rgba(255,255,255,.24);
}

/* 右側：ビジュアル */
.company-visual{
  position: relative;
  width: 100%;
  min-height: 420px;
}
.kv{
  position: relative; z-index: 3; margin: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.kv img{
  display:block; width: 100%; height: auto; border-radius: 2px;
}

/* 背面の斜めパネル（重なり表現） */
.panel{
  position: absolute; inset: 0;
  transform-origin: center;
  border-radius: 2px;
  background: var(--cmpy-panel);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.panel--back{ 
  z-index: 1; 
  transform: translate(6%, -8%) rotate(-6deg) scale(.96);
  opacity: .55;
}
.panel--mid{
  z-index: 2;
  transform: translate(3%, -4%) rotate(-3deg) scale(.98);
  opacity: .7;
}

/* ------------------------------------------
   Company：リンクのアニメーション
   ・末尾の丸（dot）は ::after
   ・最後の文字から右へ伸びるラインは ::before
-------------------------------------------*/

/* リスト項目は相対配置（ラインを遠くまで伸ばすために anchor を基準に） */
.company-links li { position: relative; }

/* anchor 自体をアニメーションの基準に */
.company-links li a {
  position: relative;
  display: inline-block;
  padding-right: calc(var(--cmp-dot-size) * 0.6); /* 円ぶんの余白を確保 */
  text-decoration: none;
  color: #fff;
  isolation: isolate;                /* 擬似要素の重なり制御を安定させる */
}

/* 末尾の丸（通常時はうっすら見える） */
.company-links li a::after{
  content:"";
  position: absolute;
  top: 50%;
  right: var(--cmp-dot-overlap);              /* 文字にかぶらせる量を変数で */
  transform: translateY(-50%) scale(1);
  width: var(--cmp-dot-size);
  height: var(--cmp-dot-size);
  border-radius: 50%;
  background: var(--cmp-dot-color);
  border: var(--cmp-dot-border);
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
  pointer-events: none;
  transition: transform .35s ease, opacity .35s ease, background-color .25s ease;
}

/* 右へ伸びるライン（通常時は幅0） */
.company-links li a::before{
  content:"";
  position: absolute;
  top: 50%;
  left: calc(100% - var(--cmp-dot-size) * 0.4); 
  /* ↑ 0.4 はオーバーラップ度合いに応じて微調整。0.5で円の中心、0.6でやや左寄り */
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  height: 2px;
  width: clamp(120px, 32vw, 520px);  /* 伸びる長さ（必要に応じて調整） */
  background: rgba(255,255,255,.85);
  transition: transform .45s ease;
  z-index: 1;                        /* 画像より下にしたい場合は小さめでOK */
}

/* Hover：丸が消え、ラインが伸びる */
.company-links li a:hover::after{
  transform: translateY(-50%) scale(0);
  opacity: 0;
}
.company-links li a:hover::before{
  transform: translateY(-50%) scaleX(1);
}

/* キーボード操作でも可視的に */
.company-links li a:focus-visible::after{
  outline: none;
  transform: translateY(-50%) scale(0);
  opacity: 0;
}
.company-links li a:focus-visible::before{
  transform: translateY(-50%) scaleX(1);
}

/* 右カラム画像：フェード用のスタック */
.company-visual{
  position: relative;
}
.company-visual .kv{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 2;
}
.company-visual .kv.is-active{
  opacity: 1;
  z-index: 3;
}
/* 背面パネルは画像より下 */
.company-visual .panel{ z-index: 1; }


/* レスポンシブ */
@media (max-width: 1024px){
  .company-inner{
    grid-template-columns: 1.1fr 1fr;
  }
}
@media (max-width: 768px){
  :root{
    --cmp-dot-size: 34px;      /* モバイルでは少しだけ小さく */
    --cmp-dot-overlap: -0.28em;
  }
  .company-inner{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .company-visual{
    order: -1; /* 画像を上、テキストを下に */
  }
  .pill{
    font-size: clamp(16px, 4.6vw, 18px);
    padding-right: calc(var(--cmp-dot-size) * 0.55);
  }
}

/*************************************************
  Business
**************************************************/
.sec-business {
  position: relative;
  background: #eee;
  padding: clamp(72px, 10vw, 120px) 0;
  color: #111;
  overflow: hidden;
  /* チューニング用のカスタムプロパティ */
  --nav-spread: clamp(150px, 22vw, 240px); /* ← 矢印と中央の距離：= ほぼカード半分 */
}
.biz-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
}

/* 縦書きリード */
.biz-lead {
  position: absolute;
  top: 0;
  left: -60px; /* コンテンツ幅より外側 */
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.biz-lead .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e0522b;
  display: inline-block;
}
.biz-lead .text { opacity: .9; }

/* 見出し部 */
.biz-head {
  position: relative;
  margin-bottom: clamp(40px, 7vw, 72px);
}
.biz-ttl {
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}
.biz-subttl {
  font-size: 14px;
  color: rgba(0,0,0,.55);
  margin-top: 12px;
}
.u-accent {
  background: linear-gradient(180deg, transparent 70%, #e0522b 0) no-repeat;
  background-size: 100% 0.22em;
  background-position: left calc(100% - 0.06em);
}
.biz-bgword {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: clamp(52px, 12vw, 160px);
  font-weight: 700;
  color: rgba(0,0,0,.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* スライダー本体 */
.biz-swiper { overflow: visible; }
.biz-swiper .swiper-wrapper { align-items: stretch; }
.biz-swiper .swiper-slide { height: auto; }

/* カード */
.biz-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.biz-card figure {
  position: relative;
  aspect-ratio: 3/4; /* 縦長比率 */
  overflow: hidden;
  border-radius: 6px;
}
.biz-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.biz-card:hover img { transform: scale(1.05); }

/* テキスト部：画像下のアクセントライン */
.biz-card .meta {
  padding-top: 12px;
  border-top: 2px solid #005bac;
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.biz-card .no {
  font-size: .92rem;
  opacity: .55;
  min-width: 2.5em;
}
.biz-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

/* ナビ & ページネーション */
.biz-nav {
  width: 50px; height: 50px;
  background: rgba(0,0,0,.65);
  border-radius: 50%;
  color: #fff;
}
.sec-business .swiper-button-prev,
.sec-business .swiper-button-next{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index:5;
}
/* 中央から左右へ “同じ距離” だけ寄せる */
.sec-business .swiper-button-prev{ left:  calc(50% - var(--nav-spread)); }
.sec-business .swiper-button-next{ right: calc(50% - var(--nav-spread)); }

.biz-nav::after { font-size: 18px; }
.biz-pager .swiper-pagination-bullet {
  background: #111;
  opacity: .3;
}

/* トラック（薄グレー） */
.sec-business .biz-scrollbar {
  position: static;
  margin: 16px auto 0;
  width: min(480px, 60%);    /* SP/タブレットの長さ */
  height: 4px;
  background: #d4d4d4;
  border-radius: 4px;
  overflow: hidden;
}

/* ハンドル（青/一定幅で左右に移動・ドラッグ可） */
.sec-business .biz-scrollbar .swiper-scrollbar-drag {
  background: #0a65b0;
  border-radius: 4px;
}

/* PCだけ長めに（①の要望） */
@media (min-width: 1200px){
  .sec-business .biz-scrollbar {
    width: min(720px, 72%);  /* お好みで調整可（例：720px） */
  }
}

.biz-pager .swiper-pagination-bullet-active { opacity: 1; }

/******** Business: ページネーションをプログレスバーに ********/
/* Swiperの progressbar を前提にスタイル */
.sec-business .swiper-pagination{
  position: static;           /* コンテナのフロー内に */
  width: min(420px, 60%);     /* ≒ カード1枚ぶんの長さ */
  margin: 16px auto 0;        /* 下に配置＆中央寄せ */
  height: 4px;                /* トラックの高さ */
  background: #d4d4d4;        /* トラック色（薄グレー） */
  border-radius: 4px;
  overflow: hidden;           /* 角丸を効かせる */
}

/* 充填バー（青の部分） */
.sec-business .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
  background: #0a65b0;        /* ブルー */
  border-radius: 4px;          /* 端をシャープに */
}

/* 既存のドット見た目が残っていたら消す（保険） */
.sec-business .swiper-pagination-bullets{ display:none !important; }

/* レスポンシブ */
@media (max-width: 1024px){
  .biz-swiper .swiper-slide { width: calc(50% - 14px); }
}
@media (max-width: 640px){
  .biz-lead { left: -40px; font-size: 12px; }
  .biz-bgword { font-size: 72px; }
}



/*************************************************
  Recruit
**************************************************/
.sec-recruit{
  position: relative;
  background: var(--wave-top); /* FV着地色と同じ */
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
}
.recruit-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
}

/* 縦書きのリード（Message/Business と同等の見た目） */
.recruit-lead{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:14px;
  letter-spacing:.08em;
  opacity:.95;
  margin-bottom: 1.2em; /* 下の見出しと間隔 */
}
.recruit-lead .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff7e4a;
  display:inline-block;
}
.recruit-lead .text{ opacity: .95; }

/* 2カラム */
.recruit-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: clamp(24px, 5vw, 64px);
}

/* 見出し */
.recruit-ttl{
  margin: .6em 0 0;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-weight: 500;
  line-height: 1.35;
  font-size: clamp(28px, 4.2vw, 40px);
}
.recruit-ttl .u-accent{
  background: linear-gradient(180deg, transparent 70%, #e0522b 0) no-repeat;
  background-size: 100% 0.22em;
  background-position: left calc(100% - 0.06em);
}

/* 右：バナー */
.recruit-col--right{
  display: grid;
  gap: clamp(14px, 1.8vw, 18px);
}
.rc-banner{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  /* 横長カード。比率はお好みで（本家寄せ 16:4.5） */
  aspect-ratio: 16 / 4.5;
  background: #222;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  transition: transform .25s ease;
  z-index: 11;
}

/* グレーマスク */
.rc-banner::before {
  content: "";
  position: absolute;
  inset: 0; /* 全体に広げる */
  background: rgba(0,0,0,0.45); /* グレー半透明 */
  z-index: 1;
  transition: background .3s ease;
  pointer-events: none; /* クリック操作を邪魔しない */
}
/* ホバー時にマスクを薄くする */
.rc-banner:hover::before {
  background: rgba(0,0,0,0.25);
}

.rc-banner:hover{ transform: translateY(-2px); }

/* 画像：ズーム */
.rc-media{
  position: absolute; inset:0;
}
.rc-media img{
  width:100%; height:100%; object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
}
.rc-banner:hover .rc-media img{ transform: scale(1.06); }

/* テキスト */
.rc-body{
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.rc-kicker{
  color: var(--banner-text);
  font-weight: 800; letter-spacing:.04em;
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 0;
}
.rc-copy{
  margin: .2em 0 0;
  color: var(--banner-text);
  font-size: clamp(12px, 1.4vw, 14px);
  opacity:.92;
}

/* 右側の半透明帯（→ を乗せる） */
.rc-banner::after{
  content:"";
  position: absolute; top:0; right:0; bottom:0;
  width: min(22%, 140px);
  z-index: 1;
  /* デフォルトは黒系のグラデ（安全策） */
  background: linear-gradient(90deg, rgba(0,0,0,.00) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.35) 100%);
}
/* 役割別カラーのグラデ（本家のニュアンス寄せ） */
.rc-banner--freshers::after{
  background: linear-gradient(90deg,
    rgba(0,255,140,0.00) 0%,
    rgba(0,255,140,.18) 36%,
    rgba(0,255,140,.28) 100%);
}
.rc-banner--career::after{
  background: linear-gradient(90deg,
    rgba(0,170,255,0.00) 0%,
    rgba(0,170,255,.18) 36%,
    rgba(0,170,255,.28) 100%);
}

/* → 矢印 */
.rc-arrow{
  position: absolute;
  color: #fff;
  right: clamp(16px, 2.2vw, 20px);
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 18px);
  line-height:1;
  transition: transform .28s ease;
}
.rc-banner:hover .rc-arrow{ transform: translate(4px,-50%); }

/* レスポンシブ */
@media (max-width: 1024px){
  .recruit-grid{ grid-template-columns: 1fr; row-gap: 24px; }
  .recruit-col--right{ order: 2; }
  .recruit-col--left { order: 1; }
}
@media (max-width: 640px){
  .recruit-lead{ left:-40px; font-size:12px; }
  .rc-body{ left: 16px; }
}

/*************************************************
  Recruit 直後の wave
**************************************************/
.sec-recruit + .wave-sep {
  margin-top: -13%;   /* Recruit 高さの半分くらい上に食い込ませる */
}

.wave-sep { z-index: 0; position: relative; }

/*************************************************
  Footer
**************************************************/
.site-footer{
  margin-top: 0 !important;
  background: var(--section-bg);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
}
.ft-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 左右2カラム */
  align-items: start;              /* 上揃え */
  column-gap: clamp(24px, 5vw, 80px);
}

/* 左カラム */
.ft-col--left{ display: flex; flex-direction: column; gap: clamp(12px, 2vw, 18px); }
.ft-catch img{
  display:block;
  max-width: min(520px, 100%);
  height: auto;
}
.ft-copy{
  font-size: 12px;
  opacity: .75;
  letter-spacing: .02em;
}

/* 右カラム：メニュー */
.ft-nav{ display: grid; gap: clamp(18px, 3vw, 28px); }
.ft-group{ display: grid; gap: 8px; }

/* タイトルリード（Messageセク同様の意匠） */
.ft-lead{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .08em; opacity: .95;
}
.ft-lead .dot{
  width: 8px; height: 8px; border-radius: 50%; background: #ff7e4a; display:inline-block;
}

/* リンクリスト */
.ft-links{ list-style:none; margin:0; padding:0; display:grid; gap: 6px; }
.ft-links a{
  position: relative;
  color:#fff; text-decoration:none;
  font-size: 14px; letter-spacing:.02em;
  opacity: .9;
  transition: opacity .2s ease, color .2s ease;
}
.ft-links a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:1px; background:#fff;
  transition: width .25s ease;
  opacity:.8;
}
.ft-links a:hover{
  opacity: 1;
}
.ft-links a:hover::after{
  width: 100%;
}

/* レスポンシブ */
@media (max-width: 900px){
  .ft-inner{
    grid-template-columns: 1fr;   /* 1カラム */
    row-gap: 32px;
  }
  .ft-col--left{ order: 2; }      /* 画像を下、メニューを上にしてもOKならこの行を削除 */
}

/* ページ全体スムーススクロール（あると気持ち良い） */
html{ scroll-behavior: smooth; }



/*************************************************
  Responsive
**************************************************/
@media (max-width: 1024px){
  .company-inner{ grid-template-columns:1fr; }
  .fv-catch{ inset:auto 0 10vh 0; }
  .fv-catch p{ font-size: clamp(40px, 8vw, 84px); }
}
@media (max-width: 768px){
  .recruit-grid{ grid-template-columns:1fr; }
  .fv-catch{ inset:auto 0 9vh 0; }
  .fv-catch p{ font-size: clamp(34px, 9vw, 64px); line-height:1.06; }
  :root{ --wave-height: 180px; }
}
