@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .cs-header / __group / __tel-num / __tel-time  - 写真上に載る透過ヘッダー（EN単独ナビ・TEL2段・四角CTA）
 * .cs-icon-box        - 枠線付き正方形アイコンリンク（Instagram）
 * .cs-line / --60 - ボタン・リンク末尾の細い横線
 * .cs-bar             - 見出し下の短い太線（40×2px アクセント色）
 * .cs-mv / __overlay / __content / __logo / __title* / __catch / __sub / __scroll - TOPメインビュー（2分割写真＋文字せり上がり）
 * .cs-mv__slider / __slide / __slide-img / __dots / __dot - MVスライダー（2枚組クロスフェード＋ズーム、js/top.js で is-active 切替）
 * .cs-ttl / __en / __ja / --stack / --lg - 「EN 大 ／ 日本語 小」ベースライン揃え見出し
 * .cs-ttl-row         - 見出し＋MOREリンクの両端揃え行
 * .cs-more / __arrow  - 斜め矢印付き MORE リンク
 * .cs-label           - Roboto Condensed 字間0.3em の英字小見出し
 * .cs-stack / --center - 縦積みflex
 * .cs-grid / --5-6 / --6-5 / --4-7 - fr比率の2カラムgrid（gap 80px）
 * .cs-photo / --16-10 / --4-5 / __cap / __placeholder - 写真枠（cover配置・暗色下地）
 * .cs-parallax        - 背景固定写真＋左→右グラデーション暗幕
 * .cs-cols3 / __item / --dark - 罫線区切りの3カラム番号リスト
 * .cs-num             - 大きな番号（Roboto 64px アクセント色）
 * .cs-trouble / __item / __num - 罫線区切りのお悩みリスト
 * .cs-card / __overlay / __body / __label / __title / __text / __follow - 写真上テキストのリンクカード
 * .cs-btn-group      - ボタン横並び（一番長いボタンの横幅にそろえる）
 * .cs-btn            - サイト共通ボタン（1種類に統一。オフホワイト地・末尾ライン・hoverでグレージュ反転）
 * .cs-area            - 上下罫線の対応エリア帯
 * .cs-def / __row / --company / --profile / --footer / --garage - 項目＋内容の定義リスト
 * .cs-map / --footer / --company - モノクロ地図
 * .cs-cta-grid / __item - CTAの電話・メール2分割
 * .cs-footer / __logo / __bottom / __nav - フッター
 * .cs-hero            - 下層ページヒーロー（page-hero 拡張）
 * .cs-menu / --reverse / __head / __num / __box - 事業内容の交互レイアウト
 * .cs-works / __cat / __cat-head / __item / __item-head / __grid - 施工実績一覧
 * .cs-sign            - 代表署名行
 * .cs-garage / __head / __item / --reverse - 趣味・ガレージ紹介
 * .cs-contact-card    - 電話・メールの黒カード
 * .cs-checklist / __item / __num - 5分割チェックリスト
 * .cs-pt-140 / .cs-pb-140 / .cs-pt-8 - 余白
 * .cs-gap-{8,12,16,28,32,48,56,64} - gap
 * .cs-fz-{11,15,17,26,30,34} / .cs-lh-{125,17} / .cs-ls-{04,08} / .cs-max-w-520 - 文字・幅の値
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 【値の粒度不足】
 *  - fz：11 / 15 / 17 / 26 / 30 / 34px が無い
 *  - pt/pb：140px が無い（最大120）
 *  - gap：8 / 12 / 16 / 28 / 32 / 48 / 56 / 64px が無い
 *  - letter-spacing：0.04em / 0.08em / 0.3em が無い
 *  - line-height：1.25 / 1.7 が無い
 *  - aspect-ratio：16/10・4/5 が無い
 *  - max-width：520px が無い
 * 【構造不足】
 *  - fr比率（5:6 / 4:7 / 6:5）の grid 2カラム（column2 は%固定・gap指定不可）
 *  - 「EN 大 ／ JA 小」を横並びベースライン揃えにする見出し
 *  - 罫線区切りの3カラム／5カラム番号リスト
 *  - 写真上に上部ラベル＋タイトルを載せるカード（card-bnr は角丸・中央/左下配置のみ）
 *  - 定義リスト（dl）の罫線テーブル表現（table-* は table 要素前提）
 * 【装飾パターン不足】
 *  - 斜めにスキューした MORE 矢印
 *  - ボタン末尾の細い横線
 *  - 背景固定（background-attachment: fixed）＋横グラデーション暗幕
 *  - MV の文字せり上がり（マスク＋translateY）演出
 * 【状態不足】
 *  - header__cta の hover を「背景色維持＋opacity」にする手段が無い（共通は $sub_color 背景へ変化）
 * 【その他】
 *  - $base_color をオフホワイトにすると a 要素の文字色が背景と同化するため、a の色を継承に変更
 *
 */

