/*
Theme Name: SKYY Transport
Theme URI: https://hakopro.jp/company/83536
Author: BESTRUCK
Description: 有限会社SKYY（兵庫県神戸市東灘区）向けコーポレートサイト用テーマ。テンプレート選択でページを表示し、CSS変数で配色・フォントを後から変更できる構成です。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tofu-consulting
*/

/* ============================================================
   デザイントークン（ここを変えればサイト全体の見た目が変わります）
   ============================================================ */
:root {
  /* 配色 */
  --color-bg: #FFFFFF;
  --color-text: #142033;
  --color-text-sub: #5A6776;
  --color-accent: #0F4C81;
  --color-accent-dark: #0A3358;
  --color-accent-light: #5AA9E6;
  --color-ink: #0A1726;            /* 濃紺：フッター/ダーク面 */
  --color-surface: #F4F7FB;
  --color-surface-2: #EDF2F8;
  --color-border: #E5EBF2;
  --color-white: #FFFFFF;

  /* フォント */
  --font-base: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;

  /* タイポグラフィ */
  --fs-hero: clamp(2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 3.2vw, 2.5rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --lh-base: 1.85;

  /* レイアウト */
  --max-width: 1160px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --section-pad: clamp(64px, 9vw, 128px);

  /* その他 */
  --shadow-sm: 0 2px 8px rgba(20, 40, 70, 0.06);
  --shadow: 0 14px 40px rgba(20, 40, 70, 0.10);
  --shadow-lg: 0 30px 70px rgba(20, 40, 70, 0.16);
  --transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================================================
   ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--lh-base);
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--color-accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }
.section--surface {
  background-color: var(--color-surface);
  background-image: radial-gradient(rgba(15, 76, 129, 0.05) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
}

/* 英字見出し + 日本語見出しのセット */
.heading-en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.heading-en::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.75;
}
.text-center .heading-en { justify-content: center; }
.heading-jp {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}
/* 中央見出しに短いアクセント下線（参考サイトの作法） */
.text-center .heading-jp { position: relative; padding-bottom: 24px; margin-bottom: 28px; }
.text-center .heading-jp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
}
.section-lead { color: var(--color-text-sub); max-width: 720px; font-size: 1.05rem; }
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.28);
}
.btn--primary:hover { background: var(--color-accent-dark); color: var(--color-white); box-shadow: 0 16px 32px rgba(15, 76, 129, 0.34); }
.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--secondary:hover { background: var(--color-accent); color: var(--color-white); }
.btn--ghost {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--outline {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: none;
}
.btn--outline:hover { background: var(--color-accent); color: var(--color-white); }
.header-cta-desktop { min-height: 44px; padding: 9px 24px; }

/* ============================================================
   画像プレースホルダー（実画像はアイキャッチ画像で差し替え）
   ============================================================ */
.ph {
  position: relative;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.7s var(--ease); }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(20, 40, 70, 0.07);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 76px;
}
.global-nav { margin-left: auto; }
.header-actions { margin-left: 40px; }
.site-logo { font-family: var(--font-en); font-size: 1.35rem; font-weight: 800; letter-spacing: 0.14em; color: var(--color-text); }
.site-logo:hover { color: var(--color-accent); }
.global-nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.global-nav a {
  position: relative;
  color: var(--color-text);
  font-size: var(--fs-small);
  font-weight: 600;
  padding-block: 6px;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.global-nav a:hover { color: var(--color-accent); }
.global-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.header-tel svg { width: 18px; height: 18px; color: var(--color-accent); flex: none; }
.header-tel:hover { color: var(--color-accent); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   ファーストビュー
   ============================================================ */
.hero {
  position: relative;
  background-color: #0b1e37;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,22,42,0.92) 0%, rgba(8,22,42,0.72) 38%, rgba(8,22,42,0.30) 70%, rgba(8,22,42,0.10) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--color-accent);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(460px, 74vh, 660px);
  padding-block: 72px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-accent-light);
}
.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  max-width: 20ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.85;
  margin: 0 0 36px;
  max-width: 44ch;
  text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}
