/* =========================================================
   WP移植リセット（TwentyTwentyFive グローバルスタイル抑制）
   ※ 4大事故ポイント先回り（reference_wp_block_theme_migration）
========================================================= */
html, body {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  /* padding-top / padding-bottom は意図的に未指定 */
}
body {
  --wp--style--root--padding-top: 0 !important;
  --wp--style--root--padding-right: 0 !important;
  --wp--style--root--padding-bottom: 0 !important;
  --wp--style--root--padding-left: 0 !important;
}
.wp-site-blocks {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  max-width: none !important;
}
.is-layout-flow, .is-layout-constrained,
.is-layout-flow > *, .is-layout-constrained > * {
  max-width: none !important;
}
.entry-content, .wp-block-post-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif !important;
}

/* =========================================================
   Design Tokens
========================================================= */
:root {
  /* Colors */
  --color-primary: #1E3A8A;
  --color-primary-dark: #162A61;
  --color-accent: #F39C1F;
  --color-accent-dark: #D88A15;
  --color-text: #1A202C;
  --color-text-sub: #64748B;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F7FA;
  --color-border: #E2E8F0;

  /* Typography */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
  --section-pad-sp: 60px;
  --section-pad-pc: 120px;

  /* Shape */
  --radius-btn: 6px;
  --radius-card: 8px;
  --shadow-card: 0 2px 12px rgba(30, 58, 138, 0.08);
  --shadow-card-hover: 0 4px 20px rgba(30, 58, 138, 0.12);

  /* Transition */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   Reset
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* =========================================================
   Base
========================================================= */
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body { font-size: 16px; }
}

h1 { font-size: 28px; line-height: 1.4; font-weight: 700; }
h2 { font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--color-primary); }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 22px; }
}

/* =========================================================
   Layout utilities
========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-pad-sp) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--section-pad-pc) 0; }
}

.section--soft { background: var(--color-bg-soft); }

/* =========================================================
   Button
========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.button--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(243, 156, 31, 0.3);
}
.button--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(243, 156, 31, 0.4);
}

.button--outline {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}
.button--outline:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

/* =========================================================
   Scroll fade-in (Task 9 の IntersectionObserver と連動)
========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Site Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-header__logo img { height: 32px; width: auto; }

.site-header__nav {
  display: none;
}
.site-header__nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-header__nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.18s var(--ease-out);
}
.site-header__nav-link:hover { color: var(--color-accent); }

.site-header__cta {
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
}

.site-header__menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}
.site-header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}

@media (min-width: 768px) {
  .site-header__inner { height: 80px; }
  .site-header__logo img { height: 40px; }
  .site-header__nav { display: block; }
  .site-header__menu-toggle { display: none; }
  .site-header__cta { padding: 12px 22px; font-size: 14px; }
}

/* Mobile nav open state */
.site-header__nav.is-open {
  display: block;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.site-header__nav.is-open .site-header__nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 0;
}
.site-header__nav.is-open .site-header__nav-link {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid var(--color-border);
}

/* =========================================================
   Site Footer
========================================================= */
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 60px 0 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__info { font-size: 14px; line-height: 1.9; opacity: 0.95; }
.site-footer__info dt { font-weight: 600; opacity: 0.7; margin-top: 10px; }
.site-footer__info dt:first-child { margin-top: 0; }

.site-footer__nav-list,
.site-footer__policy-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__nav-link,
.site-footer__policy-link {
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.18s;
}
.site-footer__nav-link:hover,
.site-footer__policy-link:hover { opacity: 1; text-decoration: underline; }

.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.site-footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer { padding: 80px 0 32px; }
  .site-footer__top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
  }
}

/* =========================================================
   Hero
========================================================= */
.hero { position: relative; overflow: hidden; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 720px;
  object-fit: cover;
}
.hero__content {
  position: absolute;
  top: 42%;
  left: 0; right: 0;
  transform: translateY(-50%);
  color: #fff;
  z-index: 1;
}
.hero__copy {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
}
.hero__sub {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 24px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero__media img { height: auto; max-height: none; min-height: 0; }
  .hero__copy { font-size: 56px; margin-bottom: 24px; }
  .hero__sub { font-size: 18px; margin-bottom: 40px; }
}

