/* ==========================================================================
   Latin Construction — Site Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-text: #1f2733;
  --color-muted: #5d6776;
  --color-line: #e4e9f0;
  /* ブランドパレット：青を基調に、黄をアクセント、多色をカードに循環 */
  --color-navy: #3261B2;        /* ブランドの主役ブルー */
  --color-navy-dark: #2a528f;   /* 濃いブルー（グラデの濃い側／フッター） */
  --color-blue-deep: #21406f;   /* さらに深いブルー（グラデの最深部） */
  --color-blue-bright: #65AEDB; /* 明るいスカイブルー */
  --color-accent: #F4C535;      /* イエロー（アクセント） */
  --color-accent-dark: #e0a82b; /* 濃いイエロー */
  --color-soft: #eef4fb;        /* 明るい水色がかったソフト背景 */
  /* 指定の6色（カード等に循環で割り当て） */
  --c-blue: #3261B2;
  --c-sky: #65AEDB;
  --c-green: #75C158;
  --c-orange: #E07641;
  --c-purple: #9A68C9;
  --c-yellow: #F4C535;
  /* 明るい色の上に乗せるバッジ文字色（暗色） */
  --on-dark: #1f2733;
  /* ロゴ由来のレッド寄せ→オレンジ寄りの朱色（CTAの差し色） */
  --c-logo-red: #ed5a1e;
  --logo-red-grad: linear-gradient(135deg, #f86e22 0%, #e23d1a 100%);
  /* ストリングライトのような多色グラデ帯（暖→寒→紫の流れ） */
  --rainbow: linear-gradient(90deg,
    #E07641 0%, #F4C535 20%, #75C158 40%,
    #65AEDB 60%, #3261B2 80%, #9A68C9 100%);
  /* ヒーロー／ページヘッダー共通の、画面いっぱいに広がる青→紫グラデ */
  --hero-grad: linear-gradient(110deg,
    #2a528f 0%, #3261B2 34%, #4f7cc4 52%, #7a5cb6 80%, #9A68C9 100%);
  --max-width: 1180px;
  --header-h: 96px;
  /* 本文・見出しともモダンな角ゴシック（クール系）。見出しは900で力強く */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  /* 手書き風フォントの偽ボールド（合成太字）を防ぐ */
  font-synthesis: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Scroll reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  /* 不透明の純白。ロゴ画像の白背景と完全に一致させて浮きを防ぐ */
  background: #fff;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: height 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 80px;
  border-bottom-color: var(--color-line);
  box-shadow: 0 6px 24px rgba(50, 97, 178, 0.1);
}

/* グアタペの塗り分け階段のような多色帯をヘッダー最上部に */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--rainbow);
}

.site-header .inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--color-navy);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

/* ヘッダーのロゴ画像 */
.logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}

.site-header.is-scrolled .logo img {
  height: 64px;
}

/* ロゴ横の社名ワードマーク：大きく堂々と。通常は黒、ホバーで虹色グラデ */
.logo-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #1a1a1a;
  transition: font-size 0.35s ease, transform 0.3s ease;
}

/* カーソルを当てると「ラテン建設」が流れる虹色グラデーションに */
.logo:hover {
  opacity: 1; /* a:hover の薄まりを打ち消す（ホバー時の色変化なし） */
}

.site-header.is-scrolled .logo-name {
  font-size: 28px;
}

/* 「株式会社」も本体と同じ大きさで均一に */
.logo-name__co {
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: inherit;
}

.logo .en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-blue);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.gnav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

/* お問い合わせはPCではピル型ボタン側を使うのでメニュー内は非表示。スマホのみ表示 */
.gnav-cta { display: none; }

.gnav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  display: inline-block;
  transform-origin: center bottom;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.gnav a:hover {
  transform: scale(1.18);
  opacity: 1;
}
.gnav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  color: #fff;
  overflow: hidden;
  /* 画面いっぱいの連続グラデ（左右の端まで1枚で繋がる） */
  background: var(--hero-grad);
}

/* Split layout (left: copy / right: image) */
.hero-split .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.hero-split .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 60px;
  /* 背景は .hero のフルブリードグラデを透過して見せる */
  background: transparent;
  position: relative;
}

/* ヒーロー下端にグアタペの塗り分け階段のような多色帯（全幅） */
.hero-split::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--rainbow);
  z-index: 3;
}

.hero-split .hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, 0.03) 80px,
      rgba(255, 255, 255, 0.03) 81px
    );
  pointer-events: none;
}

.hero-split .hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-split .hero-image {
  position: relative;
  overflow: hidden;
  background: #21406f;
}

.hero-split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: hero-zoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-zoom {
  from { transform: scale(1.16); }
  to { transform: scale(1.04); }
}

.hero-image-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  background: rgba(8, 22, 40, 0.75);
  backdrop-filter: blur(4px);
  padding: 14px 22px;
  border-left: 2px solid var(--color-accent);
}

.hero-image-caption .en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.hero-image-caption .ja {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy .eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.45em;
  color: var(--color-accent);
  margin-bottom: 28px;
  padding-left: 60px;
  position: relative;
  opacity: 0;
  animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-copy .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 1px;
  background: var(--color-accent);
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 36px;
  opacity: 0;
  animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

.hero-copy h1 .accent {
  color: var(--color-accent);
}

.hero-copy p {
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  opacity: 0.92;
  max-width: 600px;
  opacity: 0;
  animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.46s forwards;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p {
    opacity: 1;
    animation: none;
  }
  .hero-split .hero-image img {
    animation: none;
    transform: scale(1.04);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
  writing-mode: vertical-rl;
}

.hero-split .hero-scroll {
  left: auto;
  right: 60px;
  transform: none;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.6);
  margin: 12px auto 0;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
}

/* ---- Hero brand logo (top page LEFT side / reveal on hover) ---- */
/* ロゴを左カラムへ、コピーを右カラムへ */
.hero-split .hero-brand { order: -1; }

.hero-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

/* ロゴ背後のスポットライト。既定は非表示、ホバーで広がって光の中からロゴが現れる */
.hero-brand::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(101, 174, 219, 0.18) 38%,
    rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-logo {
  width: min(86%, 480px);
  height: auto;
  /* 既定は完全に非表示。カーソルを当てて初めて姿が現れる */
  opacity: 0;
  scale: 0.9;
  filter: drop-shadow(0 18px 32px rgba(8, 20, 45, 0.5));
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  will-change: scale, opacity;
}

/* カーソルを当てるとロゴがふわっと浮き出てくる */
.hero-brand:hover .hero-logo {
  opacity: 1;
  scale: 1;
  filter:
    drop-shadow(0 26px 46px rgba(8, 20, 45, 0.5))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.5));
  animation: hero-float 6.5s ease-in-out infinite;
}

