/*
Theme Name: Shingen Corporate
Theme URI: https://example.com/shingen/
Author: Shingen Web Team
Author URI: https://example.com/
Description: 株式会社信源のコーポレートサイト用オリジナルテーマ。法人向け通信・OA機器・ITサポート事業を、信頼感・清潔感・スピード感のあるデザインで訴求します。ネイビーを基調とした白ベースの法人向けデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shingen
*/

/* =========================================================
   00. デザイントークン（CSS変数）
   ========================================================= */
:root {
  /* カラー */
   --c-navy:        #0d2f5c;  /* メインカラー（維持） */
  --c-navy-dark:   #081f3d;  /* 濃ネイビー（維持） */
  --c-navy-deep:   #06182f;  /* フッター等（維持） */
  --c-blue:        #2c7fd6;  /* ボタン等：白文字が乗る面（維持） */
  --c-blue-bright: #2d8fe0;  /* ★新設：差し色（ロゴ準拠の明るいブルー） */
  --c-blue-hi:     #5aa9f2;  /* ★新設：ハイライト（細い装飾のみ） */
  --c-blue-soft:   #e8f3fd;  /* 淡いブルー背景（やや明るく調整） */
  --c-gray-bg:     #f5f7fa;  /* セクション背景グレー */
  --c-gray-line:   #e3e8ef;  /* 罫線 */
  --c-text:        #1f2933;  /* 基本テキスト */
  --c-text-sub:    #5f6b7a;  /* サブテキスト */
  --c-white:       #ffffff;

  /* タイポグラフィ */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Manrope", "Noto Sans JP", sans-serif;

  /* レイアウト */
  --container:    1160px;
  --container-w:  92%;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 4px 14px rgba(13, 47, 92, 0.06);
  --shadow-md:    0 10px 30px rgba(13, 47, 92, 0.10);
  --shadow-lg:    0 18px 48px rgba(13, 47, 92, 0.14);

  /* その他 */
  --header-h:     86px;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   01. リセット & ベース
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--c-blue-bright);
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}
a:hover { color: var(--c-blue); }

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

h1, h2, h3, h4, p, figure { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* スクリーンリーダー用 */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* =========================================================
   02. 共通レイアウトパーツ
   ========================================================= */
.l-container {
  width: var(--container-w);
  max-width: var(--container);
  margin-inline: auto;
}

.l-section {
  padding-block: clamp(64px, 9vw, 116px);
}
.l-section--gray { background: var(--c-gray-bg); }
.l-section--navy { background: var(--c-navy); color: var(--c-white); }

/* 共通セクション見出し（英字＋日本語） */
.c-heading {
  text-align: center;
  margin-bottom: 48px;
}
.c-heading__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-blue-bright);
  line-height: 1.1;
}
.c-heading__jp {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-blue);
  position: relative;
  padding-top: 16px;
}
.c-heading__jp::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 2px;
  background: var(--c-blue);
}
.l-section--navy .c-heading__en { color: var(--c-white); }
.l-section--navy .c-heading__jp { color: #9cc2ec; }
.c-heading--left { text-align: left; }
.c-heading--left .c-heading__jp::before { left: 0; transform: none; }

/* 見出しの左寄せ用ライン無し小見出し */
.c-subheading {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy);
}

/* ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.c-btn__arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.c-btn:hover .c-btn__arrow { transform: translateX(4px); }

.c-btn--primary {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(44, 127, 214, 0.32);
}
.c-btn--primary:hover {
  color: var(--c-white);
  background: #2470bf;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(44, 127, 214, 0.4);
}
.c-btn--outline {
  background: var(--c-white);
  color: var(--c-navy);
  border: 1.5px solid var(--c-navy);
}
.c-btn--outline:hover {
  color: var(--c-white);
  background: var(--c-navy);
  transform: translateY(-3px);
}
.c-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.c-btn--ghost:hover {
  color: var(--c-navy);
  background: var(--c-white);
  transform: translateY(-3px);
}

/* =========================================================
   03. ヘッダー
   ========================================================= */
.l-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-gray-line);
  z-index: 1000;
  transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.l-header.is-scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}
