/* =========================================================
   J-FLOOR 床仕上げ工事 /shiage/
   v1.0
   ========================================================= */
:root {
  --shiage-navy: #05264f;
  --shiage-blue: #0a3f8f;
  --shiage-gold: #c8a24a;
  --shiage-text: #1f2732;
  --shiage-muted: #5d6671;
  --shiage-bg: #f5f8fb;
  --shiage-line: #e3e9ef;
}
.page-shiage main { overflow: hidden; }
.page-shiage .section { padding: 104px 0; }
.page-shiage .shiage-title {
  margin: 0 0 30px;
  color: var(--shiage-navy);
  text-align: center;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .03em;
}

/* 01 works-loop-hero 共通構造 */
.page-shiage .works-loop-hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  isolation: isolate;
  background: #eef2f5;
}
.page-shiage .works-loop-hero__stage,
.page-shiage .works-loop-hero__track,
.page-shiage .works-loop-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-shiage .works-loop-hero__image { object-fit: cover; object-position: center center; display: block; }
.page-shiage .works-loop-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 28%, rgba(255,255,255,.68) 42%, rgba(255,255,255,.14) 60%, rgba(255,255,255,0) 73%);
  pointer-events: none;
}
.page-shiage .works-loop-hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-shiage .works-loop-hero__content { width: min(610px, 52vw); padding-left: 18px; }
.page-shiage .works-loop-hero__en {
  margin: 0 0 9px;
  color: var(--shiage-gold);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 800;
}
.page-shiage .works-loop-hero h1 {
  margin: 0;
  color: var(--shiage-navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.22;
  letter-spacing: .04em;
  font-weight: 900;
}
.page-shiage .works-loop-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  background: var(--shiage-gold);
}
.page-shiage .works-loop-hero__catch {
  margin: 18px 0 0;
  color: var(--shiage-navy);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
  font-weight: 900;
}
.page-shiage .works-loop-hero__lead {
  margin: 13px 0 0;
  color: #173a62;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}
.page-shiage .works-loop-hero__breadcrumb {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  padding: 0;
  z-index: 4;
  font-size: 12px;
}
.page-shiage .works-loop-hero__breadcrumb ol {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; list-style: none;
  background: rgba(255,255,255,.86); border: 1px solid rgba(5,38,79,.10); border-radius: 999px;
  box-shadow: 0 8px 24px rgba(5,38,79,.08); backdrop-filter: blur(6px);
}
.page-shiage .works-loop-hero__breadcrumb li,
.page-shiage .works-loop-hero__breadcrumb a { color: rgba(5,38,79,.72); text-decoration: none; }
.page-shiage .works-loop-hero__breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(5,38,79,.35); }