/* ==========================================================================
   Base（サイト全体）
   ========================================================================== */
a {
  color: inherit;
}
a:hover {
  opacity: 0.7;
}
@keyframes csUp {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}
@keyframes csFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   値ユーティリティ（共通に無い刻み）
   ========================================================================== */
.cs-pt-140 { padding-top: 140px; }
.cs-pb-140 { padding-bottom: 140px; }
.cs-pt-8   { padding-top: 8px; }
.cs-gap-6  { gap: 6px; }
.cs-gap-8  { gap: 8px; }
.cs-gap-12 { gap: 12px; }
.cs-gap-16 { gap: 16px; }
.cs-gap-24 { gap: 24px; }
.cs-gap-28 { gap: 28px; }
.cs-gap-32 { gap: 32px; }
.cs-gap-48 { gap: 48px; }
.cs-gap-56 { gap: 56px; }
.cs-gap-64 { gap: 64px; }
.cs-gap-72 { gap: 72px; }
.cs-gap-120 { gap: 120px; }
.cs-fz-11 { font-size: 1.1rem; }
.cs-fz-15 { font-size: 1.5rem; }
.cs-fz-17 { font-size: 1.7rem; }
.cs-fz-26 { font-size: 2.6rem; }
.cs-fz-30 { font-size: 3rem; }
.cs-fz-34 { font-size: 3.4rem; }
.cs-fz-52 { font-size: 5.2rem; }
.cs-lh-125 { line-height: 1.25; }
.cs-lh-13  { line-height: 1.3; }
.cs-lh-17  { line-height: 1.7; }
.cs-ls-04 { letter-spacing: 0.04em; }
.cs-ls-06 { letter-spacing: 0.06em; }
.cs-ls-08 { letter-spacing: 0.08em; }
.cs-ls-12 { letter-spacing: 0.12em; }
.cs-max-w-520 { max-width: 520px; }

/* ==========================================================================
   レイアウト
   ========================================================================== */
.cs-stack {
  display: flex;
  flex-direction: column;
}
.cs-stack--center {
  align-items: center;
}
.cs-grid {
  display: grid;
  gap: 80px;
}
.cs-grid--5-6 { grid-template-columns: 5fr 6fr; }
.cs-grid--6-5 { grid-template-columns: 6fr 5fr; }
.cs-grid--4-7 { grid-template-columns: 4fr 7fr; }
/* gap modifier を cs-grid より後に置き上書き可能にする */
.cs-grid.cs-gap-64 { gap: 64px; }
.cs-grid.cs-gap-56 { gap: 56px; }

/* ==========================================================================
   パーツ：線・ラベル・見出し
   ========================================================================== */
.cs-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.cs-line--60 { width: 60px; }

.cs-bar {
  display: block;
  width: 40px;
  height: 2px;
  background: #8B8175;
}

.cs-label {
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.3em;
}

.cs-ttl {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.cs-ttl__en {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.cs-ttl__ja {
  font-size: 1.3rem;
}
.cs-ttl--stack {
  flex-direction: column;
  align-items: flex-start;
}
.cs-ttl--stack .cs-ttl__en {
  font-size: 4rem;
  line-height: 1.1;
}
.cs-ttl--lg .cs-ttl__en {
  font-size: 6.4rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.cs-ttl-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.cs-more {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  line-height: 1;
}
.cs-more__arrow {
  display: block;
  width: 80px;
  height: 10px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(45deg);
  transform-origin: bottom;
  transition: width 0.3s ease;
}
.cs-more:hover .cs-more__arrow {
  width: 96px;
}

.cs-num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 6.4rem;
  line-height: 1;
  color: #8B8175;
}

/* ==========================================================================
   ボタン
   ========================================================================== */
/* サイト内ボタンはこの1種類に統一（オフホワイト地＋黒文字＋末尾ライン／hoverでグレージュ反転） */
.cs-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  height: 52px;
  padding: 0 28px;
  background: #F5F3EE;
  color: #171717;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.cs-btn:hover {
  opacity: 1;
  background: #8B8175;
  color: #F5F3EE;
}
.cs-btn svg {
  flex-shrink: 0;
}

.cs-icon-box {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 243, 238, 0.6);
}