.l-header__inner {
  width: var(--container-w);
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo__mark {
  width: auto;
  height: 38px;
  flex-shrink: 0;
  transition: height 0.3s var(--ease);
}
.l-header.is-scrolled .site-logo__mark { height: 32px; }
.site-logo__text { line-height: 1.25; }
.site-logo__en {
  display: block;
  font-family: var(--font-en);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--c-navy);
}
.site-logo__jp {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-text-sub);
}

/* グローバルナビ */
.gnav { display: flex; align-items: center; gap: 8px; }
.gnav__list { display: flex; align-items: center; }
.gnav__item { position: relative; }
.gnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 18px;
  color: var(--c-text);
  font-weight: 700;
}
.gnav__link-en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.gnav__link-jp {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--c-text-sub);
  letter-spacing: 0.04em;
}
.gnav__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--c-blue-bright);
  transition: transform 0.3s var(--ease);
}
.gnav__link:hover { color: var(--c-navy); }
.gnav__link:hover::after { transform: translateX(-50%) scaleX(1); }

/* 現在ページ表示 */
.gnav__item.is-current .gnav__link { color: var(--c-navy); }
.gnav__item.is-current .gnav__link-jp { color: var(--c-blue-bright); }
.gnav__item.is-current .gnav__link::after { transform: translateX(-50%) scaleX(1); }

/* ヘッダー内お問い合わせボタン */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 12px 24px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.header-cta:hover {
  color: var(--c-white);
  background: var(--c-blue);
  transform: translateY(-2px);
}

/* ハンバーガー */
.hamburger {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  z-index: 1100;
}
.hamburger span {
  position: absolute;
  left: 11px;
  width: 24px; height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   04. 下層ページ共通FV
   ========================================================= */
.page-hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  text-align: center;
  background: var(--c-navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 26, 56, 0.55), rgba(8, 26, 56, 0.78));
}
.page-hero__inner { position: relative; z-index: 2; padding-block: 70px; }
.page-hero__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
}
.page-hero__jp {
  display: block;
  margin-top: 14px;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* パンくず */
.breadcrumb {
  background: var(--c-gray-bg);
  border-bottom: 1px solid var(--c-gray-line);
}
.breadcrumb__list {
  width: var(--container-w);
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 0.78rem;
  color: var(--c-text-sub);
}
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item::after { content: "›"; color: var(--c-gray-line); }
.breadcrumb__item:last-child::after { content: none; }
.breadcrumb__item a:hover { color: var(--c-blue); }
.breadcrumb__current { color: var(--c-navy); font-weight: 700; }

/* =========================================================
   05. 下層ページ共通コンテンツ
   ========================================================= */
.page-body { padding-block: clamp(60px, 8vw, 100px); }

.lead-block { max-width: 820px; margin-inline: auto; text-align: center; }
.lead-block__title {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.6;
  margin-bottom: 28px;
}
.lead-block__text { color: var(--c-text-sub); }

/* 区切りの装飾ライン */
.deco-line {
  width: 48px; height: 3px;
  background: var(--c-blue-bright);
  border-radius: 3px;
  margin: 0 auto 28px;
}

/* =========================================================
   06. TOP - メインビジュアル（FV）
   ========================================================= */
.mv {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--c-white);
  background:
    linear-gradient(110deg, rgba(6, 24, 47, 0.92) 0%, rgba(13, 47, 92, 0.62) 60%, rgba(13, 47, 92, 0.30) 100%),
    var(--c-navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.mv::after {
  content: "";
  position: absolute;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.mv__inner {
  width: var(--container-w);
  max-width: var(--container);
  margin-inline: auto;
  padding-top: var(--header-h);
  position: relative;
  z-index: 2;
}
.mv__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9cc2ec;
  margin-bottom: 24px;
}
.mv__label::before {
  content: "";
  width: 40px; height: 1px;
  background: #9cc2ec;
}
.mv__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.01em;
}
.mv__title .is-accent {
  color: #7fb4ec;
}
.mv__sub {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.95;
  color: #d6e2f0;
  margin-bottom: 40px;
  max-width: 580px;
}
.mv__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.mv__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}
.mv__scroll-bar {
  width: 1px; height: 48px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  position: relative;
}
.mv__scroll-bar::after {
  content: "";
  position: absolute;
  top: -48px; left: 0;
  width: 1px; height: 48px;
  background: #7fb4ec;
  animation: scrollMove 2s var(--ease) infinite;
}
@keyframes scrollMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