.hero-brand:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

/* ふわりと浮遊（出現後） */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand:hover .hero-logo {
    animation: none;
  }
}

/* ---- Page Header (for sub pages) — hero-style split ---- */
.page-header {
  height: clamp(440px, 66vh, 660px);
  margin-top: var(--header-h);
  color: #fff;
  /* ヒーローと同じ画面いっぱいの連続グラデ */
  background: var(--hero-grad);
  overflow: hidden;
  position: relative;
}

/* ページヘッダー下端の多色帯（全幅） */
.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--rainbow);
  z-index: 3;
}

.page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  position: relative;
  /* 背景は .page-header のフルブリードグラデを透過して見せる */
  background: transparent;
}

.page-header-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, 0.03) 80px,
      rgba(255, 255, 255, 0.03) 81px
    );
  pointer-events: none;
}

.page-header-copy > * {
  position: relative;
  z-index: 1;
}

.page-header-copy .eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 22px;
  padding-left: 60px;
  position: relative;
}

.page-header-copy .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 1px;
  background: var(--color-accent);
}

.page-header-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.page-header-image {
  position: relative;
  overflow: hidden;
  background: #21406f;
}

.page-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

/* Randomized images: fade in once loaded (prevents flash of placeholder) */
.hero-split .hero-image img,
.page-header-image img {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-split .hero-image img.is-loaded,
.page-header-image img.is-loaded {
  opacity: 1;
}

/* ---- Section common ---- */
.section {
  padding: 132px 0;
}

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

.section.bg-navy {
  background: var(--color-navy);
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.section-head .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--c-blue);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 16px;
  position: relative;
}

.section-head .en::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--rainbow);
}

.section.bg-navy .section-head .en {
  color: var(--c-yellow);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.section.bg-navy .section-head h2 {
  color: #fff;
}

/* ---- About block (top page) ---- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-block .text h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.about-block .text p {
  color: var(--color-muted);
  margin-bottom: 18px;
  line-height: 2.1;
}

.about-block .image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, #65AEDB 0%, #3261B2 100%);
  position: relative;
  overflow: hidden;
}

.about-block .image::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px solid var(--c-yellow);
  pointer-events: none;
  z-index: 1;
}

.about-block .image::after {
  content: "LATIN";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
}

/* When a real photo is placed, show it and drop the placeholder watermark */
.about-block .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-block .image:has(img)::after {
  display: none;
}

/* ---- Business list (事業内容 / 交互レイアウト) ---- */
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.biz-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  --c: var(--c-blue);
}

/* 1項目ごとに色を変える（グアタペの塗り分け） */
.biz-item:nth-child(6n + 1) { --c: var(--c-blue); }
.biz-item:nth-child(6n + 2) { --c: var(--c-orange); }
.biz-item:nth-child(6n + 3) { --c: var(--c-green); --c-on: var(--on-dark); }
.biz-item:nth-child(6n + 4) { --c: var(--c-purple); }
.biz-item:nth-child(6n + 5) { --c: var(--c-sky); --c-on: var(--on-dark); }
.biz-item:nth-child(6n + 6) { --c: var(--c-yellow); --c-on: var(--on-dark); }

/* 偶数行は画像とテキストを左右入れ替え */
.biz-item:nth-child(even) .biz-image {
  order: 2;
}

.biz-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #65AEDB 0%, #3261B2 100%);
  position: relative;
}

.biz-image::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px solid var(--c);
  pointer-events: none;
  z-index: 1;
}

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

.biz-text .num {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-on, #fff);
  background: var(--c);
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.biz-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 22px;
}

.biz-text h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--c);
  margin-top: 22px;
}

.biz-text p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 2.1;
}

/* ---- Service grid ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--c, var(--c-blue));
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:nth-child(6n + 1) { --c: var(--c-blue); }
.service-card:nth-child(6n + 2) { --c: var(--c-orange); }
.service-card:nth-child(6n + 3) { --c: var(--c-green); --c-on: var(--on-dark); }
.service-card:nth-child(6n + 4) { --c: var(--c-purple); }
.service-card:nth-child(6n + 5) { --c: var(--c-sky); --c-on: var(--on-dark); }
.service-card:nth-child(6n + 6) { --c: var(--c-yellow); --c-on: var(--on-dark); }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(50, 97, 178, 0.14);
}

.service-card .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: var(--c, var(--c-blue));
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.service-card p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.9;
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--c, var(--c-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-on, #fff);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
}

/* ---- Works grid ---- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--c, var(--c-blue));
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:nth-child(6n + 1) { --c: var(--c-blue); }
.work-card:nth-child(6n + 2) { --c: var(--c-orange); }
.work-card:nth-child(6n + 3) { --c: var(--c-green); --c-on: var(--on-dark); }
.work-card:nth-child(6n + 4) { --c: var(--c-purple); }
.work-card:nth-child(6n + 5) { --c: var(--c-sky); --c-on: var(--on-dark); }
.work-card:nth-child(6n + 6) { --c: var(--c-yellow); --c-on: var(--on-dark); }

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(50, 97, 178, 0.16);
}

.work-thumb {
  aspect-ratio: 4 / 3;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(50, 97, 178, 0.4);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.06);
}

.work-thumb.v2 { background: linear-gradient(135deg, #3a5878 0%, #1a3252 100%); }
.work-thumb.v3 { background: linear-gradient(135deg, #4a6280 0%, #243f5e 100%); }
.work-thumb.v4 { background: linear-gradient(135deg, #2c4a6e 0%, #142c4a 100%); }
.work-thumb.v5 { background: linear-gradient(135deg, #1f3a5c 0%, #0a1c34 100%); }
.work-thumb.v6 { background: linear-gradient(135deg, #34527a 0%, #1a3252 100%); }

.work-info {
  padding: 24px;
}

.work-info .cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-on, #fff);
  background: var(--c, var(--c-blue));
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.work-info h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.6;
}

.work-info h3:last-child {
  margin-bottom: 0;
}

.work-info .meta {
  font-size: 13px;
  color: var(--color-muted);
}

/* ---- News list ---- */
.news-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
}

.news-list li {
  padding: 24px 8px;
  border-bottom: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  gap: 24px;
  align-items: baseline;
}

.news-list li:first-child {
  border-top: 1px solid var(--color-line);
}

.news-list .date {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.news-list .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--c-blue);
  color: #fff;
  text-align: center;
}

.news-list .tag.holiday {
  background: var(--c-orange);
}