/* ==========================================================================
   ヘッダー（header / header-sticky の拡張）
   ========================================================================== */
.cs-header {
  color: #F5F3EE;
  z-index: 20;
}
.cs-header .header__inner {
  max-width: none;
  height: auto;
  padding: 28px 48px;
  gap: 24px;
}
.cs-header .header__logo {
  display: block;
  line-height: 0;
}
.cs-header .header__logo img {
  display: block;
  height: 64px;
  width: auto;
}
.cs-header__group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.cs-header .header__nav {
  gap: 26px;
  margin: 0 18px 0 0;
  padding-top: 6px;
}
.cs-header .header__nav-item a {
  display: block;
  padding: 0 0 6px;
  border-bottom: 1px solid transparent;
}
.cs-header .header__nav-item a::after {
  content: none;
}
.cs-header .header__nav-item a:hover {
  opacity: 0.7;
}
.cs-header .header__nav-item--current a {
  border-bottom-color: #F5F3EE;
}
.cs-header .header__nav-en {
  display: block;
  color: #F5F3EE;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
}
.cs-header .header__right {
  gap: 22px;
  height: auto;
}
.cs-header .header__tel {
  flex-direction: column;
  align-items: flex-end;
  color: #F5F3EE;
  line-height: 1.2;
}
.cs-header .header__tel::before {
  content: none;
}
.cs-header__tel-num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
}
.cs-header__tel-time {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
/* ヘッダーCTAも .cs-btn と同じデザイン（高さのみヘッダーに合わせて40px） */
.cs-header .header__cta {
  flex-direction: row;
  gap: 14px;
  height: 40px;
  padding: 0 22px;
  background: #F5F3EE;
  color: #171717;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.cs-header .header__cta:hover {
  opacity: 1;
  background: #8B8175;
  color: #F5F3EE;
}

/* ==========================================================================
   TOP：メインビュー
   ========================================================================== */
.cs-mv {
  position: relative;
  height: 820px;
  overflow: hidden;
  color: #F5F3EE;
  background: #2b2926 repeating-linear-gradient(135deg, rgba(245, 243, 238, 0.035) 0 2px, transparent 2px 16px);
}
.cs-mv__slider {
  position: absolute;
  inset: 0;
}
.cs-mv__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.cs-mv__slide.is-active {
  opacity: 1;
}
.cs-mv__slide-img {
  overflow: hidden;
}
.cs-mv__slide-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.cs-mv__slide.is-active .cs-mv__slide-img img {
  transform: scale(1);
}
.cs-mv__dots {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.cs-mv__dot {
  width: 36px;
  height: 2px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(245, 243, 238, 0.4);
  transition: background 0.3s ease;
}
.cs-mv__dot.is-active {
  background: #F5F3EE;
}
.cs-mv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.42);
  z-index: 1;
}
.cs-mv__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding-top: 60px;
}
.cs-mv__logo {
  display: block;
  width: 440px;
  height: auto;
  animation: csFade 1.2s ease 0.1s both;
}
.cs-mv__title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 12.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.cs-mv__title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
}
.cs-mv__title-inner {
  display: block;
  animation: csUp 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) 0.5s both;
}
.cs-mv__title-x {
  font-weight: 400;
  margin: 0 0.22em;
}
.cs-mv__catch {
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  line-height: 1.8;
  animation: csFade 1s ease 1.2s both;
}
.cs-mv__sub {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
  animation: csFade 1s ease 1.5s both;
}
.cs-mv__scroll {
  position: absolute;
  left: 48px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
}

/* ==========================================================================
   写真枠
   ========================================================================== */
.cs-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: #2b2926;
}
.cs-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
a.cs-photo:hover {
  opacity: 1;
}
a.cs-photo:hover > img {
  transform: scale(1.04);
}
.cs-photo--16-10 { aspect-ratio: 16 / 10; }
.cs-photo--4-5   { aspect-ratio: 4 / 5; }
.cs-photo--stripe {
  background: #2b2926 repeating-linear-gradient(135deg, rgba(245, 243, 238, 0.035) 0 2px, transparent 2px 16px);
}
.cs-photo__cap {
  position: absolute;
  left: 12px;
  bottom: 8px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  line-height: 2;
  color: #F5F3EE;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.cs-photo__placeholder {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: rgba(245, 243, 238, 0.8);
}