.hero .btn--secondary:hover { background: #fff; color: var(--color-accent); border-color: #fff; }
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.hero__feature::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent-light);
  flex: none;
}

/* ============================================================
   グリッド
   ============================================================ */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: #d4e0ee; }
.card:hover .ph img { transform: scale(1.06); }
.card__body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: var(--fs-h3); margin: 0 0 10px; font-weight: 800; letter-spacing: 0.02em; }
.card__meta { font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--color-accent); font-weight: 700; margin-bottom: 10px; }
.card__excerpt { font-size: 0.95rem; color: var(--color-text-sub); margin: 0 0 20px; line-height: 1.75; }
.card__link { margin-top: auto; font-size: var(--fs-small); font-weight: 700; color: var(--color-accent); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.card:hover .card__link { gap: 12px; }

/* About レイアウト */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-row__visual { aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.hero__visual { box-shadow: var(--shadow-lg); }
.deco-text { font-size: var(--fs-small); letter-spacing: 0.2em; color: var(--color-text-sub); text-transform: uppercase; }

/* Our Clients */
.client-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client-logo {
  aspect-ratio: 3/2;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-sub); font-size: var(--fs-small); font-weight: 600;
}

/* News list */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--color-border); }
.news-list li:first-child { border-top: 1px solid var(--color-border); }
.news-list a {
  display: flex; gap: 22px; padding: 22px 8px; align-items: center; color: var(--color-text);
  border-radius: var(--radius-sm); transition: background var(--transition), padding-left var(--transition);
}
.news-list a:hover { color: var(--color-accent); background: var(--color-surface); padding-left: 18px; }
.news-list time { font-family: var(--font-en); color: var(--color-text-sub); font-size: var(--fs-small); letter-spacing: 0.04em; min-width: 116px; }
.news-list .news-cat {
  font-size: 0.72rem; background: var(--color-accent); color: #fff; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; min-width: max-content; letter-spacing: 0.04em;
}

/* ============================================================
   カルーセル（Case Studies）
   ============================================================ */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform 0.4s ease; }
.carousel__slide { flex: 0 0 calc((100% - 56px) / 3); margin-right: 28px; }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border);
  background: var(--color-white); cursor: pointer; font-size: 1.1rem; color: var(--color-accent);
  transition: background var(--transition), border-color var(--transition);
}
.carousel__btn:hover { background: var(--color-surface); border-color: var(--color-accent); }
.carousel__btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Load More */
.loadmore-wrap { text-align: center; margin-top: 32px; }
.is-hidden { display: none !important; }

/* ============================================================
   フッターCTA / フッター
   ============================================================ */
.footer-cta {
  position: relative;
  background: linear-gradient(120deg, var(--color-accent-dark) 0%, var(--color-accent) 60%, #1466a8 100%);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% -20%, rgba(255,255,255,0.14), transparent 60%);
  pointer-events: none;
}
.footer-cta .container { position: relative; }
.footer-cta h2 { font-size: var(--fs-h2); font-weight: 800; margin: 0 0 12px; color: var(--color-white); }
.footer-cta__tel { font-family: var(--font-en); font-size: 1.9rem; font-weight: 800; letter-spacing: 0.05em; }
.footer-cta__hours { color: rgba(255,255,255,0.85); font-size: var(--fs-small); margin-bottom: 20px; max-width: 560px; margin-inline: auto; }
.footer-cta__call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 4px auto 8px;
  padding: 14px 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.footer-cta__call:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.footer-cta__call svg { flex: none; opacity: 0.95; }
.footer-cta__call-text { text-align: left; line-height: 1.2; }
.footer-cta__call-text small { display: block; font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.85); margin-bottom: 2px; }
.footer-cta__call-text strong { font-family: var(--font-en); font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 800; letter-spacing: 0.04em; }
.footer-cta__actions { margin-top: 28px; }
.footer-cta .btn--ghost { background: var(--color-white); border-color: var(--color-white); }