.news-list a {
  color: var(--color-text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
  border: 1px solid var(--color-navy);
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn::after {
  content: "→";
  font-family: serif;
}

.btn:hover {
  background: var(--color-navy);
  color: #fff;
  opacity: 1;
}

.btn.btn-accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn.btn-accent:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn.btn-light {
  border-color: #fff;
  color: #fff;
}

.btn.btn-light:hover {
  background: #fff;
  color: var(--color-navy);
}

.center {
  text-align: center;
  margin-top: 48px;
}

/* ---- CTA banner ---- */
.cta {
  background:
    linear-gradient(135deg, rgba(50, 97, 178, 0.82) 0%, rgba(154, 104, 201, 0.8) 100%),
    url("images/work-02.jpg") center 50% / cover no-repeat,
    radial-gradient(ellipse at 70% 50%, #65AEDB 0%, #3261B2 55%, #9A68C9 100%);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  position: relative;
}

/* CTA上端に多色帯 */
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rainbow);
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 2;
}

.cta .tel {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.cta .tel-note {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

/* ---- Company info table ---- */
.info-table {
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
}

.info-table th,
.info-table td {
  padding: 24px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
  font-size: 15px;
}

.info-table th {
  width: 200px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.1em;
}

.info-table td {
  color: var(--color-muted);
  line-height: 1.9;
}

/* ---- Map (Google マップ埋め込み) ---- */
.map-embed {
  max-width: 820px;
  margin: 56px auto 0;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 600px) {
  .map-embed {
    aspect-ratio: 4 / 3;
  }
}

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

.recruit-table th,
.recruit-table td {
  padding: 22px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
  font-size: 15px;
}

.recruit-table th {
  width: 200px;
  background: var(--color-soft);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.1em;
}

.recruit-intro {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--color-muted);
  line-height: 2.1;
}

/* ---- Member circles (採用：メンバー写真の円形プレースホルダー) ---- */
.member-circles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 8px;
}

.member-circle {
  width: 220px;
  max-width: 38vw;
}

/* 枠はカラフルなグラデーション。中の写真は丸く切り抜き */
.member-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 7px solid transparent;
  /* 内側の薄い塗り＋未設定時の人物プレースホルダーアイコン（padding-box）、枠は虹色グラデ（border-box） */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b4c4db'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4 20.5c0-4.4 3.6-8 8-8s8 3.6 8 8z'/%3E%3C/svg%3E") center 54% / 42% no-repeat padding-box,
    linear-gradient(#eef4fc, #e2ecf8) padding-box,
    var(--rainbow) border-box;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-circle:hover .member-photo {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(50, 97, 178, 0.18);
}

/* あとで差し込む写真は円形にフィット */
.member-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .member-circles {
    gap: 22px;
  }
  .member-circle {
    width: 140px;
  }
}

/* 採用ページはセクションが多いので余白を詰める */
.page-recruit .section {
  padding: 80px 0;
}
.page-recruit .section-head {
  margin-bottom: 48px;
}
.page-recruit .recruit-photo {
  margin-bottom: 0;
}

/* ---- Safety section ---- */
.safety-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto 56px;
}

.safety-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.safety-photo figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.safety-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.safety-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.safety-list .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .safety-photos,
  .safety-list {
    grid-template-columns: 1fr;
  }
}

.recruit-photo {
  max-width: 880px;
  margin: 0 auto 72px;
}

.recruit-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.recruit-photo figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
  font-size: 13px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rainbow);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .logo .en {
  color: var(--c-yellow);
}

.footer-brand p {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-family: "Cormorant Garamond", serif;
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  /* スマホはヘッダー高さ・中央ぞろえを従来どおりに */
  :root { --header-h: 84px; }
  .site-header.is-scrolled { height: 66px; }

  .hero {
    height: auto;
    min-height: 0;
  }
  .hero-split .hero-inner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-split .hero-copy {
    padding: 120px 28px 60px;
    min-height: 60vh;
  }
  /* スマホ幅で見出しが途中改行しないようサイズを抑える */
  .hero-copy h1 {
    font-size: clamp(27px, 7vw, 44px);
    letter-spacing: 0.02em;
  }
  .hero-split .hero-image {
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }
  .hero-split .hero-scroll {
    display: none;
  }
  /* ブランドロゴ：スマホでは copy の下にコンパクトに。ホバー無しでも見えるよう不透明に */
  .hero-brand {
    padding: 10px 28px 56px;
  }
  .hero-logo {
    width: min(64%, 320px);
    opacity: 1;
    scale: 1;
    filter: drop-shadow(0 12px 22px rgba(8, 20, 45, 0.4));
  }

  .page-header {
    height: auto;
  }
  .page-header-inner {
    grid-template-columns: 1fr;
  }
  .page-header-copy {
    padding: 110px 28px 56px;
    min-height: 40vh;
    justify-content: flex-end;
  }
  .page-header-image {
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }

  /* 実機(iOS等)で背景が透けて暗く見えるのを防ぐため不透明の白に */
  .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .logo img {
    height: 50px;
  }
  .logo {
    gap: 8px;
  }
  .logo-name {
    font-size: 23px;
  }
  /* スクロール時にロゴ・社名が拡大してハンバーガーに被るのを防ぐ（PC用の拡大指定を打ち消す） */
  .site-header.is-scrolled .logo img {
    height: 44px;
  }
  .site-header.is-scrolled .logo-name {
    font-size: 21px;
  }

  .menu-toggle {
    display: block;
  }
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
    padding: 24px 0;
  }
  body.nav-open .gnav {
    transform: translateY(0);
    visibility: visible;
  }
  .gnav ul {
    flex-direction: column;
    gap: 0;
  }
  .gnav li {
    border-bottom: 1px solid var(--color-line);
  }
  .gnav li:last-child {
    border-bottom: none;
  }
  .gnav a {
    display: block;
    padding: 18px 24px;
  }
  /* スマホメニューでは日本語の隣に英語表記を常時インライン表示 */
  .gnav a::after {
    content: attr(data-en);
    display: inline;
    position: static;
    width: auto;
    height: auto;
    background: none;
    margin-left: 10px;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    opacity: 1;
  }
  .gnav-cta { display: block; }

  .about-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .biz-list {
    gap: 56px;
  }
  .biz-item {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* スマホでは行の左右入れ替えを解除し、常に画像を上に */
  .biz-item:nth-child(even) .biz-image {
    order: 0;
  }
  .service-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section {
    padding: 70px 0;
  }
  .news-list li {
    grid-template-columns: 100px 100px;
  }
  .news-list li > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }
  .info-table th,
  .recruit-table th {
    width: 120px;
    font-size: 13px;
  }
  .info-table td,
  .recruit-table td {
    font-size: 14px;
  }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   HOME REDESIGN ("感動の輪" 風 / ポップ・モーション多用)  — body.home のみ適用
   ========================================================================== */

