/* ==========================================================
   custom-global.css  (2026-07-16 追加)
   1) TOPページ: ロゴスライダー（/service/ から移植）
   2) TOPページ: VISION下の採用サイトリンク
   3) TOPページ: サービススライダーの説明文
   4) グロナビ: SERVICEホバードロップダウン
   ========================================================== */

/* ----- 1) ロゴスライダー ----- */
@keyframes sliderScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.top .logos { padding: 60px 0; }
.top .logos .container { overflow: visible; margin: 0; max-width: none; }
.top .logos__slider {
  display: inline-flex;
  animation: sliderScroll 40s linear infinite;
}
.top .logos__slider__item {
  min-width: 200px;
  width: 200px;
  height: 80px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 4px;
}
.top .logos__slider__item > img { max-width: 120px; max-height: 60px; }
.top .logos__slider__item + .logos__slider__item { margin-left: 32px; }
@media screen and (max-width: 767px) {
  .top .logos { padding: 24px 0; }
  .top .logos .container { max-width: 80vw; margin-left: 0; }
  .top .logos__slider__item { height: 72px; }
  .top .logos__slider__item + .logos__slider__item { margin-left: 26px; }
}

/* ----- 1.5) FV見出し（日本語コピー用にサイズ調整） ----- */
.top .banner__body__text h1 {
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1.5;
  height: auto;
}
.top .banner__body__text h1 span {
  white-space: pre-line;
}
@media screen and (max-width: 767px) {
  .top .banner__body__text h1 {
    font-size: clamp(18px, 4.8vw, 40px);
  }
}

/* ----- 2) VISION下の採用サイトリンク ----- */
.vision__recruit-link {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 48px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #191919;
  text-decoration: none;
  border: 1px solid #191919;
  transition: 0.3s;
}
.vision__recruit-link:hover {
  background: #D70C19;
  border-color: #D70C19;
  color: #fff;
}

/* VISIONセクション黒ベース化 (2026-07-16) */
.vision.black h3:not(.gloss) { color: #ffffff; }
.vision.black .vision__recruit-link { color: #ffffff; border-color: #ffffff; }
.vision.black .vision__recruit-link:hover { background: #D70C18; border-color: #D70C18; color: #ffffff; }

/* ----- 3) サービススライダーの説明文 ----- */
.service__slider__main__item h3 {
  font-size: 26px;
  line-height: 1.4;
  padding-right: 24px;
}
.service__slider__main__item h3 .item-desc {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-transform: none;
  color: rgba(255, 255, 255, 0.85);
}
@media screen and (max-width: 767px) {
  .service__slider__main__item h3 { font-size: 22px; }
  .service__slider__main__item h3 .item-desc { font-size: 13px; }
}

/* ----- 4) 共通ヘッダー（BLOGページのデザインに統一, 2026-07-16） ----- */
.gheader { position: fixed; top: 0; left: 0; right: 0; z-index: 160; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; background: rgba(25,25,25,0.96); backdrop-filter: blur(4px); }
.gheader-logo img { height: 48px; width: auto; display: block; }
.gheader-nav { display: flex; gap: 32px; align-items: center; }
.gheader-nav a { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: #ffffff !important; opacity: 0.85; transition: opacity 0.2s; text-decoration: none !important; font-family: "Noto Sans JP", "Gill Sans", sans-serif; }
.gheader-nav a:hover { opacity: 1; }
.gheader-nav .btn-contact { background: #D70C18; padding: 10px 24px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; transform: skewX(-10deg); display: inline-block; transition: box-shadow 0.2s, transform 0.2s; opacity: 1; }
.gheader-nav .btn-contact span { display: block; transform: skewX(10deg); }
.gheader-nav .btn-contact:hover { box-shadow: 4px 4px 0 #ffffff; transform: skewX(-10deg) scale(1.02); }

/* SERVICEドロップダウン */
.gheader-nav .hn-dd { position: relative; display: inline-flex; align-items: center; height: 72px; }
.hn-dd__panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 420px; background: rgba(25,25,25,0.98); box-shadow: 0 8px 24px rgba(0,0,0,0.35); padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; z-index: 300; }
.hn-dd:hover .hn-dd__panel, .hn-dd:focus-within .hn-dd__panel { opacity: 1; visibility: visible; }
.gheader-nav .hn-dd__panel a { display: block; padding: 14px 24px; letter-spacing: 0.04em; }
.hn-dd__panel a:hover { background: rgba(255,255,255,0.08); }
.hn-dd__panel a { color: #ffffff !important; }
.hn-dd__panel a span { display: block; font-size: 14px; font-weight: 600; color: #ffffff !important; }
.hn-dd__panel a small { display: block; margin-top: 6px; font-size: 11px; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,0.6) !important; }

/* ハンバーガー・モバイルメニュー */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; position: relative; z-index: 200; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(25,25,25,0.98); z-index: 150; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-nav nav a { font-size: 18px; font-weight: 600; font-family: "Noto Sans JP", "Gill Sans", sans-serif; color: rgba(255,255,255,0.85); letter-spacing: 0.12em; text-decoration: none !important; }
.mobile-nav nav .btn-contact { background: #D70C18; color: #fff !important; padding: 12px 40px; transform: skewX(-10deg); display: inline-block; }
.mobile-nav nav .btn-contact span { display: block; transform: skewX(10deg); }
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .gheader-nav { display: none !important; }
  .mobile-nav { display: flex; pointer-events: none; }
}