.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.78); padding-block: 72px 28px; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--color-white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.1em; color: var(--color-white); margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav h4 { color: var(--color-white); font-size: var(--fs-small); margin: 0 0 16px; letter-spacing: 0.1em; }
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-small);
}
.social-links a:hover { border-color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: var(--fs-small);
}

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-white); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition); z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   CTAバナー（採用情報など・全幅背景）
   ============================================================ */
.cta-banner {
  position: relative;
  background-color: #0b1e37;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15,76,129,0.88) 0%, rgba(18,86,134,0.62) 55%, rgba(40,120,150,0.5) 100%);
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 11vw, 150px);
}
.cta-banner__en {
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.cta-banner__jp {
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 26px;
  color: rgba(255,255,255,0.95);
}
.cta-banner__lead {
  color: rgba(255,255,255,0.92);
  line-height: 1.95;
  margin: 0 auto 38px;
  max-width: 720px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.cta-banner__btn {
  background: #0a1726;
  color: #fff;
  border-color: #0a1726;
  min-width: 300px;
}
.cta-banner__btn:hover { background: #000; color: #fff; border-color: #000; }

/* ============================================================
   実績数値バンド（Stats）
   ============================================================ */
.stats {
  background: var(--color-ink);
  color: #fff;
  background-image: linear-gradient(120deg, #0a1726 0%, #0f2942 100%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,0.14);
}
.stat__num { font-family: var(--font-en); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: 0.01em; }
.stat__num span { font-size: 0.5em; font-weight: 700; margin-left: 4px; color: var(--color-accent-light); }
.stat__label { margin-top: 12px; font-size: var(--fs-small); color: rgba(255,255,255,0.72); letter-spacing: 0.06em; }

/* ============================================================
   スクロール演出（reveal）— JS無効時は常に表示
   ============================================================ */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   下層ページ共通
   ============================================================ */
.page-hero {
  position: relative;
  background-color: var(--color-accent-dark);
  background-image: linear-gradient(120deg, rgba(10,23,38,0.92) 0%, rgba(10,51,88,0.82) 55%, rgba(15,76,129,0.7) 100%), url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-block: clamp(72px, 9vw, 132px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 88% -10%, rgba(90,169,230,0.22), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .heading-en { color: rgba(255,255,255,0.85); }
.page-hero .heading-en::before { background: var(--color-accent-light); opacity: 1; }
.page-hero .heading-jp { color: #fff; margin-bottom: 8px; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .section-lead { color: rgba(255,255,255,0.88); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.72); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.72); }
.page-hero .breadcrumb a:hover { color: #fff; }
.breadcrumb { font-size: var(--fs-small); color: var(--color-text-sub); margin-bottom: 16px; }
.breadcrumb a { color: var(--color-text-sub); }

.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-h3); margin: 2em 0 0.6em; padding-left: 14px; border-left: 4px solid var(--color-accent); }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; }

/* テーブル（会社概要表など） */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 16px; border-bottom: 1px solid var(--color-border); font-size: var(--fs-small); vertical-align: top; }
.info-table th { width: 30%; color: var(--color-text); background: var(--color-surface); font-weight: 700; }

/* 会社概要：基本情報テーブル（参考サイト準拠のクリーンな2カラム） */
.company-figure {
  max-width: 1000px;
  margin: 0 auto 8px;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.company-figure img { width: 100%; height: 100%; object-fit: cover; }
.company-table {
  width: 100%;
  max-width: 960px;
  margin: 48px auto 0;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  text-align: left;
  vertical-align: top;
  padding: 24px 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  line-height: 1.85;
}
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 1px solid var(--color-border); }
.company-table th { width: 30%; font-weight: 700; color: var(--color-text); }
.company-table td { color: var(--color-text-sub); }
.company-map {
  margin-top: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.company-map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* 取り組み / 福利厚生：アイコン＋見出し＋説明の行リスト */
.feat-wrap { max-width: 960px; margin-inline: auto; }
.group-label {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  background: var(--color-surface);
  border-left: 5px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  margin: 0 0 4px;
}
.feat-list + .group-label { margin-top: clamp(48px, 7vw, 80px); }
.feat-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.feat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.feat-icon svg { width: 28px; height: 28px; }
.feat-item h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.feat-item p { margin: 0; color: var(--color-text-sub); line-height: 1.9; }
@media (max-width: 640px) {
  .feat-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .feat-icon { width: 44px; height: 44px; }
  .feat-icon svg { width: 22px; height: 22px; }
}

/* 事業内容：画像＋テキストの左右交互ブロック（参考: 弥生京極社） */
.svc-row + .svc-row { margin-top: clamp(64px, 9vw, 104px); }
.svc-row-title {
  color: var(--color-accent);
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 22px;
}
.svc-row-text { color: var(--color-text-sub); line-height: 1.95; }
.svc-row-text p { margin: 0 0 1.2em; }
.svc-row-text p:last-child { margin-bottom: 0; }

/* 沿革（History） */
.history { max-width: 960px; margin: 48px auto 0; }
.history__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--color-border);
}
.history__row:first-child { border-top: 1px solid var(--color-border); }
.history__year { font-family: var(--font-en); font-weight: 700; color: var(--color-accent); letter-spacing: 0.03em; }
.history__text { color: var(--color-text-sub); }
@media (max-width: 640px) {
  .company-table th, .company-table td { display: block; width: 100%; padding: 10px 8px; }
  .company-table th { border-bottom: none; padding-bottom: 2px; }
  .company-table tr:first-child td { border-top: none; }
  .history__row { grid-template-columns: 1fr; gap: 6px; }
  .company-figure { aspect-ratio: 16 / 10; }
}

/* 支援の流れ（ステップ） */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; padding: 20px 20px 20px 64px; position: relative; background: var(--color-surface); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--fs-small);
}

/* お問い合わせ：上部の連絡先ブロック */
.contact-info { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-line { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 16px; }
.contact-badge {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  border-radius: 6px;
  min-width: 76px;
}
.contact-num { font-family: var(--font-en); font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: 0.04em; color: var(--color-text); }
.contact-num:hover { color: var(--color-accent); }
.contact-meta { color: var(--color-text-sub); font-size: var(--fs-small); margin: 4px 0 0; }

/* フォーム */
.form-grid { display: grid; gap: 24px; max-width: 720px; margin-inline: auto; }
.form-field--radio fieldset { border: 0; margin: 0; padding: 0; }
.form-field--radio legend { font-weight: 700; font-size: var(--fs-small); margin-bottom: 10px; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: var(--fs-body); }
.form-submit { text-align: center; margin-top: 8px; }
.form-note { text-align: center; color: var(--color-text-sub); font-size: var(--fs-small); margin-top: 16px; }
.form-field label { display: block; font-weight: 700; font-size: var(--fs-small); margin-bottom: 6px; }
.form-field .req { color: #c0392b; font-size: 0.75rem; margin-left: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: inherit; font-size: var(--fs-body); background: var(--color-white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent);
}
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); }

/* 記事詳細のナビ */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-border); font-size: var(--fs-small); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .media-row { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
  .carousel__slide { flex-basis: calc((100% - 28px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(3)::before, .stat:nth-child(4)::before { display: none; }
}
@media (max-width: 640px) {
  .global-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--color-white);
    border-bottom: 1px solid var(--color-border); padding: 16px var(--gutter);
    transform: translateY(-120%); transition: transform var(--transition); box-shadow: var(--shadow);
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .global-nav li { border-bottom: 1px solid var(--color-border); }
  .global-nav li:last-child { border-bottom: 0; }
  .global-nav a { display: block; padding: 12px 4px; }
  .nav-toggle { display: flex; }
  .header-cta-desktop { display: none; }
  .header-tel span { display: none; }
  .header-tel { gap: 0; }
  .header-actions { margin-left: auto; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .carousel__slide { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-table th { width: 38%; }
  .news-list a { flex-direction: column; gap: 4px; }
  .hero__cta .btn { flex: 1; }
}