/* ==========================================================================
   TOP：経験を重ねた技術で（背景固定）
   ========================================================================== */
.cs-parallax {
  position: relative;
  padding: 160px 0;
  color: #F5F3EE;
  background-color: #2b2926;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.cs-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.85), rgba(23, 23, 23, 0.3));
}

/* ==========================================================================
   3カラム番号リスト（POLICY / COMMITMENT）
   ========================================================================== */
.cs-cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #171717;
}
.cs-cols3__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 36px 8px;
  border-right: 1px solid rgba(23, 23, 23, 0.2);
}
.cs-cols3__item:first-child {
  padding-left: 0;
}
.cs-cols3__item:last-child {
  padding-right: 0;
  border-right: none;
}
.cs-cols3--dark {
  border-top-color: rgba(245, 243, 238, 0.4);
}
.cs-cols3--dark .cs-cols3__item {
  border-right-color: rgba(245, 243, 238, 0.2);
}
.cs-cols3--dark .cs-cols3__item:last-child {
  border-right: none;
}

/* ==========================================================================
   お悩みリスト
   ========================================================================== */
.cs-trouble {
  border-top: 1px solid rgba(245, 243, 238, 0.3);
}
.cs-trouble__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 243, 238, 0.3);
  font-size: 1.7rem;
}
.cs-trouble__num {
  flex-shrink: 0;
  width: 28px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: #8B8175;
}

/* ==========================================================================
   写真上テキストカード（SERVICE / INSTAGRAM）
   ========================================================================== */
.cs-card {
  color: #F5F3EE;
}
.cs-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.7), rgba(23, 23, 23, 0.15) 55%);
}
.cs-card__overlay--flat {
  background: rgba(23, 23, 23, 0.55);
}
.cs-card__body {
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-card__label {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.4);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
}
.cs-card__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.cs-card__title--en {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
}
.cs-card__label + .cs-card__title--en {
  margin-top: 2px;
}
.cs-card__text {
  font-size: 1.3rem;
  line-height: 1.8;
}
.cs-card__follow {
  position: absolute;
  left: 32px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

/* ==========================================================================
   対応エリア帯
   ========================================================================== */
.cs-area {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid #171717;
  border-bottom: 1px solid #171717;
}

/* ==========================================================================
   定義リスト
   ========================================================================== */
.cs-def {
  border-top: 1px solid #171717;
}
.cs-def__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.2);
}
.cs-def__row dt {
  font-weight: 700;
}
/* 会社概要 */
.cs-def--company .cs-def__row {
  padding: 16px 0;
  font-size: 1.4rem;
  line-height: 1.8;
}
/* 経歴・資格 / プロフィール */
.cs-def--profile .cs-def__row {
  grid-template-columns: 160px 1fr;
  padding: 22px 0;
}
.cs-def--profile dt {
  font-size: 1.4rem;
}
/* フッター */
.cs-def--footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: none;
  font-size: 1.4rem;
  line-height: 1.9;
}
.cs-def--footer .cs-def__row {
  grid-template-columns: 90px 1fr;
  gap: 0;
  border-bottom: none;
}
.cs-def--footer dt {
  font-weight: 400;
}
/* ガレージ（暗背景） */
.cs-def--garage {
  border-top-color: rgba(245, 243, 238, 0.3);
  font-size: 1.4rem;
}
.cs-def--garage .cs-def__row {
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom-color: rgba(245, 243, 238, 0.3);
}
.cs-def--garage dt {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  line-height: 2;
}

/* ==========================================================================
   地図
   ========================================================================== */
.cs-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.cs-map--footer {
  height: 300px;
}
.cs-map--footer iframe {
  filter: grayscale(1) invert(0.9);
}
.cs-map--company {
  height: 440px;
}
.cs-map--company iframe {
  filter: grayscale(1);
}

/* ==========================================================================
   お問い合わせCTA
   ========================================================================== */
.cs-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 960px;
  border-top: 1px solid rgba(245, 243, 238, 0.3);
  border-bottom: 1px solid rgba(245, 243, 238, 0.3);
}
.cs-cta-grid__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 24px;
}
.cs-cta-grid__item:first-child {
  border-right: 1px solid rgba(245, 243, 238, 0.3);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.cs-footer {
  padding: 96px 0 32px;
  background: #0f0f0f;
  color: #F5F3EE;
}
.cs-footer__logo {
  display: block;
  align-self: flex-start;
  line-height: 0;
}
.cs-footer__logo img {
  display: block;
  height: 96px;
  width: auto;
}
.cs-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-right: 64px; /* ページトップボタンとコピーライトの重なり防止（幅1200px時） */
  border-top: 1px solid rgba(245, 243, 238, 0.2);
}
.cs-footer__nav {
  display: flex;
  gap: 28px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}

