@charset "UTF-8";
/* ==========================================================================
   Burst Theme — Main Stylesheet
   黒・水色・白を基調とした、問い合わせ獲得型SEOテーマ
   ========================================================================== */

:root {
  /* ブランドカラー
     ロゴの実色 #1B4194（深い青）に合わせ、
     明るい水色イメージは残しつつ全体を青寄りにシフト */
  --c-black: #0F1419;
  --c-black-soft: #1C232C;
  --c-cyan: #1F8FC3;          /* メインの明るい水色（旧 #00B4E5 から調整） */
  --c-cyan-dark: #156FA0;     /* 濃いめ */
  --c-cyan-light: #E5F0F8;    /* 淡い背景用 */
  --c-brand-blue: #1B4194;    /* ロゴの濃紺ブルー（強調用） */
  --c-white: #FFFFFF;
  --c-gray-50: #F7F9FB;
  --c-gray-100: #EEF2F5;
  --c-gray-300: #C9D2DA;
  --c-gray-500: #6B7785;
  --c-gray-700: #3A434E;

  /* CTAアクセント（緊急感・視認性） */
  --c-cta: #FF6B00;
  --c-cta-dark: #E55E00;

  /* レイアウト */
  --max-w: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* タイポグラフィ */
  --ff-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --fs-base: 16px;
  --lh-base: 1.75;

  /* シャドウ */
  --shadow-sm: 0 4px 14px rgba(15, 20, 25, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 14px 30px rgba(15, 20, 25, 0.12);
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-cyan-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-cyan); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .8em; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
/* キーボード操作時のみ可視化（アクセシビリティ） */
.screen-reader-text:focus {
  position: absolute !important;
  top: 8px; left: 8px;
  width: auto; height: auto;
  margin: 0; padding: 12px 20px;
  clip: auto !important;
  background: var(--c-white);
  color: var(--c-cyan-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 0 0 2px var(--c-cyan), 0 4px 12px rgba(0, 0, 0, .2);
  z-index: 100000;
}
.sp-only { display: none; }

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 1px 0 rgba(15, 20, 25, .06);
}
/* PC：3分割 Grid（左：ロゴ170px / 中央：メニュー minmax(0, 1fr) / 右：CTA 280px） */
.site-header__inner {
  max-width: 1180px;                  /* ヘッダー専用に広めの上限を設定 */
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) 280px !important;
  align-items: center !important;
  gap: 24px !important;
}
.site-header__logo { margin: 0; flex: 0 0 auto; }
.site-header__logo a {
  display: inline-flex;
  align-items: center;
  color: var(--c-black);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.site-header__logo strong { color: var(--c-cyan); margin-left: 2px; }
/* ロゴ親要素：Grid 第1カラム（170px）に収める */
.site-header__logo {
  width: 170px !important;
  max-width: 170px !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
.site-header__logo a {
  display: block !important;
  width: 100% !important;
  max-width: 170px !important;
  overflow: hidden !important;
}
.site-header__logo .custom-logo,
.site-header__logo .site-header__logo-img,
.site-header__logo a img,
.site-header__logo img {
  display: block !important;
  width: 145px !important;             /* HTML width="800" を上書き */
  max-width: 145px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

/* メニュー領域：縮小可能だが折返ししない */
.site-header__nav {
  min-width: 0;          /* Grid 中央カラム（1fr）。子のはみ出し防止 */
}
.primary-menu {
  display: flex;
  flex-wrap: nowrap;      /* メニュー項目を1行に強制 */
  gap: 16px;
  justify-content: center;  /* Grid 中央カラム内でメニューを中央配置 */
  align-items: center;
}
.primary-menu li {
  white-space: nowrap;    /* 各項目テキストを1行に強制 */
  flex-shrink: 0;
}
.primary-menu a {
  color: var(--c-black);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;    /* リンクテキストの改行禁止 */
  word-break: keep-all;   /* 日本語の単語途中改行も禁止 */
}
.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-cyan);
  transition: width .2s;
}
.primary-menu a:hover { color: var(--c-cyan); }
.primary-menu a:hover::after { width: 100%; }

/* サブメニューが定義されている場合の保険（縦崩れ防止） */
.primary-menu .sub-menu { display: none; }

/* 中間サイズ：メニュー間隔と font を緩やかに縮小（全ページ共通） */
@media (max-width: 1180px) {
  .primary-menu { gap: 12px; }
  .primary-menu a { font-size: 13px; }
  .site-header__inner { gap: 12px; }
}
@media (max-width: 1024px) {
  .primary-menu { gap: 10px; }
  .primary-menu a { font-size: 12px; }
  .site-header__cta .btn--tel .btn__sub { display: none; }
}

.site-header__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.site-header__toggle span {
  display: block;
  height: 2px;
  background: var(--c-black);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header__cta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;  /* Grid 第3カラムで右寄せ */
  flex-wrap: nowrap;
  width: 100%;                 /* 280px カラム内いっぱい使う */
}
.site-header__cta .btn {
  white-space: nowrap;
}
.site-header__cta .btn--tel {
  padding: 6px 14px;
}
.site-header__cta .btn--tel .btn__main {
  font-size: 17px;
  white-space: nowrap;
}
.site-header__cta .btn--contact {
  padding: 11px 18px;
  font-size: 13px;
  white-space: nowrap;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-1px); }

.btn--tel {
  background: var(--c-black);
  color: var(--c-white);
  line-height: 1.2;
  padding: 8px 18px;
}
.btn--tel:hover { background: var(--c-black-soft); color: var(--c-white); }
.btn--tel .btn__sub { font-size: 11px; font-weight: 500; opacity: .8; }
.btn--tel .btn__main { font-size: 18px; letter-spacing: .02em; }

.btn--contact {
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 14px;
  padding: 13px 22px;
}
.btn--contact:hover { background: var(--c-cta-dark); color: var(--c-white); }

.btn--tel-large {
  background: var(--c-white);
  color: var(--c-black);
  border: 2px solid var(--c-black);
  padding: 14px 28px;
  min-width: 280px;
  line-height: 1.2;
}
.btn--tel-large .btn__sub { font-size: 12px; font-weight: 500; }
.btn--tel-large .btn__main { font-size: 28px; letter-spacing: .02em; }
.btn--tel-large:hover { background: var(--c-black); color: var(--c-white); }