/* =========================================================
   07. TOP - ABOUT
   ========================================================= */
.about {
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about__body .c-heading { text-align: left; margin-bottom: 32px; }
.about__title {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-navy);
  margin-bottom: 28px;
}
.about__text + .about__text { margin-top: 20px; }
.about__text { color: var(--c-text-sub); }
.about__visual { position: relative; }
.about__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.about__visual::before {
  content: "";
  position: absolute;
  right: -22px; bottom: -22px;
  width: 60%; height: 60%;
  background: var(--c-blue-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* =========================================================
   08. TOP - 選ばれる理由（REASON）
   ========================================================= */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reason-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 38px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.reason-card__num {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--c-blue-bright);
  letter-spacing: 0.08em;
}
.reason-card__icon {
  width: 56px; height: 56px;
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-soft);
  border-radius: 14px;
}
.reason-card__icon svg { width: 28px; height: 28px; stroke: var(--c-navy); }
.reason-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.reason-card__text {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.85;
}

/* =========================================================
   09. TOP - 事業内容一覧（BUSINESS カード）
   ========================================================= */
.biz__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.biz-card__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.biz-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.biz-card:hover .biz-card__thumb img { transform: scale(1.06); }
.biz-card__no {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-white);
  background: rgba(13, 47, 92, 0.85);
  padding: 5px 12px;
  border-radius: 999px;
}
.biz-card__body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.biz-card__title {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.biz-card__text {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.85;
  margin-bottom: 22px;
  flex: 1;
}
.biz-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-blue-bright);
}
.biz-card__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.biz-card:hover .biz-card__link svg { transform: translateX(4px); }

/* =========================================================
   10. TOP - 導入の流れ（FLOW）
   ========================================================= */
.flow__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
  margin-inline: auto;
}
.flow-step {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 28px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.flow-step__num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.flow-step__num small {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-blue);
}
.flow-step__num strong {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-navy);
}
.flow-step__body { border-left: 1px solid var(--c-gray-line); padding-left: 28px; }
.flow-step__title {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.flow-step__text { font-size: 0.9rem; color: var(--c-text-sub); }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 64px; bottom: -18px;
  width: 2px; height: 18px;
  background: var(--c-gray-line);
}

/* =========================================================
   11. TOP - 採用バナー（RECRUIT CTA）
   ========================================================= */
.recruit-cta {
  position: relative;
  background:
    linear-gradient(115deg, rgba(6, 24, 47, 0.94), rgba(13, 47, 92, 0.7)),
    var(--c-navy);
  background-size: cover;
  background-position: center;
  color: var(--c-white);
  overflow: hidden;
}
.recruit-cta::before {
  content: "";
  position: absolute;
  left: -60px; top: -60px;
  width: 240px; height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.recruit-cta__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.recruit-cta__label {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9cc2ec;
}
.recruit-cta__title {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 16px 0 18px;
}
.recruit-cta__text {
  color: #d6e2f0;
  margin-bottom: 34px;
}

/* =========================================================
   12. 共通CTA（ページ下部の問い合わせ誘導）
   ========================================================= */
.bottom-cta {
  background: var(--c-blue-soft);
  text-align: center;
}
.bottom-cta__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.bottom-cta__text { color: var(--c-text-sub); margin-bottom: 30px; }
.bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================================================
   13. 会社情報ページ
   ========================================================= */
.company-table {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 22px 18px;
  border-bottom: 1px solid var(--c-gray-line);
  vertical-align: top;
  font-size: 0.95rem;
}
.company-table th {
  width: 220px;
  color: var(--c-navy);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.company-table td { color: var(--c-text-sub); }
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 2px solid var(--c-navy); }

.company-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.mission-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.mission-card__label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-blue-bright);
}
.mission-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 8px 0 14px;
}
.mission-card__text { font-size: 0.92rem; color: var(--c-text-sub); }

/* =========================================================
   14. 事業内容ページ
   ========================================================= */