/* ---- color helpers（指定6色）---- */
.home .c-b { --c: var(--c-blue);   --c-on: #fff; }
.home .c-s { --c: var(--c-sky);    --c-on: var(--on-dark); }
.home .c-g { --c: var(--c-green);  --c-on: var(--on-dark); }
.home .c-o { --c: var(--c-orange); --c-on: #fff; }
.home .c-p { --c: var(--c-purple); --c-on: #fff; }
.home .c-y { --c: var(--c-yellow); --c-on: var(--on-dark); }

/* ---- ヘッダー：ヒーロー上は透明＋白文字、スクロールで白背景に ---- */
.home .site-header { background: transparent; box-shadow: none; }
.home .site-header::before { opacity: 0; transition: opacity 0.35s ease; }
.home .site-header .logo-name { color: #fff; }
.home .site-header .menu-toggle span { background: #fff; }

.home .header-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  background: var(--logo-red-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(226, 80, 26, 0.42);
  transition: filter 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative;
}
.home .header-cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(150, 112, 10, 0.45); opacity: 1; }

/* ホバーで上部に英語表記（CONTACT）をふわっと表示 */
.home .header-cta::before {
  content: "CONTACT";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translate(-50%, 7px);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.home .header-cta:hover::before { opacity: 1; transform: translate(-50%, 0); }
.home .site-header.is-scrolled .header-cta::before { color: var(--c-logo-red); text-shadow: none; }

@media (min-width: 961px) {
  .home .site-header .gnav a { color: #fff; }
  .home .site-header .gnav a::after { background: var(--c-yellow); }

  /* ヘッダー全体を下ぞろえにして、ロゴ＋社名の下端にナビ・CTAを揃える */
  .site-header .inner { align-items: flex-end; padding-bottom: 13px; }
  .site-header.is-scrolled .inner { padding-bottom: 10px; }
  .gnav ul { align-items: flex-end; }
  .gnav a { padding-bottom: 3px; }

  /* ホバーで上部に英語表記をふわっと表示 */
  .gnav a::before {
    content: attr(data-en);
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2px);
    transform: translate(-50%, 7px);
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: currentColor;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .gnav a:hover::before { opacity: 0.95; transform: translate(-50%, 0); }
}

.home .site-header.is-scrolled { background: #fff; box-shadow: 0 6px 24px rgba(50, 97, 178, 0.1); }
.home .site-header.is-scrolled::before { opacity: 1; }
.home .site-header.is-scrolled .logo-name { color: #1a1a1a; }
.home .site-header.is-scrolled .menu-toggle span { background: var(--color-navy); }
.home .site-header.is-scrolled .header-cta { border-color: transparent; color: #fff; }
.home .site-header.is-scrolled .header-cta:hover { filter: brightness(1.06); color: #fff; }
@media (min-width: 961px) {
  .home .site-header.is-scrolled .gnav a { color: var(--color-navy); }
}

/* ---- 共通：セクション英字ラベル ---- */
.home .lp-sec-en {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-navy);
}
/* 英語ラベルの前のラインは非表示 */
.home .lp-sec-en::before { content: none; }

/* ---- 共通：丸ボタン付きリンク ---- */
.home .lp-circle-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.home .lp-circle-link:hover { opacity: 1; }
.home .lp-circle-link__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, color 0.4s;
}
.home .lp-circle-link:hover .lp-circle-link__btn { transform: translateX(8px); }
.home .lp-circle-link--dark { color: var(--color-navy); }
.home .lp-circle-link--dark:hover .lp-circle-link__btn { background: var(--color-navy); color: #fff; }

/* ---- 共通：スクロール出現 ---- */
.home .lp-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.home .lp-reveal.is-in { opacity: 1; transform: none; }

/* ==================== 改行の自動最適化（画面幅差を緩和） ==================== */
/* 見出し：行を均等配分。本文：最終行が極端に短くなるのを抑制 */
.lp-head__title,
.lp-mosaic__title,
.lp-biz__title,
.lp-news__title,
.lp-contact__title,
.lp-bizrow__title,
.lp-feature__text h3,
.lp-pagehero h1 {
  text-wrap: balance;
}
.lp-head__lead,
.lp-hero__lead,
.lp-hero__desc p,
.lp-contact__text,
.lp-bizrow__text p,
.lp-feature__text p,
.recruit-intro {
  text-wrap: pretty;
}
/* 重要な語句は途中で改行させない（深礎工事・立坑工事 等） */
.nb { white-space: nowrap; }
.lp-hero__desc strong { white-space: nowrap; }
/* 改行制御：PC用は .br-pc、スマホ用は .br-sp（既定では非表示） */
.br-sp { display: none; }
@media (max-width: 600px) {
  br.br-pc { display: none; }
  br.br-sp { display: inline; }
  /* スマホは指定位置で改行。字間は均一（左揃え）にし、長い行も収まるよう微調整 */
  .lp-hero__desc p { text-align: left; font-size: 14px; letter-spacing: 0.02em; }
}

/* ==================== HERO ==================== */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0d1f3d;
}
/* ナビ可読性のための上部スクリム（全体は暗くしない） */
.lp-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(rgba(10, 22, 46, 0.5), rgba(10, 22, 46, 0));
  z-index: 3;
  pointer-events: none;
}
.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: lp-hero-reveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
}
@keyframes lp-hero-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
/* カラフルで明るいウォッシュ（黒くしない） */
.lp-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(58deg,
    rgba(50, 97, 178, 0.9) 0%,
    rgba(50, 97, 178, 0.46) 34%,
    rgba(154, 104, 201, 0.16) 58%,
    rgba(101, 174, 219, 0) 78%);
}
/* 浮遊するポップな色玉 */
.lp-hero__blob {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: 0.85;
  pointer-events: none;
}
.lp-hero__blob--y {
  width: 230px; height: 230px;
  background: radial-gradient(circle at 35% 35%, var(--c-yellow), rgba(244,197,53,0));
  top: 16%; right: 12%;
  animation: lp-blob 9s ease-in-out infinite;
}
.lp-hero__blob--b {
  width: 300px; height: 300px;
  background: radial-gradient(circle at 35% 35%, var(--c-sky), rgba(101,174,219,0));
  bottom: 8%; right: 24%;
  animation: lp-blob 11s ease-in-out infinite reverse;
}
.lp-hero__blob--g {
  width: 250px; height: 250px;
  background: radial-gradient(circle at 35% 35%, var(--c-green), rgba(117,193,88,0));
  top: 44%; left: 9%;
  animation: lp-blob 10s ease-in-out infinite;
  animation-delay: -3.5s;
}
@keyframes lp-blob {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(70px, -55px) scale(1.25); }
  50%  { transform: translate(20px, -120px) scale(0.92); }
  75%  { transform: translate(-60px, -45px) scale(1.18); }
  100% { transform: translate(0, 0) scale(1); }
}
.lp-hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 132px;
}
.lp-hero__eyebrow {
  overflow: hidden;
  margin-bottom: 26px;
}
.lp-hero__eyebrow span {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.45em;
  color: var(--c-yellow);
  transform: translateY(110%);
  animation: lp-line-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.lp-hero__title {
  font-size: clamp(40px, 8vw, 104px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.02em;
  margin-bottom: 34px;
}
.lp-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.lp-hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lp-line-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.lp-hero__title .line:nth-child(1) > span { animation-delay: 0.28s; }
.lp-hero__title .line:nth-child(2) > span { animation-delay: 0.42s; }
.lp-hero__title em {
  font-style: normal;
  color: var(--c-yellow);
}
@keyframes lp-line-up { to { transform: none; } }
.lp-hero__lead {
  max-width: 38em;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 2.1;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  opacity: 0;
  animation: lp-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
.lp-hero__desc {
  max-width: 42em;
  margin-bottom: 40px;
  opacity: 0;
  animation: lp-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}
.lp-hero__desc p {
  font-size: clamp(15px, 1vw, 18px);
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}
.lp-hero__desc p:last-child { margin-bottom: 0; }
.lp-hero__desc strong { color: var(--c-yellow); font-weight: 700; }
.lp-hero__inner .lp-circle-link {
  opacity: 0;
  animation: lp-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.lp-hero__scroll {
  position: absolute;
  bottom: 30px;
  right: 48px;
  z-index: 4;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  writing-mode: vertical-rl;
}
.lp-hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  margin: 12px auto 0;
  background: rgba(255, 255, 255, 0.6);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ==================== MARQUEE ==================== */
.lp-marquee {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.lp-marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  white-space: nowrap;
  animation: lp-marquee 30s linear infinite;
}
.lp-marquee span {
  font-weight: 900;
  font-size: clamp(28px, 5vw, 58px);
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--color-text);
}
.lp-marquee .dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  flex: none;
}
.lp-marquee .dot--b { background: var(--c-blue); }
.lp-marquee .dot--y { background: var(--c-yellow); }
.lp-marquee .dot--g { background: var(--c-green); }
.lp-marquee .dot--o { background: var(--c-orange); }
.lp-marquee .dot--p { background: var(--c-purple); }
.lp-marquee .dot--s { background: var(--c-sky); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ==================== CONCEPT ==================== */
.lp-concept {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}
.lp-concept .container { position: relative; z-index: 1; }
.lp-concept__title {
  font-size: clamp(30px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: 0.03em;
  margin: 30px 0 44px;
}
.lp-concept__title span { display: block; }
.lp-concept__title em { font-style: normal; color: var(--c-orange); }
.lp-concept__body { max-width: 720px; }
.lp-concept__body p {
  color: var(--color-muted);
  line-height: 2.15;
  margin-bottom: 20px;
  font-size: 15.5px;
}
.lp-concept__body strong { color: var(--color-navy); font-weight: 700; }
.lp-concept__watermark {
  position: absolute;
  right: -1%;
  bottom: -8%;
  z-index: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(120px, 24vw, 340px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-soft);
  pointer-events: none;
  user-select: none;
}

/* ==================== MOSAIC ==================== */
.lp-mosaic {
  padding: 120px 0 130px;
  overflow: hidden;
}
.lp-mosaic__head { text-align: center; margin-bottom: 64px; }
.lp-mosaic__head .lp-sec-en { justify-content: center; }
.lp-mosaic__title {
  font-size: clamp(26px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-top: 20px;
}
.lp-mosaic__stage {
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: rotate(-4deg) scale(1.14);
}
.lp-mosaic__row {
  display: flex;
  gap: 28px;
  width: max-content;
}
.lp-mosaic__row--left { animation: lp-m-left 55s linear infinite; }
.lp-mosaic__row--right { animation: lp-m-right 68s linear infinite; }
.lp-mosaic__stage:hover .lp-mosaic__row { animation-play-state: paused; }
.lp-mosaic .tile {
  flex: none;
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--c, var(--c-blue));
  background: var(--c, var(--c-blue));
  box-shadow: 0 18px 40px rgba(20, 30, 60, 0.16);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-mosaic .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-mosaic .tile:hover { transform: translateY(-8px) scale(1.03); }
.lp-mosaic .tile:hover img { transform: scale(1.08); }
@keyframes lp-m-left { to { transform: translateX(-50%); } }
@keyframes lp-m-right { from { transform: translateX(-50%); } to { transform: none; } }
.lp-mosaic__cta { text-align: center; margin-top: 70px; }

/* ==================== BUSINESS ==================== */
.lp-biz {
  padding: 130px 0;
  background: var(--color-soft);
  position: relative;
  overflow: hidden;
}
.lp-biz .container { position: relative; z-index: 1; }

/* ドリルを置くセクションの土台（位置基準＋外側を隠す） */
.lp-drill-host { position: relative; overflow: hidden; }
/* セクション内のコンテンツ（文字・カード・写真）は必ずイラストの前面に */
.lp-drill-host > .container { position: relative; z-index: 1; }

/* 斜め上から登場し、ガガガッと振動するドリル */
.lp-drill {
  position: absolute;
  top: clamp(10px, 3vw, 56px);
  left: clamp(6px, 4vw, 84px);
  width: clamp(220px, 28vw, 400px);
  z-index: 0;
  opacity: 0;
  /* 斜め上（右上）から飛び込んでくる */
  transform: translate(64px, -150px) rotate(16deg);
  transition: transform 1.5s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.7s ease;
  pointer-events: none;
}
.lp-drill svg,
.lp-drill .drill-img { width: 100%; height: auto; display: block; }
.lp-drill.is-in { opacity: 1; transform: translate(0, 0) rotate(-7deg); }
/* 着地後、刃先で掘るように細かく振動（ガガガッ） */
.lp-drill .drill-shake {
  transform-box: view-box;
  transform-origin: 160px 200px;
  /* 約1.5秒ガガガッと振動 → 約2.3秒停止 を繰り返す（全体3.8秒） */
  animation: drill-shake 3.8s linear infinite;
}
.lp-drill .drill-img {
  transform-origin: 50% 42%;
  animation: drill-shake 3.8s linear infinite;
}
@keyframes drill-shake {
  0%  { transform: translate(0, 0) rotate(0deg); }
  3%  { transform: translate(1.7px, 1.4px) rotate(0.7deg); }
  6%  { transform: translate(-1.5px, -0.8px) rotate(-0.6deg); }
  9%  { transform: translate(1.3px, 1.7px) rotate(0.6deg); }
  12% { transform: translate(-1.6px, 0.6px) rotate(-0.7deg); }
  15% { transform: translate(1.6px, -1px) rotate(0.6deg); }
  18% { transform: translate(-1.3px, 1.5px) rotate(-0.5deg); }
  21% { transform: translate(1.7px, 0.9px) rotate(0.7deg); }
  24% { transform: translate(-1.6px, -1.2px) rotate(-0.6deg); }
  27% { transform: translate(1.3px, 1.5px) rotate(0.5deg); }
  30% { transform: translate(-1.5px, 0.5px) rotate(-0.7deg); }
  33% { transform: translate(1.5px, -0.9px) rotate(0.6deg); }
  36% { transform: translate(-1.2px, 1.3px) rotate(-0.5deg); }
  39% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media (max-width: 960px) {
  /* スマホでは非表示 */
  .lp-drill { display: none; }
}

/* ===== ショベルカー：右から車のように登場し、バケットが上下する ===== */
.lp-excav {
  position: absolute;
  top: clamp(-60px, -2vw, 0px);
  right: clamp(0px, 2vw, 44px);
  width: clamp(220px, 26vw, 380px);
  z-index: 0;
  opacity: 0;
  transform: translateX(140%);
  transition: transform 2.6s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.8s ease;
  pointer-events: none;
}
.lp-excav.is-in { opacity: 1; transform: translateX(0); }
.lp-excav svg { width: 100%; height: auto; display: block; overflow: visible; }
.lp-excav .exc-arm {
  transform-box: view-box;
  transform-origin: 158px 150px;
  animation: exc-dig 2.6s ease-in-out infinite;
}
@keyframes exc-dig {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(11deg); }
}
@media (max-width: 1000px) {
  .lp-excav { display: none; }
}

/* ===== 安全ヘルメット：右から斜めに登場・あごひもが揺れる ===== */
.lp-helm {
  position: absolute;
  top: clamp(-30px, -0.6vw, 8px);
  right: clamp(0px, 2vw, 40px);
  width: clamp(200px, 22vw, 320px);
  z-index: 0;
  opacity: 0;
  transform: translate(150%, -54px) rotate(6deg);
  transition: transform 2.6s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.8s ease;
  pointer-events: none;
}
.lp-helm.is-in { opacity: 1; transform: translate(0, 0) rotate(-13deg); }
.lp-helm svg { width: 100%; height: auto; display: block; overflow: visible; }
.lp-helm .helm-strap {
  transform-box: view-box;
  transform-origin: 180px 206px;
  animation: helm-swing 2.4s ease-in-out infinite;
}
@keyframes helm-swing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
@media (max-width: 1280px) {
  .lp-helm { display: none; }
}
.lp-biz__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 56px;
}
.lp-biz__title {
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.lp-biz__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.lp-biz__card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 18px;
  border-top: 5px solid var(--c);
  padding: 42px 40px 92px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 30, 60, 0.06);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}
.lp-biz__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.lp-biz__card:hover { transform: translateY(-8px); box-shadow: 0 28px 54px rgba(20, 30, 60, 0.16); opacity: 1; }
.lp-biz__card:hover::after { opacity: 0.05; }
.lp-biz__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--c);
}
.lp-biz__card h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 14px 0 16px;
}
.lp-biz__card p {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.95;
  position: relative;
  z-index: 1;
}
.lp-biz__arrow {
  position: absolute;
  right: 34px;
  bottom: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: var(--c-on, #fff);
  font-size: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-biz__card:hover .lp-biz__arrow { transform: translateX(6px); }

/* ==================== 私たちができること（写真カード） ==================== */
.lp-cando {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
  /* コンテナ幅を超えて画面いっぱいに広げ、写真を大きく見せる */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(20px, 4vw, 64px);
  box-sizing: border-box;
}
.cando-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(20, 30, 60, 0.14);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}
.cando-card:nth-child(even) { margin-top: 34px; }
.cando-card:hover { transform: translateY(-6px); box-shadow: 0 28px 52px rgba(20, 30, 60, 0.2); opacity: 1; }
.cando-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cando-card:hover img { transform: scale(1.05); }
/* ホバーで白いベール → 画像の色が淡くなる */
.cando-card::before {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.cando-card:hover::before { opacity: 0.42; }
/* ラベル可読性の下グラデ（常時） */
.cando-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: linear-gradient(transparent, rgba(15, 30, 60, 0.78));
  z-index: 2;
}
.cando-card__label {
  position: absolute; left: 0; right: 0; bottom: 26px;
  z-index: 3;
  text-align: center;
  color: #fff;
  font-weight: 900;
  font-size: clamp(17px, 1.4vw, 22px);
  letter-spacing: 0.08em;
}
.cando-card__btn {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center;
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--c, var(--c-blue));
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  white-space: nowrap;
}
.cando-card:nth-child(4n + 1) { --c: var(--c-blue); }
.cando-card:nth-child(4n + 2) { --c: var(--c-orange); }
.cando-card:nth-child(4n + 3) { --c: var(--c-green); }
.cando-card:nth-child(4n + 4) { --c: var(--c-purple); }
@media (max-width: 900px) {
  .lp-cando { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cando-card:nth-child(even) { margin-top: 0; }
  .cando-card:nth-child(2) { margin-top: 32px; }
}
@media (max-width: 560px) {
  .lp-cando { grid-template-columns: 1fr; }
  .cando-card { aspect-ratio: 16 / 10; }
  .cando-card:nth-child(even) { margin-top: 0; }
  .cando-card__label { bottom: 22px; }
}

/* ==================== NEWS ==================== */
.lp-news { padding: 120px 0; }
.lp-news__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 40px;
}
.lp-news__title { font-size: clamp(26px, 4vw, 46px); font-weight: 900; letter-spacing: 0.06em; }
.lp-news__list { list-style: none; }
.lp-news__list li {
  display: grid;
  grid-template-columns: 130px 90px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 12px;
  border-top: 1px solid var(--color-line);
  transition: background 0.3s, padding 0.3s;
}
.lp-news__list li:last-child { border-bottom: 1px solid var(--color-line); }
.lp-news__list li:hover { background: var(--color-soft); padding-left: 24px; }
.lp-news__list .date {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}
.lp-news__list .tag {
  justify-self: start;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--c);
  color: var(--c-on, #fff);
}
.lp-news__list a { font-weight: 500; }
.lp-news__more { margin-top: 48px; text-align: center; }

/* ==================== CONTACT ==================== */
.lp-contact {
  position: relative;
  overflow: hidden;
  padding: 132px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, var(--c-blue) 0%, #2a528f 44%, var(--c-purple) 100%);
}
.lp-contact__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
}
.lp-contact__blob--1 {
  width: 300px; height: 300px;
  background: var(--c-yellow);
  top: -70px; left: -50px;
  animation: lp-blob 12s ease-in-out infinite;
}
.lp-contact__blob--2 {
  width: 240px; height: 240px;
  background: var(--c-sky);
  bottom: -60px; right: -40px;
  animation: lp-blob 15s ease-in-out infinite reverse;
}
.lp-contact .container { position: relative; z-index: 1; }
.lp-contact .lp-sec-en { justify-content: center; color: var(--c-yellow); }
.lp-contact .lp-sec-en::before { background: var(--c-yellow); }
.lp-contact__title {
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 24px 0 22px;
}
.lp-contact__text { opacity: 0.92; line-height: 2; margin-top: 26px; margin-bottom: 38px; }
.lp-contact__tel {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 6.4vw, 66px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  display: inline-block;
  line-height: 1.1;
  transition: color 0.3s;
}
.lp-contact__tel:hover { color: var(--c-yellow); opacity: 1; }
.lp-contact__note { font-size: 13px; opacity: 0.78; margin-top: 14px; letter-spacing: 0.08em; }

/* ---- お問い合わせフォーム ---- */
.lp-form {
  max-width: 580px;
  margin: 44px auto 0;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  text-align: left;
  box-shadow: 0 24px 60px rgba(10, 20, 45, 0.28);
}
.lp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-form__field { margin-bottom: 20px; }
.lp-form__field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 8px;
}
.lp-form__field label .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 12.5px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-left: 5px;
}
.lp-form__field .req {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--c-orange);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
}
.lp-form input,
.lp-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #f6f8fb;
  border: 1.5px solid var(--color-line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lp-form input:focus,
.lp-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(50, 97, 178, 0.15);
}
.lp-form textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
.lp-form__submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px 24px;
  border: none;
  border-radius: 100px;
  background: var(--c-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, opacity 0.2s;
}
.lp-form__submit:hover { background: var(--color-navy-dark); transform: translateY(-2px); }
.lp-form__submit .en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-left: 5px;
}
.lp-form__privacy .en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  opacity: 0.82;
}
.lp-form__submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.lp-form__status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  min-height: 1em;
}
.lp-form__status.is-ok { color: var(--c-green); font-weight: 700; }
.lp-form__status.is-error { color: var(--c-red, #e0483a); font-weight: 700; }
.lp-form__privacy { margin: 14px 0 0; font-size: 12px; color: var(--color-muted); text-align: center; line-height: 1.7; }

/* ==================== HOME RESPONSIVE ==================== */
@media (max-width: 960px) {
  .home .header-cta { display: none; }
  .lp-hero__inner { padding-top: 130px; padding-bottom: 90px; }
  .lp-hero__scroll { display: none; }
  .lp-hero__blob--y { right: 6%; width: 150px; height: 150px; }
  .lp-hero__blob--b { right: 12%; width: 180px; height: 180px; }
  .lp-hero__blob--g { left: 4%; width: 150px; height: 150px; }
  .lp-concept { padding: 100px 0; }
  .lp-mosaic { padding: 90px 0 100px; }
  .lp-mosaic__stage { transform: rotate(-4deg) scale(1.2); gap: 18px; }
  .lp-mosaic__row { gap: 18px; }
  .lp-biz { padding: 90px 0; }
  .lp-biz__grid { grid-template-columns: 1fr; }
  .lp-news, .lp-contact { padding: 90px 0; }
  .lp-contact { padding: 90px 24px; }
}
@media (max-width: 600px) {
  .lp-news__list li { grid-template-columns: 100px 1fr; row-gap: 8px; }
  .lp-news__list li > a { grid-column: 1 / -1; }
  .lp-mosaic .tile { width: 64vw; }
}

/* ==========================================================================
   SUB-PAGE COMPONENTS（会社概要・事業・施工事例・採用・お知らせ 共通）
   ========================================================================== */

/* ---- 下層ページのヒーロー ---- */
.lp-pagehero {
  position: relative;
  min-height: clamp(420px, 62vh, 600px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0d1f3d;
}
.lp-pagehero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(rgba(10, 22, 46, 0.5), rgba(10, 22, 46, 0));
  z-index: 3;
  pointer-events: none;
}
.lp-pagehero__media { position: absolute; inset: 0; z-index: 0; }
.lp-pagehero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: lp-kenburns 16s ease-out both;
}
@keyframes lp-kenburns { from { transform: scale(1.13); } to { transform: scale(1.04); } }
.lp-pagehero__wash {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(58deg,
    rgba(50, 97, 178, 0.92) 0%,
    rgba(50, 97, 178, 0.42) 36%,
    rgba(154, 104, 201, 0.16) 60%,
    rgba(101, 174, 219, 0) 80%);
}
.lp-pagehero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 132px;
  padding-bottom: 60px;
}
.lp-pagehero__inner > * { opacity: 0; animation: lp-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.lp-pagehero__eyebrow {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 18px;
  animation-delay: 0.2s;
}
.lp-pagehero h1 {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.22;
  animation-delay: 0.34s;
}

/* ---- 汎用セクション ---- */
.lp-section { padding: clamp(80px, 11vw, 140px) 0; }
.lp-section--soft { background: var(--color-soft); }

/* ---- 汎用セクション見出し ---- */
.lp-head { margin-bottom: 56px; }
.lp-head--center { text-align: center; }
.lp-head--center .lp-sec-en { justify-content: center; }
.lp-head__title {
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-top: 18px;
}
.lp-head__lead {
  margin-top: 26px;
  color: var(--color-muted);
  line-height: 2.15;
  font-size: 16.5px;
  max-width: 800px;
}
.lp-head--center .lp-head__lead { margin-left: auto; margin-right: auto; }

/* ---- 会社情報テーブル ---- */
.lp-profile {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  border-collapse: collapse;
}
.lp-profile th, .lp-profile td {
  text-align: left;
  padding: 24px 20px;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
  font-size: 15px;
}
.lp-profile th {
  width: 210px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.08em;
}
.lp-profile td { color: var(--color-muted); line-height: 1.9; }
.lp-profile tbody tr, .lp-profile tr { transition: background 0.3s; }
.lp-profile tr:hover { background: var(--color-soft); }
/* スマホ：ラベルと値を縦積みにして折り返しを防ぐ（ラベル=1行目／値=2行目） */
@media (max-width: 600px) {
  .lp-profile, .lp-profile tbody, .lp-profile tr,
  .lp-profile th, .lp-profile td { display: block; width: auto; }
  .lp-profile tr { padding: 16px 2px; border-bottom: 1px solid var(--color-line); }
  .lp-profile tr:first-child { border-top: 1px solid var(--color-line); }
  .lp-profile th, .lp-profile td { padding: 0; border-bottom: none; }
  /* 1行目：ラベル（小さめ・青・左に縦バー） */
  .lp-profile th {
    font-size: 12px;
    color: var(--c-blue);
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-left: 10px;
    border-left: 3px solid var(--c-blue);
  }
  /* 2行目：値（大きめ・濃い文字・ラベル文字と左端を揃える） */
  .lp-profile td {
    font-size: 15.5px;
    color: var(--color-text);
    line-height: 1.85;
    padding-left: 13px;
  }
  .lp-profile tr:hover { background: none; }
}

/* ---- 地図 ---- */
.lp-map {
  max-width: 880px;
  margin: 52px auto 0;
  aspect-ratio: 16 / 7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 30, 60, 0.12);
}
.lp-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .lp-map { aspect-ratio: 4 / 3; } }

