/* =========================================================
   CSS Variables
   ========================================================= */
:root {
  --white:   #FFFFFF;
  --gray-bg: #F5F5F5;
  --text:    #1A1A1A;
  --gray:    #666666;
  --gray-lt: #999999;
  --yellow:  #FFD200;
  --black:   #111111;
  --skew:    -3deg;

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --container: 1280px;
  --radius:    4px;

  /* Section padding */
  --sp-section: 64px;
  --pc-section: 110px;
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

/* =========================================================
   Typography utilities
   ========================================================= */
.label-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-lt);
}

.heading-ja {
  font-family: var(--font-ja);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
}

.heading-ja--lg  { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.heading-ja--md  { font-size: clamp(1.375rem, 3vw, 2rem); }
.heading-ja--sm  { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.accent {
  color: var(--yellow);
  /* Avoid inline background trick for now; just use color */
}

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

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* Section spacing */
.section-inner {
  padding-block: var(--sp-section);
}

/* sections that use .container directly (no .section-inner wrapper) */
.section-cases,
.section-flow,
.section-recruit,
.section-faq,
.section-contact {
  padding-block: var(--sp-section);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('../img/AdobeStock_1962091160_Preview.webp');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 0;
}

.section-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: 0;
}

.section-contact .container {
  position: relative;
  z-index: 1;
}

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

  .section-cases,
  .section-flow,
  .section-recruit,
  .section-faq,
  .section-contact {
    padding-block: var(--pc-section);
  }
}

/* Section heading block */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 64px;
  }
}

.section-head .label-en {
  display: block;
  margin-bottom: 10px;
}

.section-head .heading-ja {
  margin-bottom: 16px;
}

.section-head .lead {
  font-size: 0.9375rem;
  color: var(--gray);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.8;
}

/* 見出し下の短いイエローライン */
.yellow-line {
  display: block;
  width: 44px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* =========================================================
   Alternating backgrounds
   ========================================================= */
.bg-white {
  background-color: var(--white);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 480px,
      rgba(255, 210, 0, 0.9) 480px,
      rgba(255, 230, 80, 0.70) 1180px
    );
  background-attachment: scroll, fixed;
}

.bg-gray {
  background-color: var(--gray-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 480px,
      rgba(255, 210, 0, 0.9) 480px,
      rgba(255, 230, 80, 0.70) 1180px
    );
  background-attachment: scroll, fixed;
}

/* =========================================================
   Diagonal line accent (section divider)
   Wrap a section with .has-diagonal to get a yellow thin line
   ========================================================= */
.diagonal-accent {
  position: relative;
  overflow: visible;
}

.diagonal-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: 4px;
  background: var(--yellow);
  transform: skewY(var(--skew));
  transform-origin: left bottom;
  pointer-events: none;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn--black {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.btn--black:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn--yellow:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
}

.btn--white:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   Fade-in animation (JS adds .is-visible)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* 左から水平フェード */
  .fade-in--from-left {
    transform: translateX(-80px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }

  .fade-in--from-left.is-visible {
    transform: translateX(0);
  }

  /* 右から水平フェード */
  .fade-in--from-right {
    transform: translateX(80px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }

  .fade-in--from-right.is-visible {
    transform: translateX(0);
  }

  .fade-in--delay-1 { transition-delay: 0.15s; }
  .fade-in--delay-2 { transition-delay: 0.30s; }
  .fade-in--delay-3 { transition-delay: 0.45s; }
  .fade-in--delay-4 { transition-delay: 0.60s; }
}

/* =========================================================
   HERO — 全面動画背景＋テキストオーバーレイ
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  overflow: hidden;
  background: #111;
}

/* 背景動画 */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* 白グラデーションオーバーレイ（左から右へ透明に） */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.74) 30%,
    rgba(255, 255, 255, 0.28) 52%,
    transparent 66%
  );
}

/* コンテンツラッパー */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 68px);
  padding-block: 80px;
}

.hero-content {
  max-width: 680px;
  width: fit-content;
}

/* スクロールインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll__mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll__wheel {
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

.hero-scroll__label {
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-lt);
  margin-bottom: 24px;
}

.hero-heading {
  font-family: var(--font-ja);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 36px;
}

.hero-accent-word {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--black);
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 40px;
  border-radius: 4px;
  max-width: 560px;
}
@media (max-width: 767px) {
.hero-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}
}
.br-pc { display: block; }
.br-sp { display: none; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  gap: 10px;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
  padding-inline: px;
  position: relative;
  max-width: 270px;
}

.hero-cta .btn i {
  position: absolute;
  right: 16px;
}

.hero-cta .btn--white {
  position: relative;
}

.hero-cta .btn--white::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  height: 2px;
  background: var(--yellow);
  transition: background 0.2s;
}

.hero-cta .btn--white:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--black);
}

.hero-cta .btn--white:hover::after {
  background: var(--black);
}

@media (max-width: 767px) {
  .hero-cta {
    gap: 12px;
  }
  .hero-cta .btn {
    font-size: 0.8125rem;
    padding: 13px 14px;
  }
}

.hero-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.hero-sub-link:hover {
  color: var(--black);
  border-color: var(--black);
}

/* 下部の黄色い斜めアクセントライン */
.hero-diag {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
  z-index: 3;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .hero-inner {
    align-items: flex-start;
    padding-block: 40px 120px;
  }

  /* モバイル：上から文字エリアを浮き立たせる縦グラデ */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.80) 40%,
      rgba(255, 255, 255, 0.30) 68%,
      transparent 100%
    );
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
  }

  .br-pc { display: none; }
  .br-sp { display: block; }

  .hero-eyebrow {
    margin-bottom: 14px;
  }

  .hero-heading {
    font-size: clamp(2.4rem, 10.2vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .hero-diag {
    height: 28px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content {
    max-width: 680px;
  }
}

/* =========================================================
   共通：セクション下部の斜めアクセントライン
   ========================================================= */
.section-diag {
  position: relative;
  height: 36px;
  overflow: hidden;
  margin-top: -1px;
}

.section-diag--yellow {
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

.section-diag--black {
  background: var(--black);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

/* =========================================================
   わたしたちの想い（PHILOSOPHY）
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .section-philosophy .philosophy-card.fade-in,
  .section-reasons .reason-item.fade-in,
  .section-services .service-card.fade-in,
  .section-flow .flow-step.fade-in {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }
  .section-philosophy .philosophy-card.fade-in.is-visible,
  .section-reasons .reason-item.fade-in.is-visible,
  .section-services .service-card.fade-in.is-visible,
  .section-flow .flow-step.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .section-philosophy .philosophy-card.fade-in--delay-1,
  .section-reasons .reason-item.fade-in--delay-1,
  .section-services .service-card.fade-in--delay-1,
  .section-flow .flow-step.fade-in--delay-1 {
    transition-delay: 0.28s;
  }
  .section-philosophy .philosophy-card.fade-in--delay-2,
  .section-reasons .reason-item.fade-in--delay-2,
  .section-services .service-card.fade-in--delay-2,
  .section-flow .flow-step.fade-in--delay-2 {
    transition-delay: 0.56s;
  }
}

.section-philosophy {
  position: relative;
  background-image: url('../img/AdobeStock_1995240271_Preview.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.section-philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.section-philosophy .container {
  position: relative;
  z-index: 1;
}

.section-philosophy .label-en,
.section-philosophy .heading-ja {
  color: var(--text);
}

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

.philosophy-card {
  background: var(--white);
  border-radius: 8px;
  padding: 44px 32px 40px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.philosophy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  overflow: hidden;
}

.philosophy-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.philosophy-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-lt);
  margin-bottom: 12px;
}

.philosophy-title {
  font-family: var(--font-ja);
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 16px;
}

.philosophy-body {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--gray);
}

/* SP */
@media (max-width: 767px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .philosophy-card {
    padding: 36px 24px 32px;
    text-align: left;
  }

  .philosophy-icon {
    margin: 0 auto 16px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .philosophy-grid .philosophy-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* =========================================================
   選ばれる理由（REASONS）
   ========================================================= */
.section-reasons {
  position: relative;
  overflow: hidden;
}


.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.reason-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.reason-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11);
}

/* 番号 */
.reason-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.reason-number {
  font-family: var(--font-en);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.reason-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
}

.reason-body-wrap {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.reason-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.reason-item:hover .reason-photo img {
  transform: scale(1.04);
}

.reason-title {
  font-family: var(--font-ja);
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-body {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--gray);
}

/* SP */
@media (max-width: 767px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reason-number {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reasons-grid .reason-item:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* =========================================================
   サービス一覧（SERVICES）
   ========================================================= */
.section-services {
  position: relative;
  overflow: hidden;
}

.section-services::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('../img/AdobeStock_1126365929_Preview.webp');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 0;
}

.section-services::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: 0;
}

.section-services .container {
  position: relative;
  z-index: 1;
}

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

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 210, 0, 1) 0%, rgba(255, 230, 80, 1) 100%);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--black);
  margin: 0 auto 24px;
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-ja);
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-lt);
  letter-spacing: 0.05em;
}

