/* =====================================================
   THE THOR：ヘッダー固定 + 固定ページ被り解消 + TOP透過（mv_top）
   対象：.l-header / パンくずは .wider / TOP FVは .mv_top
   ===================================================== */

/* 1) 高さ定義（必要に応じて調整） */
:root{
  --header-h-pc: 88px;
  --header-h-sp: 64px;
}

/* 2) ヘッダー固定：.l-header のみに限定 */
.l-header{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
  box-shadow: none;
}

/* 管理バー表示時（WP） */
.admin-bar .l-header{ top: 32px; }
@media (max-width: 782px){
  .admin-bar .l-header{ top: 46px; }
}

/* 3) 固定ページの被り解消：パンくずブロック（.wider）を下げる
   ※TOPには通常パンくずが出ないため、影響が局所化して壊れにくい */
.wider{
  padding-top: var(--header-h-pc);
}
@media (max-width: 768px){
  .wider{
    padding-top: var(--header-h-sp);
  }
}

/* 管理バー分も加算（.wider のみ） */
.admin-bar .wider{
  padding-top: calc(var(--header-h-pc) + 32px);
}
@media (max-width: 782px){
  .admin-bar .wider{
    padding-top: calc(var(--header-h-sp) + 46px);
  }
}

/* 4) スクロール後は背景あり（body.is-scrolled が付与される前提） */
body.is-scrolled .l-header{
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}

/* =====================================================
   TOPだけ：mv_top をヘッダーの背後に入れて“透過に見える”状態にする
   （bodyに home/front-page クラスが付く場合のみ有効）
   ===================================================== */

/* TOPだけ：bodyの押し下げを無効化（FVを上に戻す） */
body.home,
body.front-page{
  padding-top: 0 !important;
}
.admin-bar body.home,
.admin-bar body.front-page{
  padding-top: 0 !important;
}

/* TOPだけ：mv_top をヘッダー高さ分だけ上に引き上げる */
body.home .mv_top,
body.front-page .mv_top{
  margin-top: calc(var(--header-h-pc) * -1);
}
@media (max-width: 768px){
  body.home .mv_top,
  body.front-page .mv_top{
    margin-top: calc(var(--header-h-sp) * -1);
  }
}

/* 管理バーがある場合 */
.admin-bar body.home .mv_top,
.admin-bar body.front-page .mv_top{
  margin-top: calc((var(--header-h-pc) + 32px) * -1);
}
@media (max-width: 782px){
  .admin-bar body.home .mv_top,
  .admin-bar body.front-page .mv_top{
    margin-top: calc((var(--header-h-sp) + 46px) * -1);
  }
}

/* mv_top の背景画像を全面に */
.mv_top{
  position: relative;
  overflow: hidden;
}
.mv_top .mv_bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   TOP以外（= パンくず .breadcrumb があるページ）：
   ヘッダー背景を常に #1F1F1F にする
   ===================================================== */