.btn--contact-large {
  background: var(--c-cta);
  color: var(--c-white);
  padding: 18px 36px;
  font-size: 18px;
  min-width: 280px;
  box-shadow: 0 6px 20px rgba(255, 107, 0, .3);
}
.btn--contact-large:hover {
  background: var(--c-cta-dark);
  color: var(--c-white);
  box-shadow: 0 8px 26px rgba(255, 107, 0, .4);
}

.btn--ghost {
  background: var(--c-white);
  color: var(--c-cyan-dark);
  border: 2px solid var(--c-cyan);
  padding: 14px 32px;
  font-size: 16px;
}
.btn--ghost:hover { background: var(--c-cyan); color: var(--c-white); }

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--c-black) 0%, var(--c-cyan-dark) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15, 20, 25, .78) 0%, rgba(0, 150, 194, .65) 100%);
}
.hero__inner { padding: 80px var(--gutter); width: 100%; max-width: var(--max-w); margin: 0 auto; }

.hero__badge {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero__title {
  font-size: clamp(28px, 5vw, 56px);
  margin-bottom: 24px;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.hero__title-sub { display: block; font-size: .55em; font-weight: 500; margin-bottom: 8px; }
.hero__title-main { display: block; }
.hero__title-main strong { color: var(--c-cyan-light); }

.hero__lead {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  max-width: 720px;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}
.hero__cta .btn--tel-large {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.hero__cta .btn--tel-large:hover { background: var(--c-cyan); border-color: var(--c-cyan); color: var(--c-white); }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero__points li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Section common ------------------------------------------------------ */
.section { padding: 96px 0; }
.section--reasons { background: var(--c-gray-50); }
.section--cta { background: var(--c-black); color: var(--c-white); }
.section--area { background: var(--c-cyan-light); }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__sub {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--c-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}
.section__title {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 16px;
}
.section__title strong { color: var(--c-cyan-dark); }
.section__lead {
  color: var(--c-gray-700);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.section__more { text-align: center; margin-top: 56px; }

/* Reasons ------------------------------------------------------------- */
/* PC: 4列×2段（8項目）／タブレット: 2列×4段／スマホ: 1列 */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reason-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.reason-card__num {
  font-size: 36px;
  font-weight: 900;
  color: var(--c-cyan);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.reason-card__title { font-size: 18px; margin-bottom: 12px; color: var(--c-black); }
.reason-card__text { font-size: 14px; color: var(--c-gray-700); margin: 0; line-height: 1.8; }

/* Services ------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 12px;
  padding: 36px 24px 28px;
  text-align: center;
  color: var(--c-black);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: 0 14px 30px rgba(0, 180, 229, .15);
  color: var(--c-black);
}
.service-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  background: var(--c-cyan-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-cyan-dark);
}
.service-card__icon svg { width: 36px; height: 36px; }
.service-card__title { font-size: 18px; margin-bottom: 12px; color: var(--c-black); }
.service-card__lead {
  font-size: 14px;
  color: var(--c-gray-700);
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.8;
}
.service-card__more {
  display: inline-block;
  color: var(--c-cyan-dark);
  font-weight: 700;
  font-size: 14px;
}
.service-card__more::after { content: " →"; }

/* Services（/service/ 一覧ページ専用：3列×2段、横長・落ち着いたデザイン）
   --------------------------------------------------------------------- */
/* 3列固定（PC）／タブレット2列／スマホ1列 */
.service-grid--overview {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 600px) {
  .service-grid--overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 960px) {
  .service-grid--overview {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}
/* カード本体：白背景・薄グレー枠・低めの高さで横長バランス */
.service-card--overview {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 8px;
  padding: 32px 28px 28px;
  text-align: center;
  color: var(--c-black);
  box-shadow: none;
  transition: transform .25s ease, border-color .25s ease;
}
.service-card--overview:hover {
  transform: translateY(-3px);
  border-color: var(--c-gray-300);
  box-shadow: none;
  color: var(--c-black);
}
/* アイコン：丸背景なし・薄グレー */
.service-card--overview .service-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  background: transparent;
  border-radius: 0;
  color: var(--c-gray-300);
}
.service-card--overview .service-card__icon svg {
  width: 40px;
  height: 40px;
}
/* タイトル：黒・やや大きめ */
.service-card--overview .service-card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--c-black);
  letter-spacing: .02em;
}
/* 本文：グレー・読みやすい行間 */
.service-card--overview .service-card__lead {
  font-size: 14px;
  color: var(--c-gray-700);
  line-height: 1.85;
  margin-bottom: 18px;
  text-align: left;
}
/* 「詳しく見る →」：控えめな水色、hoverで少し強調 */
.service-card--overview .service-card__more {
  color: var(--c-cyan-dark);
  font-weight: 700;
  font-size: 14px;
  transition: color .2s ease;
}
.service-card--overview:hover .service-card__more {
  color: var(--c-cyan);
}

/* Works --------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.work-card {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work-card__link { color: var(--c-black); display: block; }
.work-card__link:hover { color: var(--c-black); }
.work-card__thumb {
  aspect-ratio: 4 / 3;
  background: var(--c-gray-100);
  position: relative;
  overflow: hidden;
}
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card__thumb--empty {
  background: linear-gradient(135deg, var(--c-cyan-light) 0%, var(--c-gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card__thumb-label {
  color: var(--c-gray-500);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
}
.work-card__body { padding: 20px 22px 22px; }
.work-card__cat {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.work-card__title { font-size: 16px; margin-bottom: 8px; line-height: 1.5; }
.work-card__area { font-size: 13px; color: var(--c-gray-500); margin: 0; }
.work-empty-note {
  text-align: center;
  color: var(--c-gray-500);
  font-size: 13px;
  margin-top: 24px;
}

/* CTA section --------------------------------------------------------- */
.cta-block { text-align: center; }
.cta-block__sub {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--c-cyan);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-block__title {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 16px;
  color: var(--c-white);
  line-height: 1.5;
}
.cta-block__lead { color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.cta-block__buttons {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
}
.cta-block__buttons .btn--tel-large {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.cta-block__buttons .btn--tel-large:hover {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-white);
}

/* Area ---------------------------------------------------------------- */
.area-list {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.area-list li {
  background: var(--c-white);
  border: 2px solid var(--c-cyan);
  color: var(--c-cyan-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.area-note {
  text-align: center;
  color: var(--c-gray-700);
  margin-top: 24px;
  font-size: 14px;
}

/* Footer CTA ---------------------------------------------------------- */
.footer-cta {
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-cyan-dark) 100%);
  color: var(--c-white);
  padding: 64px 0;
  text-align: center;
}
.footer-cta__lead {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-cta__sub { margin-bottom: 28px; opacity: .92; }
.footer-cta__buttons {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
}
.footer-cta .btn--tel-large {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.footer-cta .btn--tel-large:hover {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}
.footer-cta .btn--contact-large {
  background: var(--c-black);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.footer-cta .btn--contact-large:hover {
  background: var(--c-black-soft);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}

/* Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--c-black);
  color: rgba(255, 255, 255, .85);
  padding: 64px 0 24px;
  font-size: 14px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__logo {
  font-size: 22px;
  color: var(--c-white);
  margin-bottom: 16px;
  font-weight: 700;
}
.site-footer__logo strong { color: var(--c-cyan); }
.site-footer__address { font-style: normal; line-height: 1.9; }
.site-footer__address a { color: var(--c-cyan-light); }
.site-footer__address a:hover { color: var(--c-cyan); }
.site-footer__heading {
  font-size: 14px;
  color: var(--c-white);
  margin-bottom: 16px;
  letter-spacing: .08em;
}
.site-footer__nav ul li { margin-bottom: 8px; }
.site-footer__nav a { color: rgba(255, 255, 255, .75); }
.site-footer__nav a:hover { color: var(--c-cyan); }
.site-footer__copy {
  text-align: center;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

/* Page header / body -------------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--c-black) 0%, var(--c-cyan-dark) 100%);
  color: var(--c-white);
  padding: 64px 0;
  text-align: center;
}
.page-header__sub {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--c-cyan-light);
  font-weight: 700;
  margin-bottom: 8px;
  opacity: .9;
}
.page-header__title { font-size: clamp(22px, 3vw, 36px); margin: 0; color: var(--c-white); }
.page-header__lead { color: rgba(255, 255, 255, .85); margin-top: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.page-header__cat { display: inline-block; background: var(--c-cyan); color: var(--c-white); padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.page-header__date { font-size: 14px; opacity: .8; margin-bottom: 8px; }

.page-body { padding: 56px var(--gutter); max-width: var(--max-w); margin: 0 auto; }
.page-body h2 { margin-top: 2em; padding-bottom: .4em; border-bottom: 2px solid var(--c-cyan); font-size: 24px; }
.page-body h3 { margin-top: 1.6em; font-size: 19px; color: var(--c-cyan-dark); }

.single-thumb { margin-bottom: 32px; border-radius: 12px; overflow: hidden; }

/* Works archive ------------------------------------------------------- */
.section--works-archive { padding: 64px 0; }
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.works-filter__btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-gray-700);
  border: 1px solid var(--c-gray-300);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.works-filter__btn:hover {
  background: var(--c-cyan-light);
  color: var(--c-cyan-dark);
  border-color: var(--c-cyan);
}
.works-filter__btn.is-active {
  background: var(--c-cyan);
  color: var(--c-white);
  border-color: var(--c-cyan);
}
.works-empty {
  text-align: center;
  color: var(--c-gray-500);
  padding: 56px 24px;
  background: var(--c-gray-50);
  border-radius: 12px;
}

/* Work card extras ---------------------------------------------------- */
.work-card__meta {
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--c-gray-700);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-card__meta li {
  display: flex;
  gap: 8px;
}
.work-card__meta li span {
  flex: 0 0 64px;
  color: var(--c-gray-500);
  font-weight: 700;
}
.work-card__summary {
  font-size: 13px;
  color: var(--c-gray-700);
  margin: 0 0 12px;
  line-height: 1.7;
}
.work-card__more {
  display: inline-block;
  color: var(--c-cyan-dark);
  font-weight: 700;
  font-size: 14px;
}

/* Pagination ---------------------------------------------------------- */
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--c-white);
  color: var(--c-gray-700);
  border: 1px solid var(--c-gray-300);
  font-weight: 700;
  text-decoration: none;
}
.pagination .page-numbers:hover {
  background: var(--c-cyan-light);
  color: var(--c-cyan-dark);
  border-color: var(--c-cyan);
}
.pagination .page-numbers.current {
  background: var(--c-cyan);
  color: var(--c-white);
  border-color: var(--c-cyan);
}

/* Single works -------------------------------------------------------- */
/* 施工事例詳細：article は幅制限なし（一覧 /works/ と同じ .container 1200px を使う）
   本文コンテンツは個別に max-width 920px で中央配置する */
.single-works { padding: 56px 0; }
.single-works > .container > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.single-works__hero {
  margin: 0 0 40px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.single-works__hero img { width: 100%; height: auto; display: block; }
.single-works__h2 {
  font-size: 22px;
  margin: 0 0 20px;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--c-cyan);
  display: flex;
  align-items: center;
  gap: 12px;
}
.single-works__block { margin-top: 48px; }
.single-works__block--method { background: var(--c-cyan-light); padding: 24px 28px; border-radius: 12px; }
.single-works__text {
  background: var(--c-gray-50);
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--c-cyan);
  margin: 0;
  line-height: 1.9;
}
.single-works__summary { margin-top: 16px; }

.summary-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.summary-table th, .summary-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-gray-100);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.summary-table tr:last-child th,
.summary-table tr:last-child td { border-bottom: 0; }
.summary-table th {
  background: var(--c-gray-50);
  color: var(--c-gray-700);
  font-weight: 700;
  width: 140px;
  white-space: nowrap;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-white);
}
.badge--before { background: var(--c-gray-500); }
.badge--detail { background: var(--c-cyan); }
.badge--after  { background: var(--c-cta); }

.single-works__service-link {
  margin-top: 56px;
  padding: 32px;
  background: var(--c-cyan-light);
  border-radius: 12px;
  text-align: center;
}
.single-works__service-lead {
  color: var(--c-gray-700);
  font-weight: 700;
  margin-bottom: 16px;
}

.section--related { background: var(--c-gray-50); padding: 80px 0; }

/* Service detail page extras ------------------------------------------ */
.page-header--service { padding: 80px 0; }
/* サービス詳細ページのリードは「す。」など末尾2文字が単独改行されないように
   幅を少し広げ、対応ブラウザでは text-wrap: pretty で widow を抑制 */
.page-header--service .page-header__lead {
  max-width: 860px;
  text-wrap: pretty;
}
.service-default__h2 {
  margin-top: 2em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--c-cyan);
  font-size: 22px;
}
.service-flow {
  counter-reset: flow;
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-flow li {
  counter-increment: flow;
  background: var(--c-gray-50);
  padding: 16px 20px 16px 64px;
  border-radius: 8px;
  position: relative;
  font-weight: 500;
}
.service-flow li::before {
  content: counter(flow);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cyan);
  color: var(--c-white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
}

/* SP overrides for archive/single ------------------------------------- */
@media (max-width: 768px) {
  .summary-table th { width: 92px; padding: 12px 10px; font-size: 13px; }
  .summary-table td { padding: 12px 10px; font-size: 14px; }
  .single-works__block--method { padding: 18px 16px; }
  .single-works__service-link { padding: 24px 16px; }
  .works-filter { gap: 6px; margin-bottom: 28px; }
  .works-filter__btn { padding: 6px 14px; font-size: 13px; }
}

/* ==========================================================================
   Phase 3 — Breadcrumb / FAQ / Contact / Company / Recruit
   ========================================================================== */

/* Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
  background: var(--c-gray-50);
  border-bottom: 1px solid var(--c-gray-100);
  font-size: 13px;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  margin: 0;
  color: var(--c-gray-500);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: var(--c-gray-300);
  font-weight: 700;
}
.breadcrumb__item a { color: var(--c-cyan-dark); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--c-cyan); text-decoration: underline; }
.breadcrumb__item span[aria-current="page"] {
  color: var(--c-gray-700);
  font-weight: 500;
}

/* FAQ accordion ------------------------------------------------------- */
.section--faq { background: var(--c-gray-50); padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { border-color: var(--c-cyan); box-shadow: var(--shadow-md); }
.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 64px;
  position: relative;
  font-weight: 700;
  color: var(--c-black);
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__mark {
  position: absolute;
  left: 18px; top: 18px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-cyan);
  color: var(--c-white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  font-family: Arial, sans-serif;
}
.faq-item__mark--a { background: var(--c-cta); }
.faq-item__icon {
  position: absolute;
  right: 24px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--c-gray-500);
  border-bottom: 2.5px solid var(--c-gray-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] .faq-item__icon {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--c-cyan);
}
.faq-item__a {
  padding: 4px 24px 22px 64px;
  position: relative;
  background: var(--c-gray-50);
  border-top: 1px solid var(--c-gray-100);
}
.faq-item__a .faq-item__mark {
  top: 16px;
  left: 18px;
}
.faq-item__atxt {
  margin: 8px 0 0;
  line-height: 1.85;
  color: var(--c-gray-700);
}

/* Contact form -------------------------------------------------------- */
/* /recruit/ から遷移してきた場合に表示する採用応募向けの案内ボックス */
.contact-recruit-notice {
  background: #FFF8E1;
  border: 1px solid #F0D58C;
  border-left: 4px solid #E0A410;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 0 24px;
}
.contact-recruit-notice__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #8A5A00;
  letter-spacing: .02em;
}
.contact-recruit-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray-700);
}
.contact-recruit-notice__text strong { color: #8A5A00; }
@media (max-width: 599px) {
  .contact-recruit-notice { padding: 14px 16px; }
  .contact-recruit-notice__title { font-size: 15px; }
  .contact-recruit-notice__text { font-size: 13.5px; }
}

.contact-lead {
  background: var(--c-cyan-light);
  border-left: 4px solid var(--c-cyan);
  padding: 24px 28px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.contact-lead p { margin: 0 0 .4em; }
.contact-lead p:last-child { margin: 0; }
.contact-lead__tel {
  margin-top: 16px !important;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-black);
}
.contact-lead__tel a { color: var(--c-cyan-dark); font-size: 22px; letter-spacing: .02em; }
.contact-lead__hours { font-size: 13px; font-weight: 500; color: var(--c-gray-700); margin-left: 6px; }

.cf-form {
  background: var(--c-white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--c-gray-100);
}
.cf-form__notice {
  background: #FFF7E6;
  color: #8C5A00;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin: -8px 0 24px;
  border: 1px solid #FFE5A8;
}
.cf-form__row { margin-bottom: 20px; }
.cf-form__row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-black);
  font-size: 14px;
}
.cf-form__row input[type="text"],
.cf-form__row input[type="tel"],
.cf-form__row input[type="email"],
.cf-form__row input[type="date"],
.cf-form__row select,
.cf-form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-gray-300);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: var(--c-white);
  color: var(--c-black);
  transition: border-color .15s, box-shadow .15s;
}
.cf-form__row input:focus,
.cf-form__row select:focus,
.cf-form__row textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 229, .15);
}
.cf-form__row textarea { resize: vertical; min-height: 140px; }
.cf-form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-form__row--two > div { margin: 0; }
.cf-form__req {
  display: inline-block;
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}
.cf-form__submit { text-align: center; margin-top: 32px; }
.cf-form__submit button { min-width: 280px; cursor: pointer; }