/* ---- 事業詳細：交互レイアウト ---- */
.lp-bizrows { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); }
.lp-bizrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  --c: var(--c-blue);
  --c-on: #fff;
}
.lp-bizrow:nth-child(6n + 1) { --c: var(--c-blue);   --c-on: #fff; }
.lp-bizrow:nth-child(6n + 2) { --c: var(--c-orange); --c-on: #fff; }
.lp-bizrow:nth-child(6n + 3) { --c: var(--c-green);  --c-on: var(--on-dark); }
.lp-bizrow:nth-child(6n + 4) { --c: var(--c-purple); --c-on: #fff; }
.lp-bizrow:nth-child(6n + 5) { --c: var(--c-sky);    --c-on: var(--on-dark); }
.lp-bizrow:nth-child(6n + 6) { --c: var(--c-yellow); --c-on: var(--on-dark); }
.lp-bizrow:nth-child(even) .lp-bizrow__media { order: 2; }
.lp-bizrow__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(20, 30, 60, 0.16);
}
.lp-bizrow__media::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 6px;
  background: var(--c);
  z-index: 1;
}
.lp-bizrow__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-bizrow:hover .lp-bizrow__media img { transform: scale(1.06); }
.lp-bizrow__num {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-on);
  background: var(--c);
  padding: 5px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.lp-bizrow__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 22px;
}
.lp-bizrow__title::after {
  content: "";
  display: block;
  width: 48px; height: 4px;
  border-radius: 4px;
  background: var(--c);
  margin-top: 22px;
}
.lp-bizrow__text p { color: var(--color-muted); line-height: 2.15; font-size: 17px; }
@media (max-width: 960px) {
  .lp-bizrow { grid-template-columns: 1fr; gap: 28px; }
  .lp-bizrow:nth-child(even) .lp-bizrow__media { order: 0; }
}