.service-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 88px);
}
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.service-item:nth-child(even) .service-item__visual { order: 2; }
.service-item__visual { position: relative; }
.service-item__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.service-item__no {
  font-family: var(--font-en);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-blue-bright);
}
.service-item__title {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 700;
  color: var(--c-navy);
  margin: 8px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-gray-line);
}
.service-item__text { color: var(--c-text-sub); }

/* =========================================================
   15. 採用情報ページ
   ========================================================= */
.recruit-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.job-card__icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-soft);
  border-radius: 16px;
}
.job-card__icon svg { width: 30px; height: 30px; stroke: var(--c-navy); }
.job-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
}

.recruit-persona {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
}
.persona-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.98rem;
}
.persona-item__check {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  border-radius: 50%;
}
.persona-item__check svg { width: 14px; height: 14px; stroke: #fff; }

/* =========================================================
   16. お問い合わせページ
   ========================================================= */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 0 auto 56px;
}
.contact-info__item {
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-info__label {
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-blue-bright);
}
.contact-info__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 8px;
}
.contact-info__note { font-size: 0.78rem; color: var(--c-text-sub); }

.contact-form-wrap {
  max-width: 820px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-gray-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

/* Contact Form 7 のスタイル調整 */
.contact-form-wrap .form-row { margin-bottom: 24px; }
.contact-form-wrap .form-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-blue-bright);
  margin-bottom: 8px;
}
.contact-form-wrap .form-label .req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-blue);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.contact-form-wrap .form-label .opt {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--c-text-sub);
  background: var(--c-gray-bg);
  border: 1px solid var(--c-gray-line);
  border-radius: 4px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-text);
  background: var(--c-gray-bg);
  border: 1.5px solid var(--c-gray-line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: var(--c-white);
}
.contact-form-wrap textarea { min-height: 160px; resize: vertical; }
.contact-form-wrap .form-submit { text-align: center; margin-top: 8px; }
.contact-form-wrap input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  padding: 16px 56px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--c-navy);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-form-wrap input[type="submit"]:hover {
  background: var(--c-blue);
  transform: translateY(-3px);
}
/* CF7 のメッセージ表示 */
.wpcf7-not-valid-tip { color: #d8443c; font-size: 0.8rem; }
.wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius) !important;
  font-size: 0.9rem;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #e0a800 !important;
  background: #fff8e6;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2c7fd6 !important;
  background: var(--c-blue-soft);
  color: var(--c-navy);
}

/* =========================================================
   17. フッター
   ========================================================= */
.l-footer {
  background: var(--c-navy-deep);
  color: #c2cfdf;
}
.l-footer__main {
  width: var(--container-w);
  max-width: var(--container);
  margin-inline: auto;
  padding-block: 68px 52px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}