/* CF7 が出力する要素のスタイル調整 */
.contact-form--cf7 .wpcf7 { background: var(--c-white); padding: 32px; border-radius: 12px; border: 1px solid var(--c-gray-100); }
.contact-form--cf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-gray-300);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  margin-top: 4px;
}
.contact-form--cf7 .wpcf7-submit {
  background: var(--c-cta) !important;
  color: var(--c-white) !important;
  border: 0 !important;
  padding: 18px 36px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer;
  min-width: 280px;
  margin-top: 16px;
}
.contact-form--cf7 .wpcf7-submit:hover { background: var(--c-cta-dark) !important; }

.contact-tel-cta {
  text-align: center;
  margin-top: 40px;
  padding: 28px 24px;
  background: var(--c-gray-50);
  border-radius: 12px;
  font-weight: 700;
}
.contact-tel-cta .btn { margin-top: 12px; }

/* /company/ 代表挨拶の直後・業者様向けBtoB相談セクション ----------------- */
.b2b-message {
  margin: 32px 0 16px;
  padding: 28px 28px 24px;
  background: var(--c-cyan-light);
  border-left: 5px solid var(--c-cyan);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.b2b-message__head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-cyan);
}
.b2b-message__badge {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.b2b-message .b2b-message__title {
  font-size: clamp(17px, 2.2vw, 20px);
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--c-cyan-dark);
  font-weight: 700;
  line-height: 1.5;
}
.b2b-message__body p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-gray-700);
}
.b2b-message__body p:last-child { margin-bottom: 0; }
.b2b-message__body strong { color: var(--c-black); }
.b2b-message__cta {
  margin: 20px 0 0;
  text-align: center;
}
.b2b-message__cta .btn--ghost {
  padding: 12px 28px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .b2b-message {
    padding: 20px 18px 18px;
    margin: 24px 0 12px;
  }
  .b2b-message__body p { font-size: 14px; line-height: 1.85; }
}

