/* =========================================================
   山口ウォールワークス（yamaguchiwallworks）サイト共通 CSS
   ---------------------------------------------------------
   Figma「山口ウォールワークス　様」（1440 / 375）の実測値で組んでいる。
   実測の正本は docs/figma/design_tokens.md、計画は docs/site_plan_2026-09-24.md。
   元の corp 正本の style.css は docs/style.corp_original.css に退避してある。

   ★構成★
   1. フォント読み込み・トークン（corp 正本の変数名は据え置き、意味だけ差し替え）
   2. 基本・フェードアップ（演出）
   3. 共通部品 .yw-*（ネオン見出し・本文・ボタン・箱・帯・表・チェックリスト）
   4. ヘッダー（PC 140px・MV の上では透明／SP 80px＋右ドロワー）
   5. 標準ブロックの見た目（hero_main / hero_page / latest_news_bar / concept_split / gmap / 施工実績）
      → corp 正本はブロック追加時に個別 CSS を焼き込まない（default_block_css.js が空）ので、
        テーマ JSON は使わず、ここに `body .クラス` の詳細度で書く（blocks.css に勝つ）
   6. TOP のカスタムHTML（SERVICE / STRENGTHS / AREA / CONTACT）
   7. 共通フッター
   8. 下層ページ（事業内容・会社概要・採用情報・お問い合わせ・お知らせ）
   9. 中間幅（1399px 以下）・SP（768px 以下）

   ★corp のブロックが前提にする骨組み（position / display / opacity / visibility）は落とさない★
   ★要素の位置決めに transform を使わない（フェードアップの transform と衝突する）★
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@500&family=Noto+Serif+JP:wght@400;500;700&display=swap");

:root {
  /* ---- 本案件のトークン ---- */
  --yw-green: #3DD000;         /* ボタン・チップ・斜め帯・縦線・表の下線 */
  --yw-green-hover: #5BE01E;
  --yw-neon: #6AC844;          /* ネオン見出しの文字 */
  --yw-neon-alt: #5DB03B;      /* ネオン見出し（AREA / WORKS / CONTACT 等は前面もこの色）・光彩 */
  --yw-bg: #020709;            /* 地（最暗） */
  --yw-bg2: #0E1C1C;           /* 地（グラデの明るい側）・写真の膜 */
  --yw-gray: #B6B6B6;          /* フォームの枠・区切り線 */
  --yw-en: "Noto Serif", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --yw-ja: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --yw-glow: 0 0 10px #5DB03B, 4px 4px 10px rgba(93, 176, 59, .25); /* 背面の同じ文字（ぼかし 10）＋前面の影（4,4 ぼかし 10・25%） */

  /* ---- corp 正本の変数（名前は据え置き・意味を本案件に差し替え） ---- */
  --bg-base: var(--yw-bg);
  --bg-paper: #000000;
  --bg-warm: var(--yw-bg2);
  --bg-dark: #000000;
  --bg-dark-deep: #000000;
  --ink: #ffffff;
  --text-main: #ffffff;
  --text-sub: #ffffff;
  --text-muted: #9aa5a5;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, .9);
  --gold: var(--yw-green);
  --gold-light: var(--yw-green-hover);
  --gold-ink: var(--yw-green);
  --vermilion: #d9534f;
  --fc-btn-bg: var(--yw-green);
  --fc-btn-fg: #000000;
  --fc-btn-bg-hover: var(--yw-green-hover);
  --fc-btn-fg-hover: #000000;
  --fc-btn-border: var(--yw-green);
  --fc-btn-outline-fg: #ffffff;
  --line: rgba(255, 255, 255, .6);
  --line-dark: rgba(255, 255, 255, .2);
  --shadow-base: none;
  --font-heading: var(--yw-ja);
  --font-serif: var(--yw-ja);
  --font-sans: var(--yw-ja);
  --font-en: var(--yw-en);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   2. 基本
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--yw-bg);
  color: #fff;
  font-family: var(--yw-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.6px;
  -webkit-font-smoothing: antialiased;
  writing-mode: horizontal-tb;
  overflow-wrap: break-word;
}
body::before { display: none; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease; }
a:hover { color: var(--yw-green); }
button { font: inherit; }
.sp-br { display: none; }

/* ---- フェードアップ（ふわっと浮かび上がる）----
   corp 正本の仕組み（IntersectionObserver が .fade-up に .is-visible を付ける）をそのまま使い、
   動きを「40px 下から 1.1 秒かけて」に調整。箱が並ぶ所は .yw-reveal で時間差（共通ヘッダーのスクリプト）。 */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1.1s ease-out, transform 1.1s var(--ease); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.yw-reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease-out, transform 1s var(--ease); }
.yw-reveal.is-in { opacity: 1; transform: translateY(0); }
.yw-reveal:nth-child(2) { transition-delay: .12s; }
.yw-reveal:nth-child(3) { transition-delay: .24s; }
.yw-reveal:nth-child(4) { transition-delay: .36s; }
.yw-reveal:nth-child(5) { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .yw-reveal { opacity: 1; transform: none; transition: none; }
}