/* 02 床仕上げ工事とは */
.page-shiage .shiage-about { padding-top: 92px; padding-bottom: 92px; background: #fff; }
.shiage-about__inner { max-width: 970px; text-align: center; }
.shiage-about .shiage-title { margin-bottom: 28px; }
.shiage-about p { margin: 0 auto; max-width: 920px; color: #333; font-size: 15px; line-height: 2.15; font-weight: 500; }

/* 03 お悩み */
.page-shiage .shiage-needs { background: #f3f6fa; }
.shiage-needs__grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: 24px; }
.shiage-needs__panel { min-height: 450px; padding: 54px 58px; background: linear-gradient(135deg,#fff 0%,#f6f9fd 100%); border: 1px solid #e7edf4; }
.shiage-needs__panel h2 { margin: 0; color: var(--shiage-navy); font-size: clamp(24px,2.6vw,34px); line-height: 1.45; font-weight: 900; }
.shiage-needs__panel--problems h2 { white-space: nowrap; font-size: clamp(18px,2.35vw,30px); letter-spacing: -.02em; }
.shiage-needs__sub { margin: 10px 0 28px; color: #222; font-size: 14px; }
.shiage-checklist { list-style: none; margin: 0; padding: 0; }
.shiage-checklist li { position: relative; margin: 0; padding: 17px 0 17px 43px; border-bottom: 1px solid #dbe3ec; color: #1f2732; font-size: 15px; font-weight: 700; }
.shiage-checklist li:last-child { border-bottom: 0; }
.shiage-checklist li::before { content: "✓"; position: absolute; left: 0; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #0a4ca8; color: #fff; font-size: 15px; line-height: 1; font-weight: 900; }
.shiage-needs__panel--solution { text-align: center; display: flex; flex-direction: column; align-items: stretch; }
.shiage-needs__solution-lead { margin: 18px 0 28px; color: #333; font-size: 14.5px; line-height: 1.9; }
.shiage-facilities { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin: 0 0 30px; }
.shiage-facilities > div { min-width: 0; }
.shiage-facilities__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 10px; border: 1px solid #1a56a2; border-radius: 50%; color: #0a4ca8; background: #fff; }
.shiage-facilities__icon svg { width: 40px; height: 40px; }
.shiage-facilities > div > span:last-child { display: block; color: #073d84; font-size: 11.5px; line-height: 1.45; font-weight: 800; }
.shiage-needs__callout { margin-top: auto; padding: 22px 34px; background: linear-gradient(110deg,#064aa3 0%,#0b3e88 58%,#35689c 100%); text-align: left; }
.shiage-needs__callout p { margin: 0; color: #fff; font-size: 15px; line-height: 1.8; font-weight: 700; }
.shiage-needs__callout strong { color: #f1c24f; font-weight: 900; }

/* 04 5つの床仕上げ */
.page-shiage .shiage-services { background: #fff; }
.shiage-services__grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.shiage-service-card { position: relative; min-height: 360px; grid-column: span 2; overflow: hidden; text-decoration: none; background: #17212b; }
.shiage-service-card--wide { grid-column: span 3; min-height: 390px; }
.shiage-service-card__media { position: absolute; inset: 0; overflow: hidden; }
.shiage-service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.shiage-service-card:hover .shiage-service-card__media img,
.shiage-service-card:focus-visible .shiage-service-card__media img { transform: scale(1.06); }
.shiage-service-card__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,20,38,.82) 0%,rgba(4,20,38,.50) 54%,rgba(4,20,38,.25) 100%); pointer-events: none; }
.shiage-service-card__body { position: relative; z-index: 2; height: 100%; padding: 34px 32px; display: flex; flex-direction: column; align-items: flex-start; color: #fff; }
.shiage-service-card h3 { margin: 0 0 16px; color: #fff; font-size: clamp(21px,2vw,28px); font-weight: 900; }
.shiage-service-card p { margin: 0 0 18px; max-width: 90%; color: rgba(255,255,255,.94); font-size: 13px; line-height: 1.85; }
.shiage-service-card__usage { margin-top: auto !important; }
.shiage-service-card__link { display: inline-block; margin-top: 4px; padding: 10px 16px; background: #fff; color: var(--shiage-navy); font-size: 12px; font-weight: 900; }

/* 05 下地処理 */
.page-shiage .shiage-substrate { background: #f3f6fa; }
.shiage-substrate__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.shiage-substrate h2 { margin: 0 0 16px; color: var(--shiage-navy); font-size: clamp(24px,2.8vw,34px); line-height: 1.4; font-weight: 900; }
.shiage-substrate__top p { margin: 0; color: #333; font-size: 14px; line-height: 2; }
.shiage-outline-btn { flex: 0 0 auto; margin-top: 2px; padding: 15px 24px; border: 1px solid #0a4ca8; background: #0a4ca8; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; }
/* 下地処理カードは /shitaji/「5つの下地処理工事」と同一仕様 */
.shitaji-methods__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.shitaji-method-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 10px 26px rgba(5, 38, 79, .06);
  text-decoration: none;
}
.shitaji-method-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shitaji-method-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.shitaji-method-card:hover .shitaji-method-card__image img,
.shitaji-method-card:focus-visible .shitaji-method-card__image img {
  transform: scale(1.06);
}
.shitaji-method-card__num {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  background: #05264f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 10px;
}
.shitaji-method-card h3 {
  margin: 16px 16px 8px;
  color: #05264f;
  font-size: 14.5px;
}
.shitaji-method-card p {
  margin: 0 16px 14px;
  color: #555;
  font-size: 12.5px;
  line-height: 1.75;
  flex: 1;
}
.shitaji-method-card__link {
  margin: 0 16px 16px;
  color: #05264f;
  font-size: 12.5px;
  font-weight: 800;
}

/* 06 理由 */
.page-shiage .shiage-reasons { background: #fff; }
.shiage-reasons__lead { margin: -12px auto 62px; max-width: 900px; text-align: center; color: #333; font-size: 14px; line-height: 1.95; }
.shiage-reasons__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.shiage-reasons__grid article { position: relative; min-height: 330px; padding: 110px 48px 20px; border-right: 1px solid #e0e5eb; }
.shiage-reasons__grid article:last-child { border-right: 0; }
.shiage-reasons__num { position: absolute; left: 34px; top: -12px; color: #e4e9f0; font-size: clamp(88px,8vw,128px); line-height: 1; font-weight: 300; letter-spacing: -.05em; }
.shiage-reasons h3 { position: relative; z-index: 2; margin: 0; color: var(--shiage-navy); font-size: 21px; line-height: 1.55; font-weight: 900; }
.shiage-reasons__bar { display: block; width: 42px; height: 3px; margin: 18px 0 20px; background: var(--shiage-gold); }
.shiage-reasons article p { margin: 0; color: #333; font-size: 13.5px; line-height: 1.95; }

/* 07 施工実績 */
.page-shiage .shiage-works { background: #f3f6fa; }
.shiage-works__lead { margin: -12px auto 46px; max-width: 920px; text-align: center; color: #333; font-size: 14px; line-height: 1.95; }
.shiage-works__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px 22px; }
.shiage-works__grid .jf-works-card { min-width: 0; }
/* 07: 共通カード内の「詳しく見る」ボタンは床仕上げトップでは表示しない */
.shiage-works__grid .jf-works-card__button { display: none; }
.shiage-works__empty { margin: 0; padding: 30px; background: #fff; border: 1px solid #e3e8ee; text-align: center; color: #555; }

@media (max-width: 1100px) {
  .shiage-needs__panel { padding: 44px 34px; }
  .shiage-facilities__icon { width: 62px; height: 62px; }
  .shiage-facilities__icon svg { width: 34px; height: 34px; }
  .shiage-service-card { min-height: 330px; }
  .shiage-service-card__body { padding: 28px 24px; }
  .shiage-reasons__grid article { padding-left: 34px; padding-right: 34px; }
}

@media (max-width: 900px) {
  .page-shiage .section { padding: 84px 0; }
  .page-shiage .works-loop-hero { height: 390px; }
  .page-shiage .works-loop-hero__content { width: min(610px,68vw); }
  .page-shiage .works-loop-hero__shade { background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 36%,rgba(255,255,255,.35) 67%,rgba(255,255,255,0) 86%); }
  .shiage-needs__grid { grid-template-columns: 1fr; }
  .shiage-needs__panel { min-height: auto; }
  .shiage-services__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shiage-service-card,
  .shiage-service-card--wide { grid-column: auto; min-height: 350px; }
  .shiage-service-card:last-child { grid-column: 1 / -1; }
  .shiage-substrate__top { display: block; }
  .shiage-outline-btn { display: inline-block; margin-top: 24px; }
  .shitaji-methods__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shiage-reasons__grid { grid-template-columns: 1fr; gap: 0; }
  .shiage-reasons__grid article { min-height: 0; padding: 95px 30px 54px; border-right: 0; border-bottom: 1px solid #e0e5eb; }
  .shiage-reasons__grid article:last-child { border-bottom: 0; }
  .shiage-reasons__num { left: 12px; top: 4px; font-size: 100px; }
  .shiage-works__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .page-shiage .section { padding: 72px 0; }
  .page-shiage .works-loop-hero { height: 430px; }
  .page-shiage .works-loop-hero__image { object-position: 62% center; }
  .page-shiage .works-loop-hero__shade { background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 53%,rgba(255,255,255,.55) 73%,rgba(255,255,255,.12) 100%); }
  .page-shiage .works-loop-hero__content { width: 86%; padding-left: 0; padding-bottom: 26px; }
  .page-shiage .works-loop-hero__en { font-size: 12px; }
  .page-shiage .works-loop-hero h1 { font-size: 34px; }
  .page-shiage .works-loop-hero__catch { font-size: 20px; }
  .page-shiage .works-loop-hero__lead { font-size: 15px; line-height: 1.8; }
  .page-shiage .works-loop-hero__breadcrumb { left: 0; bottom: 12px; }
  .shiage-about p { text-align: left; font-size: 14px; line-height: 2; }
  .shiage-needs__panel { padding: 36px 24px; }
  .shiage-needs__panel h2 { font-size: 24px; }
  .shiage-checklist li { padding-left: 38px; font-size: 14px; }
  .shiage-facilities { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 10px; }
  .shiage-facilities > div:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .shiage-needs__callout { padding: 20px; }
  .shiage-needs__callout p { font-size: 13.5px; }
  .shiage-services__grid { grid-template-columns: 1fr; }
  .shiage-service-card,
  .shiage-service-card--wide,
  .shiage-service-card:last-child { grid-column: auto; min-height: 390px; }
  .shiage-service-card__body { padding: 30px 24px; }
  .shiage-service-card p { max-width: 100%; }
  .shiage-substrate__top p br { display: none; }
  .shiage-outline-btn { width: 100%; text-align: center; }
  .shitaji-methods__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shiage-reasons__lead br,
  .shiage-works__lead br { display: none; }
  .shiage-works__grid { grid-template-columns: 1fr; gap: 22px; }
}