/* /company/ 下部導線：会社概要 + お問い合わせの2カード型ボタン -------------- */
.company-nav {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.company-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 24px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
  font-weight: 700;
}
.company-nav__btn:hover { transform: translateY(-2px); }
.company-nav__btn-sub { font-size: 12px; opacity: .85; font-weight: 500; }
.company-nav__btn-main { font-size: 17px; }

.company-nav__btn--ghost {
  background: var(--c-white);
  color: var(--c-cyan-dark);
  border-color: var(--c-cyan);
}
.company-nav__btn--ghost:hover {
  background: var(--c-cyan);
  color: var(--c-white);
  border-color: var(--c-cyan);
}

.company-nav__btn--primary {
  background: var(--c-cta);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(255, 107, 0, .25);
}
.company-nav__btn--primary:hover {
  background: var(--c-cta-dark);
  color: var(--c-white);
  box-shadow: 0 8px 26px rgba(255, 107, 0, .35);
}

@media (max-width: 768px) {
  .company-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .company-nav__btn { padding: 20px 18px; }
}

/* 代表挨拶レイアウト（左：画像 / 右：本文 ／ スマホ：縦並び） ----------- */
.president-message {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 32px;
  align-items: start;
  margin: 16px 0 32px;
}
.president-message__photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 20, 25, .12);
  background: var(--c-cyan-light);
}
.president-message__photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.president-message__caption {
  padding: 12px 16px;
  background: var(--c-black);
  color: var(--c-white);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.president-message__caption strong {
  font-size: 16px;
  color: var(--c-cyan-light);
  letter-spacing: .03em;
}
.president-message__text p {
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 1.2em;
}
.president-message__text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .president-message {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .president-message__photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Company table ------------------------------------------------------- */
.company-h2 {
  margin: 2em 0 1em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--c-cyan);
  font-size: 22px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.company-table th, .company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-gray-100);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  background: var(--c-gray-50);
  color: var(--c-gray-700);
  font-weight: 700;
  width: 160px;
  white-space: nowrap;
}
.company-table__note { font-size: 13px; color: var(--c-gray-500); margin-left: 8px; }
.company-business {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.company-business li { font-size: 14px; }

.company-map { margin-top: 24px; }
.company-map iframe { width: 100%; height: 420px; border: 0; border-radius: 12px; }
.company-map__placeholder {
  background: var(--c-gray-50);
  border: 2px dashed var(--c-gray-300);
  border-radius: 12px;
  padding: 56px 32px;
  text-align: center;
  color: var(--c-gray-500);
}
.company-map__title { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--c-gray-700); }
.company-map__desc { margin: 0; font-size: 14px; }
.company-map__desc code {
  background: var(--c-white);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--c-gray-300);
  font-size: 13px;
}