.service-body {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--gray);
}

/* SP */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   施工事例（CASES）
   ========================================================= */
.case-current-head {
  margin-top: 40px;
  margin-bottom: 20px;
  min-height: 3.5em;
}

.case-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-ja);
  color: var(--text);
  margin-bottom: 6px;
}

.case-card__note {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.6;
}

.cases-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cases-track-clip {
  flex: 1;
  overflow: hidden;
}

.cases-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-photos {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 12px;
}

.case-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-photo__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 2px;
}

.case-photo__label--before {
  background: var(--white);
  color: var(--text);
}

.case-photo__label--after {
  background: var(--yellow);
  color: var(--text);
}

.case-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--text);
}

.cases-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--black);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.cases-nav:hover {
  background: var(--yellow);
  color: var(--text);
}

.cases-nav svg {
  width: 16px;
  height: 16px;
}

.cases-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.cases-dot.is-active {
  background: var(--yellow);
  transform: scale(1.4);
}

.cases-footer {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

@media (max-width: 767px) {
  .cases-slider-wrap {
    gap: 8px;
    margin-top: 36px;
  }

  .cases-nav {
    width: 32px;
    height: 32px;
  }

  .cases-nav svg {
    width: 14px;
    height: 14px;
  }

  .case-card__title {
    font-size: 1.125rem;
  }

  .case-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px 0;
  }

  .case-arrow {
    width: 32px;
    height: 32px;
    margin: 0 auto;
  }

  .case-arrow svg {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
  }

  .cases-footer {
    padding-top: 40px;
  }
}

/* =========================================================
   施工の流れ（FLOW）
   ========================================================= */
.flow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
}

.flow-step {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 36px 24px 32px;
  text-align: center;
}

.flow-step__num {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 20px;
}

.flow-step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
}

.flow-step__icon svg {
  width: 100%;
  height: 100%;
}

.flow-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.flow-step__body {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.8;
}

.flow-arrow {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 767px) {
  .flow-steps {
    flex-direction: column;
    gap: 0;
  }

  .flow-step {
    width: 100%;
    padding: 28px 24px;
  }

  .flow-step__num {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }

  .flow-arrow {
    width: auto;
    height: 32px;
    transform: rotate(90deg);
  }
}

/* =========================================================
   協力職人募集（RECRUIT）
   ========================================================= */
.recruit-inner {
  display: flex;
  gap: 56px;
  align-items: center;
}

.recruit-photo {
  flex: 0 0 44%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-body {
  flex: 1;
  min-width: 0;
}

.recruit-body .label-en {
  display: block;
  margin-bottom: 12px;
}

.recruit-body .heading-ja {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
}

.recruit-lead {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 24px;
}

.recruit-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.recruit-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
}

.recruit-points li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--yellow);
  margin-top: 2px;
}