/* ==========================================================================
   下層ページヒーロー（page-hero 拡張）
   ========================================================================== */
.cs-hero {
  height: 440px;
  color: #F5F3EE;
  background: #2b2926;
}
.cs-hero .page-hero__overlay {
  background: rgba(23, 23, 23, 0.55);
}
.cs-hero .page-hero__content {
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 70px;
}

/* ==========================================================================
   事業内容：施工メニュー
   ========================================================================== */
.cs-menu {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}
.cs-menu--reverse {
  grid-template-columns: 6fr 5fr;
}
.cs-menu--reverse > .cs-photo {
  order: 1;
}
.cs-menu__head {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.24em;
}
.cs-menu__num {
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: 0;
  line-height: 1;
  color: #8B8175;
}
.cs-menu__head .cs-line {
  width: 40px;
  background: #171717;
}
.cs-menu__box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px;
  background: #171717;
  color: #F5F3EE;
}
.cs-menu__box ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.4rem;
}
.cs-menu__box li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-menu__box li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 1px;
  background: #8B8175;
}

/* ==========================================================================
   施工実績
   ========================================================================== */
.cs-works {
  max-width: 920px;
  margin: 0 auto;
}
.cs-works__cat-head {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cs-works__cat-head::after {
  content: none;
}
.cs-works__cat-head .cs-line {
  width: 28px;
  height: 2px;
  background: #171717;
}
.cs-works__cat-bar {
  display: block;
  width: 56px;
  height: 3px;
  background: #171717;
}
.cs-works__item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.cs-works__item-head .cs-line {
  width: 20px;
}
.cs-works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.cs-works__caption {
  font-size: 1.3rem;
  line-height: 1.8;
}

/* ==========================================================================
   代表プロフィール
   ========================================================================== */
.cs-sign {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 23, 23, 0.2);
}
.cs-garage__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.cs-garage__item {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: stretch;
  padding-top: 40px;
  border-top: 1px solid rgba(245, 243, 238, 0.3);
}
.cs-garage__item--reverse {
  grid-template-columns: 5fr 7fr;
}
.cs-garage__item--reverse > .cs-photo {
  order: 1;
}
.cs-garage__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.cs-garage__gallery {
  grid-column: 1 / -1;
  order: 2;
  margin-top: -24px;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.cs-contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 56px 56px 52px;
  background: #171717;
  color: #F5F3EE;
}
.cs-contact-card__label {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.3);
}
.cs-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #171717;
  border-bottom: 1px solid #171717;
}
.cs-checklist__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 16px;
  border-right: 1px solid rgba(23, 23, 23, 0.2);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.7;
}
.cs-checklist__num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: #8B8175;
}

/* ==========================================================================
   ページトップボタン（共通 .page-top の配色・形状をサイトに合わせる）
   ========================================================================== */
.page-top__link {
  border-radius: 0;
  background: #171717;
  border: 1px solid rgba(245, 243, 238, 0.4);
  color: #F5F3EE;
  box-shadow: none;
}
.page-top__link::before {
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.6rem;
}
.page-top__link:hover {
  opacity: 1;
  background: #8B8175;
  border-color: #8B8175;
  color: #F5F3EE;
}

/* ハンバーガーメニュー内の電話番号アイコン（FA v6） */
.sp-nav .header__tel {
  color: #F5F3EE;
}
.sp-nav .header__tel::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #F5F3EE;
}

/* ==========================================================================
   文字組み
   ========================================================================== */
h1, h2, h3 {
  text-wrap: balance;
}
/* 縦並び＋中央寄せの中の文字は横幅いっぱいに広げ、text-align で中央そろえ */
.cs-stack--center > * {
  align-self: stretch;
}
.cs-stack--center > .cs-bar,
.cs-stack--center > .cs-btn {
  align-self: center;
}
.cs-stack--center > .cs-cta-grid {
  margin: 0 auto;
}
.cs-stack--center h1,
.cs-stack--center h2 {
  text-wrap-style: auto;
}