/* Recruit ------------------------------------------------------------- */
.recruit-h2 {
  margin: 2.4em 0 1em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--c-cyan);
  font-size: 22px;
}
.recruit-message {
  background: var(--c-cyan-light);
  border-left: 4px solid var(--c-cyan);
  padding: 24px 28px;
  border-radius: 8px;
  margin-top: 24px;
}
.recruit-message .recruit-h2 {
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  font-size: 18px;
  color: var(--c-cyan-dark);
}
.recruit-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}
.recruit-roles li {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.recruit-roles__title {
  font-weight: 700;
  color: var(--c-cyan-dark);
  margin-bottom: 6px;
  font-size: 16px;
}
.recruit-roles__desc { margin: 0; font-size: 14px; color: var(--c-gray-700); line-height: 1.7; }

.recruit-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}
.recruit-list li { margin-bottom: 6px; }

.recruit-pickup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.recruit-pickup__item {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 10px;
  padding: 24px;
}
.recruit-pickup__badge {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}
.recruit-pickup__badge--alt { background: var(--c-cta); }

.recruit-cta {
  text-align: center;
  background: var(--c-black);
  color: var(--c-white);
  padding: 40px 24px;
  border-radius: 12px;
  margin-top: 56px;
}
.recruit-cta__lead {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--c-white);
}
.recruit-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.recruit-cta .btn--tel-large {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.recruit-cta .btn--tel-large:hover {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-white);
}
.recruit-cta__note {
  margin-top: 20px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

/* ==========================================================================
   Phase 4 — News / Column / Thanks / Related Services
   ========================================================================== */

/* News list（シンプルな日付＋タイトル横並び） ------------------------ */
.section--post-archive { padding: 64px 0; }
.post-list { display: flex; flex-direction: column; gap: 0; }
.post-list li { border-bottom: 1px solid var(--c-gray-100); }
.post-list li:first-child { border-top: 1px solid var(--c-gray-100); }
.post-list__link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  color: var(--c-black);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.post-list__link:hover { background: var(--c-cyan-light); color: var(--c-cyan-dark); }
.post-list__date {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--c-cyan-dark);
  font-weight: 700;
  font-family: Arial, sans-serif;
  letter-spacing: .02em;
}
.post-list__title { flex: 1 1 auto; font-size: 16px; font-weight: 500; line-height: 1.6; }
.post-list__more { color: var(--c-gray-500); font-weight: 700; }