@media (max-width: 767px) {
  .recruit-inner {
    flex-direction: column;
    gap: 32px;
  }

  .recruit-photo {
    flex: none;
    width: 100%;
  }

  .recruit-body .heading-ja {
    font-size: 1.5rem;
  }

  .recruit-body .btn {
    display: flex;
    margin-inline: auto;
    width: fit-content;
  }
}

/* =========================================================
   FAQ（よくある質問）
   ========================================================= */
.faq-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.faq-lead {
  flex: 0 0 260px;
  position: sticky;
  top: 88px;
}

.faq-lead .label-en {
  display: block;
  margin-bottom: 10px;
}

.faq-lead .heading-ja {
  margin-bottom: 20px;
}

.faq-lead__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.faq-lead__human {
  display: flex;
  justify-content: center;
}

.faq-lead__human img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}

.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-q {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.faq-question__text {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  position: relative;
  padding: 0 24px 20px 72px;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.85;
}

.faq-answer p::before {
  content: 'A';
  position: absolute;
  left: 24px;
  top: 0;
  width: 32px;
  height: 32px;
  background: #e03131;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .faq-inner {
    flex-direction: column;
    gap: 32px;
  }

  .faq-lead {
    flex: none;
    width: 100%;
    position: static;
  }

  .faq-lead .heading-ja {
    font-size: 1.75rem;
    white-space: nowrap;
  }

  .faq-question {
    padding: 22px 16px;
  }

  .faq-answer p {
    padding: 0 16px 20px 64px;
  }

  .faq-answer p::before {
    left: 16px;
  }
}

/* =========================================================
   お問い合わせ（CONTACT）
   ========================================================= */
/* --- CTA + フォーム 共通ラッパー --- */
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* --- CTA ブロック（電話） --- */
.contact-cta {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 28px 32px 24px;
  border-radius: 12px;
}

.contact-cta__copy {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-cta__sub {
  font-size: 1.0625rem;
  color: var(--black);
  margin-bottom: 28px;
  line-height: 1.7;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.06em;
  transition: opacity 0.2s, box-shadow 0.2s;
  background: var(--white);
  border-radius: 9999px;
  padding: 4px 80px;
  margin-bottom: 8px;
  border: 2px solid var(--black);
  box-shadow: 6px 6px 0 var(--yellow);
}

.contact-cta__tel:hover { opacity: 0.75; }

.contact-cta__tel i {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-cta__hours {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 16px;
  margin-bottom: 32px;
}

.contact-cta__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(0, 0, 0, 0.40);
}

.contact-cta__divider-text {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* --- フォームへの誘導テキスト --- */
.contact-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 0 8px;
  color: var(--black);
}

.contact-divider__text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* --- フォームラッパー --- */
.contact-form-wrap {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 40px 36px;
}

/* --- 各フォームグループ --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-required {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--black);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.form-optional {
  font-size: 0.6875rem;
  font-weight: 600;
  background: #ccc;
  color: var(--white);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* --- テキスト・電話・メール input --- */
.form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: #bbb;
}

.form-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.25);
}

/* --- セレクトボックス --- */
.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  pointer-events: none;
}

.form-select {
  width: 100%;
  height: 52px;
  padding: 0 40px 0 16px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.25);
}

/* --- テキストエリア --- */
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-textarea::placeholder {
  color: #bbb;
}

.form-textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.25);
}

/* --- プライバシーポリシー チェックボックス --- */
.form-group--privacy {
  margin-bottom: 24px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #d8d8d8;
  border-radius: 4px;
  background: var(--white);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.form-checkbox input[type="checkbox"]:checked + .form-checkbox__box {
  background: var(--yellow);
  border-color: var(--yellow);
}

.form-checkbox input[type="checkbox"]:checked + .form-checkbox__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(-45deg);
}

.form-checkbox input[type="checkbox"]:focus-visible + .form-checkbox__box {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.form-checkbox__text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

/* --- 送信ボタン --- */
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  line-height: 1.6;
}