/* 標準ブロック共通の見出し（corp 正本から引き継ぎ。使うブロックはネオン見出しに寄せる） */
.section-header, .news-section-header, .job-section-header, .contact-section-header { text-align: center; margin-bottom: 40px; }
.section-header h2, .news-main-title, .job-main-title, .contact-main-title { font-family: var(--yw-en); font-size: 64px; line-height: 77px; letter-spacing: 3.2px; font-weight: 500; color: var(--yw-neon); text-shadow: var(--yw-glow); }
.section-header p, .news-sub-text, .job-sub-text, .contact-sub-text { margin-top: 10px; color: #fff; font-size: 32px; line-height: 38px; letter-spacing: 3.2px; }

/* =========================================================
   3. 共通部品
   ========================================================= */
/* ネオン見出し（英字）：64/77（セクション）・--l 96/115（MV・下層ヒーロー）・--s 40/48（STRENGTH・STEP）
   Figma は「背面に同じ文字（#5DB03B・ぼかし 10）」＋「前面（#6AC844・影 4,4 ぼかし 10 の 25%）」の 2 枚重ね → text-shadow 2 つで再現 */
.yw-neon { margin: 0; font-family: var(--yw-en); font-weight: 500; font-size: 64px; line-height: 77px; letter-spacing: 3.2px; color: var(--yw-neon); text-shadow: var(--yw-glow); white-space: nowrap; }
.yw-neon--alt { color: var(--yw-neon-alt); }
.yw-neon--l { font-size: 96px; line-height: 115px; letter-spacing: 4.8px; }
.yw-neon--s { font-size: 40px; line-height: 48px; letter-spacing: 2px; }
/* 和文見出し 32/38・字間 10%。--m は 24/29（小見出し） */
.yw-ttl { margin: 0; font-family: var(--yw-ja); font-weight: 500; font-size: 32px; line-height: 38px; letter-spacing: 3.2px; color: #fff; }
.yw-ttl small { font-size: 24px; line-height: 0; letter-spacing: 2.4px; } /* 行の高さを広げない */
.yw-sub { margin: 0; font-size: 24px; line-height: 29px; letter-spacing: 2.4px; font-weight: 500; color: #fff; }
.yw-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.yw-head--center { align-items: center; text-align: center; }
.yw-head--g20 { gap: 20px; }
/* 本文 16/32・字間 10% */
.yw-txt { margin: 0; font-size: 16px; line-height: 32px; letter-spacing: 1.6px; font-weight: 500; color: #fff; }
.yw-center { text-align: center; }
/* 緑の縦線付きの見出し（事業内容・会社概要・採用情報）：左 5px の線＋左右 10 */
.yw-vttl { display: block; width: fit-content; margin: 0; padding: 0 10px; border-left: 5px solid var(--yw-green); font-size: 32px; line-height: 38px; letter-spacing: 3.2px; font-weight: 500; color: #fff; }
/* 写真はモノクロ（Figma の saturation −1） */
.yw-mono img, img.yw-mono { filter: grayscale(1); }

/* ---- MORE ボタン（180×42・緑・黒文字 18 700・右に ▶）。標準ブロックのボタン（block_button）も同じ形に ---- */
.yw-more, body .fc-block-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  width: 180px; height: 42px; min-height: 0; padding: 10px; border: 0; border-radius: 0;
  background: var(--yw-green); color: #000; box-shadow: none; cursor: pointer;
  font-family: var(--yw-ja); font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: 0; white-space: nowrap;
}
.yw-more::after, body .fc-block-btn::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: currentColor; clip-path: polygon(25% 6.7%, 100% 50%, 25% 93.3%); }
.yw-more:hover { background: var(--yw-green-hover); color: #000; }
.yw-more-wrap { display: flex; line-height: 0; }
.yw-more-wrap--center { justify-content: center; }
/* サイト設定「ボタン配色」（corp 既定の黄色 #F1C232）が header.php から !important で注入されるため、さらに強い詳細度で緑に固定 */
html body .fc-block-btn-primary, html body .fc-block-btn-outline, html body .link-button-btn-primary {
  background: var(--yw-green) !important; color: #000 !important; border-color: var(--yw-green) !important; box-shadow: none !important;
}
html body .fc-block-btn-primary:hover, html body .fc-block-btn-outline:hover, html body .link-button-btn-primary:hover {
  background: var(--yw-green-hover) !important; color: #000 !important; border-color: var(--yw-green-hover) !important;
}
body .fc-block-btn-wrap { display: flex; margin-top: 40px; line-height: 0; }
body .fc-block-btn-ext { display: none; }

/* ---- 白枠ボタン（320×80・白 2px・アイコン＋24px）：電話・FAX・お問い合わせ ---- */
.yw-wbtns { display: flex; justify-content: center; gap: 40px; }
.yw-wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  width: 320px; height: 80px; padding: 10px 20px; border: 2px solid #fff; color: #fff; background: transparent;
  font-family: var(--yw-en); font-weight: 500; font-size: 24px; line-height: 33px; letter-spacing: 0; white-space: nowrap;
}
.yw-wbtn::before { content: ""; flex: 0 0 auto; background: currentColor; -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
.yw-wbtn--tel::before { width: 23px; height: 30px; -webkit-mask-image: url("/image/assets/yw_ic_phone.svg"); mask-image: url("/image/assets/yw_ic_phone.svg"); }
.yw-wbtn--fax::before { width: 35px; height: 30px; -webkit-mask-image: url("/image/assets/yw_ic_fax.svg"); mask-image: url("/image/assets/yw_ic_fax.svg"); }
.yw-wbtn--mail { font-family: var(--yw-ja); font-weight: 700; line-height: 35px; }
.yw-wbtn--mail::before { width: 34px; height: 25px; -webkit-mask-image: url("/image/assets/yw_ic_mail.svg"); mask-image: url("/image/assets/yw_ic_mail.svg"); }
.yw-wbtn--wide { width: 400px; }
a.yw-wbtn:hover { background: #fff; color: #000; }
span.yw-wbtn { cursor: default; }

/* ---- 受付時間のチップ（緑・16/32）---- */
.yw-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 272px; height: 42px; margin: 0; padding: 5px 20px; background: var(--yw-green); color: #000; font-size: 16px; line-height: 32px; letter-spacing: 1.6px; font-weight: 500; white-space: nowrap; }

/* ---- 黒 80% の箱 ---- */
.yw-box { background: rgba(0, 0, 0, .8); }

/* ---- 背景の帯 ----
   帯 A：暗い縦グラデ（#020709 → 66% #0E1C1C）の上にコンクリートを乗算（TOP の NEWS〜SERVICE）
   帯 C：暗い縦グラデ（#0E1C1C → #020709 → #0E1C1C）の上にコンクリートを乗算
   帯 B：レンガのタイル（0.8 倍＝1338px）の上に「上下だけ暗い」縦グラデ
   写真の帯：写真（モノクロ）＋ #0E1C1C の膜。写真は style="--yw-bg:url(…)" で渡す
   ★body を付けて詳細度を上げる（blocks.css の .contact-form-section { background } 等に負けないため）★ */
body .yw-band-a { background-color: var(--yw-bg); background-image: url("/image/assets/yw_bg_concrete.webp"), linear-gradient(180deg, #020709 0%, #0E1C1C 66%); background-size: cover, 100% 100%; background-position: center, 0 0; background-repeat: no-repeat; background-blend-mode: multiply, normal; }
body .yw-band-c { background-color: var(--yw-bg); background-image: url("/image/assets/yw_bg_concrete.webp"), linear-gradient(180deg, #0E1C1C 0%, #020709 50%, #0E1C1C 100%); background-size: cover, 100% 100%; background-position: center, 0 0; background-repeat: no-repeat; background-blend-mode: multiply, normal; }
body .yw-band-brick { background-color: #0A1818; background-image: linear-gradient(180deg, #0A1818 0%, rgba(51, 51, 51, 0) 50%, #091313 100%), url("/image/assets/yw_bg_brick.webp"); background-size: 100% 100%, 1337.6px auto; background-position: 0 0, 0 0; background-repeat: no-repeat, repeat; }
.yw-photo-band { position: relative; isolation: isolate; }
.yw-photo-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--yw-bg); background-size: cover; background-position: center; filter: grayscale(1); }
.yw-photo-band--color::before { filter: none; }
.yw-photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 28, 28, .9); }
.yw-photo-band--95::after { background: rgba(14, 28, 28, .95); }

/* ---- 緑の斜めラベル（770×80：緑 740＋右端の三角 30。黒文字 24 700）---- */
.yw-slant { display: flex; align-items: center; width: 770px; max-width: 100%; min-height: 80px; margin: 0; padding: 20px 60px 20px 30px; background: var(--yw-green); color: #000; clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%); font-size: 24px; line-height: 29px; letter-spacing: 0; font-weight: 700; }

/* ---- チェックリスト（2 列・行 59・白の下線・チェック付きの四角 18）---- */
.yw-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.yw-checks li { display: flex; align-items: center; gap: 10px; padding: 20px 5px 19px; border-bottom: 1px solid #fff; font-size: 16px; line-height: 19px; letter-spacing: 1.6px; font-weight: 400; }
.yw-checks li::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: #fff; -webkit-mask-image: url("/image/assets/yw_ic_check.svg"); -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; mask-image: url("/image/assets/yw_ic_check.svg"); mask-size: contain; mask-repeat: no-repeat; }

/* ---- 表（会社概要・募集要項）：ラベル 390（中央揃え）＋間 10＋値 720（左右 80）。各セルに緑の下線 1px ---- */
.yw-table { width: calc(100% + 20px); margin: 0 -10px; border-collapse: separate; border-spacing: 10px 0; font-size: 18px; line-height: 22px; letter-spacing: 1.8px; font-weight: 500; color: #fff; }
.yw-table th, .yw-table td { padding: 20px 10px 19px; border-bottom: 1px solid var(--yw-green); vertical-align: middle; font-weight: 500; }
.yw-table th { width: 390px; text-align: center; }
.yw-table td { padding-left: 80px; padding-right: 80px; text-align: left; }
.yw-table td.l29 { line-height: 29px; } /* Figma で行の高さ 28.8 になっているセル（行 69・98・174） */
.yw-table td a:hover { color: var(--yw-green); }

/* ---- セクションの外枠（カスタムHTML の先頭要素）。blocks.css の先頭要素 margin-top:0 に負けないよう詳細度を上げる ---- */
.yw-sec { position: relative; }
.yw-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.custom-html-inner > .yw-sec { margin-top: 0 !important; }

/* 写真と文章の左右 2 列（TOP の SERVICE・会社概要・採用情報）：写真 560 角＋間 80＋文章 640 */
.yw-split { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 640fr); gap: 80px; align-items: center; }
.yw-split--rev { grid-template-columns: minmax(0, 640fr) minmax(0, 560fr); }
.yw-split-img { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.yw-split-img img { width: 100%; height: 100%; object-fit: cover; }
.yw-split-body { min-width: 0; }

/* =========================================================
   4. ヘッダー（Figma 部品 Frame 888：1440×140・透明で MV に重なる。
      ロゴ 180×100（x=40）・ナビ 6 項目（英字 18 緑／和文 18 白の 2 段・間 30）・TEL 200×50（緑）＋お問い合わせ 200×50（黒））
   ========================================================= */
body .global-header {
  position: fixed; top: 0; left: 0; z-index: 1000;
  width: 100%; height: 140px; min-height: 0;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: transparent; border: 0; border-radius: 0;
  backdrop-filter: none; box-shadow: none;
  transition: height .3s ease, padding .3s ease, background-color .3s ease, box-shadow .3s ease;
}
/* スクロールしたら黒の地（Figma にスクロール後の状態は無い）。高さも 100 に詰める */
body .global-header.is-scrolled { height: 100px; min-height: 0; padding: 10px 40px; border: 0; background: rgba(2, 7, 9, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
body .global-header .header-page-eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* SEO 用 H1 は見せない */
body .header-logo { display: flex; align-items: center; flex: 0 0 auto; font-size: 0; letter-spacing: 0; transition: none; }
body .header-logo img { width: 180px !important; height: 100px !important; max-height: none !important; object-fit: contain; transition: width .3s ease, height .3s ease; }
body .global-header.is-scrolled .header-logo { font-size: 0; }
body .global-header.is-scrolled .header-logo img { width: 144px !important; height: 80px !important; }
body .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
body .desktop-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; font-family: var(--yw-ja); font-size: 18px; font-weight: 500; line-height: 22px; letter-spacing: 0; white-space: nowrap; }
body .desktop-nav a::after { content: none; }
.yw-nav-en { font-family: var(--yw-en); color: var(--yw-green); }
.yw-nav-ja { color: #fff; transition: color .25s ease; }
body .desktop-nav a:hover .yw-nav-ja, body .desktop-nav a.active .yw-nav-ja { color: var(--yw-green); }
/* 項目の幅は Figma の枠どおり（60・87・80・80・91・91。和文が枠より広い「お問い合わせ」は左右にはみ出して中央揃え）＝ナビ全体 639 */
.desktop-nav a[data-yw-nav], .footer-nav a[data-yw-nav] { flex: 0 0 auto; }
.desktop-nav a[data-yw-nav="0"], .footer-nav a[data-yw-nav="0"] { width: 60px; }
.desktop-nav a[data-yw-nav="1"], .footer-nav a[data-yw-nav="1"] { width: 87px; }
.desktop-nav a[data-yw-nav="2"], .footer-nav a[data-yw-nav="2"],
.desktop-nav a[data-yw-nav="3"], .footer-nav a[data-yw-nav="3"] { width: 80px; }
.desktop-nav a[data-yw-nav="4"], .footer-nav a[data-yw-nav="4"],
.desktop-nav a[data-yw-nav="5"], .footer-nav a[data-yw-nav="5"] { width: 91px; }
body .header-btns { display: flex; align-items: center; gap: 10px; margin: 0; }
body .btn-header-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 200px; height: 50px; padding: 10px 20px; border: 0; border-radius: 0;
  background: var(--yw-green); color: #000; font-family: var(--yw-en); font-size: 18px; line-height: 25px; letter-spacing: 0; font-weight: 500; white-space: nowrap;
}
body .btn-header-tel i, body .btn-header-contact i { display: none; }
body .btn-header-tel::before { content: ""; flex: 0 0 15px; width: 15px; height: 20px; background: currentColor; -webkit-mask-image: url("/image/assets/yw_ic_phone.svg"); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-image: url("/image/assets/yw_ic_phone.svg"); mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
body .btn-header-tel:hover { background: var(--yw-green-hover); color: #000; }
body .btn-header-contact {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 200px; height: 50px; min-height: 0; padding: 10px 15px; border: 0; border-radius: 0;
  background: #000; color: #fff; font-family: var(--yw-ja); font-size: 18px; line-height: 26px; letter-spacing: 0; font-weight: 700; white-space: nowrap;
}
body .btn-header-contact::before { content: ""; flex: 0 0 25px; width: 25px; height: 18px; background: currentColor; -webkit-mask-image: url("/image/assets/yw_ic_mail.svg"); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-image: url("/image/assets/yw_ic_mail.svg"); mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
body .btn-header-contact:hover { background: #fff; color: #000; border: 0; }
body .global-header.is-scrolled .btn-header-contact { min-height: 0; }
body .menu-trigger { display: none; }
.fc-language-switcher { display: none; }

/* SP ドロワー（Figma sp_menu：右から 290px の黒・×は緑の 40 角・英字／和文 2 段 × 6・間 20） */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
body .mobile-nav-overlay { left: auto; right: 0; width: 290px; max-width: 85vw; background: #000; gap: 20px; padding: 120px 20px 40px; justify-content: flex-start; align-items: center; overflow-y: auto; }
body .mobile-nav-overlay > a { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; font-family: var(--yw-ja); font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: 0; text-align: center; }
body .mobile-nav-overlay > a:hover .yw-nav-ja { color: var(--yw-green); }
body .mobile-nav-overlay .menu-trigger { display: block; position: absolute !important; top: 10px !important; right: 20px !important; left: auto; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--yw-green); color: #000; cursor: pointer; }
body .mobile-nav-overlay .menu-trigger i { display: none; }
body .mobile-nav-overlay .menu-trigger::before, body .mobile-nav-overlay .menu-trigger::after { content: ""; position: absolute; left: 7px; top: 19px; width: 26px; height: 2px; background: #000; transform: rotate(45deg); }
body .mobile-nav-overlay .menu-trigger::after { transform: rotate(-45deg); }
/* ドロワーの外側：タップで閉じる（共通ヘッダーのスクリプト）。Figma は外側を暗くしていないので透明 */
.yw-nav-backdrop { position: fixed; inset: 0; z-index: 1999; background: transparent; visibility: hidden; }
.yw-nav-backdrop.active { visibility: visible; }

/* =========================================================
   5. 標準ブロック
   ========================================================= */
/* ---- 5-1 hero_main（TOP の MV：1440×720・写真＋#424242 40%・3 スライド。ヘッダー 140 が上に重なる）----
   キャッチ（SKILL・確かな技術で確かな施工を）は 1 枚目のスライドの欄に入れ、共通ヘッダーのスクリプトが
   スライドの外（.hero-wrapper 直下）へ移す＝スライドが切り替わっても文字は動かない */
body .hero-wrapper { position: relative; width: 100%; height: 720px; min-height: 0; overflow: hidden; background: #000; }
body .hero-wrapper.hero-has-slider::after { content: none; }
body .hero-wrapper .hero-slide-img::after { background: rgba(66, 66, 66, .4) !important; }
body .hero-slider-dots { display: none; }
body .hero-slide:not(:first-child) .hero-slide-caption { display: none; }
body .hero-wrapper .hero-slide-caption {
  position: absolute; z-index: 5; left: 80px; right: 20px; top: auto; bottom: 60px; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 21px; text-align: left; text-shadow: none; color: #fff;
}
body .hero-wrapper .hero-slide-catch { margin: 0; font-family: var(--yw-en); font-size: 96px !important; line-height: 115px; letter-spacing: 4.8px; font-weight: 500; color: var(--yw-neon) !important; text-shadow: var(--yw-glow); }
body .hero-wrapper .hero-slide-sub { margin: 0; font-family: var(--yw-ja); font-size: 64px !important; line-height: 77px; letter-spacing: 0; font-weight: 500; color: #fff !important; text-shadow: 5px 5px 20px rgba(0, 0, 0, .6); }

/* ---- 5-2 hero_page（下層 1440×476・写真（カラー）＋#424242 40%・英字 96 ネオン＋和文 40 白。ヘッダーが上に重なる）----
   欄の入れ方：タイトル＝和文（事業内容）／説明文＝英字（SERVICE）。column-reverse で英字を上に出す */
body .page-hero-wrapper {
  position: relative; height: 476px; min-height: 0; margin: 0; padding: 191px 80px 0;
  display: flex; align-items: flex-start; justify-content: flex-start; text-align: left; overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
}
body .page-hero-wrapper::after { content: ""; position: absolute; inset: 0; background: rgba(66, 66, 66, .4); }
body .ph-overlay { display: none; }
body .ph-container { position: relative; z-index: 2; width: auto; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 21px; }
body .ph-title { margin: 0; font-family: var(--yw-ja); font-weight: 500; font-size: 40px; line-height: 48px; letter-spacing: 0; color: #fff; text-shadow: 5px 5px 20px rgba(0, 0, 0, .6); }
body .ph-desc { max-width: none; margin: 0; font-family: var(--yw-en); font-weight: 500; font-size: 96px; line-height: 115px; letter-spacing: 4.8px; color: var(--yw-neon); text-shadow: var(--yw-glow); white-space: nowrap; }

/* ---- 5-3 latest_news_bar（TOP の NEWS：見出し 201 ＋ 80 ＋ 一覧 800。行 78＝上下 30・日付／カテゴリー／タイトル 15/18・白の罫線）---- */
body .news-bar-section { position: relative; padding: 80px 20px 0; background: transparent; color: #fff; }
body .news-bar-container { max-width: 1081px; margin: 0 auto; display: grid; grid-template-columns: 201px minmax(0, 800px); justify-content: center; gap: 80px; align-items: start; }
body .news-bar-head { text-align: left; }
body .news-bar-eyebrow { margin: 0; font-family: var(--yw-en); font-weight: 500; font-size: 64px; line-height: 77px; letter-spacing: 3.2px; color: var(--yw-neon); text-shadow: var(--yw-glow); white-space: nowrap; overflow-wrap: normal; }
body .news-bar-label { display: none; }
body .news-bar-list { border: 0; }
body .news-bar-link:first-child { border-top: 1px solid #fff; padding-top: 29px; } /* Figma は 1 行目の枠に上線（枠の内側） */
body .news-bar-link, body .news-bar-link.is-empty {
  display: flex; align-items: center; gap: 20px; min-height: 0; padding: 30px 10px 29px; border: 0; border-bottom: 1px solid #fff; border-radius: 0;
  background: transparent; color: #fff; font-size: 15px; line-height: 18px; letter-spacing: 0;
}
body a.news-bar-link:hover { background: transparent; padding-left: 10px; color: var(--yw-green); }
body .news-bar-link .news-date, body .news-bar-link .news-cat { flex: 0 0 auto; margin: 0; font-family: var(--yw-ja); font-size: 15px; line-height: 18px; letter-spacing: 0; font-weight: 500; color: inherit; white-space: nowrap; }
body .news-bar-link .news-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; line-height: 18px; letter-spacing: 0; font-weight: 500; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .news-bar-link .news-arrow { display: none; }

/* ---- 5-4 concept_split（TOP の ABOUT＝通常／RECRUIT＝左右反転：文章 640 ＋ 80 ＋ 写真 560 角（モノクロ））---- */
body .concept-section { position: relative; padding: 80px 80px 0; background: transparent; color: #fff; overflow: visible; }
body .concept-section:has(.concept-reverse) { padding: 80px 80px; }
body .concept-container, body .concept-container.concept-reverse {
  position: relative; max-width: 1280px; min-height: 0; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: minmax(0, 640fr) minmax(0, 560fr); gap: 80px; align-items: center;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
body .concept-container.concept-reverse { grid-template-columns: minmax(0, 560fr) minmax(0, 640fr); }
/* 「壁」の筆文字の丸（551 角・透明度 10%）を ABOUT の文章の後ろに（Figma：ABOUT の枠から x=148・y=−21） */
body .concept-container:not(.concept-reverse)::before { content: ""; position: absolute; z-index: 0; left: 148px; top: -21px; width: 551px; height: 551px; background: url("/image/assets/yw_kabe.png") center / contain no-repeat; opacity: .1; pointer-events: none; }
body .concept-container .concept-content { position: relative; z-index: 1; text-align: left; }
body .concept-container .concept-img-wrapper { position: relative; z-index: 1; align-self: center; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; margin: 0; border-radius: 0; overflow: hidden; background: #111; box-shadow: none; }
body .concept-container .concept-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
body .concept-content p.concept-eyebrow { margin: 0; font-family: var(--yw-en); font-weight: 500; font-size: 64px; line-height: 77px; letter-spacing: 3.2px; color: var(--yw-neon); text-shadow: var(--yw-glow); white-space: nowrap; }
body .concept-title, body .concept-content h2 { margin: 10px 0 0; font-family: var(--yw-ja); font-weight: 500; font-size: 32px; line-height: 38px; letter-spacing: 3.2px; color: #fff; }
body .concept-text::before, body .concept-content p.concept-text::before { content: none; }
body .concept-text, body .concept-content p.concept-text { margin: 40px 0 0; font-size: 16px; line-height: 32px; letter-spacing: 1.6px; color: #fff; }
body .concept-content .fc-block-btn-wrap { margin-top: 40px; }

/* ---- 5-5 gmap（TOP：1440×560・会社概要：1440×560。モノクロ）---- */
body .gmap-section { padding: 0; background: transparent; }
body .gmap-container { max-width: none; }
body .gmap-header { display: none; }
body .gmap-frame-wrap { aspect-ratio: auto; height: 560px; min-height: 0; border: 0; border-radius: 0; background: #1a1a1a; }
body .gmap-frame-wrap iframe { filter: grayscale(1); }

/* ---- 5-6 施工実績（blocks/works_gallery.php）----
   loop＝TOP の WORKS（レンガの帯・写真 400×480 が横に流れ続ける・モノクロ）
   grid＝施工実績ページ（コンクリートの帯・4 列：写真 300×200＋キャプション 48・カラー） */
body .works-gallery-section { position: relative; color: #fff; overflow: hidden; }
body .works-gallery-section.is-loop { padding: 80px 0; }
body .works-gallery-section.is-grid { padding: 60px 20px 80px; }
.wg-head { margin-bottom: 40px; }
.wg-marquee { position: relative; width: 100%; overflow: hidden; }
.wg-track { display: flex; width: max-content; animation: yw-marquee var(--wg-dur, 40s) linear infinite; }
.wg-marquee:hover .wg-track { animation-play-state: paused; }
.wg-slide { flex: 0 0 400px; width: 400px; height: 480px; margin: 0 40px 0 0; overflow: hidden; background: #111; }
.wg-slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
@keyframes yw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wg-track { animation: none; } }
.wg-more { margin-top: 40px; }
.wg-grid { list-style: none; max-width: 1278px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 300px)); justify-content: center; column-gap: 26px; row-gap: 40px; }
.wg-card { margin: 0; }
.wg-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #D9D9D9; }
.wg-card-img img { width: 100%; height: 100%; object-fit: cover; }
.wg-card figcaption { padding: 15px 10px; font-size: 15px; line-height: 18px; letter-spacing: 0; font-weight: 500; text-align: center; color: #fff; }
.wg-empty { padding: 40px 0; text-align: center; }
.wg-pager { display: flex; justify-content: center; gap: 12px; margin-top: 60px; }
.wg-pager a, .wg-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #fff; font-family: var(--yw-en); font-size: 16px; line-height: 20px; letter-spacing: 0; }
.wg-pager .is-current { background: var(--yw-green); border-color: var(--yw-green); color: #000; }
.wg-pager a:hover { background: #fff; color: #000; }

/* =========================================================
   6. TOP のカスタムHTML
   ========================================================= */
/* 帯 A（NEWS・ABOUT・SERVICE の 3 ブロックにまたがる 1 枚の背景）は、共通ヘッダーのスクリプトが
   3 ブロックを <div class="yw-band-a"> で包んで付ける（ブロックを跨ぐ背景を継ぎ目なく出すため） */

/* ---- 6-1 SERVICE（写真 560 角＋文章 640・緑の斜め帯 ×3・MORE）---- */
.yw-service { padding: 96px 80px 80px; }
.yw-service .yw-txt { margin-top: 40px; }
.yw-svc-bars { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yw-svc-bars li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  width: 640px; max-width: 100%; min-height: 103px; padding: 20px 50px 20px 10px;
  background: var(--yw-green); color: #000; clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}
.yw-svc-name { display: inline-block; padding: 5px; background: #000; color: #fff; font-size: 20px; line-height: 24px; letter-spacing: 0; font-weight: 700; }
.yw-svc-desc { font-size: 16px; line-height: 19px; letter-spacing: 0; font-weight: 700; }
@media (min-width: 1280px) { .yw-svc-desc { white-space: nowrap; } } /* Figma は 580 の枠から 590 の文字がはみ出して 1 行。狭い幅では折り返す */
.yw-service .yw-more-wrap { margin-top: 40px; }

/* ---- 6-2 STRENGTHS（レンガの帯・黒 80% の箱 1280×560 ×3：文章 600＋写真 480 角（交互））---- */
.yw-strengths { padding: 120px 80px; }
.yw-str-list { display: flex; flex-direction: column; gap: 40px; max-width: 1280px; margin: 40px auto 0; }
.yw-str { display: grid; grid-template-columns: minmax(0, 600fr) minmax(0, 480fr); gap: 40px; align-items: center; min-height: 560px; padding: 40px 80px; }
.yw-str--rev { grid-template-columns: minmax(0, 480fr) minmax(0, 600fr); }
.yw-str--rev .yw-str-img { order: -1; }
.yw-str-img { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.yw-str-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.yw-str .yw-txt { margin-top: 40px; }

/* ---- 6-3 AREA（帯 C・中央揃え・間 30：見出し／線付きの一文／本文／福岡県の形の写真 418×439）---- */
.yw-area { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 80px 20px; }
.yw-area-lead { display: flex; align-items: center; gap: 20px; margin: 0; font-size: 24px; line-height: 29px; letter-spacing: 2.4px; font-weight: 500; white-space: nowrap; }
.yw-area-lead::before, .yw-area-lead::after { content: ""; flex: 0 0 60px; width: 60px; height: 1px; background: #fff; }
.yw-area .yw-txt { width: 687px; max-width: 100%; }
/* 福岡県の形（ベクター 17:397）で街の写真（582×488・黒 20%・モノクロ）を切り抜く。写真は形より x−82・y−49 にずれて置かれている */
.yw-fukuoka { position: relative; flex: 0 0 auto; width: 418px; height: 439px; margin: 0; overflow: hidden; -webkit-mask-image: url("/image/assets/yw_fukuoka.svg"); -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-image: url("/image/assets/yw_fukuoka.svg"); mask-size: 100% 100%; mask-repeat: no-repeat; }
.yw-fukuoka img { position: absolute; left: -19.617%; top: -11.162%; width: 139.234%; height: 111.162%; max-width: none !important; object-fit: cover; filter: grayscale(1); } /* blocks.css の .custom-html-inner img { max-width: 100% } に負けないよう !important */
.yw-fukuoka::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }

/* ---- 6-4 CONTACT（TOP だけ。家の写真（モノクロ）＋#0E1C1C 90%・中央揃え・間 30）---- */
.yw-cta { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 60px 20px; text-align: center; }

/* =========================================================
   7. 共通フッター（Figma 部品 Component 3：黒 411。ロゴ 240×120 → 住所 → ナビ（2 段）→ 著作権 62）
      corp の DOM：footer > .footer-nav-wrap(nav) + .info-grid(.shop-info + .gmap-wrap)。
      .info-grid を display: contents にして、flex の order で「ロゴ・住所 → ナビ」に並べ替える。
      地図は TOP と会社概要だけ（gmap ブロック）なので、フッター自身の地図欄は出さない
   ========================================================= */
body .global-footer { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 20px 40px; background: #000; color: #fff; border: 0; overflow: visible; }
body .global-footer .info-grid { display: contents; }
body .global-footer .gmap-wrap { display: none; }
body .global-footer .shop-info { order: 1; display: flex; flex-direction: column; align-items: center; }
body .global-footer .footer-brand { text-align: center; }
body .global-footer .footer-brand::before { content: ""; display: block; width: 240px; height: 120px; margin: 0 auto; background: url("/image/assets/yw_logo.png") center / contain no-repeat; }
body .global-footer .footer-brand h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .global-footer .footer-genre, body .global-footer .footer-table, body .global-footer .footer-payments-box, body .global-footer .footer-nav-brand { display: none; }
.yw-faddr { display: flex; align-items: center; gap: 5px; margin: 40px 0 0; font-size: 15px; line-height: 20px; letter-spacing: 0; font-weight: 500; color: #fff; white-space: nowrap; }
.yw-faddr::before { content: ""; flex: 0 0 15px; width: 15px; height: 20px; background: currentColor; -webkit-mask-image: url("/image/assets/yw_ic_pin.svg"); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-image: url("/image/assets/yw_ic_pin.svg"); mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
body .global-footer .footer-nav-wrap { order: 2; margin: 40px 0 0; padding: 0; background: transparent; border: 0; }
body .global-footer .footer-nav { max-width: none; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0 30px; }
body .global-footer .footer-nav-link { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; color: #fff; font-family: var(--yw-ja); font-size: 18px; font-weight: 500; line-height: 22px; letter-spacing: 0; white-space: nowrap; }
body .global-footer .footer-nav-link:last-child { border: 0; }
body .global-footer .footer-nav-link:hover .yw-nav-ja { color: var(--yw-green); }
body .footer-copy-text, body .footer-copy { height: 62px; margin: 0; padding: 22px 20px; border: 0; background: #000; color: #fff; font-family: var(--yw-ja); font-size: 14px; line-height: 17px; letter-spacing: 0; font-weight: 400; text-align: center; }
/* 浮遊ボタン（corp の右端タブ・SP 下部バー）は出さない（SP ヘッダーに TEL・メールがある） */
.fc-floating-actions { position: fixed; z-index: 1800; display: flex; }
.fc-floating-action { display: inline-flex; align-items: center; justify-content: center; }
body .fc-floating-actions { display: none; }
body.has-floating-actions { padding-bottom: 0; }

/* =========================================================
   8. 下層ページ（ヒーローは 5-2 の hero_page）
   ========================================================= */
/* 写真 480 角＋文章 600（黒 80% の箱の中）。--rev は文章が左 */
.yw-row { display: grid; grid-template-columns: minmax(0, 480fr) minmax(0, 600fr); gap: 40px; align-items: center; }
.yw-row--rev { grid-template-columns: minmax(0, 600fr) minmax(0, 480fr); }
.yw-row-img { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.yw-row-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.yw-row-body { min-width: 0; }
.yw-row-body > .yw-sub, .yw-row-body > .yw-txt, .yw-split-body > .yw-sub, .yw-split-body > .yw-txt { margin-top: 40px; }

/* ---- 8-1 事業内容：①サービス 3 つ（レンガの帯・箱 1280・間 40）②AREA（帯 C）③FLOW（レンガの帯・箱 ×5・間 20）---- */
.yw-svcs { padding: 60px 80px 80px; }
.yw-svcs-list { display: flex; flex-direction: column; gap: 40px; max-width: 1280px; margin: 0 auto; }
.yw-svc { min-height: 560px; padding: 40px 80px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.yw-svc .yw-row { min-height: 480px; }
.yw-signs { width: 100%; }
.yw-sarea { padding: 80px 20px; }
.yw-sarea-inner { display: flex; justify-content: center; align-items: center; gap: 80px; }
.yw-sarea-body { width: 400px; max-width: 100%; }
.yw-sarea-body .yw-head { display: inline-flex; align-items: center; }
.yw-sarea-body .yw-sub, .yw-sarea-body .yw-txt { margin-top: 30px; }
.yw-flow { padding: 80px 80px; }
.yw-steps { display: flex; flex-direction: column; gap: 20px; max-width: 1280px; margin: 40px auto 0; }
.yw-step { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 60px 20px; }
.yw-step-row { display: grid; grid-template-columns: minmax(0, 420fr) minmax(0, 600fr); gap: 40px; align-items: center; width: 100%; max-width: 1060px; }

/* ---- 8-2 会社概要：①代表挨拶（写真＋#0E1C1C 95%）②PHILOSOPHY（帯 C）③INFORMATION（レンガの帯・表）④地図 ---- */
.yw-greet { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding: 80px 240px; }
.yw-greet .yw-txt { max-width: 960px; }
.yw-sign { margin: 0; color: var(--yw-green); font-size: 32px; line-height: 38px; letter-spacing: 3.2px; font-weight: 500; }
.yw-sign small { font-size: 24px; line-height: 0; letter-spacing: 2.4px; }
.yw-philo { padding: 80px 80px; }
.yw-info { padding: 80px 80px; }
.yw-table-box { max-width: 1280px; margin: 40px auto 0; padding: 80px; }

/* ---- 8-3 採用情報：①導入（帯 C）②求める人材・募集要項・応募ボタン（レンガの帯）---- */
.yw-rintro { padding: 60px 80px; }
.yw-rband { padding: 60px 80px 80px; }
.yw-want { max-width: 1280px; margin: 0 auto; padding: 80px; }
.yw-rband > .yw-head { margin-top: 60px; }
.yw-rband .yw-wbtns { margin-top: 40px; }

/* ---- 8-4 お問い合わせ：①TEL の帯 ②FAX の帯（上に緑の線）③メールフォーム（レンガの帯・黒 80% の箱）---- */
.yw-ctel, .yw-cfax { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 60px 20px; text-align: center; }
.yw-cfax { border-top: 1px solid var(--yw-green); padding-top: 60px; }
.yw-fax-note { margin: 0; font-size: 16px; line-height: 32px; letter-spacing: 1.6px; }
.yw-fax-note span { display: block; font-size: 20px; line-height: 43px; letter-spacing: 2px; }

/* contact_form（改修版 blocks/contact_form.php）：見出し → 7 行（ラベル 300 ＋ 130 ＋ 入力 580・行の下に #B6B6B6 の線）→ プライバシーポリシー → 送信 */
body .contact-form-section { padding: 80px 80px; color: #fff; }
.ywf-box { max-width: 1280px; margin: 0 auto; padding: 60px 120px; display: flex; flex-direction: column; align-items: center; }
body .ywf-box .form-wrapper { margin: 0; padding: 0; border: 0; background: none; } /* blocks.css の上線と上余白 40 を消す */
.ywf-form { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 40px; }
.ywf-rows { width: 1020px; max-width: 100%; }
.ywf-row { display: grid; grid-template-columns: 300px minmax(0, 580px); column-gap: 130px; align-items: center; min-height: 60px; padding-bottom: 24px; margin-bottom: 25px; border-bottom: 1px solid var(--yw-gray); }
.ywf-row:last-child { margin-bottom: 0; }
.ywf-row--top { align-items: start; }
.ywf-label { display: flex; align-items: center; gap: 20px; height: 60px; padding: 0 30px; margin: 0; font-size: 16px; line-height: 19px; letter-spacing: 0; font-weight: 700; color: #fff; }
.ywf-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 60px; width: 60px; height: 39px; padding: 10px; background: var(--yw-green); color: #000; font-size: 16px; line-height: 19px; font-weight: 700; letter-spacing: 0; }
.ywf-badge--opt { background: var(--yw-gray); color: #fff; }
.ywf-field input[type="text"], .ywf-field input[type="email"], .ywf-field input[type="tel"], .ywf-field textarea {
  display: block; width: 100%; height: 40px; margin: 0; padding: 6px 12px; border: 2px solid var(--yw-gray); border-radius: 0; background: #fff; color: #000;
  font-family: var(--yw-ja); font-size: 16px; line-height: 24px; letter-spacing: 0; font-weight: 500; box-shadow: none; outline: none;
}
.ywf-field textarea { height: 309px; resize: vertical; }
.ywf-field input:focus, .ywf-field textarea:focus { border-color: var(--yw-green); }
.ywf-radios { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.ywf-radio { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; line-height: 19px; letter-spacing: 0; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ywf-radio input { -webkit-appearance: none; appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 2px solid var(--yw-gray); border-radius: 50%; background: #fff; cursor: pointer; }
.ywf-radio input:checked { background: radial-gradient(circle, var(--yw-green) 0 4px, #fff 5px); }
.ywf-privacy { width: 1040px; max-width: 100%; margin-top: 40px; padding: 40px; background: #DDDCDE; color: #000; text-align: left; }
.ywf-privacy-title { margin: 0; font-size: 24px; line-height: 29px; letter-spacing: 0; font-weight: 500; color: #000; }
.ywf-privacy-title::after { content: ""; display: block; width: 100px; height: 1px; margin-top: 14px; background: #000; } /* Figma の線は場所を取らない（上に線幅ぶん描く）→ 15−1 */
.ywf-privacy-scroll { height: 232px; margin-top: 20px; padding-right: 37px; overflow-y: auto; font-size: 16px; line-height: 32px; letter-spacing: 0; font-weight: 500; color: #000; scrollbar-width: thin; scrollbar-color: var(--yw-green) transparent; }
.ywf-privacy-scroll::-webkit-scrollbar { width: 3px; }
.ywf-privacy-scroll::-webkit-scrollbar-thumb { background: var(--yw-green); }
.ywf-privacy-scroll::-webkit-scrollbar-track { background: transparent; }
.ywf-privacy-scroll h4 { margin: 32px 0 0; font-size: 20px; line-height: 32px; font-weight: 500; }
.ywf-privacy-scroll p { margin: 0; }
.ywf-privacy-scroll ul { margin: 0; padding: 0; list-style: none; }
.ywf-submit { margin-top: 40px; line-height: 0; }
body .btn-submit-contact { display: inline-flex; align-items: center; justify-content: center; width: 190px; height: 58px; padding: 20px; border: 0; border-radius: 0; font-family: var(--yw-ja); font-size: 15px; line-height: 18px; letter-spacing: 0; font-weight: 700; cursor: pointer; }
html body .btn-submit-contact { background: var(--yw-green) !important; color: #000 !important; border-color: var(--yw-green) !important; box-shadow: none !important; }
html body .btn-submit-contact:hover { background: var(--yw-green-hover) !important; transform: none; }
html body .btn-submit-contact:disabled { opacity: .7; cursor: wait; }
body .contact-success-msg { width: 100%; max-width: 760px; margin: 40px auto 0; padding: 40px 20px; border: 2px solid var(--yw-green); text-align: center; color: #fff; }
body .contact-success-msg i { display: block; margin-bottom: 16px; font-size: 32px; color: var(--yw-green); }
body .contact-success-msg p { margin: 0; font-size: 16px; line-height: 32px; }

/* ---- 8-5 お知らせ一覧（news_list_grid 改修版：カード 2 列＋右列 CATEGORY／ARCHIVE。Figma に無いので下層の型で）---- */
body .news-list-grid-section { padding: 60px 80px 80px; color: #fff; background-color: var(--yw-bg); background-image: url("/image/assets/yw_bg_concrete.webp"), linear-gradient(180deg, #0E1C1C 0%, #020709 50%, #0E1C1C 100%); background-size: cover, 100% 100%; background-position: center, 0 0; background-repeat: no-repeat; background-blend-mode: multiply, normal; } /* 帯 C と同じ地 */
body .news-section-header { display: none; }
body .nlg-wrap { display: grid; grid-template-columns: minmax(0, 840px) 320px; gap: 80px; max-width: 1240px; margin: 0 auto; align-items: start; }
body .nlg-wrap--nosidebar { grid-template-columns: minmax(0, 840px); justify-content: center; }
body .nlg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: none; margin: 0; }
body .nlg-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; font-size: 16px; line-height: 32px; }
body .nlg-card { display: block; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
body .nlg-img { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #1a1a1a; }
body .nlg-img img { width: 100%; height: 100%; object-fit: cover; transition: none; }
body .nlg-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 0; }
body .nlg-cat { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 14px; border-radius: 0; background: var(--yw-green); color: #000; font-size: 14px; line-height: 24px; letter-spacing: 0; font-weight: 700; }
body .nlg-cat:hover { background: var(--yw-green-hover); color: #000; }
body .nlg-title { width: 100%; margin: 0; font-family: var(--yw-ja); font-size: 20px; line-height: 32px; letter-spacing: 1px; font-weight: 500; color: #fff; }
body .nlg-title a:hover { color: var(--yw-green); }
body .nlg-excerpt { width: 100%; margin: 0; font-size: 14px; line-height: 26px; letter-spacing: 1px; color: #fff; }
body .nlg-more { display: inline; margin: 0; padding: 0; background: none; color: var(--yw-green); font-size: inherit; line-height: inherit; }
body .nlg-more:hover { background: none; color: #fff; }
body .nlg-date { margin: 0; padding: 0; border: 0; background: none; font-family: var(--yw-en); font-size: 15px; line-height: 20px; letter-spacing: 0; font-weight: 500; color: #fff; }
body .nlg-pager { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 60px; padding-top: 40px; border-top: 1px solid #fff; }
body .nlg-pages { display: flex; align-items: center; gap: 12px; }
body .nlg-page { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid #fff; background: transparent; color: #fff; font-family: var(--yw-en); font-size: 16px; line-height: 20px; letter-spacing: 0; font-weight: 500; }
body a.nlg-page:hover { background: #fff; color: #000; }
body .nlg-page.is-current { background: var(--yw-green); border-color: var(--yw-green); color: #000; }
body .nlg-dots { color: #fff; font-size: 16px; }
body .nlg-next { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px; border: 1px solid #fff; background: transparent; color: #fff; font-family: var(--yw-en); font-size: 16px; line-height: 20px; letter-spacing: 1px; font-weight: 500; }
body .nlg-next::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
body .nlg-prev::after { content: none; }
body .nlg-prev::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg); }
body .nlg-next:hover { background: #fff; color: #000; }
body .nlg-side-block + .nlg-side-block { margin-top: 40px; }
body .nlg-side-title { display: flex; align-items: baseline; gap: 16px; min-height: 0; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--yw-green); background: none; color: #fff; font-family: var(--yw-ja); font-weight: 500; letter-spacing: 0; }
body .nlg-side-title .nlg-en { font-family: var(--yw-en); font-size: 28px; line-height: 40px; color: var(--yw-neon); text-shadow: var(--yw-glow); }
body .nlg-side-title .nlg-ja { font-size: 16px; line-height: 24px; }
body .nlg-side-list { list-style: none; margin: 0; padding: 0; }
body .nlg-side-list > li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .4); }
body .nlg-side-list a, body .nlg-side-list .nlg-year { display: flex; align-items: baseline; gap: 14px; padding: 0; color: #fff; font-size: 16px; line-height: 26px; letter-spacing: 0; font-weight: 500; }
body .nlg-side-list a .nlg-en { font-family: var(--yw-en); font-size: 18px; line-height: 26px; }
body .nlg-side-list a.is-current, body .nlg-side-list a:hover { color: var(--yw-green); }
body .nlg-archive > li { padding: 14px 0 0; border-bottom: 0; }
body .nlg-archive .nlg-year { align-items: center; gap: 9px; }
body .nlg-archive .nlg-year::before { content: ""; flex: 0 0 8px; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
body .nlg-months { list-style: none; margin: 6px 0 0 18px; padding: 0; }
body .nlg-months a { font-size: 15px; line-height: 30px; }

/* ---- 8-6 お知らせ記事（news_article_body）---- */
body .news-article-body-section { padding: 60px 20px 80px; color: #fff; background-color: var(--yw-bg); background-image: url("/image/assets/yw_bg_concrete.webp"), linear-gradient(180deg, #0E1C1C 0%, #020709 50%, #0E1C1C 100%); background-size: cover, 100% 100%; background-position: center, 0 0; background-repeat: no-repeat; background-blend-mode: multiply, normal; }
body .nab-container { max-width: 840px; margin: 0 auto; padding: 60px 80px; background: rgba(0, 0, 0, .8); }
body .nab-header { margin: 0; padding: 0; border: 0; }
body .nab-meta { margin: 0 0 12px; }
body .nab-date { font-family: var(--yw-en); font-size: 16px; line-height: 24px; letter-spacing: 0; font-weight: 500; color: var(--yw-green); }
body .nab-date i { display: none; }
body .nab-title { margin: 0; font-family: var(--yw-ja); font-size: 28px; line-height: 42px; letter-spacing: 2px; font-weight: 500; color: #fff; }
body .nab-main-img-box { margin: 30px 0 0; aspect-ratio: 3 / 2; background: #1a1a1a; }
body .nab-body-text { margin-top: 30px; font-family: var(--yw-ja); font-size: 16px; line-height: 32px; letter-spacing: 1.6px; color: #fff; }
body .nab-footer-nav { margin-top: 40px; padding: 0; border: 0; text-align: center; }
html body .btn-nab-back { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 30px; border: 2px solid #fff !important; border-radius: 0; background: transparent !important; color: #fff !important; font-family: var(--yw-ja); font-size: 16px; font-weight: 700; letter-spacing: 0; box-shadow: none !important; }
html body .btn-nab-back:hover { background: #fff !important; color: #000 !important; }
html body .btn-nab-back i { display: none; }

/* =========================================================
   9. 中間幅・SP
   ========================================================= */
/* ---- 1399px 以下：ヘッダーの横並びが入り切らない（ロゴ 180＋ナビ 639＋ボタン 410＋余白で 1413 必要）→ 詰める ---- */
@media (max-width: 1399px) {
  body .global-header, body .global-header.is-scrolled { padding-left: 20px; padding-right: 20px; }
  body .global-header { gap: 20px; }
  body .header-logo img { width: 144px !important; height: 80px !important; }
  body .desktop-nav { gap: 20px; }
  body .btn-header-tel, body .btn-header-contact { width: 170px; padding-left: 10px; padding-right: 10px; }
}

/* ---- 1199px 以下：ヘッダーを SP の形（80・アイコンボタン＋ハンバーガー）に。本文は PC の形のまま左右の余白を詰める ---- */
@media (max-width: 1199px) {
  body .global-header, body .global-header.is-scrolled { height: 80px; padding: 10px 20px; align-items: flex-start; gap: 10px; }
  body .global-header .header-logo img, body .global-header.is-scrolled .header-logo img { width: 108px !important; height: 60px !important; }
  body .desktop-nav { display: none; }
  body .header-btns { display: flex; margin-left: auto; gap: 10px; }
  body .btn-header-tel, body .btn-header-contact { width: 40px; height: 40px; padding: 0; gap: 0; font-size: 0; line-height: 0; }
  body .menu-trigger {
    display: block; position: relative; flex: 0 0 40px; width: 40px; height: 40px; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: var(--yw-green); color: #000; cursor: pointer;
  }
  body .menu-trigger i { display: none; }
  body .global-header .menu-trigger::before { content: ""; position: absolute; left: 7px; top: 11px; width: 25px; height: 18px; background: linear-gradient(#000, #000) 0 0 / 25px 2px no-repeat, linear-gradient(#000, #000) 0 8px / 25px 2px no-repeat, linear-gradient(#000, #000) 0 16px / 25px 2px no-repeat; }

  .yw-service, .yw-strengths, .yw-svcs, .yw-flow, .yw-philo, .yw-info, .yw-rintro, .yw-rband { padding-left: 40px; padding-right: 40px; }
  body .concept-section, body .concept-section:has(.concept-reverse) { padding-left: 40px; padding-right: 40px; }
  body .page-hero-wrapper { padding-left: 40px; padding-right: 40px; }
  body .hero-wrapper .hero-slide-caption { left: 40px; }
  .yw-split, .yw-split--rev, body .concept-container, body .concept-container.concept-reverse { gap: 48px; }
  .yw-str, .yw-svc { padding: 40px; }
  .yw-greet { padding: 80px 40px; }
  .yw-want, .yw-table-box { padding: 60px 40px; }
  .ywf-box { padding: 60px 40px; }
  body .contact-form-section { padding-left: 40px; padding-right: 40px; }
  .ywf-row { grid-template-columns: 260px minmax(0, 1fr); column-gap: 40px; }
  .ywf-label { padding: 0 10px; }
  .yw-table th { width: 30%; }
  .yw-table td { padding-left: 40px; padding-right: 20px; }
  .yw-wbtns { flex-wrap: wrap; }
  body .news-list-grid-section { padding-left: 40px; padding-right: 40px; }
  body .nlg-wrap { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
}

/* ---- 900px 以下：左右 2 列の箱を縦積みに（SP の並びを先取り）---- */
@media (max-width: 900px) {
  .yw-split, .yw-split--rev, .yw-row, .yw-row--rev, .yw-str, .yw-str--rev { grid-template-columns: minmax(0, 1fr); }
  .yw-str--rev .yw-str-img { order: 0; }
  .yw-row .yw-row-img { order: 2; } /* 縦積みでは文章 → 写真（TOP の SP と同じ並び） */
  .yw-str-img, .yw-row-img, .yw-split-img { width: 100%; max-width: 480px; margin: 0 auto; }
  .yw-split--img-first .yw-split-img { order: -1; }
  .yw-step-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .yw-sarea-inner { flex-direction: column; gap: 40px; }
  body .concept-container, body .concept-container.concept-reverse { grid-template-columns: minmax(0, 1fr); }
  body .concept-container.concept-reverse .concept-content, body .concept-container.concept-reverse .concept-img-wrapper { order: initial; }
  body .concept-container .concept-img-wrapper { max-width: 480px; margin: 0 auto; }
  .wg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .nlg-wrap, body .nlg-wrap--nosidebar { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ywf-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ywf-label { height: auto; padding: 0; }
}

/* ---- 768px 以下：SP（Figma TOP_sp 375）。下層の SP デザインは無いので TOP の SP の縮め方に準拠 ---- */
@media (max-width: 768px) {
  body { font-size: 13px; line-height: 26px; letter-spacing: 1.3px; }
  .sp-br { display: inline; }
  .pc-br { display: none; }
  .yw-neon { font-size: 48px; line-height: 58px; letter-spacing: 2.4px; }
  .yw-neon--s { font-size: 32px; line-height: 38px; letter-spacing: 1.6px; }
  .yw-neon--l { font-size: 48px; line-height: 58px; letter-spacing: 2.4px; }
  .yw-neon--long { font-size: 40px; line-height: 48px; letter-spacing: 2px; } /* INFORMATION・RECRUITMENT は 48px だと 375 幅を超える */
  .yw-ttl { font-size: 20px; line-height: 24px; letter-spacing: 2px; }
  .yw-ttl small { font-size: 16px; letter-spacing: 1.6px; }
  .yw-sub { font-size: 16px; line-height: 19px; letter-spacing: 1.6px; }
  .yw-txt { font-size: 13px; line-height: 26px; letter-spacing: 1.3px; }
  .yw-head--g20 { gap: 10px; }
  .yw-vttl { padding: 0 8px; border-left-width: 4px; font-size: 20px; line-height: 24px; letter-spacing: 2px; }
  body .fc-block-btn-wrap { margin-top: 20px; }
  .yw-wbtns { flex-direction: column; align-items: center; gap: 10px; }
  .yw-wbtn { width: 255px; height: 60px; gap: 10px; padding: 10px; font-size: 18px; line-height: 25px; }
  .yw-wbtn--tel::before { width: 17px; height: 23px; }
  .yw-wbtn--fax::before { width: 30px; height: 25px; }
  .yw-wbtn--mail { line-height: 26px; }
  .yw-wbtn--mail::before { width: 27px; height: 20px; }
  .yw-wbtn--wide { width: 295px; }
  .yw-chip { min-width: 229px; height: 36px; padding: 5px 20px; font-size: 13px; line-height: 26px; letter-spacing: 1.3px; }
  .yw-slant { min-height: 56px; padding: 12px 40px 12px 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%); font-size: 16px; line-height: 24px; }
  .yw-checks { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
  .yw-checks li { padding: 14px 4px 13px; font-size: 13px; line-height: 20px; letter-spacing: 1.3px; }
  .yw-table { font-size: 14px; line-height: 22px; letter-spacing: 1.4px; width: 100%; margin: 0; border-spacing: 0; }
  .yw-table tr, .yw-table th, .yw-table td { display: block; width: 100%; }
  .yw-table th { padding: 14px 0 6px; border-bottom: 0; text-align: left; color: var(--yw-green); }
  .yw-table td, .yw-table td.l29 { padding: 0 0 13px; line-height: 22px; }

  /* ヘッダー（375×80）・ドロワー */
  body .global-header, body .global-header.is-scrolled { padding: 10px 20px; }

  /* MV（375×720：キャッチ 左 20・下 30／SKILL 48・キャッチ 36/58 の 2 行）。1 枚目は SP 用の写真に差し替え */
  body .hero-wrapper .hero-slide-caption { left: 20px; bottom: 30px; gap: 10px; }
  body .hero-wrapper .hero-slide-catch { font-size: 48px !important; line-height: 58px; letter-spacing: 2.4px; }
  body .hero-wrapper .hero-slide-sub { font-size: 36px !important; line-height: 58px; }
  body .hero-wrapper .hero-slide-sub { max-width: 220px; } /* Figma の SP は 220 幅で「確かな技術で／確かな施工を」の 2 行（欄には改行を入れない） */
  body .hero-slide-img[style*="yw_mv_1."] { background-image: url("/image/assets/yw_mv_1_sp.webp") !important; }

  /* 下層ヒーロー（SP デザインなし：375×320・英字 48・和文 24） */
  body .page-hero-wrapper { height: 320px; padding: 150px 20px 0; }
  body .ph-container { gap: 10px; }
  body .ph-title { font-size: 24px; line-height: 29px; }
  body .ph-desc { font-size: 48px; line-height: 58px; letter-spacing: 2.4px; }

  /* NEWS（見出し → 間 20 → 行 144：日付／カテゴリー／タイトルの 3 段・13/16） */
  body .news-bar-section { padding: 40px 20px 0; }
  body .news-bar-container { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body .news-bar-eyebrow { font-size: 48px; line-height: 58px; letter-spacing: 2.4px; }
  body .news-bar-link, body .news-bar-link.is-empty { flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 10px 29px; font-size: 13px; line-height: 16px; }
  body .news-bar-link .news-date, body .news-bar-link .news-cat { font-size: 13px; line-height: 16px; }
  body .news-bar-link .news-title { width: 100%; font-size: 13px; line-height: 16px; white-space: normal; overflow: visible; }

  /* ABOUT・RECRUIT（concept_split：文章 → 間 40 → 写真 335 角） */
  body .concept-section { padding: 40px 20px 0; }
  body .concept-section:has(.concept-reverse) { padding: 40px 20px 60px; }
  body .concept-section.fade-up { padding-left: 20px !important; padding-right: 20px !important; } /* blocks.css の SP 指定が !important */
  body .concept-section:not(:has(.concept-reverse)).fade-up { padding-top: 40px !important; padding-bottom: 0 !important; }
  body .concept-section:has(.concept-reverse).fade-up { padding-top: 40px !important; padding-bottom: 60px !important; }
  body .concept-container { gap: 40px; }
  body .concept-container.concept-reverse { gap: 20px; } /* Figma：ABOUT は文章と写真の間 40、RECRUIT は 20 */
  body .concept-content .fc-block-btn-wrap { margin-top: 20px; }
  body .concept-container:not(.concept-reverse)::before { left: 86px; top: -33px; width: 315px; height: 315px; }
  body .concept-container .concept-img-wrapper { max-width: none; }
  body .concept-content p.concept-eyebrow { font-size: 48px; line-height: 58px; letter-spacing: 2.4px; }
  body .concept-title, body .concept-content h2 { font-size: 20px; line-height: 24px; letter-spacing: 2px; }
  body .concept-text, body .concept-content p.concept-text { margin-top: 20px; font-size: 13px; line-height: 26px; letter-spacing: 1.3px; }

  /* SERVICE（文章 → 間 20 → 写真。斜め帯 305（緑 275＋三角 30）） */
  .yw-service { padding: 40px 20px 60px; }
  .yw-service .yw-split { display: flex; flex-direction: column; gap: 20px; }
  .yw-service .yw-split-img { order: 2; width: 100%; max-width: none; }
  .yw-service .yw-txt, .yw-svc-bars, .yw-service .yw-more-wrap { margin-top: 20px; }
  .yw-svc-bars li { width: 305px; min-height: 121px; padding: 20px 40px 20px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%); }
  .yw-svc-name { font-size: 16px; line-height: 19px; }
  .yw-svc-desc { font-size: 13px; line-height: 21px; }

  /* STRENGTHS（見出し → 20 → 箱 335：文章 → 40 → 写真 295 角） */
  .yw-strengths { padding: 40px 20px 60px; }
  .yw-strengths > .yw-head--g20 { gap: 10px; }
  .yw-str-list { margin-top: 20px; gap: 20px; }
  .yw-str, .yw-str--rev { min-height: 0; padding: 40px 20px; gap: 40px; }
  .yw-str-img { max-width: 295px; }
  .yw-str .yw-txt { margin-top: 20px; }

  /* AREA（間 30・線 44・福岡県の形 335×352） */
  .yw-area { padding: 40px 20px 23px; }
  .yw-area-lead { gap: 10px; font-size: 16px; line-height: 19px; letter-spacing: 1.6px; }
  .yw-area-lead::before, .yw-area-lead::after { flex-basis: 44px; width: 44px; }
  .yw-fukuoka { width: 335px; max-width: 100%; height: auto; aspect-ratio: 418 / 439; }

  /* WORKS（写真 160×192・間 5） */
  body .works-gallery-section.is-loop { padding: 60px 0; }
  .wg-head { margin-bottom: 20px; }
  .wg-head .yw-neon { font-size: 40px; line-height: 48px; letter-spacing: 2px; }
  .wg-slide { flex-basis: 160px; width: 160px; height: 192px; margin-right: 5px; }
  .wg-more { margin-top: 20px; }
  body .works-gallery-section.is-grid { padding: 40px 20px 60px; }
  .wg-grid { column-gap: 15px; row-gap: 24px; }
  .wg-card figcaption { padding: 10px 4px; font-size: 13px; line-height: 18px; }

  /* CONTACT（間 20・ボタン縦積み 255×60） */
  .yw-cta, .yw-ctel, .yw-cfax { gap: 20px; padding: 40px 20px; }
  .yw-fax-note span { font-size: 14px; line-height: 26px; letter-spacing: 1.4px; }

  /* 地図 375×480 */
  body .gmap-frame-wrap { height: 480px; }

  /* フッター（黒 262：ロゴ 160×80 → 20 → 住所 13 → 40 → 著作権 62。ナビは無い） */
  body .global-footer { padding: 40px 20px 40px; }
  body .global-footer .footer-brand::before { width: 160px; height: 80px; }
  .yw-faddr { margin-top: 20px; font-size: 13px; line-height: 20px; }
  body .global-footer .footer-nav-wrap { display: none; }
  body .footer-copy-text, body .footer-copy { font-size: 12px; line-height: 14px; padding: 24px 20px; }

  /* ---- 下層（SP のデザインは無いので TOP の SP に準拠） ---- */
  .yw-svcs, .yw-rband { padding: 40px 20px 60px; }
  .yw-svcs-list { gap: 20px; }
  .yw-svc { min-height: 0; padding: 40px 20px; gap: 30px; }
  .yw-svc .yw-row { min-height: 0; gap: 30px; }
  .yw-row-body > .yw-sub, .yw-row-body > .yw-txt, .yw-split-body > .yw-sub, .yw-split-body > .yw-txt { margin-top: 20px; }
  .yw-sarea { padding: 40px 20px 60px; }
  .yw-sarea-inner { gap: 30px; }
  .yw-sarea-body .yw-sub, .yw-sarea-body .yw-txt { margin-top: 20px; }
  .yw-flow { padding: 40px 20px 60px; }
  .yw-steps { margin-top: 20px; }
  .yw-step { gap: 20px; padding: 30px 20px; }
  .yw-step-row { gap: 12px; }
  .yw-greet { gap: 20px; padding: 40px 20px; }
  .yw-sign { font-size: 20px; line-height: 24px; letter-spacing: 2px; }
  .yw-sign small { font-size: 16px; }
  .yw-philo, .yw-info, .yw-rintro { padding: 40px 20px 60px; }
  .yw-split { gap: 30px; }
  .yw-table-box { margin-top: 20px; padding: 20px; }
  .yw-want { padding: 30px 20px; }
  .yw-rband > .yw-head { margin-top: 40px; }
  .yw-rband .yw-wbtns { margin-top: 30px; }
  body .contact-form-section { padding: 40px 20px 60px; }
  .ywf-box { padding: 40px 20px; }
  .ywf-form { margin-top: 20px; }
  .ywf-row { padding-bottom: 19px; margin-bottom: 20px; }
  .ywf-label { gap: 12px; font-size: 14px; }
  .ywf-badge { flex-basis: 48px; width: 48px; height: 30px; padding: 4px; font-size: 13px; }
  .ywf-radios { flex-direction: column; gap: 12px; }
  .ywf-radio { font-size: 14px; }
  .ywf-field textarea { height: 220px; }
  .ywf-privacy { margin-top: 30px; padding: 24px 16px; }
  .ywf-privacy-title { font-size: 18px; line-height: 24px; }
  .ywf-privacy-scroll { height: 220px; padding-right: 12px; font-size: 13px; line-height: 26px; }
  .ywf-privacy-scroll h4 { margin-top: 20px; font-size: 16px; line-height: 26px; }
  .ywf-submit { margin-top: 30px; }
  body .news-list-grid-section { padding: 40px 20px 60px; }
  body .nlg-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  body .nlg-title { font-size: 17px; line-height: 28px; }
  body .nlg-pager { flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; padding-top: 30px; }
  body .news-article-body-section { padding: 40px 20px 60px; }
  body .nab-container { padding: 30px 20px; }
  body .nab-title { font-size: 20px; line-height: 32px; }
  body .nab-body-text { margin-top: 20px; font-size: 14px; line-height: 28px; }
}