/* 常時黒（スクロール前も） */
body:has(.breadcrumb) .l-header{
  background: #1F1F1F !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* スクロロール後も黒のまま（必要なら影だけ） */
body:has(.breadcrumb).is-scrolled .l-header{
  background: #1F1F1F !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25) !important; /* 任意 */
  backdrop-filter: none !important;
}



/* ============================
   Base Background Color
============================ */
:root{
  --base-bg: #F3F6F9;
}
body{
  background-color: var(--base-bg);
}

/* =========================
   FV（ヒーロー）全幅
========================= */
.mv_top{
  position: relative;
  width: 100%;
  min-height: 100vh;
  /*margin-left: calc(50% - 50vw);
  height: min(75vh, 760px);
  min-height: 520px;
  */
  overflow: hidden;
}

/* 背景画像を全面に */
.mv_top .mv_bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 文字が読めるように暗いオーバーレイ */
.mv_top::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

/* 文字の位置 */
.mv_top .mv_text{
  position: absolute;
  z-index: 2;
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 720px;
}

.mv_top .mv_kicker{
  letter-spacing: .12em;
  opacity: .9;
  margin: 0 0 10px;
}

.mv_top h1{
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.mv_top p{
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  opacity: .95;
}


/* =========================
   下のセクション
========================= */
.top_section{
  padding: 80px 0;
  background: #fff;
}
.top_section_inner{
  width: min(1100px, 90vw);
  margin: 0 auto;
}
.top_section h2{
  font-size: 28px;
  margin: 0 0 12px;
}
.top_section p{
  margin: 0;
  line-height: 1.9;
  color: rgba(0,0,0,.75);
}


/* =========================
   ヘッダーをFV上に重ねる
   ※ここが「THE PORTっぽさ」の核
========================= */
.l-header{
 position: absolute;  /* 固定ではなくFVに重ねる */
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important; 
  z-index: 1000;
}

/* ロゴ・メニューを白に */
.l-header,
.l-header a{
  color: #fff !important;
}


/* =========================
   管理バー対策（これだけに統一）
   - bodyを下げるのはやめる（ズレやすい）
   - ヘッダーだけ下げる
========================= */
body.admin-bar .l-header{
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* スマホ管理バー（保険：変数が効かない環境向け） */
@media (max-width: 782px){
  body.admin-bar .l-header{
    top: 46px !important;
  }
}

/* ============================
   FV 四角アニメ（PORT風）
   ※四角関連はこのブロックに統一（差し替え用）
============================ */

/* レイヤー順を明確化（四角が暗幕に負けないように） */
.mv_top { position: relative; }
.mv_top .mv_bg { position:absolute; inset:0; z-index:0; }
.mv_top::after { z-index:1; }              /* 暗いオーバーレイ */
.mv_top .mv_squares { z-index:2; }         /* 四角 */
.mv_top .mv_text { z-index:3; position:absolute; } /* テキスト最前面 */

/* 四角のコンテナ */
.mv_squares{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;

  /* ▼視認性調整（ここだけ触れば全体が変わります） */
  --sqOpacityAdd: .58;  /* 全体の底上げ：.45 → .58（さらに濃くしたいなら .65 など） */
  --sqOpacityMax: .92;  /* 濃すぎ防止（上限） */
  --sqOutlineA:  .14;   /* 枠線の濃さ（不要なら 0 に） */
}

/* 四角の共通スタイル（CSS変数で個別制御） */
.mv_squares .sq{
  position:absolute;
  width: var(--s, 80px);
  height: var(--s, 80px);
  left: var(--x, 50%);
  top:  var(--y, 50%);
  background: var(--bg, rgba(255,255,255,.18));

  /* 重要：--o の濃淡は残しつつ、全体を底上げ */
  opacity: clamp(0, calc(var(--o, .20) + var(--sqOpacityAdd)), var(--sqOpacityMax));

  /* “THE PORT寄せ”で輪郭を少し立たせる（不要なら --sqOutlineA:0） */
  outline: 1px solid rgba(255,255,255,var(--sqOutlineA));
  outline-offset: -1px;

  border-radius: var(--r, 0px);
  transform: translate3d(0,0,0);
  filter: blur(var(--blur, 0px));
  mix-blend-mode: normal;

  animation:
    mvFloat var(--t, 14s) ease-in-out var(--d, 0s) infinite alternate,
    mvDrift calc(var(--t, 14s) * 1.6) ease-in-out var(--d, 0s) infinite alternate;
}

/* 縦ふわふわ（微妙に拡縮） */
@keyframes mvFloat{
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(0, -18px, 0) scale(1.04); }
  100% { transform: translate3d(0, 12px, 0) scale(.98); }
}

/* 横方向のゆっくり移動（translateプロパティで合成） */
@keyframes mvDrift{
  0%   { translate: 0 0; }
  50%  { translate: 22px 0; }
  100% { translate: -18px 0; }
}

/* 動きが苦手なユーザー配慮 */
@media (prefers-reduced-motion: reduce){
  .mv_squares .sq{ animation: none !important; }
}

/* ============================
   個別設定（20個）
============================ */

/* 大きい・薄め（白系） */
.mv_squares .sq1  { --s: 260px; --x:  8%; --y: 18%; --o: .12; --bg: rgba(255,255,255,.22); --t: 18s; --d: -2s; }
.mv_squares .sq2  { --s: 220px; --x: 72%; --y: 10%; --o: .10; --bg: rgba(255,255,255,.18); --t: 20s; --d: -6s; }
.mv_squares .sq3  { --s: 200px; --x: 88%; --y: 42%; --o: .11; --bg: rgba(255,255,255,.20); --t: 17s; --d: -9s; }

/* 中サイズ・濃いめ（白系） */
.mv_squares .sq4  { --s: 140px; --x: 18%; --y: 58%; --o: .22; --bg: rgba(255,255,255,.32); --t: 13s; --d: -3s; }
.mv_squares .sq5  { --s: 120px; --x: 56%; --y: 34%; --o: .20; --bg: rgba(255,255,255,.28); --t: 15s; --d: -7s; }
.mv_squares .sq6  { --s: 110px; --x: 78%; --y: 70%; --o: .18; --bg: rgba(255,255,255,.26); --t: 14s; --d: -11s; }

/* 小さい・濃いめ（白） */
.mv_squares .sq7  { --s:  64px; --x: 32%; --y: 22%; --o: .32; --bg: rgba(255,255,255,.45); --t: 10s; --d: -1s; }
.mv_squares .sq8  { --s:  54px; --x: 66%; --y: 58%; --o: .28; --bg: rgba(255,255,255,.40); --t: 11s; --d: -8s; }
.mv_squares .sq9  { --s:  42px; --x: 44%; --y: 78%; --o: .26; --bg: rgba(255,255,255,.38); --t: 12s; --d: -4s; }
.mv_squares .sq10 { --s:  36px; --x: 92%; --y: 22%; --o: .30; --bg: rgba(255,255,255,.42); --t: 9s;  --d: -10s; }

/* 黒っぽい四角 */
.mv_squares .sq11 { --s: 180px; --x: 28%; --y: 12%; --o: .14; --bg: rgba(0,0,0,.28); --t: 19s; --d: -5s; }
.mv_squares .sq12 { --s: 150px; --x: 60%; --y: 20%; --o: .16; --bg: rgba(0,0,0,.30); --t: 16s; --d: -12s; }
.mv_squares .sq13 { --s: 120px; --x: 84%; --y: 54%; --o: .18; --bg: rgba(0,0,0,.32); --t: 14s; --d: -6s; }

/* グレー系 */
.mv_squares .sq14 { --s:  96px; --x: 10%; --y: 70%; --o: .20; --bg: rgba(120,130,140,.30); --t: 13s; --d: -9s; }
.mv_squares .sq15 { --s:  80px; --x: 52%; --y: 12%; --o: .22; --bg: rgba(120,130,140,.34); --t: 12s; --d: -2s; }
.mv_squares .sq16 { --s:  70px; --x: 74%; --y: 40%; --o: .18; --bg: rgba(120,130,140,.28); --t: 11s; --d: -7s; }

/* 小さめ濃い */
.mv_squares .sq17 { --s:  44px; --x: 22%; --y: 40%; --o: .34; --bg: rgba(0,0,0,.38); --t: 10s; --d: -3s; }
.mv_squares .sq18 { --s:  40px; --x: 58%; --y: 66%; --o: .30; --bg: rgba(255,255,255,.46); --t: 9s;  --d: -11s; }
.mv_squares .sq19 { --s:  34px; --x: 14%; --y: 26%; --o: .28; --bg: rgba(0,0,0,.34); --t: 8.5s;--d: -6s; }
.mv_squares .sq20 { --s:  30px; --x: 90%; --y: 78%; --o: .26; --bg: rgba(255,255,255,.40); --t: 8s;  --d: -9s; }



/* ============================
   NEWS / お知らせ（THE PORT風）
   ※ .p-news 配下のみ
============================ */

.p-news{
  background:#D0D9E1;
  padding: 120px 0;
}

.p-news__inner{
  width: min(1200px, 92vw);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 72px;
  align-items: start;
}

/* 左：見出し */
.p-news__head{
  position: relative;
}

.p-news__ttl{
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: .02em;
}

/* 右：一覧 */
.p-news__body{
  position: relative;
}

.p-news__list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,.12);
}