.footer-brand__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand__mark { width: auto; height: 44px; }
.footer-brand__en {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.footer-brand__jp { font-size: 0.72rem; color: #9fb1c6; }
.footer-brand__address {
  font-size: 0.86rem;
  line-height: 1.95;
}
.footer-brand__address dt {
  display: inline-block;
  width: 48px;
  color: #7f93ac;
  font-weight: 700;
}
.footer-brand__address dd { display: inline; margin: 0; }
.footer-brand__address div { margin-bottom: 2px; }

.footer-col__title {
  font-family: var(--font-en);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-nav li { margin-bottom: 12px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #c2cfdf;
}
.footer-nav a::before {
  content: "›";
  color: var(--c-blue);
  font-weight: 700;
}
.footer-nav a:hover { color: #fff; }

.footer-contact__item { margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #7f93ac;
  letter-spacing: 0.08em;
}
.footer-contact__value { color: #fff; font-weight: 700; }
.footer-contact .c-btn { margin-top: 8px; }

.l-footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: #8497ad;
}

/* ページトップへ戻る */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s, background-color 0.3s var(--ease);
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-blue); }
.to-top svg { width: 20px; height: 20px; stroke: #fff; }

/* =========================================================
   18. スクロールアニメーション
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.is-shown { opacity: 1; transform: translateY(0); }
.fade-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-up[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .mv__scroll-bar::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   19. レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .gnav__link { padding: 10px 12px; }
  .reason__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  /* ナビをドロワー化 */
  .hamburger { display: block; }
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;                                   /* ← bottom指定をやめる */
    height: 100vh;                                  /* フォールバック */
    height: calc(100dvh - var(--header-h));         /* 実ビューポート基準 */
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: #081f3d;
    padding: 40px 24px 56px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--anim-ease, ease),
                transform 0.3s var(--anim-ease, ease),
                visibility 0.3s;
  }
  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .gnav__list { flex-direction: column; width: 100%; max-width: 420px; }
  .gnav__item { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .gnav__link {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 18px 8px;
    color: #fff;
  }
  .gnav__link-en { font-size: 1rem; }
  .gnav__link-jp { color: #9cc2ec; font-size: 0.72rem; }
  .gnav__link::after { display: none; }
  .gnav__item.is-current .gnav__link { color: #7fb4ec; }
  .gnav__item.is-current .gnav__link-jp { color: #7fb4ec; }
  .header-cta {
    margin: 26px 0 0;
    padding: 16px 30px;
    font-size: 0.95rem;
  }

  /* TOP / 各セクション */
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { order: -1; max-width: 520px; }
  .biz__grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { grid-template-columns: 1fr; gap: 28px; }
  .service-item:nth-child(even) .service-item__visual { order: -1; }
  .service-item__visual { max-width: 560px; }
  .company-mission { grid-template-columns: 1fr; margin-top: 40px; }
  .recruit-jobs { grid-template-columns: 1fr; }
  .recruit-persona { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .l-footer__main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .reason__grid { grid-template-columns: 1fr; }
  .biz__grid { grid-template-columns: 1fr; }
  .mv { min-height: 88vh; }
  .mv__actions { flex-direction: column; }
  .mv__actions .c-btn { justify-content: center; }
  .c-btn { width: 100%; justify-content: center; }
  .bottom-cta__actions .c-btn,
  .mv__actions .c-btn { width: 100%; }
  .flow-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 22px;
  }
  .flow-step__body { border-left: none; padding-left: 0; }
  .flow-step:not(:last-child)::after { left: 50%; }
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 4px; }
  .company-table td { padding-top: 4px; }
  .company-table tr:first-child td { border-top: none; }
  .to-top { right: 14px; bottom: 14px; }
}

/* =========================================================
   20. ロゴを活かしたデザイン演出（差分追加）
   ========================================================= */

/* --- TOP MV：ロゴの大型透かし --- */
.mv__logo-watermark {
  position: absolute;
  right: -4%;
  top: 46%;
  transform: translateY(-50%);
  width: min(54vw, 720px);
  height: auto;
  z-index: 1;
  opacity: 0.14;
  pointer-events: none;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.3));
  animation: mvLogoFloat 9s ease-in-out infinite;
}
@keyframes mvLogoFloat {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(-54%); }
}

/* --- ABOUT：写真に重ねるロゴバッジ --- */
.about__visual { /* 既存ルールに追従。バッジの基準点を確保 */
  position: relative;
}
.about__logo-badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about__logo-badge img {
  width: 66px;
  height: auto;
}

/* スマホではバッジを少し小さく */
@media (max-width: 600px) {
  .about__logo-badge {
    width: 88px;
    height: 88px;
    left: -14px;
    bottom: -14px;
  }
  .about__logo-badge img { width: 50px; }
  .mv__logo-watermark { opacity: 0.10; width: 78vw; right: -14%; }
}

/* モーション無効設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  .mv__logo-watermark { animation: none; }
}
/* =========================================================
   フッター：遠隔サポート（TeamViewer）
   ========================================================= */

.footer-remote{
  margin-top: 30px;
  padding-top: 30px;
}

.footer-remote__lead {
  font-size: 0.88rem;
  color: #c2cfdf;
  margin-bottom: 14px;
}
.footer-remote__btn {
  position: relative;          /* ラベルの absolute 基準。これが必須 */
  display: inline-block;
  width: 200px;
  line-height: 0;              /* 画像下の余白を除去 */
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s var(--ease, ease),
              box-shadow 0.3s var(--ease, ease);
}
.footer-remote__btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.footer-remote__badge {
  display: block;
  width: 200px;
  height: 125px;
}
.footer-remote__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;                /* バッジ下部のボタン領域に重ねる */
  display: block;
  text-align: center;
  color: #fff;
  font-family: Arial, var(--font-jp, sans-serif);
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;        /* クリックは親リンクに通す */
}
