/* ===================== v2: 写真・色・立体感 ===================== */
/* 最初の画面: 沖縄の住宅街の写真に見出しを重ねる */
.hero--photo { position: relative; background: #0b3638; border: 0; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,44,46,.92) 0%, rgba(8,44,46,.78) 38%, rgba(8,44,46,.15) 72%, rgba(8,44,46,0) 100%); }
.hero--photo .hero__inner { position: relative; z-index: 2; display: block; padding: 72px 0 140px; }
.hero__copy { max-width: 600px; }
.hero--photo .hero__eyebrow { display: inline-block; color: #fff; background: var(--cta); padding: 4px 12px; border-radius: 3px; font-size: 14px; }
.hero--photo h1 { font-size: 50px; line-height: 1.3; margin-top: 4px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero--photo .hero__lead { color: #e3eeee; font-size: 17px; }
.hero__points { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero__points li { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 8px; padding: 10px 16px; min-width: 150px; border-top: 4px solid var(--cta); }
.hero__points b { display: block; font-size: 19px; color: var(--brand); line-height: 1.3; }
.hero__points span { display: block; font-size: 12px; color: var(--sub); }
.btn-cta--lg { font-size: 20px; padding: 18px 40px; box-shadow: 0 5px 0 var(--cta-dark), 0 10px 24px rgba(0,0,0,.25); }
@media (max-width: 1023px) {
  .hero--photo::before { background: linear-gradient(180deg, rgba(8,44,46,.45) 0%, rgba(8,44,46,.82) 50%, rgba(8,44,46,.95) 100%); }
  .hero__bg { object-position: 62% 30%; }
  .hero--photo .hero__inner { padding: 120px 0 96px; }
  .hero--photo h1 { font-size: 31px; }
  .hero--photo .hero__lead { font-size: 15px; }
  .hero__points { gap: 8px; flex-wrap: nowrap; }
  .hero__points li { min-width: 0; flex: 1; padding: 8px 6px; text-align: center; }
  .hero__points b { font-size: 15px; }
  .hero__points span { font-size: 10.5px; }
  .btn-cta--lg { font-size: 17px; padding: 16px 20px; width: 100%; }
}

/* 見積もり入口: 最初の画面に重ねて浮かせる */
.hero--photo + .cta-panel { position: relative; z-index: 3; margin-top: -84px; padding-top: 0; }
.hero--photo + .cta-panel .cta-panel__title { box-shadow: 0 -6px 24px rgba(0,0,0,.12); }
.hero--photo + .cta-panel .cta-panel__body { box-shadow: 0 16px 32px rgba(15,91,94,.12); background: #fff; border: 1px solid var(--line); border-top: 0; }
.cta-panel__title { background: var(--cta); }
.type-card { border: 1px solid #cdd8d8; box-shadow: 0 3px 0 #d6e0e0; transition: transform .15s, box-shadow .15s; }
.type-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 5px 0 var(--brand); }
.type-card svg { width: 84px; height: 84px; }
.cta-panel--bottom { padding: 0 0 80px; }
.cta-panel--bottom .cta-panel__body { background: var(--bg-soft); }
.sub-links__btn { background: var(--brand); color: #fff; border-color: var(--brand); }
.sub-links__title svg { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--brand-soft); }
@media (max-width: 767px) {
  .hero--photo + .cta-panel { margin-top: -48px; }
  .type-card svg { width: 64px; height: 64px; }
}

/* 見出し: 地図ピンなどの印つき */
.section__head { text-align: center; }
.section__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; margin-bottom: 10px; }
.section__icon svg { width: 28px; height: 28px; }

/* 地図から探す */
.section--map { background: linear-gradient(180deg, #eaf3f2 0%, #f6faf9 100%); }
.map-block { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-top: 40px; align-items: start; }
.map-block__map { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 10px 30px rgba(15,91,94,.10); }
.okmap a.r-north path { fill: #8cc5b6; }
.okmap a.r-central path { fill: #5aa896; }
.okmap a.r-south path { fill: #2f8676; }
.okmap a.r-miyako path { fill: #7fb3c9; }
.okmap a.r-yaeyama path { fill: #5b98b5; }
.okmap a[class^="r-"]:hover path, .okmap a[class^="r-"]:focus path { fill: var(--cta); }
.map-block__list .region { background: #fff; border-radius: 10px; padding: 14px 18px 16px; box-shadow: 0 2px 0 #dfe8e7; }
.map-block__list .region + .region { margin-top: 12px; }
.map-block__list .region__name { display: flex; align-items: center; gap: 8px; border: 0; padding: 0; margin-bottom: 10px; color: var(--ink); font-size: 16px; }
.region__name i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.region--north .region__name i { background: #8cc5b6; }
.region--central .region__name i { background: #5aa896; }
.region--south .region__name i { background: #2f8676; }
.region--miyako .region__name i { background: #7fb3c9; }
.region--yaeyama .region__name i { background: #5b98b5; }
.map-block__list .town-links a { background: var(--bg-soft); border-color: transparent; font-weight: 700; font-size: 14px; }
.map-block__list .town-links a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 1023px) {
  .map-block { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .map-block__map { padding: 8px; }
}

/* 掲載業者（横長） */
.companies { max-width: 960px; margin: 36px auto 0; }
.company { box-shadow: 0 10px 30px rgba(15,91,94,.08); border-radius: 10px; }
.company__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px 4px 8px; border-radius: 20px; margin-bottom: 10px; }
.company__badge svg { width: 16px; height: 16px; }
.company--wide .company__body { grid-template-columns: 380px 1fr; gap: 32px; }
.company__photo { border-radius: 8px; }
.tags li { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
@media (max-width: 1023px) { .company--wide .company__body { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .company { border-radius: 0; box-shadow: none; } }

/* 解体工事の流れ: 重機の写真の帯 + 番号の丸を線でつなぐ */
.flow-sec { padding-bottom: 72px; background: #fff; }
.flow-sec__banner { position: relative; height: 320px; overflow: hidden; color: #fff; }
.flow-sec__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.flow-sec__banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,44,46,.9), rgba(8,44,46,.55) 55%, rgba(8,44,46,.2)); z-index: 1; }
.flow-sec__banner-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.flow-sec__banner h2 { font-size: 36px; }
.flow-sec__banner p { margin-top: 10px; max-width: 30em; color: #e3eeee; }
.flow { margin-top: 48px; position: relative; }
.flow::before { content: ""; position: absolute; left: 24px; right: calc(20% - 24px); top: 24px; height: 3px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 16px); }
.flow .flow__item { border-left: 0; padding: 0 16px 0 0; }
.flow__num span { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 22px; font-weight: 700; box-shadow: 0 0 0 6px #fff; }
.flow__item:first-child .flow__num span { background: var(--cta); }
.flow__title { margin-top: 14px; }
.rules-title { font-size: 24px; font-weight: 700; text-align: center; margin-top: 64px; }
.rules > div { background: var(--bg-soft); border-radius: 10px; padding: 22px 22px 24px; }
.rules__title { border-bottom: 0; padding-bottom: 0; color: var(--brand-dark); font-size: 19px; }
.rules__title::before { content: ""; display: block; width: 36px; height: 4px; background: var(--cta); border-radius: 2px; margin-bottom: 12px; }
@media (max-width: 1023px) {
  .flow-sec__banner { height: 240px; }
  .flow-sec__banner::before { background: linear-gradient(180deg, rgba(8,44,46,.15) 0%, rgba(8,44,46,.55) 45%, rgba(8,44,46,.92) 100%); }
  .flow-sec__banner img { object-position: 70% 50%; }
  .flow-sec__banner-inner { justify-content: flex-end; padding-bottom: 20px; }
  .flow-sec__banner h2 { font-size: 26px; }
  .flow-sec__banner p { font-size: 14px; }
  .flow::before { left: 24px; right: auto; top: 24px; bottom: 90px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--brand) 0 10px, transparent 10px 16px); }
  .flow .flow__item, .flow .flow__item:first-child { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 0 0 24px; border-left: 0; }
  .flow__num { grid-row: 1 / span 3; }
  .flow__title { margin-top: 10px; }
  .flow__text, .flow__who { grid-column: 2; }
  .flow__who { justify-self: start; }
}

/* エリアページの見出し帯を写真に */
.area-mv { background: #0b3638; }
.area-mv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .45; }
.area-mv__inner { position: relative; padding: 48px 0; }
.area-mv h1 { background: rgba(8,44,46,.55); }
@media (max-width: 767px) { .area-mv__inner { padding: 24px 0; } }
.area-cta { box-shadow: 0 10px 30px rgba(15,91,94,.08); }
.area-cta .type-card svg { width: 56px; height: 56px; }
.side-box { background: #fff; box-shadow: 0 10px 30px rgba(15,91,94,.10); border-top: 4px solid var(--cta); }