/* ==========================================================================
   追従ヘッダー（header-sticky に JS で .is-fixed を付与）
   固定時は黒背景＋コンパクト化し、上からスライドイン
   ========================================================================== */
@keyframes csHeaderDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.cs-header.is-fixed {
  background: rgba(23, 23, 23, 0.95);
  box-shadow: none;
  animation: csHeaderDown 0.4s ease both;
}
.cs-header.is-fixed .header__inner {
  padding: 12px 48px;
}
.cs-header.is-fixed .header__logo img {
  height: 48px;
}

/* ボタンの横並び（各ボタンを一番長いボタンの横幅にそろえる） */
.cs-btn-group {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 12px;
  align-self: flex-start;
}
.cs-btn-group > .cs-btn {
  justify-content: center;
}

/* ==========================================================================
   MV タイトル（COLORSTAFF×PAINT：極太フォント）
   ========================================================================== */
.cs-mv__title {
  font-family: "Anton", "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: min(12.8rem, 12vw);
  letter-spacing: 0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.cs-mv__title-x {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  margin: 0 0.12em;
  opacity: 0.85;
}

/* ==========================================================================
   施工実績：写真のみを詰めて表示
   ========================================================================== */
.cs-works__grid { gap: 6px; }
@media (max-width: 767px) {
  .cs-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
}

/* お問い合わせフォーム */
.cs-contact-form { margin-top: 24px; }

/* 代表プロフィール：GARAGEの写真一覧（スマホは2列） */
@media (max-width: 767px) {
  .cs-garage__gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   お問い合わせフォーム（フォームCMS form-pattern-1 をサイトの配色に変更）
   黒 #171717 ／ オフホワイト #F5F3EE ／ グレージュ #8B8175 ／ 角は直角
   ※CMS側のCSS（mail-form.css）が後から読み込まれるため、.cs-contact-form を付けて優先させる
   ========================================================================== */
.cs-contact-form .form-pattern-1 {
  background: #fff;
}
.cs-contact-form .form-pattern-1 .form-thanks-msg {
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.2);
  padding: 20px;
}
.cs-contact-form .form-pattern-1 .form-thanks-msg .back-home-btn a {
  background: #171717;
  color: #F5F3EE;
  border: 1px solid #171717;
  border-radius: 0;
}
.cs-contact-form .form-pattern-1 .form-thanks-msg .back-home-btn a:hover {
  opacity: 1;
  background: #8B8175;
  border-color: #8B8175;
}
.cs-contact-form .form-pattern-1 dl dd:not(.pattern-exclusion) {
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}
.cs-contact-form .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  padding: 0 6px;
  margin-right: 8px;
  font-size: 11px;
  border-radius: 0;
  position: relative;
  top: -2px;
}
.cs-contact-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  content: '必須';
  color: #F5F3EE;
  background: #171717;
}
.cs-contact-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.optional::before {
  color: #F5F3EE;
  background: #8B8175;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea,
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect,
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-date,
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-time,
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetime,
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetimepicker {
  border: 1px solid rgba(23, 23, 23, 0.25);
  border-radius: 0;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-area {
  border: 2px dashed #8B8175;
  background: #F5F3EE;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button {
  color: #F5F3EE;
  background: #171717;
  border: 1px solid #171717;
  border-radius: 0;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .input-file-clear {
  color: #F5F3EE;
  background: #8B8175;
  border: 1px solid #8B8175;
  border-radius: 0;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-area .upload-msg p {
  color: #171717;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .input-files {
  display: block;
  margin-bottom: 10px;
}
.cs-contact-form .form-pattern-1 :not(.pattern-exclusion) button:hover {
  background: #8B8175;
  border-color: #8B8175;
}
.cs-contact-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button::before {
  background-color: #F5F3EE;
}
/* 送信ボタン：サイト共通ボタン（.cs-btn）の配色を白地用に反転・中央配置 */
.cs-contact-form .form-pattern-1 .submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 280px !important;
  height: 56px !important;
  margin: 40px auto 0 !important;
  padding: 0 40px !important;
  color: #F5F3EE !important;
  background: #171717 !important;
  border: 1px solid #171717 !important;
  border-image: initial !important;
  border-radius: 0 !important;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease !important;
}
.cs-contact-form .form-pattern-1 .submit-btn:hover {
  background: #8B8175 !important;
  border-color: #8B8175 !important;
}
.cs-contact-form .form-pattern-1 .submit-btn::before {
  background-color: #F5F3EE !important;
}