.p-news__item{
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.p-news__link{
  display: grid;
  grid-template-columns: 120px 92px 1fr;
  gap: 18px;
  align-items: center;

  padding: 22px 0;
  color: inherit;
  text-decoration: none;

  transition: opacity .2s ease;
}

.p-news__link:hover{
  opacity: .75;
}

.p-news__date{
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(0,0,0,.72);
  white-space: nowrap;
}

.p-news__cat{
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(0,0,0,.62);
  white-space: nowrap;
}

.p-news__text{
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.6;
  color: rgba(0,0,0,.88);

  /* 長いタイトルの保険（1行に収めたい場合） */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 右下：View All */
.p-news__footer{
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
}

.p-news__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 180px;
  height: 56px;

  background: #0b0f16;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;

  transition: transform .2s ease, opacity .2s ease;
}

.p-news__btn:hover{
  opacity: .9;
  transform: translateY(-1px);
}

/* ----------------------------
   レスポンシブ
---------------------------- */
@media (max-width: 980px){
  .p-news{
    padding: 88px 0;
  }

  .p-news__inner{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .p-news__ttl{
    font-size: clamp(38px, 8vw, 56px);
  }

  .p-news__link{
    grid-template-columns: 110px 84px 1fr;
    padding: 18px 0;
  }

  .p-news__btn{
    width: 160px;
    height: 52px;
  }
}

@media (max-width: 600px){
  .p-news{
    padding: 72px 0;
  }

  .p-news__link{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .p-news__date, .p-news__cat{
    display: inline-block;
  }

  .p-news__text{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .p-news__footer{
    margin-top: 28px;
  }
}

/* ロゴ（カスタマイズで設定したロゴ）のサイズを大きくする */
.siteTitle__link img,
.siteTitle__link .custom-logo,
.custom-logo {
  height: 70px;      /* ←ここを大きくする（例：34〜48px） */
  width: auto;
  max-height: none;  /* テーマのmax-height制限を解除 */
  max-width: none;   /* テーマのmax-width制限を解除（必要な場合） */
}

/* スマホ */
@media (max-width: 782px){
  .siteTitle__link img,
  .siteTitle__link .custom-logo,
  .custom-logo{
    height: 30px;    /* ←スマホ用（例：26〜36px） */
  }
}

/* ============================
   MV下の中央寄せメッセージ（白背景）
============================ */
.home-lead{
  background: #fff;
  padding: 110px 20px; /* ←上下の余白（高さ）はここで調整 */
}

.home-lead__inner{
  max-width: 980px;    /* ←NEWSと幅を揃えたい場合は、後でここを合わせます */
  margin: 0 auto;
  text-align: center;
}

.home-lead__title{
  margin: 0;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.6;
  letter-spacing: .02em;
  color: #111;
}

.home-lead__line{
  width: 140px;
  height: 4px;
  background: #111;    /* ←黄色→黒 */
  margin: 22px auto 0;
}

.home-lead__text{
  margin-top: 34px;
  color: #111;
}

.home-lead__text p{
  margin: 0 0 18px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 2.1;
  letter-spacing: .02em;
}

.home-lead__text p:last-child{
  margin-bottom: 0;
}

/* スマホ時に改行が詰まりすぎる場合 */
@media (max-width: 767px){
  .home-lead{
    padding: 80px 18px;
  }
  .home-lead__line{
    width: 110px;
  }
  .home-lead__text p{
    line-height: 2.0;
  }
}

/* ===== INLINKS FEATURES ===== */
.inlinks-features{
  padding: 80px 0;
}
.inlinks-features__inner{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===== FEATURES heading (GREETING-like) : #features only ===== */
/* ※あなたのHTMLは h2 が .inlinks-features__inner 直下にあるため、親(.inlinks-feature-head)前提は使いません */
#features .inlinks-feature-head__en{
  display: block;                 /* h2 をブロックとして扱う */
  text-align: center;             /* 文字を中央寄せ */
  margin: 0 auto 56px;            /* 下の余白（必要なら調整） */

  font-weight: 800;
  letter-spacing: .14em;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;

  color: #1f1f1f;                 /* その他の色 */
  position: relative;             /* 下線用 */
  padding-bottom: 16px;           /* 下線との間隔 */
}

/* 3,4文字目（AT）の色 */
#features .inlinks-feature-head__accent{
  color: #8a742f;
  display: inline;
}

#features .inlinks-feature-head__en::after{
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 18px auto 0;
  width: 160px;
  height: 5px;
  background: #2f6f5f;
  border-radius: 2px;
}

/* item */
.inlinks-feature{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}
.inlinks-feature + .inlinks-feature{
  border-top: 1px solid rgba(0,0,0,.08);
}

/* reverse（PCだけ交互） */
.inlinks-feature--reverse .inlinks-feature__text{ order: 2; }
.inlinks-feature--reverse .inlinks-feature__media{ order: 1; }

.inlinks-feature__kicker{
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: .75;
}
.inlinks-feature__heading{
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.35;
  margin: 0 0 14px;
}
.inlinks-feature__body{
  margin: 0;
  line-height: 1.9;
  opacity: .92;
}

/* image */
.inlinks-feature__media{
  margin: 0;
}
.inlinks-feature__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* SP */
@media (max-width: 900px){
  .inlinks-features{ padding: 56px 0; }

  #features .inlinks-feature-head__en{
    margin-bottom: 40px;
    letter-spacing: .20em;
    padding-bottom: 14px;
  }
  #features .inlinks-feature-head__en::after{
    width: 52px;
  }

  .inlinks-feature{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }
  .inlinks-feature--reverse .inlinks-feature__text,
  .inlinks-feature--reverse .inlinks-feature__media{
    order: initial;
  }
}