/* ---- 写真グリッド（安全など） ---- */
.lp-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.lp-photos figure { margin: 0; }
.lp-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(20, 30, 60, 0.12);
}
.lp-photos figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.7;
}
@media (max-width: 600px) { .lp-photos { grid-template-columns: 1fr; } }

/* ---- 特徴ブロック（画像＋テキスト） ---- */
.lp-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.lp-feature--rev .lp-feature__media { order: 2; }
.lp-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(20, 30, 60, 0.16);
}
.lp-feature__text h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.lp-feature__text p { color: var(--color-muted); line-height: 2.1; margin-bottom: 18px; }
@media (max-width: 960px) {
  .lp-feature { grid-template-columns: 1fr; gap: 36px; }
  .lp-feature--rev .lp-feature__media { order: 0; }
}

/* ---- 大きなニュース一覧（お知らせページ） ---- */
.lp-newslist { list-style: none; max-width: 920px; margin: 0 auto; }
.lp-newslist li {
  display: grid;
  grid-template-columns: 140px 96px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 14px;
  border-top: 1px solid var(--color-line);
  transition: background 0.3s, padding 0.3s;
}
.lp-newslist li:last-child { border-bottom: 1px solid var(--color-line); }
.lp-newslist li:hover { background: var(--color-soft); padding-left: 26px; }
.lp-newslist .date {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}
.lp-newslist .tag {
  justify-self: start;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--c);
  color: var(--c-on, #fff);
}
.lp-newslist a { font-weight: 500; }
@media (max-width: 600px) {
  .lp-newslist li { grid-template-columns: 110px 1fr; row-gap: 8px; }
  .lp-newslist li > a { grid-column: 1 / -1; }
}

