/* 沖縄解体ドットネット トップ（v3）
   寸法の基準：クラッソーネのトップを1440/390で実測した値（コンテナ1120・見出し36/30px・セクション上下80/48px）。
   色・部品の形・イラストは独自（ブランド色の深緑と、見積もり導線のオレンジ）。 */
:root { --slate: #34474d; --soft2: #eef3f3; }

/* ---------- 共通 ---------- */
.t-sec { padding: 80px 0; }
.t-sec--soft { background: var(--bg-soft); }
.t-sec--line { border-top: 1px solid var(--line); }
.t-narrow { max-width: 768px; }
.t-head { text-align: center; margin-bottom: 32px; }
.t-head__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 0 0 1px var(--line); margin-bottom: 12px; }
.t-sec--soft .t-head__icon { background: #fff; }
.t-sec:not(.t-sec--soft) .t-head__icon { background: var(--brand-soft); box-shadow: none; }
.t-head__icon svg { width: 30px; height: 30px; }
.t-head__title { font-size: 36px; line-height: 1.5; font-weight: 700; color: var(--brand); }
.t-head__lead { font-size: 18px; line-height: 1.7; color: var(--sub); margin-top: 8px; }
.t-title2 { font-size: 36px; line-height: 1.5; font-weight: 700; color: var(--brand); text-align: center; margin-bottom: 32px; }
.t-title3 { font-size: 24px; line-height: 1.5; font-weight: 700; text-align: center; margin: 64px 0 24px; scroll-margin-top: 24px; }
.t-paragraph { max-width: 768px; margin: 32px auto 0; font-size: 16px; line-height: 1.9; }
.t-more { text-align: center; margin-top: 24px; }
.t-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--cta); text-decoration: none; padding: 8px 0; }
.t-more a:hover { text-decoration: underline; }
.t-more svg { width: 18px; height: 18px; color: var(--cta); flex: none; }
.t-more--white a, .t-more--white svg { color: #fff; }
.t-more--white svg circle { fill: #fff; } .t-more--white svg path { stroke: var(--brand-dark); }
.t-rule { border: 0; border-top: 1px solid var(--line); margin: 80px 0; }
[id] { scroll-margin-top: 16px; }

/* ---------- 1. メインビジュアル ---------- */
.t-mv { background: var(--sea); padding: 40px 0 44px; }
.t-mv__banner { width: min(1120px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 500px 1fr; min-height: 340px; background: var(--brand); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,91,94,.18); }
.t-mv__copy { padding: 36px 40px 32px 48px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.t-mv__eyebrow { display: inline-block; align-self: flex-start; font-size: 14px; font-weight: 700; background: var(--cta); color: #fff; padding: 4px 12px; border-radius: 3px; }
.t-mv__title { font-size: 38px; line-height: 1.4; font-weight: 700; margin-top: 14px; letter-spacing: .02em; }
.t-mv__facts { display: flex; gap: 12px; margin-top: 22px; }
.t-mv__facts li { width: 108px; height: 108px; border-radius: 50%; background: #fff; color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 0 0 4px #cfe3df; }
.t-mv__facts b { font-size: 26px; line-height: 1.1; font-weight: 700; }
.t-mv__facts span { font-size: 11px; line-height: 1.35; color: var(--ink); margin-top: 4px; font-weight: 700; }
.t-mv__photo { position: relative; }
.t-mv__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.t-mv__photo::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 80px; background: linear-gradient(90deg, var(--brand), rgba(15,91,94,0)); z-index: 1; }

/* ---------- 2. 見積もりの入口 ---------- */
.t-cta { padding: 40px 0 80px; }
.t-cta--bottom { padding: 80px 0; border-top: 1px solid var(--line); }
.t-cta__bar { background: var(--brand); color: #fff; font-size: 24px; line-height: 28px; font-weight: 700; text-align: center; padding: 12px; border-radius: 8px 8px 0 0; }
.t-cta__body { background: var(--bg-soft); padding: 16px 64px 24px; border-radius: 0 0 8px 8px; }
.t-cta__q { text-align: center; font-size: 18px; font-weight: 700; }
.t-cta__q span::before { content: "＼"; margin-right: 12px; color: var(--sub); font-weight: 400; }
.t-cta__q span::after { content: "／"; margin-left: 12px; color: var(--sub); font-weight: 400; }
.t-cta .type-grid { margin-top: 16px; gap: 16px; }
.t-cta .type-card { min-height: 141px; border-radius: 8px; font-size: 16px; }
.t-cta .type-card svg { width: 72px; height: 72px; }
.t-cta__note { text-align: center; font-size: 20px; line-height: 28px; font-weight: 700; margin-top: 16px; }

.t-sub { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.t-sub__box { display: flex; flex-direction: column; padding: 0 24px; }
.t-sub__box:first-child { padding-left: 0; }
.t-sub__box:last-child { padding-right: 0; }
.t-sub__box + .t-sub__box { border-left: 1px solid var(--line); }
.t-sub__title { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 24px; line-height: 40px; font-weight: 700; color: var(--ink); }
.t-sub__title svg { width: 32px; height: 32px; color: var(--brand); }
.t-sub__text { font-size: 14px; line-height: 1.7; color: var(--sub); margin: 12px 0 16px; flex: 1; }
.t-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 12px 20px; background: #fff; color: var(--brand); border: 2px solid var(--brand); border-radius: 8px; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 var(--brand); transition: transform .15s, box-shadow .15s; }
.t-btn svg { width: 18px; height: 18px; }
.t-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--brand); }

.t-support { display: grid; grid-template-columns: 328px 1fr; background: var(--bg-soft); border-radius: 12px; overflow: hidden; margin-top: 36px; min-height: 212px; }
.t-support + .t-support { margin-top: 24px; }
.t-support__img { position: relative; }
.t-support__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-support__body { padding: 28px 40px 20px; }
.t-support__label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid #cfe3df; border-radius: 999px; padding: 2px 12px; }
.t-support__title { font-size: 30px; line-height: 1.3; font-weight: 700; color: var(--brand); margin-top: 8px; }
.t-support__text { font-size: 15px; line-height: 1.8; margin-top: 8px; max-width: 40em; }
.t-support .t-more { text-align: left; margin-top: 10px; }

/* ---------- 3. 解体工事について ---------- */
.t-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.t-list { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.t-list__title { background: var(--slate); color: #fff; text-align: center; font-size: 20px; line-height: 1.5; font-weight: 700; padding: 10px 16px; }
.t-list--brand .t-list__title { background: var(--brand); }
.t-list ul { padding: 8px 28px 16px; }
.t-list li + li { border-top: 1px solid var(--line); }
.t-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.t-list a:hover { color: var(--brand); }
.t-list a svg { width: 18px; height: 18px; color: var(--cta); flex: none; }

/* ---------- 4. 補助金の帯 ---------- */
.t-band { position: relative; background: var(--brand-dark); color: #fff; padding: 80px 0; overflow: hidden; }
.t-band__map { position: absolute; top: 50%; left: 50%; width: 760px; transform: translate(-50%, -50%); opacity: .14; pointer-events: none; }
.t-band__map .okmap path { fill: #fff; stroke: none; }
.t-band__map .okmap .frame, .t-band__map .okmap .frame-label { display: none; }
.t-band__inner { position: relative; max-width: 768px; text-align: center; }
.t-band__title { font-size: 36px; line-height: 1.5; font-weight: 700; }
.t-band__text { font-size: 18px; line-height: 1.7; margin-top: 32px; text-align: left; }

/* ---------- 5. サービスと依頼の流れ ---------- */
.t-facts { display: flex; justify-content: center; gap: 16px; }
.t-facts li { width: 136px; height: 136px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; box-shadow: 0 0 0 6px var(--brand-soft), 0 0 0 7px #cfe3df; color: var(--brand); }
.t-facts b { font-size: 30px; line-height: 1.15; font-weight: 700; }
.t-facts span { font-size: 12px; line-height: 1.4; font-weight: 700; color: var(--ink); margin-top: 6px; }
.t-steps { background: var(--bg-soft); border-radius: 12px; overflow: hidden; padding-bottom: 24px; }
.t-steps__bar { background: var(--slate); color: #fff; text-align: center; font-size: 18px; line-height: 1.5; padding: 7px 16px; }
.t-steps__lead { text-align: center; color: var(--sub); margin: 16px 16px 0; font-size: 15px; }
.t-steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 32px 20px 0; }
.t-step { position: relative; background: #fff; border: 2px solid var(--slate); border-radius: 8px; padding: 30px 16px 20px; }
.t-step + .t-step::before { content: ""; position: absolute; left: -26px; top: 50%; border: 10px solid transparent; border-left: 12px solid var(--slate); transform: translateY(-50%); }
.t-step__num { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.t-step__img { position: relative; background: var(--brand-soft); border-radius: 4px; color: var(--brand); padding: 10px 0 24px; text-align: center; }
.t-step__img svg { width: 96px; height: 72px; }
.t-step__who { position: absolute; left: 0; right: 0; bottom: 0; background: var(--slate); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; border-radius: 0 0 4px 4px; }
.t-step__who--biz { background: var(--cta); }
.t-step__title { font-size: 20px; line-height: 1.5; font-weight: 700; text-align: center; margin-top: 14px; }
.t-step__text { font-size: 14px; line-height: 1.7; margin-top: 8px; }
.t-down { text-align: center; color: var(--slate); margin: 20px 0 16px; }
.t-down svg { width: 72px; height: 20px; }
.t-next { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: center; background: var(--bg-soft); border-radius: 12px; padding: 32px 48px; }
.t-next__title { font-size: 22px; line-height: 1.5; font-weight: 700; color: var(--cta); }
.t-next__text { font-size: 15px; line-height: 1.8; margin-top: 12px; }
.t-next .t-more { text-align: left; margin-top: 12px; }
.t-next__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; }

/* ---------- 6. 3つの特徴 ---------- */
.t-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.t-feat { display: flex; flex-direction: column; background: var(--bg-soft); border-radius: 8px; overflow: hidden; padding-bottom: 20px; }
.t-feat__img { position: relative; height: 200px; background: var(--sea); }
.t-feat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-feat__map { height: 100%; display: grid; place-items: center; padding: 10px 24px; }
.t-feat__map .okmap { height: 100%; width: auto; }
.t-feat__no { position: absolute; top: 8px; left: 8px; background: rgba(15,91,94,.9); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 3px; }
.t-feat__title { font-size: 21px; line-height: 1.5; font-weight: 700; text-align: center; margin: 20px 24px 0; }
.t-feat__text { font-size: 15px; line-height: 1.8; margin: 12px 24px 0; flex: 1; }
.t-feat .t-more { margin-top: 8px; }

/* ---------- 7. 掲載業者 ---------- */
.t-company { max-width: 960px; margin-inline: auto; }

/* ---------- 8. 解体工事の流れ ---------- */
.t-flow { counter-reset: none; }
.t-flow__item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 20px 0; }
.t-flow__item + .t-flow__item { border-top: 1px dashed #c6d3d3; }
.t-flow__num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.t-flow__title { font-size: 20px; line-height: 1.5; font-weight: 700; margin-top: 8px; }
.t-flow__text { margin-top: 6px; line-height: 1.8; }
.t-flow__who { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 10px; border-radius: 3px; }
.t-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-rule-item { background: var(--bg-soft); border-top: 4px solid var(--cta); border-radius: 4px; padding: 20px; }
.t-rule-item__title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.t-rule-item__text { font-size: 14px; line-height: 1.8; margin-top: 8px; }

/* ---------- 9. よくある質問 ---------- */
.t-faq { border-top: 1px solid #d5dede; }
.t-faq__item { border-bottom: 1px solid #d5dede; }
.t-faq__item summary { list-style: none; display: grid; grid-template-columns: auto 1fr 18px; align-items: center; gap: 4px 8px; padding: 16px 8px; font-weight: 700; cursor: pointer; }
.t-faq__item summary::-webkit-details-marker { display: none; }
.t-faq__item summary svg { width: 18px; height: 18px; color: var(--cta); transition: transform .2s; }
.t-faq__item[open] summary svg { transform: rotate(90deg); }
.t-faq__q { color: var(--cta); font-size: 18px; }
.t-faq__a { padding: 0 8px 20px 34px; line-height: 1.8; }
.t-faq__a p + p { margin-top: 8px; }

/* ---------- 11. 市町村から探す ---------- */
.t-towns { background: var(--bg-soft); padding: 64px 0; }
.t-towns__title { font-size: 24px; line-height: 1.5; font-weight: 700; margin-bottom: 20px; }
.t-towns__row { display: grid; grid-template-columns: 192px 1fr; gap: 16px; padding: 10px 0; }
.t-towns__region { font-size: 14px; font-weight: 700; line-height: 1.9; }
.t-towns__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.t-towns__links a { font-size: 14px; font-weight: 700; line-height: 1.9; color: var(--brand); text-decoration: none; }
.t-towns__links a:hover { text-decoration: underline; }

/* ---------- タブレット ---------- */
@media (max-width: 1023px) {
  .t-mv__banner { grid-template-columns: 1fr; }
  .t-mv__photo { height: 240px; order: -1; }
  .t-mv__photo::before { display: none; }
  .t-cta__body { padding: 16px 24px 24px; }
  .t-steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .t-step + .t-step::before { display: none; }
  .t-next { grid-template-columns: 1fr; }
  .t-feats { gap: 16px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  .t-sec { padding: 48px 0; }
  .t-head__title, .t-title2, .t-band__title { font-size: 28px; }
  .t-head__lead { font-size: 16px; }
  .t-title3 { font-size: 21px; margin-top: 48px; }
  .t-rule { margin: 48px 0; }

  .t-mv { padding: 0 0 24px; background: #fff; }
  .t-mv__banner { width: 100%; border-radius: 0; box-shadow: none; }
  .t-mv__photo { height: 200px; }
  .t-mv__copy { padding: 24px 16px 28px; }
  .t-mv__title { font-size: 30px; }
  .t-mv__facts { gap: 8px; justify-content: space-between; }
  .t-mv__facts li { width: 104px; height: 104px; }
  .t-mv__facts b { font-size: 24px; }

  .t-cta { padding: 8px 0 48px; }
  .t-cta--bottom { padding: 48px 0; }
  .t-cta__bar { font-size: 20px; line-height: 28px; }
  .t-cta__body { padding: 16px; }
  .t-cta__q { font-size: 17px; }
  .t-cta .type-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .t-cta .type-card { min-height: 148px; font-size: 15px; }
  .t-cta .type-card svg { width: 60px; height: 60px; }
  .t-cta__note { font-size: 16px; line-height: 24px; }

  .t-sub { grid-template-columns: 1fr; margin-top: 24px; }
  .t-sub__box, .t-sub__box:first-child, .t-sub__box:last-child { padding: 24px 0; }
  .t-sub__box + .t-sub__box { border-left: 0; border-top: 1px solid var(--line); }
  .t-sub__box:first-child { padding-top: 0; }
  .t-sub__title { font-size: 20px; line-height: 28px; }
  .t-sub__text { margin: 10px 0 14px; }

  .t-support { grid-template-columns: 1fr; margin-top: 24px; }
  .t-support__img { height: 200px; }
  .t-support__body { padding: 20px 20px 16px; }
  .t-support__title { font-size: 24px; }

  .t-lists { grid-template-columns: 1fr; gap: 16px; }
  .t-list ul { padding: 4px 16px 12px; }

  .t-band { padding: 48px 0; }
  .t-band__map { width: 560px; }
  .t-band__text { font-size: 16px; line-height: 1.9; margin-top: 20px; }

  .t-facts { gap: 8px; }
  .t-facts li { width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--brand-soft), 0 0 0 5px #cfe3df; }
  .t-facts b { font-size: 24px; }
  .t-facts span { font-size: 11px; }
  .t-paragraph { margin-top: 28px; }
  .t-steps__list { grid-template-columns: 1fr; gap: 32px; padding: 32px 16px 0; }
  .t-step { display: grid; grid-template-columns: 112px 1fr; gap: 0 14px; padding: 24px 14px 16px; }
  .t-step__img { grid-row: span 2; align-self: start; }
  .t-step__img svg { width: 80px; height: 60px; }
  .t-step__title { text-align: left; margin-top: 0; font-size: 18px; }
  .t-step__text { margin-top: 4px; }
  .t-next { padding: 24px 20px; gap: 20px; }
  .t-next__img { order: -1; }

  .t-feats { grid-template-columns: 1fr; gap: 24px; }

  .t-flow__item { grid-template-columns: 40px 1fr; gap: 14px; }
  .t-flow__num { width: 40px; height: 40px; font-size: 18px; }
  .t-flow__title { font-size: 18px; margin-top: 6px; }
  .t-rules { grid-template-columns: 1fr; }

  .t-faq__a { padding-left: 8px; }

  .t-towns { padding: 48px 0; }
  .t-towns__title { font-size: 20px; }
  .t-towns__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
  .t-towns__links { gap: 4px 16px; }
}

/* 図版・地図のパネル */
.t-feat__art { height: 100%; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.t-feat__art svg { width: 168px; height: 126px; }
.t-support__img--map { background: var(--sea); display: grid; place-items: center; padding: 12px; }
.t-support__img--map .okmap { position: static; width: 100%; height: 100%; max-height: 220px; }
/* 見出しは文節で折り返す */
.t-head__title, .t-title2, .t-title3, .t-band__title, .t-list__title, .t-steps__bar, .t-next__title, .t-support__title, .t-feat__title, .t-step__title, .t-sub__title, .t-towns__title, .t-mv__title { word-break: auto-phrase; text-wrap: pretty; }
.t-list__title .wbr { display: inline-block; }
@media (max-width: 767px) {
  .t-mv__facts li, .t-facts li { width: min(104px, 29vw); height: min(104px, 29vw); }
}
@media (max-width: 374px) {
  .t-mv__facts b, .t-facts b { font-size: 20px; }
  .t-mv__facts span, .t-facts span { font-size: 10px; }
  .t-mv__title { font-size: 27px; }
}
@media (max-width: 1023px) { .t-mv__banner { grid-template-columns: minmax(0, 1fr); } }
.t-head__lead, .t-band__text, .t-sub__text, .t-support__text, .t-feat__text, .t-step__text, .t-next__text, .t-paragraph, .t-cta__note { word-break: auto-phrase; }