/* ============================
   Links（NEWS下） - 2ボックス導線
============================ */

.sec-links{
  background: #D0D9E1; /* NEWSと同じ */
  padding: clamp(40px, 5vw, 70px) 0;
}

.sec-links__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.sec-links__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 28px);
}

/* ============================
   Links（NEWS下） - 2カード導線（カード全体がリンク）
============================ */

.sec-links{
  background: #D0D9E1;
  padding: clamp(40px, 5vw, 70px) 0;
}

.sec-links__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.sec-links__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 28px);
}

/* カード全体がリンク */
.sec-links__item{
  /* aタグのデフォルトをリセット */
  display: grid;
  gap: 14px;
  align-content: center;

  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  padding: clamp(22px, 3vw, 36px);
  min-height: 220px;

  /* hover演出 */
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* hoverで白っぽく */
.sec-links__item:hover{
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* キーボード操作（重要） */
.sec-links__item:focus-visible{
  outline: 3px solid rgba(0,0,0,.18);
  outline-offset: 4px;
}

/* 見出し・本文 */
.sec-links__title{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: .02em;
  color: #111;
}

.sec-links__text{
  margin: 0;
  color: rgba(0,0,0,.78);
  line-height: 1.9;
  font-size: 15px;
  max-width: 34em;
}

/* CTAは“ボタン枠”にせず、テキスト導線として見せる */
.sec-links__cta{
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(0,0,0,.88);
}

/* 矢印（任意。不要ならこの2つ消してOK） */
.sec-links__cta::after{
  content: "→";
  font-weight: 700;
  opacity: .75;
  transition: transform .18s ease;
}
.sec-links__item:hover .sec-links__cta::after{
  transform: translateX(3px);
}

/* カード別の色味（必要なら。不要なら丸ごと削除OK） */
.sec-links__item.is-business{
  background: rgba(255,255,255,.92);
}
.sec-links__item.is-recruit{
  background: rgba(255,255,255,.92);
}

/* レスポンシブ：縦積み */
@media (max-width: 900px){
  .sec-links__grid{ grid-template-columns: 1fr; }
  .sec-links__item{ min-height: auto; }
}

/* ============================
   Footer CTA（会社情報＋お問い合わせ）
============================ */

.footer-cta{
  /* 背景：必要なら #D0D9E1 に寄せてもOK */
  background: #f3f6f9;
  padding: clamp(26px, 3.2vw, 44px) 0;
}

.footer-cta__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 左：会社情報 */
.footer-cta__name{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #111;
}

.footer-cta__addr{
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* 右：ボタン */
.footer-cta__btn{
  /* ボタン色（ここだけ好みで調整） */
  --btn-bg: #8da0b6;       /* 通常 */
  --btn-bg-hover: #a6b6c9; /* ホバー（白っぽく） */

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

  min-width: 280px;
  padding: 18px 28px;

  background: var(--btn-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;

  border-radius: 4px;
  transition: background-color .2s ease, transform .2s ease, filter .2s ease;
}

.footer-cta__btn:hover{
  background: var(--btn-bg-hover);
  filter: saturate(.95);
  transform: translateY(-1px);
}

.footer-cta__btn:focus-visible{
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}

/* SP：会社情報 → ボタン（縦積み） */
@media (max-width: 768px){
  .footer-cta__inner{
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .footer-cta__btn{
    width: 100%;
    min-width: 0;
  }
}

/* ============================
   HOME LEAD 見出し（特徴）調整
============================ */
.home-lead .home-lead__title{
  color: #04354D;                 /* ←見出しカラー */
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 40px);  /* ←サイズ */
  line-height: 1.35;
  letter-spacing: .03em;
}

/* 下線（ライン）も合わせて変更するなら */
.home-lead .home-lead__line{
  background: #2F6F63;            /* ←アクセント色 */
  width: 160px;                   /* ←長さ */
  height: 4px;                    /* ←太さ */
  margin: 18px auto 0;
}

@media (max-width: 767px){
  .home-lead .home-lead__title{
    font-size: 22px;
    line-height: 1.4;
  }
  .home-lead .home-lead__line{
    width: 120px;
  }
}

.home-lead .home-lead__title{
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  font-weight: 700;
}

/* ============================
   Feature（英字）だけゴシック体
============================ */
.home-lead__title .en{
  font-family: "Noto Sans JP", sans-serif; /* ゴシック体 */
  font-size: 1.25em;       /* Featureだけ少し大きく */
  font-weight: 700;        /* しっかり太く */
  letter-spacing: .12em;   /* 英字らしさ */
}

@media (max-width: 767px){
  .home-lead__title .en{
    font-size: 1.15em;
  }
}

/* ============================
   HOME LEAD Title
============================ */
.home-lead .home-lead__title{
  margin: 0;
  text-align: center;
  line-height: 1;
}

/* 英字：大きく・字間広め */
.home-lead .home-lead__en{
  display: block;
  font-size: clamp(32px, 4.5vw, 64px);
  letter-spacing: .14em;
  font-weight: 800;
  color: #1f1f1f;
}

/* 一部だけアクセント色（ゴールド寄り・可愛くならない） */
.home-lead .home-lead__en .is-accent{
  color: #8a742f;
}

/* 日本語：小さく下に */
.home-lead .home-lead__jp{
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: .08em;
  font-weight: 700;
  color: #04354D;
}

/* SP微調整 */
@media (max-width: 767px){
  .home-lead .home-lead__jp{
    font-size: 13px;
  }
}

/* =========================================
   SERVICE page (Classic Editor) for THE THOR
   Page-ID不要版：.inlinks-service があるページだけに適用
   ※Chrome対応の :has() で “このページだけ” を実現
   ========================================= */

/* -------------------------------
   0) このページだけ：テーマ側タイトル/アイキャッチを非表示
body:has(.inlinks-service) .entry-title,
body:has(.inlinks-service) .post-title,
body:has(.inlinks-service) .c-postTitle,
body:has(.inlinks-service) .c-ttl{
  display: none !important;
}
   ------------------------------- */

/* 「No Image」等のアイキャッチ枠：テーマ差分があるため候補を広めに */
body:has(.inlinks-service) .post_thumbnail,
body:has(.inlinks-service) .post-thumb,
body:has(.inlinks-service) .eyecatch,
body:has(.inlinks-service) .c-eyecatch,
body:has(.inlinks-service) .p-eyecatch,
body:has(.inlinks-service) .article-eyecatch,
body:has(.inlinks-service) .single-thumbnail,
body:has(.inlinks-service) .wp-post-image,
body:has(.inlinks-service) .no_image{
  display: none !important;
}

/* -------------------------------
   1) ラッパー（この中だけデザイン）
   ------------------------------- */
.inlinks-service{
  --svc-max: 1100px;
  --svc-pad: 24px;
  --svc-text: #1a1a1a;
  --svc-muted: #666;
  --svc-bg-soft: #f5f7fa;
  --svc-border: rgba(0,0,0,.08);
  --svc-accent: currentColor; /* トンマナ統一：基本は継承 */
  color: var(--svc-text);
  line-height: 1.9;
}

/* コンテナ */
.inlinks-service .svc-container{
  max-width: var(--svc-max);
  margin: 0 auto;
  padding: 0 var(--svc-pad);
}

/* -------------------------------
   2) HERO（FV）
   ------------------------------- */
.inlinks-service .svc-hero{
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f2a34, #0f141a);
  overflow: hidden;
}
.inlinks-service .svc-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.inlinks-service .svc-hero::after{
  /* 軽量な疑似表現（画像なしで雰囲気） */
  content:"";
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 2px) 10% 20%/120px 120px,
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 2px) 60% 30%/160px 160px;
  opacity:.55;
  transform: rotate(-8deg);
  pointer-events:none;
}
.inlinks-service .svc-hero__inner{
  position: relative;
  z-index: 1;
  padding: 56px var(--svc-pad);
}
.inlinks-service .svc-hero__title{
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: .12em;
  text-align: center;
  color: #fff;
}

/* Breadcrumb（テーマのパンくずを使うなら HTML側のbreadcrumbは削除推奨） */
.inlinks-service .svc-breadcrumb{
  max-width: var(--svc-max);
  margin: 0 auto;
  padding: 14px var(--svc-pad);
  font-size: 12px;
  color: rgba(0,0,0,.65);
}
.inlinks-service .svc-breadcrumb__link{
  color: inherit;
  text-decoration: none;
}
.inlinks-service .svc-breadcrumb__link:hover{
  text-decoration: underline;
}
.inlinks-service .svc-breadcrumb__sep{
  margin: 0 8px;
  opacity: .7;
}

/* -------------------------------
   3) Section common
   ------------------------------- */
.inlinks-service .svc-section{
  padding: 30px 0;
}
.inlinks-service .svc-section__head{
  margin-bottom: 24px;
}
.inlinks-service .svc-section__head--center{
  text-align: center;
}
.inlinks-service .svc-eyebrow{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.inlinks-service .svc-h2{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .02em;
}
.inlinks-service .svc-h3{
  margin: 0 0 10px;
  font-size: 18px;
}
.inlinks-service .svc-lead p{
  margin: 0 0 10px;
  color: rgba(0,0,0,.78);
}

/* Split */
.inlinks-service .svc-split{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.inlinks-service .svc-split__item{
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: 12px;
  padding: 22px;
}
.inlinks-service .svc-area__badge{
  display: inline-block;
  margin: 6px 0 10px;
  padding: 4px 10px;
  border: 1px solid var(--svc-border);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(0,0,0,.75);
}

/* -------------------------------
   4) Feature
   ------------------------------- */
.inlinks-service .svc-feature{
  background: var(--svc-bg-soft);
}
.inlinks-service .svc-feature__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.inlinks-service .svc-feature__card{
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: 14px;
  padding: 22px;
}
.inlinks-service .svc-feature__icon{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--svc-border);
  border-radius: 999px;
  margin-bottom: 12px;
  color: rgba(0,0,0,.78);
}
.inlinks-service .svc-feature__title{
  margin: 0 0 8px;
  font-size: 16px;
}
.inlinks-service .svc-feature__text{
  margin: 0;
  color: rgba(0,0,0,.72);
  font-size: 14px;
}

/* -------------------------------
   5) Services（参考デザイン寄せ：背景画像＋右側画像）
   ※HTMLの各svc-serviceに
     --svc-bgimg:url('...'); --svc-sideimg:url('...');
     が入っている前提
   ------------------------------- */
.inlinks-service .svc-services{
  padding-top: 0;
}

/* 各Serviceセクション：背景画像＋暗めオーバーレイ */
.inlinks-service .svc-service{
  position: relative;
  padding: 0 0 72px;
  background: #0f141a; /* 画像未設定時のフォールバック */
  overflow: hidden;
}
.inlinks-service .svc-service::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--svc-bgimg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(.95);
}
.inlinks-service .svc-service::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
  pointer-events:none;
}

/* 見出し帯 */
.inlinks-service .svc-service__band{
  position: relative;
  z-index: 1;
  padding: 70px 0 28px;
}
.inlinks-service .svc-service__label{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.80);
  text-transform: uppercase;
}
.inlinks-service .svc-service__name{
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  color: #fff;
  letter-spacing: .04em;
}
.inlinks-service .svc-service__line{
  display: inline-block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: rgba(255,255,255,.65);
}