/* Column grid（カード型） --------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--c-black);
}
.post-card__link:hover { color: var(--c-black); }
.post-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--c-cyan-light);
}
@supports not (aspect-ratio: 16 / 10) {
  .post-card__thumb { height: 0; padding-bottom: 62.5%; }
}
.post-card__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-card__body { padding: 20px 22px 22px; flex: 1 1 auto; display: flex; flex-direction: column; }
.post-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.post-card__date {
  font-size: 13px;
  color: var(--c-gray-500);
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}
.post-card__cat {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.post-card__title { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.post-card__excerpt {
  font-size: 13px;
  color: var(--c-gray-700);
  line-height: 1.7;
  margin: 0 0 14px;
  flex: 1 1 auto;
}
.post-card__more { color: var(--c-cyan-dark); font-weight: 700; font-size: 13px; }

.post-empty {
  text-align: center;
  color: var(--c-gray-500);
  padding: 56px 24px;
  background: var(--c-gray-50);
  border-radius: 12px;
}

/* Single news / column ------------------------------------------------ */
.single-post { padding: 56px 0; }
.single-post__hero {
  margin: 0 0 40px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.single-post__hero img { width: 100%; height: auto; display: block; }
.single-post__body { line-height: 1.95; font-size: 16px; }
.single-post__body h2 {
  font-size: 24px;
  margin: 2.4em 0 .8em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--c-cyan);
}
.single-post__body h3 { font-size: 19px; margin: 1.8em 0 .6em; color: var(--c-cyan-dark); }
.single-post__body p { margin: 0 0 1.4em; }
.single-post__body ul, .single-post__body ol { padding-left: 24px; margin: 0 0 1.4em; }
.single-post__body li { margin-bottom: 4px; }
.single-post__body img { border-radius: 8px; margin: 1em 0; }
.single-post__body blockquote {
  border-left: 4px solid var(--c-cyan);
  background: var(--c-gray-50);
  padding: 16px 20px;
  margin: 1.4em 0;
  color: var(--c-gray-700);
}
.single-post__body a { color: var(--c-cyan-dark); text-decoration: underline; }
.single-post__back { text-align: center; margin: 56px 0 0; }

.page-header__date { font-size: 14px; opacity: .9; margin-bottom: 8px; }

/* Related services (column singleで使用) ------------------------------ */
.section--related-services { background: var(--c-gray-50); padding: 64px 0; }
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.related-service-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--c-black);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.related-service-card:hover {
  background: var(--c-cyan-light);
  border-color: var(--c-cyan);
  color: var(--c-cyan-dark);
}
.related-service-card__title { font-size: 15px; }
.related-service-card__more { color: var(--c-cyan-dark); font-weight: 900; }

/* Thanks page --------------------------------------------------------- */
.thanks-block {
  text-align: center;
  background: var(--c-white);
  padding: 56px 32px;
  border-radius: 14px;
  border: 1px solid var(--c-gray-100);
  box-shadow: var(--shadow-md);
}
.thanks-block__icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  color: var(--c-cyan);
  background: var(--c-cyan-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.thanks-block__icon svg { width: 56px; height: 56px; }
.thanks-block__title {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 16px;
}
.thanks-block__lead { color: var(--c-gray-700); margin-bottom: 32px; line-height: 1.85; }
.thanks-block__custom { margin-bottom: 32px; text-align: left; }
.thanks-block__urgent {
  background: var(--c-gray-50);
  padding: 28px 24px;
  border-radius: 10px;
  margin-bottom: 32px;
}
.thanks-block__urgent-lead { font-weight: 700; margin-bottom: 16px; color: var(--c-black); }
.thanks-block__home { margin: 0; }

/* ==========================================================================
   Phase 5 — Search / Before-After / Voices / Fallback image
   ========================================================================== */

/* Search form --------------------------------------------------------- */
.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 560px;
}
.search-form__input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--c-gray-300);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--c-white);
  transition: border-color .15s, box-shadow .15s;
}
.search-form__input:focus {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(31, 143, 195, .15);
}
.search-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--c-cyan);
  color: var(--c-white);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.search-form__btn:hover { background: var(--c-cyan-dark); }
.search-form__btn svg { flex-shrink: 0; }