/* --- レスポンシブ --- */
@media (max-width: 767px) {
  .contact-cta {
    padding: 36px 20px 28px;
  }

  .contact-cta__copy {
    font-size: 1.625rem;
  }

  .contact-cta__tel {
    font-size: 1.25rem;
    gap: 6px;
    padding: 5px 32px;
  }

  .contact-cta__tel i {
    font-size: 1rem;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .form-input,
  .form-select {
    height: 56px;
    font-size: 1rem;
  }
}

/* =========================================================
   フッター（FOOTER）
   ========================================================= */
.site-footer {
  background: linear-gradient(to right, #484848 0%, #2c2c2c 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* --- ブランド --- */
.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 0.8; }

.footer-logo__img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-brand__tagline {
  font-size: 0.8125rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

/* --- 会社情報 --- */
.footer-info {
  flex: 1;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-address a:hover {
  color: var(--white);
}

.footer-address p:last-child {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

/* --- SNS --- */
.footer-sns__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-sns__link:hover {
  color: var(--white);
}

/* --- フッターナビ --- */
.footer-nav {
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 24px;
}

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 40px;
}

.footer-nav__list a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.footer-nav__list a:hover {
  color: var(--yellow);
}

/* --- コピーライト --- */
.footer-copy {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-info {
    flex: none;
    width: 100%;
  }

  .footer-nav {
    margin-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .footer-nav__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   Placeholder for sections not yet implemented
   ========================================================= */
.section-placeholder {
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-lt);
  border: 1px dashed #ccc;
  margin: 8px 20px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: #e8e8e8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

/* --- Logo --- */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.site-logo:hover { opacity: 0.8; }

.logo-img {
  height: 28px;
  width: auto;
}

/* --- Global nav (PC) --- */
.global-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.nav-list a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  width: 96px;
  text-align: center;
  padding: 6px 0;
  border-radius: var(--radius);
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-list a:hover {
  color: var(--black);
  background: rgba(255, 210, 0, 0.18);
}

/* SP用アイコン — PC では非表示 */
.nav-icon-left,
.nav-icon-right {
  display: none;
}

/* --- Header CTA --- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s;
}

.header-tel:hover { color: var(--black); }

.header-contact-btn {
  padding: 10px 18px;
  font-size: 0.8125rem;
  white-space: nowrap;
}

/* --- Hamburger (SP only) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile header ===== */
@media (max-width: 900px) {
  .header-tel,
  .header-contact-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    height: 20px;
  }

  .global-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    padding: 24px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
  }

  .global-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    font-size: 1.0625rem;
    padding: 16px 8px;
    border-bottom: 1px solid #eee;
    border-radius: 0;
  }

  .nav-list li:first-child a {
    border-top: 1px solid #eee;
  }

  /* SP: アイコン表示 */
  .nav-icon-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    background: var(--yellow);
    border-radius: 50%;
    font-size: 0.875rem;
    color: var(--black);
    flex-shrink: 0;
  }

  .nav-icon-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--gray-lt);
  }

}

/* SP nav CTA block (hidden on PC) */
.nav-sp-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav-sp-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .nav-sp-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-en);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    padding: 14px;
    border: 2px solid var(--text);
    border-radius: var(--radius);
  }

  .nav-sp-contact {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }
}

/* =========================================================
   Section: Company (会社概要)
   ========================================================= */
.company-info {
  max-width: 760px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.company-info__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
  padding: 26px 20px;
}

.company-info__row:nth-child(odd) {
  background-color: var(--gray-bg);
}

.company-info__row:nth-child(even) {
  background-color: var(--white);
}

.company-info__key {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}

.company-info__val {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
}

/* 郵便番号（所在地の上段） */
.company-zip {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 4px;
}

/* Googleマップリンク */
.company-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.company-map-link:hover {
  color: var(--black);
  text-decoration-color: var(--yellow);
}

.company-map-link .fa-location-dot {
  color: var(--yellow);
  font-size: 0.95em;
  flex-shrink: 0;
}