/* ---- 施工事例グリッド ---- */
.lp-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lp-works__card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border-top: 5px solid var(--c, var(--c-blue));
  box-shadow: 0 12px 32px rgba(20, 30, 60, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.lp-works__card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(20, 30, 60, 0.16); opacity: 1; }
.lp-works__thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.lp-works__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.lp-works__card:hover .lp-works__thumb img { transform: scale(1.07); }
.lp-works__body { padding: 22px 24px 26px; }
.lp-works__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 13px;
  border-radius: 100px;
  background: var(--c, var(--c-blue));
  color: var(--c-on, #fff);
  margin-bottom: 12px;
}
.lp-works__title { font-size: 17px; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; }
@media (max-width: 960px) { .lp-works { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .lp-works { grid-template-columns: 1fr; } }

/* ---- 単体ワイド写真 ---- */
.lp-figure { max-width: 980px; margin: 52px auto 0; }
.lp-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(20, 30, 60, 0.16);
}
.lp-figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* ---- footer：虹色帯をブランド3色のクリーンなグラデに ---- */
.home .site-footer::before {
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-sky) 50%, var(--c-purple) 100%);
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  .lp-pagehero__media img,
  .lp-pagehero__inner > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .lp-hero__media,
  .lp-hero__eyebrow span,
  .lp-hero__title .line > span,
  .lp-hero__lead,
  .lp-hero__desc,
  .lp-hero__inner .lp-circle-link { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .lp-marquee__track,
  .lp-mosaic__row,
  .lp-hero__blob,
  .lp-contact__blob { animation: none !important; }
  .home .lp-reveal { opacity: 1 !important; transform: none !important; }
  .lp-drill { opacity: 1 !important; transform: rotate(-7deg) !important; }
  .lp-drill .drill-shake, .lp-drill .drill-img { animation: none !important; }
  .lp-excav { opacity: 1 !important; transform: none !important; }
  .lp-excav .exc-arm { animation: none !important; }
  .lp-helm { opacity: 1 !important; transform: none !important; }
  .lp-helm .helm-strap { animation: none !important; }
}

/* ===== 準備中プレースホルダー（お知らせ・フォーム） ===== */
.lp-prep {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 28px;
  text-align: center;
  border: 1px dashed rgba(20, 56, 107, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}
.lp-prep__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #14386b;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.lp-prep__text {
  margin: 0;
  color: #14386b;
  font-size: .98rem;
  line-height: 1.9;
}
/* CONTACTセクション（濃い背景）内ではコントラストを反転 */
.lp-contact .lp-prep {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1);
}
.lp-contact .lp-prep__badge { background: #fff; color: #14386b; }
.lp-contact .lp-prep__text { color: #fff; }