/* 本文カード：左右2カラム */
.inlinks-service .svc-card{
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  overflow: hidden;
}
.inlinks-service .svc-card--split{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

/* 左：テキスト */
.inlinks-service .svc-card__text{
  padding: 34px;
}
.inlinks-service .svc-card__body{
  padding: 0; /* splitではテキスト側で余白管理 */
}
.inlinks-service .svc-card__body p{
  margin: 0 0 12px;
  color: rgba(0,0,0,.78);
}
.inlinks-service .svc-card__body p:last-child{
  margin-bottom: 0;
}

/* 右：画像 */
.inlinks-service .svc-card__media{
  background-image: var(--svc-sideimg);
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

/* -------------------------------
   6) Responsive
   ------------------------------- */
@media (max-width: 960px){
  .inlinks-service .svc-split{
    grid-template-columns: 1fr;
  }
  .inlinks-service .svc-feature__grid{
    grid-template-columns: 1fr;
  }

  /* Service：SPは縦並び */
  .inlinks-service .svc-service__band{
    padding: 56px 0 22px;
  }
  .inlinks-service .svc-card--split{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .inlinks-service .svc-card__text{
    padding: 22px;
  }
  .inlinks-service .svc-card__media{
    min-height: 200px;
  }
}
/* 黒背景（=svc-service）の“余白”を短くして高さを詰める */
.inlinks-service .svc-service{
  padding-bottom: 28px; /* 72px → 28px に短縮（まずはここから） */
}

/* 白枠カードの下に余白が必要ならカード側に持たせる（任意） */
.inlinks-service .svc-card{
  margin-bottom: 24px; /* 黒背景を短くした分、ページ全体の余白をここで確保 */
}

/* =========================================
   Intro（1枚目）を参考（2枚目）寄せ：中央寄せ＋下線＋段落整形
   ========================================= */
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-intro .svc-section__head{
  text-align: center;
  margin-bottom: 18px;
}

:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-intro .svc-eyebrow{
  letter-spacing: .22em;
  margin-bottom: 10px;
}

:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-intro .svc-h2{
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 0;
}

:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-intro .svc-h2::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140px;
  height: 2px;
  background: rgba(0,0,0,.28);
  transform: translateX(-50%);
}

@media (max-width: 960px){
  :where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-intro .svc-h2::after{
    width: 110px;
  }
}


/* =========================================
   THE THORのページタイトル(H1)をFV風にする
   ヘッダー → タイトル → パンくず の順を作る
   ========================================= */

/* タイトルをFV化（全幅） */
body:has(.inlinks-service) .entry-title,
body:has(.inlinks-service) .post-title,
body:has(.inlinks-service) .c-postTitle,
body:has(.inlinks-service) .c-ttl{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 64px 24px;
  min-height: 280px;
  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #1f2a34, #0f141a);
  color: #fff;
  text-align: center;
  letter-spacing: .12em;
  font-size: clamp(32px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

/* オーバーレイ */
body:has(.inlinks-service) .entry-title::before,
body:has(.inlinks-service) .post-title::before,
body:has(.inlinks-service) .c-postTitle::before,
body:has(.inlinks-service) .c-ttl::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
  pointer-events:none;
}

/* 背景の軽い粒表現（任意） */
body:has(.inlinks-service) .entry-title::after,
body:has(.inlinks-service) .post-title::after,
body:has(.inlinks-service) .c-postTitle::after,
body:has(.inlinks-service) .c-ttl::after{
  content:"";
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 2px) 10% 20%/120px 120px,
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 2px) 60% 30%/160px 160px;
  opacity:.55;
  transform: rotate(-8deg);
  pointer-events:none;
}

/* タイトル文字を前面に */
body:has(.inlinks-service) .entry-title,
body:has(.inlinks-service) .post-title,
body:has(.inlinks-service) .c-postTitle,
body:has(.inlinks-service) .c-ttl{
  z-index: 1;
}

/* h1を2行固定にする */
.mv_top .mv_title__line{
  display: block;
  white-space: nowrap;  /* ←行内で絶対に折り返さない */
}

/* 画面が狭いPCでも収まるように、自動で縮む */
.mv_top .mv_title{
  font-size: clamp(28px, 4.6vw, 64px); /* ←縮む余地を残す */
  line-height: 1.1;
  margin: 0 0 16px;
}

/* ===== 全体フォント置き換え ===== */
body{
  font-family:
    "Inter",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
}

/* =====================================================
   固定ページ：タイトル帯（まずはサービスのみ）
   ※このブロックで「タイトル帯関連CSS」を丸ごと置き換え
   ===================================================== */

/* 0) 画像は後から差し替え（CSS変数） */
body .inlinks-page-hero{
  --hero-bg: url("http://xs676505.xsrv.jp/inlinks/wp-content/uploads/2026/01/service.jpg");
}

/* 1) タイトル帯本体（SERVICEページだけ） */
body .inlinks-page-hero.is-service{
  position: relative;

  /* 高さ：現状240px→約1.5倍 */
  min-height: 360px;

  display: flex;
  align-items: center;            /* 縦方向：中央寄せ */
  color: #fff;

  background:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 2) 中身の幅（サイトのコンテンツ幅に合わせる）
      ※ここで“左の位置”が決まるので text-align は触らない */
body .inlinks-page-hero__inner{
  width: min(1100px, 92%);
  margin: 0 auto;

  /* 帯の高さは min-height で担保するので、
     paddingは“微調整”として控えめに */
  padding: 0;
}

/* 3) 英字ラベル */
body .inlinks-page-hero__eyebrow{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  opacity: .9;
}

/* 4) タイトル（縦ズレの原因：padding-topを撤去） */
body .inlinks-page-hero__title{
  margin: 0;
  padding: 0;                    /* ← 30px を消して中央寄せに戻す */

  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  font-weight: 800;

  /* 既存の“左右位置”を崩さないため、中央寄せ指定はしない */
  text-align: left;

  /* 折り返し許可（SPで崩れにくくする） */
  white-space: normal;
}

/* 5) パンくず上の隙間を詰める（現状の意図を維持） */
.inlinks-page-hero{
  margin: 0 !important;
}
.inlinks-page-hero + .wider{
  margin: 0 !important;
  padding: 0 !important;
}
.inlinks-page-hero + .wider .breadcrumb{
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.inlinks-page-hero + .wider > *{
  margin-top: 0 !important;
}

/* SP：高さも約1.5倍（180px→270px） */
@media (max-width: 768px){
  body .inlinks-page-hero.is-service{
    min-height: 270px;
  }

  body .inlinks-page-hero__inner{
    padding: 0;
  }

  /* タイトルが長いページでも破綻しにくいように */
  body .inlinks-page-hero__title{
    font-size: clamp(22px, 5.2vw, 34px);
  }
}

@media (max-width: 782px){

  /* H1サイズをスマホ向けに調整 */
  .mv_title{
    font-size: clamp(22px, 7vw, 34px) !important;
    line-height: 1.15 !important;
  }

  /* ここが本丸：nowrapを解除して折り返しOKにする */
  .mv_title__line{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* ついでにpも幅に収めやすく */
  .mv_text > p{
    margin: 12px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}

/* globalNavi の装飾（赤背景や矢印）の疑似要素を無効化 */
body .globalNavi::before,
body .globalNavi::after{
  content: none !important;
  display: none !important;
  background: transparent !important;
}


/* ===== 共通：SERVICE と COMPANY で同一の見出しデザインを使う ===== */
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-section{
  padding: 30px 0;
}
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-section__head{
  margin-bottom: 24px;
}
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-section__head--center{
  text-align: center;
}
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-eyebrow{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-h2{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .02em;
}

/* ===== 見出しズレ対策：テーマ側の h2 margin(40px) を確実に打ち消す ===== */
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-section__head .svc-h2{
  margin: 0 !important;        /* ← これが最重要（margin-top:40pxを潰す） */
  line-height: 1.25;
}

/* eyebrow と h2 の間隔もここで統一 */
:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-section__head .svc-eyebrow{
  margin: 0 0 10px;            /* SERVICEと同じ見え方に寄せる */
}

/* ===== GoogleMAP：会社概要テーブル（.company-table）と同じ幅に揃える ===== */
.inlinks-company .company-map__embed{
  width: 100%;
  max-width: 980px;   /* ← テーブルの実幅に合わせて後で微調整（まずは仮） */
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 16px;
}

.inlinks-company .company-map__embed iframe{
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 960px){
  .inlinks-company .company-map__embed{
    max-width: none;  /* SPはコンテナ幅いっぱい */
  }
  .inlinks-company .company-map__embed iframe{
    height: 320px;
  }
}

/* ===== RECRUIT page ===== */
.inlinks-recruit .recruit-lead{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.9;
}

.inlinks-recruit .recruit-lead p{
  margin: 0 0 10px;
}

/* table */
.inlinks-recruit .recruit-table{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-collapse: collapse;
}

.inlinks-recruit .recruit-table th,
.inlinks-recruit .recruit-table td{
  border-bottom: 1px solid rgba(0,0,0,.12);
  padding: 14px 12px;
  vertical-align: top;
  line-height: 1.8;
}

.inlinks-recruit .recruit-table th{
  width: 28%;
  background: #7a7a7a;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* flow */
.inlinks-recruit .recruit-steps{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.inlinks-recruit .recruit-step{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
}

.inlinks-recruit .recruit-step__no{
  display: inline-block;
  margin-right: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  opacity: .65;
}

/* CTA button */
.inlinks-recruit .recruit-apply__body{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.9;
}

.inlinks-recruit .recruit-apply__cta{
  margin-top: 18px;
}

.inlinks-recruit .recruit-btn{
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.inlinks-recruit .recruit-btn:hover{
  opacity: .9;
}

/* SP */
@media (max-width: 960px){
  .inlinks-recruit .recruit-table th{
    width: 34%;
    white-space: normal;
  }
  .inlinks-recruit .recruit-steps{
    grid-template-columns: 1fr;
  }
}

:where(.inlinks-service, .inlinks-company, .inlinks-recruit, .inlinks-inquiry) .svc-lead--center{
  text-align: center;
}

/* ===== CF7 form (Inquiry) ===== */
.inlinks-cf7 .inlinks-form{
  width: min(900px, 92%);
  margin: 0 auto;
}

.inlinks-cf7 .inlinks-form__row{
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid rgba(0,0,0,.08);
  border-bottom: none;
  background: #fff;
}

.inlinks-cf7 .inlinks-form__row:last-of-type{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.inlinks-cf7 .inlinks-form__label{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: rgba(0,0,0,.06);
  font-weight: 700;
}

.inlinks-cf7 .inlinks-form__labeltext{
  line-height: 1.3;
}

.inlinks-cf7 .inlinks-badge{
  display: inline-block;
  min-width: 44px;
  text-align: center;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
  border-radius: 2px;
  font-weight: 700;
}

.inlinks-cf7 .inlinks-badge.is-required{
  background: #b60000;
  color: #fff;
}

.inlinks-cf7 .inlinks-badge.is-optional{
  background: rgba(0,0,0,.45);
  color: #fff;
}

.inlinks-cf7 .inlinks-form__field{
  padding: 16px;
  background: #fff;
}

.inlinks-cf7 .inlinks-form__field input[type="text"],
.inlinks-cf7 .inlinks-form__field input[type="email"],
.inlinks-cf7 .inlinks-form__field input[type="tel"],
.inlinks-cf7 .inlinks-form__field select,
.inlinks-cf7 .inlinks-form__field textarea{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 2px;
  background: #fff;
}

.inlinks-cf7 .inlinks-form__field textarea{
  min-height: 220px;
  resize: vertical;
}

.inlinks-cf7 .wpcf7-not-valid-tip{
  margin-top: 8px;
}

.inlinks-cf7 .inlinks-form__actions{
  width: min(900px, 92%);
  margin: 18px auto 0;
  text-align: left;
}

.inlinks-cf7 .inlinks-submit{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.25);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* SP: 1カラム */
@media (max-width: 768px){
  .inlinks-cf7 .inlinks-form__row{
    grid-template-columns: 1fr;
  }
  .inlinks-cf7 .inlinks-form__label{
    padding: 14px 14px;
  }
  .inlinks-cf7 .inlinks-form__field{
    padding: 14px;
  }
}

/* ===== CF7 submit button (pill) ===== */
.inlinks-cf7 .inlinks-form__actions{
  width: min(900px, 92%);
  margin: 28px auto 0;
  text-align: center; /* 中央寄せ */
}

/* CF7のsubmitは input[type=submit] になることが多いので両対応 */
.inlinks-cf7 input.inlinks-submit,
.inlinks-cf7 .inlinks-submit{
  appearance: none;
  -webkit-appearance: none;

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

  padding: 18px 44px;
  min-width: 260px;

  border: none;
  border-radius: 999px;

  background: #111;
  color: #fff;

  font-weight: 700;
  letter-spacing: .04em;

  cursor: pointer;
  transition: transform .08s ease, opacity .2s ease;
}

.inlinks-cf7 input.inlinks-submit:hover,
.inlinks-cf7 .inlinks-submit:hover{
  opacity: .92;
}

.inlinks-cf7 input.inlinks-submit:active,
.inlinks-cf7 .inlinks-submit:active{
  transform: translateY(1px);
}

@media (max-width: 768px){
  .inlinks-cf7 input.inlinks-submit,
  .inlinks-cf7 .inlinks-submit{
    width: 100%;
    min-width: 0;
    max-width: 420px;
  }
}

/* 白枠内の右側画像：切らずに全体を収める */
.inlinks-service .svc-card__media{
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ===== Privacy Policy H2 : fixed-page heading design ===== */
.inlinks-privacy .svc-section__head{
  text-align: center;
}

.inlinks-privacy .svc-section__head .svc-h2{
  position: relative;
  display: inline-block;      /* h2を中央に置く */
  padding-bottom: 14px;       /* 下線との距離（既存に合わせて調整） */
}

.inlinks-privacy .svc-section__head .svc-h2::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140px;              /* 他ページと同じ値に */
  height: 2px;
  background: rgba(0,0,0,.28);
  transform: translateX(-50%);
}


/* ===== Privacy Policy : eyebrow spacing fix ===== */
.inlinks-privacy .svc-section__head > p{
  margin: 0 0 14px;   /* 英字とh2の間隔を詰める */
}

.inlinks-privacy .svc-section__head .svc-h2{
  margin-top: 0;      /* 念のため上マージンを打ち消し */
}

.cf7-privacy-note{
  margin: 10px 0 14px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.cf7-privacy-note a{
  text-decoration: underline;
}

