﻿@charset "UTF-8";
/* ============================================================
   株式会社Legame  /  scss/style.scss をコンパイルしたファイル
   $red:#C1272D  $red-d:#8E181D  $blue:#2F6FB5  $ink:#16181A
   BP: pc 1441 / tab 1024 / sp 768
   ============================================================ */

/* ---------- reset / typo ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.95;
  color: #16181A;
  background: #FFFFFF;
  letter-spacing: .03em;
  overflow-x: hidden;
}
@media (max-width: 768px) { body { font-size: 15.5px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, dt { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.en { font-family: "Poppins", sans-serif; letter-spacing: .08em; }

/* ---------- layout ---------- */
.wrap { width: min(1200px, 100% - clamp(20px, 5vw, 40px) * 2); margin-inline: auto; }
.wrap-n { width: min(960px, 100% - clamp(20px, 5vw, 40px) * 2); margin-inline: auto; }

.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec--alt { background: #F6F4F1; }
.sec--dark { background: #1B1D1F; color: #fff; }
.sec--pt0 { padding-top: 0; }
.sec--pb0 { padding-bottom: 0; }

/* ---------- utility ---------- */
.tac { text-align: center; }
.mt22 { margin-top: 22px; }
.mt26 { margin-top: 26px; }
.mt36 { margin-top: 36px; }
.mt44 { margin-top: 44px; }
.mb36 { margin-bottom: 36px; }

@media (max-width: 768px) { .br_pc { display: none; } }
@media (min-width: 769px) { .br_sp { display: none; } }

/* ---------- 見出し ---------- */
.stitle { margin-bottom: clamp(36px, 5vw, 64px); }

.stitle__en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: .01em;
  color: #16181A;
}
.sec--dark .stitle__en { color: #fff; }

.stitle__jp {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  color: #C1272D;
}
.stitle__jp::before { content: ""; width: 26px; height: 1px; background: #C1272D; }

.stitle--c { text-align: center; }
.stitle--c .stitle__jp { letter-spacing: .3em; }
.stitle--c .stitle__jp::before { display: none; }

/* ---------- 本文 ---------- */
.lead {
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: .03em;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.lead--q { margin-bottom: 52px; max-width: 800px; }
.lead--s { margin-bottom: 22px; }
.lead--wh { color: #fff; }

.txt { color: #4A4E52; font-size: 16px; line-height: 2.05; }
.txt + .txt { margin-top: 1.4em; }
.sec--dark .txt { color: rgba(255, 255, 255, .78); }

/* SPでは中央寄せセクションの本文だけ左揃えにする。
   幅が狭いと中央寄せの和文は行頭がガタついて読みにくいため。
   （見出し・リード文は中央寄せのまま） */
@media (max-width: 768px) {
  .tac .txt,
  .txt.tac { text-align: left; }
}

.sign { margin-top: 26px; font-size: 15px; color: #16181A; }
.sign b { font-size: 19px; font-weight: 500; letter-spacing: .08em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  padding: 17px 24px;
  border: 1px solid #16181A;
  font-size: 14px;
  letter-spacing: .14em;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: color .45s cubic-bezier(.22, .61, .36, 1), border-color .45s cubic-bezier(.22, .61, .36, 1);
}
.btn span { position: relative; z-index: 1; }
.btn i { position: relative; z-index: 1; font-size: 11px; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #16181A;
  transform: translateX(-101%);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  z-index: 0;
}
.btn:hover { color: #fff; }
.btn:hover::after { transform: translateX(0); }
.btn:hover i { transform: translateX(5px); }

.btn--red { border-color: #C1272D; color: #C1272D; }
.btn--red::after { background: #C1272D; }
.btn--red:hover { color: #fff; }

.btn--fill { background: #C1272D; border-color: #C1272D; color: #fff; }
.btn--fill::after { background: #8E181D; }
.btn--fill:hover { color: #fff; border-color: #8E181D; }

.btn--wh { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--wh::after { background: #fff; }
.btn--wh:hover { color: #16181A; border-color: #fff; }

.btnwrap { margin-top: 34px; }
.btnwrap--c { text-align: center; margin-top: 44px; }

/* ---------- 絆モチーフ ---------- */
.knot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: .5;
  margin-top: 40px;
}
.knot i { display: block; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.knot span { display: block; width: 44px; height: 1px; background: currentColor; }
.knot--red { color: #C1272D; }

/* ---------- テーブル ---------- */
.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid #E3E1DE; }
.tbl th, .tbl td {
  padding: 20px 4px;
  border-bottom: 1px solid #E3E1DE;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}
.tbl th { width: auto; min-width: 150px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; padding-right: 24px; }
.tbl td { color: #4A4E52; line-height: 1.95; }
@media (max-width: 768px) {
  .tbl th, .tbl td { display: block; width: 100%; padding: 0; border: 0; }
  .tbl th { padding-top: 18px; color: #C1272D; font-size: 13px; letter-spacing: .1em; white-space: normal; }
  .tbl td { padding: 6px 0 18px; border-bottom: 1px solid #E3E1DE; }
}

/* ---------- 流れ ---------- */
.flow { display: grid; gap: 2px; }
.flow__it {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  background: #F6F4F1;
  padding: 26px clamp(20px, 3vw, 34px);
  align-items: start;
}
@media (max-width: 768px) { .flow__it { grid-template-columns: 1fr; gap: 6px; } }
.flow--wh .flow__it { background: #fff; }
.flow__no { font-family: "Poppins", sans-serif; font-size: 12px; letter-spacing: .16em; color: #C1272D; font-weight: 500; padding-top: 5px; }
.flow__ti { font-size: 18px; font-weight: 500; letter-spacing: .05em; margin-bottom: 8px; }
.flow__tx { font-size: 14.5px; color: #4A4E52; line-height: 1.95; }

/* ---------- 工事メニュー ---------- */
.menu-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.menu-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid #E3E1DE;
  background: #fff;
  font-size: 14px;
  letter-spacing: .03em;
}
.menu-list li::before { content: ""; width: 6px; height: 6px; background: #C1272D; transform: rotate(45deg); flex: 0 0 auto; }
.menu-list--c { justify-content: center; }

/* ---------- パンくず ---------- */
.crumb { padding: 16px 0; font-size: 12px; color: #767B80; border-bottom: 1px solid #E3E1DE; }
.crumb a:hover { color: #C1272D; }
.crumb span { margin: 0 8px; color: #C9CCCE; }

/* ---------- ページャー ---------- */
.pager { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.pager .wp-pagenavi, .pager .navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager a, .pager span.current, .pager span.pages, .pager span.extend, .pager .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #E3E1DE;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: .3s cubic-bezier(.22, .61, .36, 1);
}
.pager a:hover, .pager .current, .pager .page-numbers.current { background: #C1272D; border-color: #C1272D; color: #fff; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.22, .61, .36, 1), transform 1s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   ローディング
   ============================================================ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), visibility .7s;
}
#loading.is-hide { opacity: 0; visibility: hidden; }

.ld-in { text-align: center; }

.ld-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: .02em;
  color: #16181A;
  opacity: 0;
  animation: ldUp .9s cubic-bezier(.22, .61, .36, 1) forwards;
}

.ld-bar {
  display: block;
  width: 0;
  height: 2px;
  margin: 16px auto 0;
  background: #C1272D;
  animation: ldBar 1.3s .25s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes ldUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ldBar { to { width: clamp(120px, 20vw, 180px); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================================
   ヘッダー
   ============================================================ */
/* ドロワー（z-index:990）より必ず上に置く。
   ここを下げると .hd が作るスタッキングコンテキストの中に
   ハンバーガー（＝閉じるボタン）が閉じ込められ、ドロワーの下に隠れてしまう。 */
.hd {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 40px);
  transition: background .45s cubic-bezier(.22, .61, .36, 1), padding .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.hd.is-scr {
  background: rgba(255, 255, 255, .96);
  padding: 14px clamp(20px, 5vw, 40px);
  box-shadow: 0 1px 0 #E3E1DE;
  backdrop-filter: blur(8px);
}

/* ドロワーを開いている間はヘッダーの地色を消して、暗いドロワーに重ねる */
body.nav-open .hd,
body.nav-open .hd.is-scr {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.nav-open .hd .hd__logo,
body.nav-open .hd.is-scr .hd__logo { color: #fff; }
body.nav-open .hd .hd__burger i,
body.nav-open .hd.is-scr .hd__burger i { background: #fff; }

.hd__logo { display: flex; align-items: center; gap: 11px; color: #fff; transition: color .45s cubic-bezier(.22, .61, .36, 1); }
/* ヘッダーの高さ（ナビ2段ぶん）に見合うサイズに合わせる */
.hd__logo img { width: auto; height: clamp(38px, 3.6vw, 52px); }
.hd__logo b { font-family: "Poppins", sans-serif; font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .01em; white-space: nowrap; line-height: 1.2; }
.hd.is-scr .hd__logo, .hd.is-solid .hd__logo { color: #16181A; }

.hd__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.hd__nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
  transition: color .35s cubic-bezier(.22, .61, .36, 1);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .28);
}
.hd__nav a small { font-family: "Poppins", sans-serif; font-size: 9.5px; letter-spacing: .14em; opacity: .7; font-weight: 300; }
.hd__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 0;
  height: 2px;
  background: #C1272D;
  transition: width .4s cubic-bezier(.22, .61, .36, 1);
}
.hd__nav a:hover::after, .hd__nav a.is-cur::after { width: 100%; }
.hd__nav a.is-cur { color: #C1272D; }
.hd.is-scr .hd__nav a, .hd.is-solid .hd__nav a { color: #16181A; text-shadow: none; }
.hd.is-scr .hd__nav a.is-cur, .hd.is-solid .hd__nav a.is-cur { color: #C1272D; }
@media (max-width: 1024px) { .hd__nav { display: none; } }

.hd__burger { display: none; width: 46px; height: 46px; position: relative; z-index: 1001; }
.hd__burger i {
  display: block;
  position: absolute;
  left: 11px;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: .4s cubic-bezier(.22, .61, .36, 1);
}
.hd__burger i:nth-child(1) { top: 17px; }
.hd__burger i:nth-child(2) { top: 24px; }
.hd__burger i:nth-child(3) { top: 31px; }
.hd.is-scr .hd__burger i, .hd.is-solid .hd__burger i { background: #16181A; }
@media (max-width: 1024px) { .hd__burger { display: block; } }

body.nav-open .hd__burger i { background: #fff; }
body.nav-open .hd__burger i:nth-child(1) { top: 24px; rotate: 45deg; }
body.nav-open .hd__burger i:nth-child(2) { opacity: 0; }
body.nav-open .hd__burger i:nth-child(3) { top: 24px; rotate: -45deg; }

/* ---------- 右固定CTA ---------- */
.side-cta {
  position: fixed;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  z-index: 880;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 13px;
  background: #C1272D;
  color: #fff;
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: .2em;
  font-family: "Poppins", sans-serif;
  transition: background .4s cubic-bezier(.22, .61, .36, 1);
}
.side-cta:hover { background: #8E181D; }
.side-cta i { writing-mode: horizontal-tb; font-size: 14px; }
@media (max-width: 1024px) { .side-cta { display: none; } }

/* ---------- ドロワー ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 990; /* ヘッダー（1000）より下。閉じるボタンを隠さないため */
  background: #1B1D1F;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px clamp(20px, 5vw, 40px) 0;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .8s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.drawer ul { display: flex; flex-direction: column; gap: 2px; }
.drawer li a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer li a b { font-size: 17px; font-weight: 500; }
.drawer li a small { font-family: "Poppins", sans-serif; font-size: 10px; letter-spacing: .16em; color: #E0464C; }
body.nav-open .drawer { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }

.drawer__info { margin-top: 32px; color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 2; }
.drawer__info a { color: #fff; font-family: "Poppins", sans-serif; font-size: 22px; letter-spacing: .03em; }

/* ============================================================
   CTA帯 / フッター
   ============================================================ */
.cta { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) brightness(.62);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 17, .86) 0%, rgba(13, 15, 17, .92) 100%);
}
.cta .stitle { margin-bottom: 24px; }
.cta .stitle__en { color: #fff; font-weight: 400; text-shadow: 0 2px 26px rgba(0, 0, 0, .55); }
.cta .stitle__jp { color: #fff; letter-spacing: .3em; }

/* z-index を持たせないと ::after のオーバーレイが本文の上に重なる */
.cta__in { position: relative; z-index: 1; padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 40px); }
.cta__msg { font-size: 16px; font-weight: 400; letter-spacing: .08em; color: rgba(255, 255, 255, .95); }
.cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.cta__tel i { font-size: .5em; color: #E0464C; }
@media (max-width: 768px) { .cta__tel { font-size: 30px; } }
.cta__time { margin-top: 8px; font-size: 13.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .86); }
/* FAX番号だけ改行位置が中途半端になるので、SPでは行を分ける */
.cta__fax { margin-left: 1.4em; white-space: nowrap; }
@media (max-width: 768px) {
  .cta__time { font-size: 12.5px; letter-spacing: .04em; line-height: 1.9; }
  .cta__fax { display: block; margin-left: 0; }
}
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

.map { width: 100%; height: clamp(280px, 32vw, 420px); filter: grayscale(.25); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.ft { background: #1B1D1F; color: rgba(255, 255, 255, .75); padding: clamp(52px, 7vw, 80px) 0 26px; }
.ft__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 1024px) { .ft__top { grid-template-columns: 1fr; } }

.ft__logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.ft__logo img { width: auto; height: 48px; }
.ft__logo b { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 30px; line-height: 1.2; }

.ft__addr { margin-top: 20px; font-size: 13.5px; line-height: 2.1; letter-spacing: .04em; }
.ft__lic { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 1.95; }

.ft__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
.ft__nav a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: color .3s;
}
.ft__nav a:hover { color: #E0464C; }
@media (max-width: 768px) { .ft__nav { grid-template-columns: 1fr; } }

.ft__btm {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .45);
}
.ft__btm a:hover { color: #fff; }

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 870;
  width: 48px;
  height: 48px;
  background: #C1272D;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .4s cubic-bezier(.22, .61, .36, 1);
}
.pagetop.is-on { opacity: 1; visibility: visible; }
.pagetop:hover { background: #8E181D; }

.grecaptcha-badge { bottom: 80px !important; }

/* ============================================================
   TOP
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
@media (max-width: 768px) { .hero { height: 88svh; min-height: 520px; } }

.hero__bg { position: absolute; inset: 0; }
/* ::after はスライドより後ろの子要素なので、そのままオーバーレイとして重なる */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, .55) 0%, rgba(10, 12, 14, .52) 45%, rgba(10, 12, 14, .62) 100%);
}

/* 複数枚のときはフェードで切り替える（ズームはしない） */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.22, .61, .36, 1);
}
.hero__slide.is-act { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82);
}

.hero__in { position: relative; text-align: center; color: #fff; padding: 0 clamp(20px, 5vw, 40px); }
.hero__sub {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  letter-spacing: .44em;
  font-weight: 300;
  opacity: 0;
  animation: up 1s .9s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero__cp {
  margin-top: 22px;
  font-size: clamp(30px, 6.2vw, 66px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .06em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero__cp span { display: block; opacity: 0; animation: up 1.1s cubic-bezier(.22, .61, .36, 1) forwards; }
.hero__cp span:nth-child(1) { animation-delay: 1.05s; }
.hero__cp span:nth-child(2) { animation-delay: 1.25s; }
.hero__note {
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .88);
  opacity: 0;
  animation: up 1s 1.6s cubic-bezier(.22, .61, .36, 1) forwards;
  /* 320px級の端末で折り返す場合も、語の途中で切れないようにする */
  text-wrap: balance;
  word-break: auto-phrase;
}
/* SPは字送りを詰めて1行に収める（数文字だけ段落ちするのを防ぐ） */
@media (max-width: 768px) {
  .hero__note {
    margin-top: 18px;
    font-size: 11.5px;
    letter-spacing: .03em;
    line-height: 1.85;
    text-wrap: wrap; /* 均等割りより「入るところまで入れる」方が切れ目が自然になる */
  }
}
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 9.5px;
  letter-spacing: .3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: rgba(255, 255, 255, .5); }

.hero__side {
  position: absolute;
  left: calc(clamp(20px, 5vw, 40px) - 4px);
  bottom: 28px;
  color: rgba(255, 255, 255, .65);
  writing-mode: vertical-rl;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  opacity: 0;
  animation: fadeIn 1s 2.1s forwards;
}
@media (max-width: 768px) { .hero__side { display: none; } }

/* ---------- about ---------- */
.about { position: relative; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 1024px) { .about__grid { grid-template-columns: 1fr; } }

.about__ph { position: relative; }
.about__ph img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__ph::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 40%;
  height: 40%;
  border-left: 1px solid #C1272D;
  border-top: 1px solid #C1272D;
}
@media (max-width: 768px) { .about__ph::before { display: none; } }

.about__word {
  position: absolute;
  right: -6px;
  bottom: -26px;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1;
  color: #C1272D;
  opacity: .12;
  letter-spacing: .02em;
  pointer-events: none;
}
.about__body .lead { margin-bottom: 28px; }

.mean {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 7px 16px;
  border: 1px solid #E3E1DE;
  font-size: 12px;
  letter-spacing: .14em;
  color: #4A4E52;
}
.mean b { color: #C1272D; font-family: "Poppins", sans-serif; font-weight: 500; letter-spacing: .06em; }

/* ---------- service ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #E3E1DE; border: 1px solid #E3E1DE; }
@media (max-width: 768px) { .svc { grid-template-columns: 1fr; } }
.svc__it {
  background: #fff;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .4s cubic-bezier(.22, .61, .36, 1);
}
.svc__it:hover { background: #F6F4F1; }
.svc__it:hover .svc__ph img { scale: 1.05; }
.svc__no { font-family: "Poppins", sans-serif; font-size: 11px; letter-spacing: .2em; color: #C1272D; font-weight: 500; }
.svc__ti { font-size: clamp(18px, 2.3vw, 23px); font-weight: 500; letter-spacing: .05em; line-height: 1.6; }
.svc__tx { font-size: 15px; color: #4A4E52; line-height: 1.95; }
.svc__ph { margin: -4px -4px 4px; overflow: hidden; }
.svc__ph img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: scale .8s cubic-bezier(.22, .61, .36, 1); }

/* ---------- quality ---------- */
.qual { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); }
@media (max-width: 1024px) { .qual { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .qual { grid-template-columns: 1fr; } }
.qual__it { border-top: 2px solid #C1272D; padding-top: 26px; }
.qual__no { font-family: "Poppins", sans-serif; font-weight: 200; font-size: 44px; line-height: 1; color: #C1272D; }
.qual__ti { margin: 14px 0 12px; font-size: 19px; font-weight: 500; letter-spacing: .04em; line-height: 1.65; }
.qual__tx { font-size: 14.5px; color: #4A4E52; line-height: 1.95; }
.sec--dark .qual__it { border-top-color: #E0464C; }
.sec--dark .qual__no { color: #E0464C; }
.sec--dark .qual__tx { color: rgba(255, 255, 255, .72); }

/* ---------- 3分割バナー ---------- */
.bnr3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.bnr3 a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(180px, 20vw, 270px);
  overflow: hidden;
}
.bnr3 a::after { content: ""; position: absolute; inset: 0; background: rgba(12, 14, 16, .5); transition: background .5s; }
.bnr3 a:hover img { scale: 1.07; }
.bnr3 a:hover::after { background: rgba(193, 39, 45, .62); }
.bnr3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .9s cubic-bezier(.22, .61, .36, 1); }
.bnr3 span { position: relative; z-index: 1; color: #fff; text-align: center; }
.bnr3 b { display: block; font-size: 19px; font-weight: 500; letter-spacing: .1em; }
.bnr3 small { display: block; margin-top: 6px; font-family: "Poppins", sans-serif; font-size: 10px; letter-spacing: .24em; opacity: .8; }
@media (max-width: 768px) {
  .bnr3 { grid-template-columns: 1fr; }
  .bnr3 a { min-height: 150px; }
}
.bnr3--gap { gap: 2px; }

/* ---------- 左右分割 / 赤帯 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 72px); }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } }
.split__ph img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

.band { position: relative; overflow: hidden; background: #C1272D; color: #fff; }
.band::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  translate: 0 -50%;
  width: min(560px, 52%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 70%);
}
.band > .wrap, .band > .wrap-n { position: relative; z-index: 1; }
.band .stitle__en { color: #fff; }
.band .stitle__jp { color: rgba(255, 255, 255, .85); }
.band .stitle__jp::before { background: rgba(255, 255, 255, .85); }
.band .txt { color: rgba(255, 255, 255, .9); }

/* ============================================================
   下層ヒーロー / 事業内容
   ============================================================ */
.phero {
  position: relative;
  height: clamp(320px, 44vw, 460px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.phero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.4) brightness(.7);
}
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 16, .58) 0%, rgba(12, 14, 16, .72) 100%);
}
.phero--sm { height: clamp(260px, 32vw, 340px); }

/* z-index を持たせないと ::after のオーバーレイが見出しの上に重なる */
.phero__in { position: relative; z-index: 1; text-align: center; color: #fff; padding-top: 40px; }
.phero__en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.phero__jp {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .28em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.bizrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.bizrow + .bizrow { margin-top: clamp(56px, 8vw, 110px); }
.bizrow:nth-child(even) .bizrow__ph { order: 2; }
@media (max-width: 1024px) {
  .bizrow { grid-template-columns: 1fr; }
  .bizrow:nth-child(even) .bizrow__ph { order: 0; }
}
.bizrow__ph img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bizrow__no { font-family: "Poppins", sans-serif; font-size: 11px; letter-spacing: .22em; color: #C1272D; font-weight: 500; }
.bizrow__ti { margin: 12px 0 20px; font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: .05em; line-height: 1.55; }

/* ============================================================
   施工事例
   ============================================================ */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 1024px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .works { grid-template-columns: 1fr; } }

/* 一覧はライトボックスを開く <button>。リンクではないのでボタンの既定スタイルを消す */
.wcard {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.wcard:hover .wcard__ph img { scale: 1.06; }
.wcard:hover .wcard__ti { color: #C1272D; }
.wcard:focus-visible { outline: 2px solid #C1272D; outline-offset: 4px; }
.wcard__ph { display: block; overflow: hidden; position: relative; }
.wcard__ph img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: scale .8s cubic-bezier(.22, .61, .36, 1); }
.wcard__ph::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: rgba(22, 24, 26, .55);
  opacity: 0;
  transition: opacity .35s cubic-bezier(.22, .61, .36, 1);
}
.wcard:hover .wcard__ph::after,
.wcard:focus-visible .wcard__ph::after { opacity: 1; }
.wcard__cat {
  position: absolute;
  left: 0;
  top: 0;
  background: #C1272D;
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
  padding: 6px 14px;
}
.wcard__cat--st { position: static; display: inline-block; }
.wcard__ti { display: block; margin-top: 16px; font-size: 17px; font-weight: 500; letter-spacing: .04em; line-height: 1.6; transition: color .35s; }
.wcard__meta { margin-top: 7px; font-size: 12.5px; color: #767B80; letter-spacing: .06em; }

/* ---------- ライトボックス ---------- */
body.lb-open { overflow: hidden; }

/* ライトボックス表示中は固定UIを隠す（背後に透けて見えるのを防ぐ） */
body.lb-open .hd,
body.lb-open .side-cta,
body.lb-open .pagetop {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.22, .61, .36, 1);
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 80px) clamp(16px, 6vw, 90px);
  background: rgba(12, 14, 16, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s cubic-bezier(.22, .61, .36, 1), visibility .45s;
}
.lb.is-on { opacity: 1; visibility: visible; }

.lb__fig {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  transform: scale(.96);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.lb.is-on .lb__fig { transform: none; }

.lb__img {
  max-width: 100%;
  max-height: calc(100svh - clamp(150px, 20vw, 220px));
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lb__cap {
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.7;
}

.lb__close {
  position: absolute;
  top: clamp(12px, 2vw, 26px);
  right: clamp(12px, 2vw, 26px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  transition: color .3s cubic-bezier(.22, .61, .36, 1);
}
.lb__close:hover { color: #E0464C; }

.lb__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  background: rgba(255, 255, 255, .08);
  transition: background .3s cubic-bezier(.22, .61, .36, 1);
}
.lb__nav:hover { background: #C1272D; }
.lb__nav--prev { left: clamp(8px, 1.6vw, 24px); }
.lb__nav--next { right: clamp(8px, 1.6vw, 24px); }
@media (max-width: 768px) {
  .lb__nav { width: 42px; height: 42px; font-size: 16px; }
}

.gph img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.wsingle__ti { margin: 18px 0 10px; font-size: clamp(24px, 3.4vw, 34px); font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.wsingle__main { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.wsingle__sub { width: 100%; }
.wsingle__body h2 { margin: 44px 0 14px; font-size: 21px; font-weight: 500; letter-spacing: .05em; color: #16181A; }
.wsingle__body h3 { margin: 32px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: .05em; color: #16181A; }
.wsingle__body p { margin-bottom: 1.4em; }
.wsingle__body img { margin: 24px 0; }
.wsingle__body a { color: #C1272D; text-decoration: underline; }

/* ============================================================
   採用情報
   ============================================================ */
/* 採用情報は phero / lead / tbl / flow の共通パーツで構成しているため固有指定なし */

/* ============================================================
   お問い合わせ
   ============================================================ */
.telbox { margin-top: 36px; padding: 34px 20px; border: 1px solid #E3E1DE; }
.telbox__lb { font-family: "Poppins", sans-serif; font-size: 12px; letter-spacing: .22em; color: #767B80; }
.telbox__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 300;
}
.telbox__num i { font-size: .45em; color: #C1272D; }
.telbox__note { margin-top: 6px; font-size: 13px; color: #4A4E52; letter-spacing: .1em; }
/* FAX番号だけ改行位置が中途半端になるので、SPでは行を分ける */
.telbox__fax { margin-left: 1.6em; white-space: nowrap; }
@media (max-width: 768px) {
  .telbox__note { font-size: 12.5px; letter-spacing: .04em; line-height: 1.9; }
  .telbox__fax { display: block; margin-left: 0; }
}

.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
@media (max-width: 1024px) { .form__row { grid-template-columns: 1fr; gap: 8px; } }

.form__lb { display: flex; align-items: center; gap: 10px; padding-top: 12px; font-size: 14.5px; font-weight: 500; letter-spacing: .06em; }
@media (max-width: 1024px) { .form__lb { padding-top: 0; } }

.badge { font-size: 10.5px; letter-spacing: .08em; padding: 3px 8px; color: #fff; background: #C1272D; flex: 0 0 auto; }
.badge--any { background: #2F6FB5; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E3E1DE;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #16181A;
  border-radius: 0;
}
.form textarea { min-height: 190px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #C1272D; outline-offset: -2px; }

.form__radio { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 11px; font-size: 14.5px; }
.form__radio label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.form__radio .wpcf7-list-item { margin: 0; }
.form__radio .wpcf7-list-item-label { margin-left: 7px; }

.form__priv { background: #F6F4F1; padding: 24px; font-size: 13.5px; color: #4A4E52; line-height: 1.9; }
.form__priv__ti { margin-bottom: 10px; font-weight: 500; color: #16181A; }
.form__priv a { color: #C1272D; text-decoration: underline; }
.form__priv .form__agree { margin-top: 16px; text-align: center; color: #16181A; }
.form__priv .form__agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form__priv .wpcf7-list-item { margin: 0; }

.form__sub { text-align: center; margin-top: 8px; }
.form__sub button,
.form__sub input[type="submit"],
.form__sub .wpcf7-submit {
  min-width: 280px;
  padding: 19px 30px;
  background: #C1272D;
  color: #fff;
  border: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .4s cubic-bezier(.22, .61, .36, 1);
}
.form__sub button:hover,
.form__sub input[type="submit"]:hover,
.form__sub .wpcf7-submit:hover { background: #8E181D; }
@media (max-width: 768px) {
  .form__sub button,
  .form__sub input[type="submit"],
  .form__sub .wpcf7-submit { min-width: 100%; }
}

.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-width: 1px; font-size: 14px; }
.wpcf7-not-valid-tip { color: #C1272D; font-size: 12.5px; margin-top: 6px; }
.wpcf7-spinner { display: block; margin: 12px auto 0; }

/* ============================================================
   プライバシーポリシー
   ============================================================ */
.policy__ti { margin: 44px 0 14px; font-size: 19px; font-weight: 500; letter-spacing: .05em; color: #16181A; }