/* =========================================================
   Area Map
========================================================= */
.area-map { text-align: center; }
.area-map__title { margin-bottom: 12px; }
.area-map__lead { color: var(--color-text-sub); margin-bottom: 32px; }
.area-map__figure { max-width: 640px; margin: 0 auto; }

/* =========================================================
   Strengths
========================================================= */
.strengths { text-align: center; }
.strengths__title { margin-bottom: 40px; }
.strengths__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.strengths__item {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s, transform 0.18s;
}
.strengths__item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.strengths__icon {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
}
.strengths__icon img { width: 100%; height: 100%; object-fit: contain; }
.strengths__name { color: var(--color-primary); margin-bottom: 12px; }
.strengths__desc { font-size: 14px; color: var(--color-text-sub); text-align: left; }

@media (min-width: 768px) {
  .strengths__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .strengths__desc { font-size: 15px; }
}

/* =========================================================
   Featured Banners
========================================================= */
.featured-banners { text-align: center; }
.featured-banners__title { margin-bottom: 40px; }
.featured-banners__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.featured-banners__link {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s, transform 0.18s;
}
.featured-banners__link:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.featured-banners__link img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.featured-banners__body { padding: 20px; text-align: left; }
.featured-banners__body h3 { color: var(--color-primary); margin-bottom: 8px; }
.featured-banners__body p { font-size: 14px; color: var(--color-text-sub); }

@media (min-width: 768px) {
  .featured-banners__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* =========================================================
   News List
========================================================= */
.news-list { text-align: center; }
.news-list__title { margin-bottom: 40px; }
.news-list__list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.news-list__item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}
.news-list__date { font-size: 13px; color: var(--color-text-sub); font-variant-numeric: tabular-nums; }
.news-list__category {
  font-size: 12px;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.news-list__text { font-size: 15px; }
.news-list__note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 767px) {
  .news-list__item {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date category"
      "text text";
    gap: 8px 12px;
  }
  .news-list__date { grid-area: date; }
  .news-list__category { grid-area: category; justify-self: start; }
  .news-list__text { grid-area: text; font-size: 14px; }
}

/* =========================================================
   CTA Section
========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-section__inner { padding: 20px 0; }
.cta-section__title { color: #fff; margin-bottom: 12px; }
.cta-section__lead { opacity: 0.9; margin-bottom: 28px; }

/* =========================================================
   Page Hero (下層ページ共通)
========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 12px;
}
.page-hero__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.page-hero__lead {
  font-size: 15px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .page-hero { padding: 96px 0 72px; }
  .page-hero__title { font-size: 40px; }
  .page-hero__lead { font-size: 17px; }
}

/* =========================================================
   Section headings (汎用)
========================================================= */
.section__title {
  text-align: center;
  margin-bottom: 12px;
}
.section__lead {
  text-align: center;
  color: var(--color-text-sub);
  margin-bottom: 40px;
}