/* Search results ------------------------------------------------------ */
.section--search { padding: 64px 0; }
.search-rerun { margin-bottom: 40px; }
.search-results { display: flex; flex-direction: column; gap: 16px; }
.search-result {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.search-result:hover { border-color: var(--c-cyan); box-shadow: var(--shadow-md); }
.search-result__link { display: block; padding: 22px 24px; color: var(--c-black); text-decoration: none; }
.search-result__link:hover { color: var(--c-black); }
.search-result__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.search-result__type {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.search-result__date {
  font-size: 13px;
  color: var(--c-gray-500);
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.search-result__title { font-size: 18px; margin: 0 0 8px; line-height: 1.5; }
.search-result__excerpt { font-size: 14px; color: var(--c-gray-700); line-height: 1.7; margin: 0 0 8px; }
.search-result__more { color: var(--c-cyan-dark); font-weight: 700; font-size: 13px; }

.search-empty {
  background: var(--c-cyan-light);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}
.search-empty__title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.search-empty__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.search-empty__links a {
  background: var(--c-white);
  border: 1px solid var(--c-cyan);
  color: var(--c-cyan-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.search-empty__links a:hover { background: var(--c-cyan); color: var(--c-white); }

/* Before / After ------------------------------------------------------ */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.before-after__item {
  margin: 0;
  background: var(--c-gray-50);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.before-after__label {
  margin: 0;
  padding: 10px 16px;
  background: var(--c-white);
  font-weight: 700;
  border-bottom: 1px solid var(--c-gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.before-after__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.before-after__nopict {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cyan-light);
  color: var(--c-gray-500);
  font-weight: 700;
}
.before-after__caption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--c-gray-700);
  line-height: 1.7;
  flex: 1;
}
@media (max-width: 768px) {
  .before-after { grid-template-columns: 1fr; gap: 16px; }
}

/* Customer voices ----------------------------------------------------- */
.section--voices { background: var(--c-cyan-light); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.voice-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.voice-card::before {
  content: """;
  position: absolute;
  top: 4px; left: 16px;
  font-size: 64px;
  line-height: 1;
  color: var(--c-cyan);
  opacity: .25;
  font-family: Georgia, serif;
}
.voice-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.voice-card__type { margin: 0; font-weight: 700; font-size: 15px; color: var(--c-black); }
.voice-card__area {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.voice-card__rating { margin: 0; font-size: 16px; line-height: 1; flex-shrink: 0; letter-spacing: 1px; }
.voice-card__star { color: var(--c-gray-300); }
.voice-card__star.is-on { color: #FFB400; }
.voice-card__consult {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c-cyan-dark);
  font-weight: 700;
}
.voice-card__comment {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  flex: 1;
}
.voice-card__comment p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray-700);
}
.voice-card__work {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--c-gray-300);
  font-size: 12px;
  color: var(--c-gray-500);
}

/* Fallback image スタイル（プレースホルダー画像が使われた時のフィット） */
.burst-fallback-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   サービス詳細ページの内部セクション
   ========================================================================== */
.section--svc-block { padding: 64px 0; }

/* 業務内容の説明文（リード直下の長文セクション） */
.page-body.svc-description {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.svc-description__p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-gray-700);
  margin: 0 0 1.4em;
}
.svc-description__p:last-of-type { margin-bottom: 28px; }
/* 関連業務のインラインリンク行（SEO・内部リンク強化） */
.svc-description__related {
  margin: 32px 0 0;
  padding: 16px 20px;
  background: var(--c-gray-50);
  border-left: 3px solid var(--c-cyan);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray-700);
}
.svc-description__related strong {
  color: var(--c-black);
  margin-right: 6px;
}
.svc-description__related a {
  color: var(--c-cyan-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svc-description__related a:hover { color: var(--c-cyan); }

.svc-description__cta {
  margin: 28px 0 0;
  text-align: center;
}
.svc-description__cta .btn {
  min-width: 280px;
}
/* 業務内容一覧へ戻る（セカンダリ・控えめ） */
.svc-description__back {
  margin: 14px 0 0;
  text-align: center;
}
.svc-description__back-btn {
  min-width: 240px;
  padding: 12px 28px;
  font-size: 14px;
}
/* 共通：控えめな「トップページへ戻る」サブ導線（template-parts/back-to-home.php）
   余白方針：上下を同値（PC 32px / SP 24px）にして見た目の均等感を確保 */
.back-to-home {
  margin: 32px auto;
  text-align: center;
  padding: 0 var(--gutter);
}
.back-to-home__btn {
  display: inline-block;
  min-width: 200px;
  padding: 10px 24px;
  background: var(--c-gray-50);
  color: var(--c-cyan-dark);
  border: 1px solid var(--c-gray-300);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.back-to-home__btn:hover {
  background: var(--c-white);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}
@media (max-width: 599px) {
  .back-to-home { margin: 24px auto; }
  .back-to-home__btn { width: 100%; max-width: 320px; min-width: 0; }
}

/* トップページへ戻る（ターシャリ・最も控えめなサブボタン）
   余白方針：共通 .back-to-home と同じく上下を同値（PC 32px / SP 24px）に統一 */
.svc-description__home {
  margin: 32px 0;
  text-align: center;
}
.svc-description__home-btn {
  display: inline-block;
  min-width: 200px;
  padding: 10px 24px;
  background: var(--c-gray-50);
  color: var(--c-cyan-dark);
  border: 1px solid var(--c-gray-300);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.svc-description__home-btn:hover {
  background: var(--c-white);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}
@media (max-width: 599px) {
  .page-body.svc-description {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .svc-description__p { font-size: 15px; line-height: 1.9; }
  .svc-description__cta .btn { min-width: 0; width: 100%; }
  .svc-description__back-btn { min-width: 0; width: 100%; }
  .svc-description__home { margin: 24px 0; }
  .svc-description__home-btn { min-width: 0; width: 100%; }
}

/* 「こんな症状にお悩みありませんか？」リスト
   ---------------------------------------------------------------
   症状ワードを見つけやすくし、本文より一段階大きく・行間広めに */
.problems-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.problems-list li {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 8px;
  padding: 16px 20px 16px 52px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--c-black);
  font-weight: 600;
  letter-spacing: .02em;
}
.problems-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--c-cyan-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23156FA0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.problems-cta {
  margin: 40px auto 8px !important;
  padding: 0 16px;
  text-align: center;
  font-size: 22px;
  line-height: 1.7;
  color: var(--c-black);
  font-weight: 800;
  letter-spacing: .03em;
}
.problems-cta strong {
  color: var(--c-cyan-dark);
  border-bottom: 2px solid var(--c-cyan);
  padding-bottom: 2px;
}
@media (min-width: 720px) {
  .problems-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 599px) {
  .problems-list li {
    font-size: 16px;
    line-height: 1.8;
    padding: 14px 16px 14px 46px;
  }
  .problems-list li::before {
    left: 14px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background-size: 14px 14px;
  }
  .problems-cta {
    font-size: 19px;
    line-height: 1.75;
    margin-top: 32px !important;
  }
}

.svc-targets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.svc-targets li {
  background: var(--c-white);
  border-left: 4px solid var(--c-cyan);
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.svc-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.svc-method {
  background: var(--c-white);
  padding: 24px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.svc-method__name {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--c-cyan-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-cyan);
}
.svc-method__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray-700);
}

.svc-merits {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.svc-merits li {
  background: var(--c-cyan-light);
  border-left: 4px solid var(--c-cyan-dark);
  padding: 16px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 768px) {
  .section--svc-block { padding: 48px 0; }
}

/* ==========================================================================
   業者様専用セクション（section--contractor）
   ========================================================================== */
.section--contractor {
  background: var(--c-white);
}
.section--contractor .section__title strong {
  color: var(--c-cyan-dark);
}

.contractor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.contractor-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;                    /* グリッドセル内で高さ揃え */
}
.contractor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-cyan);
}

/* グリッド側：各セル高さを揃える */
.contractor-grid > * { align-self: stretch; }

/* 画像エリア：固定高さでpixel-perfect整列・水色線も完全揃え
   中央寄せは flex + 念のため text-align も指定（belt-and-suspenders） */
.contractor-card__thumb {
  width: 100%;
  height: 280px;                   /* 固定高さ：3カード完全同高 */
  flex: 0 0 280px;                 /* flex子要素として高さ固定 */
  background: var(--c-white);
  border-bottom: 3px solid var(--c-cyan);  /* この線が3カード同じY位置に揃う */
  display: flex;
  flex-direction: column;          /* 縦並びに統一（単一子でも安定） */
  align-items: center;             /* 水平中央 */
  justify-content: center;         /* 垂直中央 */
  text-align: center;              /* テキスト配下要素も中央 */
  padding: 20px;                   /* 上下左右 等しい padding */
  box-sizing: border-box;
  overflow: hidden;
}
.contractor-card__thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;             /* 切れない・歪まない・ロゴ全体表示 */
  display: block;
  margin-left: auto;               /* 水平中央：左右マージン auto */
  margin-right: auto;
}

.contractor-card__body {
  padding: 24px 24px 28px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.contractor-card__title {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--c-cyan-dark);
  letter-spacing: .01em;
  font-weight: 700;
}
.contractor-card__subtitle {
  font-size: 13px;
  color: var(--c-gray-500);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: .05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-gray-100);
}
.contractor-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray-700);
  flex: 1;
}

.contractor-cta {
  text-align: center;
  background: var(--c-cyan-light);
  padding: 36px 24px;
  border-radius: 12px;
  border: 2px solid var(--c-cyan);
}
.contractor-cta__lead {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--c-black);
  margin: 0 0 20px;
}

@media (max-width: 1024px) {
  .contractor-grid { gap: 20px; }
  .contractor-card__thumb { height: 240px; flex-basis: 240px; padding: 16px; }
  .contractor-card__title { font-size: 19px; }
  .contractor-card__body { padding: 20px 20px 24px; }
}

@media (max-width: 768px) {
  .contractor-grid { grid-template-columns: 1fr; gap: 20px; }
  .contractor-card__thumb { height: 260px; flex-basis: 260px; padding: 24px; }
  .contractor-card__title { font-size: 20px; }
  .contractor-cta { padding: 28px 20px; }
}

/* Phase 4 SP overrides */
@media (max-width: 768px) {
  .post-list__link { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 8px; }
  .post-list__more { display: none; }
  .post-list__title { font-size: 15px; }

  .thanks-block { padding: 40px 20px; }
  .thanks-block__icon { width: 76px; height: 76px; }
  .thanks-block__icon svg { width: 44px; height: 44px; }
  .thanks-block__urgent { padding: 20px 16px; }

  .related-services-grid { grid-template-columns: 1fr; }
}

/* Phase 3 SP overrides ------------------------------------------------ */
@media (max-width: 768px) {
  .breadcrumb__list { font-size: 12px; padding: 10px 0; }

  .faq-item__q { padding: 16px 48px 16px 60px; font-size: 15px; }
  .faq-item__a { padding: 4px 16px 18px 60px; }

  .cf-form { padding: 20px; }
  .cf-form__row--two { grid-template-columns: 1fr; gap: 16px; }
  .cf-form__submit button { min-width: 0; width: 100%; }

  .company-table th { width: 100px; padding: 12px 12px; font-size: 13px; white-space: normal; }
  .company-table td { padding: 12px 12px; font-size: 14px; }
  .company-business { grid-template-columns: 1fr; }
  .company-map iframe { height: 280px; }
  .company-map__placeholder { padding: 36px 20px; }

  .recruit-pickup { grid-template-columns: 1fr; }
  .recruit-cta__buttons { flex-direction: column; }
  .recruit-cta__buttons .btn { width: 100%; min-width: 0; }
}

/* Fixed CTA (mobile) -------------------------------------------------- */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: none;
  z-index: 90;
  background: var(--c-white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  transform: translateY(100%);
  transition: transform .25s ease-out;
  will-change: transform;
}
.fixed-cta.is-visible { transform: translateY(0); }
.fixed-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-white);
  text-decoration: none;
}
.fixed-cta__btn:hover { color: var(--c-white); opacity: .92; }
.fixed-cta__icon { width: 18px; height: 18px; flex-shrink: 0; }
.fixed-cta__btn--tel { background: var(--c-black); }
.fixed-cta__btn--contact { background: var(--c-cta); }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header__cta .btn--tel .btn__sub { display: none; }
}

@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --gutter: 16px; }
  .sp-only { display: inline; }

  /* Header SP：Grid を flex に戻す（既存挙動維持） */
  .site-header__inner {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  .site-header__cta { display: none; }
  .site-header__toggle { display: block; }
  /* スマホ用：PCの 140px/150px 親子幅を上書き */
  .site-header__logo {
    flex: 0 0 auto !important;
    max-width: 130px !important;
    min-width: 0 !important;
    margin-right: 8px !important;
  }
  .site-header__logo a {
    width: auto !important;
    max-width: 130px !important;
  }
  .site-header__logo .custom-logo,
  .site-header__logo .site-header__logo-img,
  .site-header__logo a img,
  .site-header__logo img {
    width: auto !important;
    max-width: 125px !important;
    height: auto !important;
    max-height: 34px !important;
  }
  .site-header__nav {
    order: 99;
    flex: 0 0 100%;
  }
  .primary-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-gray-100);
    padding: 8px 0;
    margin: 0 calc(var(--gutter) * -1);
    align-items: stretch;
  }
  .primary-menu.is-open { display: flex; }
  .primary-menu li { border-bottom: 1px solid var(--c-gray-100); }
  .primary-menu li:last-child { border-bottom: 0; }
  .primary-menu a { display: block; padding: 14px 24px; font-size: 16px; }
  .primary-menu a::after { display: none; }

  /* Section SP */
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }

  /* Hero SP */
  .hero { min-height: 480px; }
  .hero__inner { padding: 56px var(--gutter); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { min-width: 0; width: 100%; }

  /* CTA SP */
  .footer-cta__buttons,
  .cta-block__buttons { flex-direction: column; align-items: stretch; }
  .footer-cta .btn,
  .cta-block__buttons .btn { min-width: 0; width: 100%; }

  /* Footer SP */
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }

  /* Reasons SP */
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .reason-card { padding: 24px 18px; }

  /* 固定CTA表示 + 本文に余白 */
  .fixed-cta { display: flex; }
  body { padding-bottom: 64px; }
}

@media (max-width: 480px) {
  .reason-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 28px; }
  .hero__lead { font-size: 15px; }
  .btn--tel-large .btn__main { font-size: 24px; }
  .footer-cta { padding: 48px 0; }
}