/* 取引先（2行縦並び） */
.company-info__val--clients {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 取引先リンク */
.company-client-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.company-client-link:hover {
  color: var(--black);
  text-decoration-color: var(--yellow);
}

.company-client-link .fa-arrow-up-right-from-square {
  font-size: 0.72em;
  color: var(--gray-lt);
  flex-shrink: 0;
  transition: color 0.15s;
}

.company-client-link:hover .fa-arrow-up-right-from-square {
  color: var(--yellow);
}

@media (min-width: 768px) {
  .company-info__row {
    grid-template-columns: 12em 1fr;
    align-items: baseline;
    padding: 28px 28px;
  }

  .company-info__row--middle {
    align-items: center;
  }
}

/* =========================================================
   施工事例メタ情報（スライダー上部）
   ========================================================= */
.case-current-meta {
  max-width: 780px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.875rem;
}

.case-current-meta__row {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}

.case-current-meta__row dt {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.case-current-meta__row dd {
  color: var(--text);
}

@media (max-width: 640px) {
  .case-current-meta {
    grid-template-columns: 1fr;
  }
  .case-current-meta__row {
    grid-template-columns: 5em 1fr;
  }
}

/* =========================================================
   Section: Reviews（お客様の声）
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.review-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card__quote {
  color: var(--yellow);
  font-size: 1.75rem;
  line-height: 1;
}

.review-card__body {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text);
  flex-grow: 1;
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8125rem;
  color: var(--gray);
}

.review-card__name {
  font-weight: 700;
  color: var(--text);
}

.review-card__area::before {
  content: '｜';
}

.review-card__work::before {
  content: '｜';
}

/* =========================================================
   代表者紹介（Philosophy セクション内）
   ========================================================= */
.president {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .president {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 48px;
    margin-top: 80px;
    padding: 48px 48px;
  }
}

.president__photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.25);
}

.president__photo img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.president__body .label-en {
  display: block;
  margin-bottom: 8px;
}

.president__body .heading-ja {
  margin-bottom: 20px;
}

.president__lead {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

.president__meta {
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
}

.president__meta > div {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 12px;
}

.president__meta dt {
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
}

.president__meta dd {
  color: var(--text);
}

/* =========================================================
   Section: Access（アクセス）
   ========================================================= */

/* 交通案内リスト */
.access-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.access-info__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
}

.access-info__icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--black);
  flex-shrink: 0;
}

.access-info__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  flex: 1;
}

.access-info__label {
  font-size: 0.8125rem;
  color: var(--gray);
  width: 100%;
}

.access-info__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.access-info__time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9375rem;
  color: var(--text);
  margin-left: auto;
}

.access-info__time .fa-person-walking,
.access-info__time .fa-clock {
  color: var(--yellow);
}

@media (max-width: 640px) {
  .access-info__item {
    padding: 16px 18px;
    gap: 12px;
  }
  .access-info__time {
    margin-left: 0;
    width: 100%;
  }
}
.access-map {
  max-width: 900px;
  margin-inline: auto;
}

.access-map iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(10%);
}

.access-map__caption {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

.access-map__caption .fa-location-dot {
  color: var(--yellow);
}

/* =========================================================
   プライバシーポリシー関連リンク
   ========================================================= */
.form-privacy-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

.form-privacy-link:hover {
  text-decoration-color: var(--yellow);
}

.footer-privacy-link {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-privacy-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   プライバシーポリシーページ本文
   ========================================================= */
.section-privacy {
  padding-block: var(--sp-section);
}

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

.privacy-body {
  max-width: 780px;
  margin-inline: auto;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .privacy-body {
    padding: 48px 56px;
  }
}

.privacy-lead {
  margin-bottom: 8px;
}

.privacy-body h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--yellow);
}

.privacy-body p {
  margin-bottom: 12px;
}

.privacy-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 12px;
}

.privacy-body li {
  margin-bottom: 6px;
}

.privacy-updated {
  margin-top: 40px;
  font-size: 0.8125rem;
  color: var(--gray);
}

/* thanks.html 電話番号ブロック */
.tel-number {
  display: block;
  margin-bottom: 4px;
}

.tel-hours {
  display: block;
}

@media (max-width: 767px) {
  .tel-number {
    font-size: 1.5rem;
  }
}