/* =========================================================
   Service Grid (21 items)
========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-grid__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px 8px;
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.service-grid__item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.service-grid__item img {
  width: 56px; height: 56px;
  margin: 0 auto 8px;
  object-fit: contain;
}
.service-grid__item span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .service-grid__item { padding: 24px 12px; }
  .service-grid__item img { width: 72px; height: 72px; }
  .service-grid__item span { font-size: 14px; }
}

/* =========================================================
   Company Profile Table
========================================================= */
.company-profile__table {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.company-profile__table th,
.company-profile__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.company-profile__table th {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-weight: 600;
  width: 140px;
  white-space: nowrap;
}
.company-profile__table tr:last-child th,
.company-profile__table tr:last-child td { border-bottom: none; }
.company-profile__table a { color: var(--color-accent); font-weight: 600; }

@media (max-width: 767px) {
  .company-profile__table th {
    display: block;
    width: auto;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .company-profile__table td {
    display: block;
    padding-top: 4px;
    padding-bottom: 16px;
  }
}

/* =========================================================
   CEO Message
========================================================= */
.ceo-message__body {
  max-width: 720px;
  margin: 0 auto;
}
.ceo-message__lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}
.ceo-message__body p { margin-bottom: 16px; }
.ceo-message__sign {
  text-align: right;
  color: var(--color-text-sub);
  margin-top: 24px;
}

/* =========================================================
   Workflow
========================================================= */
.workflow__badges {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.workflow__badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(243, 156, 31, 0.25);
}
@media (min-width: 768px) {
  .workflow__badge {
    font-size: 17px;
    padding: 12px 28px;
  }
}
.workflow__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.workflow__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
}
.workflow__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.workflow__figure img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}
.workflow__body h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.workflow__body p { font-size: 14px; color: var(--color-text-sub); }

@media (min-width: 768px) {
  .workflow__step {
    grid-template-columns: 120px 240px 1fr;
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
  }
  .workflow__figure img { max-width: 240px; aspect-ratio: auto; }
}

/* =========================================================
   Recruit Hero
========================================================= */
.recruit-hero { position: relative; overflow: hidden; }
.recruit-hero__media img {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 640px;
  object-fit: cover;
}
.recruit-hero__content {
  position: absolute;
  top: 42%;
  left: 0; right: 0;
  transform: translateY(-50%);
  color: #fff;
  z-index: 1;
  text-align: right;
}
.recruit-hero__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 12px;
}
.recruit-hero__copy {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.recruit-hero__sub {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .recruit-hero__media img { height: auto; max-height: none; min-height: 0; }
  .recruit-hero__copy { font-size: 56px; margin-bottom: 24px; }
  .recruit-hero__sub { font-size: 18px; margin-bottom: 40px; }
}

/* =========================================================
   Services Hero (services.html ページヘッダー)
========================================================= */
.services-hero { position: relative; overflow: hidden; }
.services-hero__media img {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 640px;
  object-fit: cover;
}
.services-hero__content {
  position: absolute;
  top: 36%;
  left: 0; right: 0;
  transform: translateY(-50%);
  color: #fff;
  z-index: 1;
}
.services-hero__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 12px;
}
.services-hero__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.services-hero__lead {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .services-hero__media img { height: auto; max-height: none; min-height: 0; }
  .services-hero__title { font-size: 56px; margin-bottom: 24px; }
  .services-hero__lead { font-size: 18px; margin-bottom: 40px; }
}

/* =========================================================
   Gallery (施工事例 右→左ループスライダー)
========================================================= */
.gallery-slider {
  overflow: hidden;
  margin-top: 32px;
  width: 100%;
}
.gallery-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
  animation: gallery-scroll 40s linear infinite;
  will-change: transform;
}
.gallery-track:hover {
  animation-play-state: paused;
}
.gallery-track__item {
  flex: 0 0 auto;
  width: 240px;
  margin-right: 12px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.gallery-track__item a {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-track__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-track__item:hover img {
  transform: scale(1.08);
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .gallery-track__item {
    width: 360px;
    margin-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
  }
}

/* =========================================================
   Recruit Message
========================================================= */
.recruit-message__body {
  max-width: 720px;
  margin: 0 auto;
}
.recruit-message__lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 24px;
}
.recruit-message__body p { margin-bottom: 16px; }

/* =========================================================
   Recruit Spec (dl)
========================================================= */
.recruit-spec__list {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.recruit-spec__row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--color-border);
}
.recruit-spec__row:last-child { border-bottom: none; }
.recruit-spec__row dt {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-weight: 600;
  padding: 14px 20px;
}
.recruit-spec__row dd {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .recruit-spec__row { grid-template-columns: 160px 1fr; }
  .recruit-spec__row dt { padding: 20px 24px; border-right: 1px solid var(--color-border); }
  .recruit-spec__row dd { padding: 20px 28px; font-size: 15px; }
}

