@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* =========================================================
   CUVIC SAITAMA / ファサード看板 ページ
   接頭辞: fdlp  /  スラッグ: facade-sign（仮）
   ========================================================= */

.fdlp-root {
  --fdlp-bg: #f5f9fc;
  --fdlp-blue-50: #e8f1f8;
  --fdlp-blue-100: #d3e4f0;
  --fdlp-blue-300: #8fb4d1;
  --fdlp-blue-600: #3f6e93;
  --fdlp-navy: #22415c;
  --fdlp-amber-50: #f9f2e6;
  --fdlp-amber-300: #d9ab63;
  --fdlp-amber-600: #a2762c;
  --fdlp-text: #33424f;
  --fdlp-en: "futura-pt", "Jost", sans-serif;
  --fdlp-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  width: 100vw; max-width: none;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  font-family: var(--fdlp-jp); color: var(--fdlp-text);
  background: var(--fdlp-bg); line-height: 1.9; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.fdlp-root *, .fdlp-root *::before, .fdlp-root *::after { box-sizing: border-box; }
.fdlp-root img { max-width: 100%; height: auto; display: block; }

/* wpautop対策 */
.fdlp-root > p:empty, .fdlp-root > br,
.fdlp-gallery > p:empty, .fdlp-gallery > br,
.fdlp-faq > p:empty, .fdlp-faq > br,
.fdlp-sum-btns > p:empty, .fdlp-sum-btns > br,
.fdlp-other-grid > p:empty, .fdlp-other-grid > br { display: none !important; }

/* ---------- 共通レイアウト ---------- */
.fdlp-sect { padding: 76px 5%; }
.fdlp-inner { max-width: 1040px; margin: 0 auto !important; }
.fdlp-sect--bg { background: var(--fdlp-bg); }
.fdlp-sect--white { background: #fff; }
.fdlp-sect--blue { background: var(--fdlp-blue-50); }
.fdlp-sect--navy { background: var(--fdlp-navy); color: #fff; }

/* ---------- 見出しパーツ ---------- */
.fdlp-root .fdlp-eyebrow {
  display: block; text-align: center; font-family: var(--fdlp-en);
  font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--fdlp-amber-600); margin: 0 0 14px !important;
}
.fdlp-root h2.fdlp-secttl {
  text-align: center; font-family: var(--fdlp-jp);
  font-size: clamp(21px, 2.8vw, 28px) !important; font-weight: 700;
  color: var(--fdlp-navy); line-height: 1.5; margin: 0 auto 18px !important; padding: 0 !important;
}
.fdlp-sect--navy h2.fdlp-secttl { color: #fff; }
.fdlp-root .fdlp-sectlead {
  max-width: 800px; margin: 0 auto !important; text-align: center;
  font-size: 15.5px; color: var(--fdlp-text);
}
.fdlp-root h2.fdlp-secttl::after {
  content: ""; display: block; width: 46px; height: 2px;
  background: var(--fdlp-amber-300); margin: 16px auto 0;
}

/* =========================================================
   1. ヒーロー
   ========================================================= */
.fdlp-hero {
  position: relative; min-height: 480px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  padding: 90px 6%; background: var(--fdlp-navy); overflow: hidden;
}
.fdlp-root .fdlp-hero .fdlp-hero__bg {
  position: absolute !important; inset: 0 !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; min-height: 100% !important;
  max-width: none !important; object-fit: cover !important; object-position: center !important;
  opacity: .3;
}
.fdlp-hero__inner { position: relative; z-index: 2; color: #fff; }
.fdlp-hero__en {
  display: block; font-family: var(--fdlp-en); letter-spacing: .3em; font-size: 14px;
  color: var(--fdlp-amber-300); margin-bottom: 18px; text-transform: uppercase;
}
.fdlp-hero__ttl {
  font-family: var(--fdlp-jp); font-weight: 700; font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.4; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.fdlp-hero__sub { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.9); }

/* =========================================================
   2. ファサード看板とは
   ========================================================= */
.fdlp-intro__lead {
  max-width: 860px; margin: 0 auto !important; text-align: center; font-size: 16px;
}
.fdlp-intro__lead strong { color: var(--fdlp-navy); font-weight: 700; }

/* =========================================================
   タイプ見出し（内照式／外照式）
   ========================================================= */
.fdlp-typetag {
  display: inline-block; background: var(--fdlp-amber-600); color: #fff !important;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; padding: 6px 18px;
  border-radius: 4px; margin: 0 auto 14px; text-align: center;
}
.fdlp-typetag-wrap { text-align: center; }

/* サブ見出し（■...） */
.fdlp-subhead {
  max-width: 980px; margin: 48px auto 18px;
  font-size: clamp(17px, 2.1vw, 20px); font-weight: 700; color: var(--fdlp-navy);
  padding-bottom: 14px; border-bottom: 2px solid var(--fdlp-blue-100); line-height: 1.5;
}
.fdlp-subhead::before {
  content: ""; display: inline-block; width: 6px; height: 18px;
  background: var(--fdlp-amber-300); margin-right: 12px; vertical-align: -2px; border-radius: 2px;
}
.fdlp-text {
  max-width: 980px; margin: 0 auto 22px; font-size: 15px;
}
.fdlp-text p { margin: 0 0 10px; }
.fdlp-text p:last-child { margin-bottom: 0; }

/* =========================================================
   ギャラリー
   ========================================================= */
.fdlp-gallery {
  display: grid; gap: 16px; align-items: stretch; margin: 0 auto;
}
.fdlp-gallery--1 { grid-template-columns: 1fr; max-width: 640px; }
.fdlp-gallery--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.fdlp-gallery--3 { grid-template-columns: repeat(3, 1fr); margin-top: 30px;}
.fdlp-gallery--4 { grid-template-columns: repeat(4, 1fr); }
.fdlp-gallery figure {
  margin: 0; height: 100%; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--fdlp-blue-50);
  border: 1px solid var(--fdlp-blue-100); cursor: zoom-in;
}
.fdlp-gallery--square figure { aspect-ratio: 1 / 1; }
.fdlp-gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fdlp-gallery figure:hover img { transform: scale(1.05); }

/* =========================================================
   FC店舗
   ========================================================= */
.fdlp-fc__lead {
  max-width: 840px; margin: 0 auto 34px !important; text-align: center; font-size: 15px;
}
.fdlp-fc__lead .fdlp-fc__strong { color: var(--fdlp-amber-600); font-weight: 700; }

/* =========================================================
   まとめ
   ========================================================= */
.fdlp-sum { text-align: center; }
.fdlp-sum__sub {
  max-width: 720px; margin: 0 auto 26px !important; font-size: 16px; font-weight: 700; color: var(--fdlp-amber-300);
}
.fdlp-sum__body { max-width: 840px; margin: 0 auto 34px !important; font-size: 15px; text-align: center; }
.fdlp-sum__body p { margin: 0 0 12px; }
.fdlp-sum__body p:last-child { margin-bottom: 0; }
.fdlp-sum-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- ボタン ---------- */
.fdlp-root .fdlp-btn {
  display: inline-block; min-width: 240px; padding: 16px 32px; background: var(--fdlp-navy);
  color: #fff !important; text-decoration: none !important; font-weight: 500; font-size: 15px;
  border-radius: 6px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fdlp-root .fdlp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34,65,92,.28); }
.fdlp-root .fdlp-btn--amber { background: var(--fdlp-amber-600); }
.fdlp-root .fdlp-btn--line { background: #33aa5e; }

/* =========================================================
   FAQ
   ========================================================= */
.fdlp-faq { max-width: 880px; margin: 44px auto 0; }
.fdlp-faq__item {
  background: #fff; border: 1px solid var(--fdlp-blue-100);
  border-radius: 10px; margin-bottom: 14px; overflow: hidden;
}
.fdlp-root button.fdlp-faq__q {
  width: 100%; display: flex; align-items: center; gap: 14px; background: #fff; border: none;
  padding: 20px 22px; cursor: pointer; text-align: left; font-family: var(--fdlp-jp);
  font-size: 16px; font-weight: 700; color: var(--fdlp-navy); line-height: 1.5;
}
.fdlp-faq__q .fdlp-faq__mark {
  flex: 0 0 auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--fdlp-blue-600); color: #fff; font-family: var(--fdlp-en); font-weight: 700;
  border-radius: 5px; font-size: 14px;
}
.fdlp-faq__q .fdlp-faq__toggle { margin-left: auto; flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.fdlp-faq__q .fdlp-faq__toggle::before,
.fdlp-faq__q .fdlp-faq__toggle::after { content: ""; position: absolute; background: var(--fdlp-blue-600); left: 50%; top: 50%; }
.fdlp-faq__q .fdlp-faq__toggle::before { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.fdlp-faq__q .fdlp-faq__toggle::after { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.fdlp-faq__item.is-open .fdlp-faq__toggle::before { opacity: 0; }
.fdlp-faq__a { display: none; padding: 0 22px 22px 64px; }
.fdlp-faq__item.is-open .fdlp-faq__a { display: block; }
.fdlp-faq__a-inner {
  display: flex; gap: 14px; align-items: flex-start;
  border-top: 1px dashed var(--fdlp-blue-100); padding-top: 18px;
}
.fdlp-faq__a .fdlp-faq__mark--a {
  flex: 0 0 auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  background: #c0655f; color: #fff; font-family: var(--fdlp-en); font-weight: 700; border-radius: 5px;
  font-size: 14px; margin-left: -50px;
}
.fdlp-faq__a p { margin: 0 0 8px; font-size: 14.5px; }
.fdlp-faq__a p:last-child { margin-bottom: 0; }

/* =========================================================
   他の看板8種
   ========================================================= */
.fdlp-other-grid {
  display: grid !important; grid-template-columns: repeat(4, 1fr);
  gap: 18px; align-items: stretch; margin-top: 40px;
}
.fdlp-root a.fdlp-other-card {
  display: flex !important; flex-direction: column !important; height: 100%;
  background: #fff; border: 1px solid var(--fdlp-blue-100); border-radius: 12px;
  overflow: hidden; text-decoration: none !important; color: var(--fdlp-navy) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.fdlp-root a.fdlp-other-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(34,65,92,.16); }
.fdlp-root a.fdlp-other-card .fdlp-other-card__img {
  display: block !important; width: 100% !important; aspect-ratio: 4 / 3; height: auto;
  background: var(--fdlp-blue-50); overflow: hidden; flex: 0 0 auto;
}
@supports not (aspect-ratio: 1 / 1) {
  .fdlp-root a.fdlp-other-card .fdlp-other-card__img { height: 165px !important; }
}
.fdlp-root a.fdlp-other-card .fdlp-other-card__img img {
  display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important;
}
.fdlp-root a.fdlp-other-card .fdlp-other-card__name {
  display: block !important; text-align: center !important; font-weight: 700 !important;
  font-size: 14.5px !important; color: var(--fdlp-navy) !important;
  padding: 14px 8px 16px !important; margin: 0 !important; line-height: 1.5 !important;
}

/* =========================================================
   ライトボックス
   ========================================================= */
.fdlp-lightbox[hidden] { display: none; }
.fdlp-lightbox {
  position: fixed; inset: 0; z-index: 9999; background: rgba(17,28,38,.9);
  display: flex; align-items: center; justify-content: center; padding: 5vw; cursor: zoom-out;
}
.fdlp-lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.fdlp-lightbox__close {
  position: absolute; top: 20px; right: 26px; width: 44px; height: 44px;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  color: #fff; font-size: 26px; cursor: pointer; line-height: 1;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .fdlp-gallery--3 { grid-template-columns: repeat(2, 1fr) !important; }
  .fdlp-gallery--4 { grid-template-columns: repeat(2, 1fr) !important; }
  .fdlp-other-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .fdlp-sect { padding: 56px 6%; }
  .fdlp-hero { min-height: 400px; padding: 70px 6%; }
  .fdlp-gallery--2 { grid-template-columns: 1fr !important; }
  .fdlp-gallery--3 { grid-template-columns: repeat(2, 1fr) !important; }
  .fdlp-gallery--4 { grid-template-columns: repeat(2, 1fr) !important; }
  .fdlp-other-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .fdlp-btn { width: 100%; min-width: 0; }
}