/* =========================================================
   Recruit Apply
========================================================= */
.recruit-apply__steps {
  max-width: 720px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.recruit-apply__steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-size: 15px;
}
.recruit-apply__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}
.recruit-apply__cta {
  text-align: center;
}

/* =========================================================
   Contact Form
========================================================= */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.contact-form__required {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: #fff;
  font-size: 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(243, 156, 31, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 160px; }

.contact-form__choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form__choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
}
.contact-form__choices input { width: 20px; height: 20px; accent-color: var(--color-accent); }

@media (min-width: 768px) {
  .contact-form__choices { flex-direction: row; flex-wrap: wrap; gap: 20px; }
}

.contact-form__consent {
  background: var(--color-bg-soft);
  padding: 16px 20px;
  border-radius: var(--radius-card);
}
.contact-form__consent label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 400;
  cursor: pointer;
}
.contact-form__consent input { width: 18px; height: 18px; accent-color: var(--color-accent); }
.contact-form__consent a { color: var(--color-accent); text-decoration: underline; }

.contact-form__submit { text-align: center; }
.contact-form__submit .button { min-width: 240px; padding: 16px 32px; }

/* =========================================================
   Thanks
========================================================= */
.thanks__inner {
  text-align: center;
  max-width: 640px;
  padding: 40px 24px;
}
.thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 700;
  margin: 0 auto 24px;
}
.thanks__message {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.thanks__notice {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 32px;
  line-height: 1.8;
}
.thanks__notice strong {
  color: var(--color-accent);
  font-weight: 700;
}

@media (min-width: 768px) {
  .thanks__message { font-size: 32px; }
  .thanks__notice { font-size: 16px; }
}

/* =========================================================
   Policy Page (privacy / security / quality 共通)
========================================================= */
.policy-page__content {
  max-width: 760px;
  margin: 0 auto;
}
.policy-page__content h2 {
  font-size: 20px;
  color: var(--color-primary);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}
.policy-page__content h2:first-child { margin-top: 0; }
.policy-page__content p { margin-bottom: 14px; font-size: 15px; }
.policy-page__content ol,
.policy-page__content ul {
  margin: 12px 0 12px 1.5em;
}
.policy-page__content li { margin-bottom: 8px; }
.policy-page__back { text-align: center; margin-top: 48px; }

.policy-page__notice {
  background: #fff7e8;
  border-left: 4px solid var(--color-accent);
  padding: 12px 16px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* =========================================================
   CF7 補強（site.css 最末尾・後勝ち / specifity 1段上げ）
========================================================= */
/* CF7 が挿入する wrap スパンをブロック化して input 幅 100% を維持 */
.wpcf7-form .wpcf7-form-control-wrap { display: block; width: 100%; }
/* チェックボックス系は inline のままにする */
.wpcf7-form .contact-form__choices .wpcf7-form-control-wrap,
.wpcf7-form .contact-form__consent .wpcf7-form-control-wrap { display: inline; width: auto; }
/* CF7 list-item のデフォルト margin-left を殺し、静的版の縦/横並びを再現 */
.wpcf7-form .wpcf7-list-item { margin: 0; display: block; }
.wpcf7-form .contact-form__choices .wpcf7-checkbox { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) {
  .wpcf7-form .contact-form__choices .wpcf7-checkbox { flex-direction: row; flex-wrap: wrap; gap: 20px; }
}
.wpcf7-form .contact-form__choices .wpcf7-list-item label,
.wpcf7-form .contact-form__consent .wpcf7-list-item label {
  margin-bottom: 0;
}
/* 送信中スピナー・バリデーションメッセージの体裁 */
.wpcf7-form .wpcf7-not-valid-tip { color: #d63638; font-size: 13px; margin-top: 6px; }
.wpcf7-form .wpcf7-response-output {
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  margin: 8px 0 0;
  font-size: 14px;
}
.wpcf7-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
