@charset "UTF-8";

/* =========================
COMMON
========================= */

:root {
  /* colors: */
  --green: #39b54a;
  --red: #ff0000;
  --black: #000000;
  --white: #fff;
  --yellow: #ffdc00;
  /* font: */
  --font-shingo: "M PLUS 2", "M PLUS 1p", "Noto Sans JP", sans-serif;
  --fz16: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  --fz18: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  --fz20: clamp(0.813rem, 0.706rem + 0.45vw, 1.25rem);
  --fz22: clamp(0.875rem, 0.754rem + 0.52vw, 1.375rem);
  --fz24: clamp(0.875rem, 0.723rem + 0.65vw, 1.5rem);
  --fz28: clamp(1rem, 0.818rem + 0.78vw, 1.75rem);
  --fz30: clamp(1.063rem, 0.865rem + 0.84vw, 1.875rem);
  --fz32: clamp(1.125rem, 0.913rem + 0.91vw, 2rem);
  --fz35: clamp(1.25rem, 1.022rem + 0.97vw, 2.188rem);
  --fz42: clamp(1.375rem, 1.072rem + 1.29vw, 2.625rem);
  --fz51: clamp(1.5rem, 1.09rem + 1.75vw, 3.188rem);
  --fz55: clamp(1.5rem, 1.03rem + 2.01vw, 3.438rem);
  --fz64: clamp(1.563rem, 0.971rem + 2.52vw, 4rem);
  --fz90: clamp(2.5rem, 1.742rem + 3.24vw, 5.625rem);
}
html {
  font-size: 100%;
  scroll-behavior: auto;
}

body {
  font-size: var(--fz24);
  font-family: var(--font-shingo);
  font-weight: normal;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: 100%;
  font-weight: inherit;
}
img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: all ease 0.3s;
}
a:hover {
  opacity: 0.9;
}

li {
  list-style: none;
}

.inner {
  max-width: 70%;
  margin: 0 auto;
  @media only screen and (max-width: 768px) {
    max-width: 90%;
  }
}

.common__button-wrap {
  text-align: center;
}
.common__button {
  display: inline-block;
  padding: 16px 48px;
  font-size: var(--fz32);
  font-weight: 700;
  line-height: 2.05;
  letter-spacing: 0;
  color: #fff;
  /* --- 外枠（緑） --- */
  background-color: var(--green);
  border-radius: 28px;
  border: 7px solid var(--green);
  /* --- 内枠（黄色） --- */
  box-shadow: 0 0 0 5px #ffff00 inset, 0 4px 12px rgba(0, 0, 0, 0.25);
  letter-spacing: 0;
  text-align: center;
  margin-top: 36px;
  transition: 0.2s ease;
}
/* ホバー時の軽い浮き上がり */
.common__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px #ffff00 inset, 0 10px 16px rgba(0, 0, 0, 0.28);
}

/* ========================================
  共通見出し(トップページの解体実績・お問い合わせ
=========================================== */
.section-heading {
  text-align: center;
  position: relative;
}

.section-heading__title {
  font-size: var(--fz51);
  font-weight: 800;
  line-height: 2.1;
  letter-spacing: 0.5em;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(840px, calc(100% - 160px));
  height: 10px;
  background: var(--yellow);
}

.pc-only {
  display: block;
  @media only screen and (max-width: 768px) {
    display: none;
  }
}
.sp-only {
  display: none;
}

@media only screen and (max-width: 767px) {
  .common__button {
    padding: 12px 48px;
    border-radius: 16px;
    border: 7px solid var(--green);
    box-shadow: 0 0 0 4px #ffff00 inset, 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-top: 25px;
  }

  .section-heading::after {
    width: calc(100% - 80px);
    height: 8px;
  }
}
@media only screen and (max-width: 414px) {
  .common__button {
    padding: 8px 36px;
    box-shadow: 0 0 0 3px #ffff00 inset, 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
  }
}
/* =========================
ヘッダー
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__top {
  background-color: var(--yellow);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 左側：ロゴ＋テキスト */
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header__logo-image {
  max-width: 198px;
}

.site-header__brand-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__catch {
  font-size: var(--fz28);
  font-weight: normal;
  letter-spacing: -0.024em;
  color: var(--black);
}

.site-header__tagline-inner {
  display: inline-block;
  font-size: var(--fz35);
  font-weight: 700;
  line-height: 0.6;
  letter-spacing: -0.05em;
  color: var(--white);
  padding: 16px 10px;
  background-color: var(--red);
  border-radius: 10px;
}

/* 右側アクション */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* LINE */
.site-header__line-link {
  display: inline-block;
}

.site-header__line-image {
  max-width: 60px;
}

/* 電話ボタン */
.site-header__tel-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fz32);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.046em;
  color: #231815;
  border: 2.4px solid var(--red);
  background-color: var(--white);
  border-radius: 16px;
  padding: 8px 20px;
}

.site-header__tel-icon-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.site-header__tel-icon {
  max-width: 26px;
  margin-top: 4px;
}

/* 緑のお問い合わせボタン */
.site-header__contact-link {
  display: flex;
  align-items: center;
  font-size: var(--fz20);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.07em;
  color: var(--white);
  border: 2.4px solid var(--white);
  background-color: var(--green);
  border-radius: 16px;
  white-space: nowrap;
  padding: 16px 20px;
}

.site-header__contact-text {
  display: inline-block;
}

/* グローバルナビ */
.site-header__nav {
  background-color: var(--white);
}

.site-header__nav-list {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.site-header__nav-link {
  position: relative;
  display: inline-block;
  font-size: var(--fz20);
  font-weight: 400;
  line-height: 0.65;
  letter-spacing: -0.032em;
  color: var(--black);
  padding-block: 20px;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background-color: var(--green);
  transition: width 0.3s ease;
}

.site-header__nav-link:hover::after {
  width: 100%;
}
/* ハンバーガーボタン共通 */
.site-header__menu-button {
  display: none;
  width: 56px;
  height: 56px;
  border: none;
  padding: 0;
  margin: 0;
  background-color: var(--yellow);
  cursor: pointer;
  position: relative;
}

/* 3本ライン */
.site-header__menu-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 3px;
  background-color: var(--white);
  border-radius: 999px;
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 閉じているときの位置（上・中・下） */
.site-header__menu-line:nth-child(1) {
  transform: translate(-50%, calc(-50% - 10px));
}
.site-header__menu-line:nth-child(2) {
  transform: translate(-50%, -50%);
}
.site-header__menu-line:nth-child(3) {
  transform: translate(-50%, calc(-50% + 10px));
}

/* 開いたときの「×」アニメーション */
.site-header__menu-button.is-open .site-header__menu-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.site-header__menu-button.is-open .site-header__menu-line:nth-child(2) {
  opacity: 0;
}
.site-header__menu-button.is-open .site-header__menu-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.site-header__nav-actions {
  display: none;
}
@media only screen and (max-width: 1499px) {
  .site-header__top {
    padding: 12px 20px;
  }
  .site-header__brand-text {
    flex-direction: column-reverse;
    align-items: start;
    gap: 0.1rem;
  }
  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
}
@media only screen and (max-width: 1199px) {
  .site-header__actions {
    display: none;
  }
  .site-header__top {
    padding: 12px 40px;
  }
  .site-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 50;
  }

  .site-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
  }

  .site-header__nav-link {
    font-size: 16px;
    width: 100%;
    padding-block: 12px;
  }

  .site-header__nav-actions {
    max-width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 20px 20px;
  }

  .site-header__nav-actions .site-header__line-link {
    align-self: center;
  }

  .site-header__nav-actions .site-header__tel-link,
  .site-header__nav-actions .site-header__contact-link {
    width: 100%;
    justify-content: center;
  }
}

@media only screen and (max-width: 640px) {
  .site-header__top {
    padding: 20px;
  }
  .site-header__logo-image {
    max-width: 185px;
  }
  .site-header__brand-text {
    gap: 0;
  }
}
@media only screen and (max-width: 499px) {
  .site-header__nav-actions {
    display: none;
  }
  .site-header__top {
    padding: 8px 16px;
  }
  .site-header__logo-image {
    max-width: 150px;
  }
  .site-header__tagline-inner {
    font-size: 15px;
    padding: 8px;
    border-radius: 6px;
  }
  .site-header__brand {
    gap: 12px;
  }
  .site-header__catch {
    font-size: 14px;
  }
  .site-header__menu-button {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 414px) {
  .site-header__logo-image {
    max-width: 120px;
  }
  .site-header__brand {
    gap: 10px;
  }
  .site-header__tagline-inner {
    font-size: 13px;
  }
  .site-header__catch {
    font-size: 13px;
  }
}
@media only screen and (max-width: 349px) {
  .site-header__logo-image {
    max-width: 80px;
  }
  .site-header__brand {
    gap: 8px;
  }
  .site-header__tagline-inner {
    font-size: 12px;
  }
  .site-header__catch {
    font-size: 12px;
  }
  .site-header__menu-button {
    width: 20px;
    height: 20px;
  }
}

/* =========================
FV
========================= */
.fv {
  width: 100%;
}

.fv__inner {
  width: 100%;
  overflow: hidden;
}

/* =========================
年間250件セクション
========================= */
.results {
  position: relative;
  background: url("../images/top/results-bg.jpg") 0 0 no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  background-position: 100%;
  padding-block: 60px;
  z-index: 10;
}

.results__heading {
  margin-bottom: 45px;
}

.results__heading-image {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.results__body {
  display: flex;
  align-items: flex-start;
}

.results__text-area {
  width: 57%;
}

.results__lead {
  font-size: var(--fz30);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.043em;
  margin-bottom: 24px;
}

.results__points {
  margin-bottom: 24px;
}

.results__point {
  position: relative;
  background-color: var(--yellow);
  padding: 0 10px;
  margin-bottom: 20px;
  display: inline-block;
}
.results__point::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 100%;
  height: 100%;
  background: #7f7f7f;
  z-index: -1;
}
.results__point:last-child {
  margin-bottom: 0;
}

.results__point-text {
  font-size: var(--fz42);
  font-weight: 800;
  letter-spacing: -0.046em;
}

.results__point-em {
  color: var(--red);
}

.results__note {
  font-size: var(--fz32);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: -0.041em;
  white-space: nowrap;
  color: #2b1c04;
  text-shadow: 5px 0 0 #fff, -5px 0 0 #fff, 0 5px 0 #fff, 0 -5px 0 #fff, 3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, -3px -3px 0 #fff;
}

.results__photo {
  width: 39%;
}

@media only screen and (max-width: 1440px) {
  .results {
    background-position: center;
  }
}
@media only screen and (max-width: 1024px) {
  .results__body {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }
  .results__note {
    white-space: normal;
  }
  .results__text-area {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .results {
    padding-block: 40px;
  }
  .results__heading {
    margin-bottom: 30px;
  }
  .results__body {
    gap: 16px;
  }
  .results__photo {
    width: 55%;
  }
  .results__points {
    margin-bottom: 18px;
  }
  .results__lead {
    margin-bottom: 18px;
  }
  .results__point {
    margin-bottom: 20px;
  }
  .results__note {
    line-height: 1.8;
  }
}
@media only screen and (max-width: 414px) {
  .results__lead {
    font-size: 15px;
  }
  .results__point-text {
    font-size: 20px;
  }
  .results__note {
    font-size: 16px;
  }
}

/* =========================
「安いだけの解体で大丈夫？」セクション
========================= */
.warning {
  position: relative;
  padding: 150px 0 125px;
  overflow: hidden;
}

/* 背景画像 */
.warning__bg {
  position: absolute;
  inset: 0;
  background: url("../images/top/warning-bg.jpg") center/cover no-repeat;
  z-index: -2;
}

.warning__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #4d4d4d;
  opacity: 0.7;
  z-index: -1;
}

.warning__inner {
  position: relative;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 3rem 1rem;
}
.warning__inner::before,
.warning__inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #333;
  z-index: 1;
}
/* 上の線 */
.warning__inner::before {
  top: 10%;
}

/* 下の線 */
.warning__inner::after {
  bottom: 10%;
}
.warning__title-img img {
  position: relative;
  max-width: 490px;
  margin-top: -8rem;
  z-index: 10;
}

.warning__content {
  flex: 1;
}

.warning__text {
  font-size: var(--fz28);
  font-family: var(--font-shingo);
  font-weight: bold;
  line-height: 1.76;
  letter-spacing: -0.061em;
  font-weight: 400;
}
.warning__text:first-child {
  margin: 16px 0 48px;
}
.warning__text--red {
  font-weight: bold;
  color: var(--red);
}
@media only screen and (max-width: 1599px) {
  .warning__inner {
    max-width: 80%;
    padding: 4.5rem 1rem;
  }
  .warning__text:first-child {
    margin: 10px 0 20px;
  }
}
@media only screen and (max-width: 1024px) {
  .warning {
    padding: 100px 0 90px;
  }

  .warning__inner {
    max-width: 90%;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
  }
  .warning__inner::before,
  .warning__inner::after {
    height: 6px;
  }
  .warning__inner::before {
    top: 3%;
  }

  .warning__inner::after {
    bottom: 3%;
  }

  .warning__title-img img {
    max-width: 400px;
    margin: 0;
  }
}

@media only screen and (max-width: 640px) {
  .warning {
    padding: 75px 0 65px;
  }

  .warning__inner {
    padding: 2rem 1rem;
  }

  .warning__inner::before,
  .warning__inner::after {
    height: 4px;
  }

  .warning__text:first-child {
    margin: 4px 0 16px;
  }
}

/* =========================
「適正価格」セクション
========================= */
.price {
  background: var(--yellow);
  padding-block: 72px;
}
.price__flex {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.price__flex-left {
  width: 49%;
}
.price__flex-right {
  width: 49%;
}
.price__flex-first {
  margin-bottom: 40px;
}
.price__flex-second {
  margin-bottom: 80px;
}

@media only screen and (max-width: 1599px) {
  .price__inner {
    max-width: 80%;
  }
}
@media only screen and (max-width: 1024px) {
  .price__inner {
    max-width: 90%;
  }
  .price__flex-second {
    margin-bottom: 60px;
  }
}
@media only screen and (max-width: 768px) {
  .price {
    padding-block: 56px;
  }

  .price__flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .price__flex-third {
    flex-direction: column-reverse;
  }

  .price__flex-left,
  .price__flex-right {
    width: 100%;
    text-align: center;
  }

  .price__flex-first {
    margin-bottom: 32px;
  }

  .price__flex-second {
    margin-bottom: 56px;
  }
}

@media only screen and (max-width: 499px) {
  .price {
    padding-block: 48px;
  }

  .price__flex {
    gap: 16px;
  }

  .price__flex-first {
    margin-bottom: 25px;
  }

  .price__flex-second {
    margin-bottom: 30px;
  }
}
/* =========================
お見積無料セクション 
========================= */

.estimate {
  padding-block: 80px;
  background-color: var(--white);
}

.estimate__inner {
  text-align: center;
}

.estimate .common__button-wrap {
  margin-top: -7.7%;
}

@media only screen and (max-width: 1599px) {
  .estimate__inner {
    max-width: 80%;
  }
}
@media only screen and (max-width: 1024px) {
  .estimate__inner {
    max-width: 90%;
  }
  .estimate .common__button-wrap {
    margin-top: -10%;
  }
  .estimate__button {
    padding: 10px 30px;
    font-size: 14px;
    border: 8px solid var(--green);
    box-shadow: 0 0 0 3px #ffff00 inset, 0 3px 10px rgba(0, 0, 0, 0.25);
  }
}
@media only screen and (max-width: 768px) {
  .estimate {
    padding-block: 40px;
  }
  .estimate .common__button-wrap {
    margin-top: -9%;
  }
}
@media only screen and (max-width: 499px) {
  .estimate__button {
    padding: 12px 48px;
    border-radius: 16px;
    font-size: 16px;
    border: 7px solid var(--green);
    box-shadow: 0 0 0 4px #ffff00 inset, 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-top: 25px;
  }
  .estimate .common__button-wrap {
    margin-top: -10px;
  }
}

/* =========================
   ご依頼の流れセクション
========================= */
.flow {
  background-color: var(--yellow);
  padding-block: 84px;
  overflow-x: clip;
}
.flow__inner {
  max-width: 1000px;
  padding: 0 20px;
  box-sizing: content-box;
}

.flow__heading {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.flow__title {
  font-size: var(--fz51);
  font-weight: 900;
  letter-spacing: 0.5em;
  margin-bottom: 45px;
}

.flow__heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: calc(100% - 160px);
  max-width: 1040px;
  height: 10px;
  background-color: var(--white);
}

.flow__strip {
  display: flex;
  background: var(--yellow);
  margin-bottom: 10px;
  overflow: visible;
}

.flow__item {
  position: relative;
  flex: 1;
  font-size: var(--fz35);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--white);
  background: linear-gradient(90deg, #f15a24 0%, #fbb03b 100%);
  padding: 10px 0;
  padding-left: 1.5em;
}

.flow__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: -69px;
  width: 70px;
  height: 100%;
  background: linear-gradient(90deg, #fbb03b 40%, #f15a24 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  pointer-events: none;
  z-index: 10;
}
.flow__strip-bottom .flow__item:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 100%;
  background: linear-gradient(90deg, #fbb03b 40%, #f15a24 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  pointer-events: none;
  z-index: 10;
}
.flow__strip-bottom .flow__item:last-child::after {
  content: none;
}
.flow__cards {
  display: flex;
  position: relative;
  margin-bottom: 10px;
}

.flow__card {
  flex: 1;
  background-color: var(--white);
  padding: 10px 10px 60px 10px;
  box-sizing: border-box;
}

.flow__image {
  margin-bottom: 1rem;
}

.flow__text {
  font-size: var(--fz24);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .flow {
    padding-block: 64px;
  }

  .flow__heading::after {
    width: calc(100% - 80px);
  }

  .flow__item {
    padding: 0;
    padding-left: 2em;
  }

  .flow__item::after {
    right: -44px;
    width: 45px;
    clip-path: polygon(0 0, 60% 50%, 0 100%);
  }

  .flow__strip-bottom .flow__item:first-child::before {
    width: 45px;
    clip-path: polygon(0 0, 60% 50%, 0 100%);
  }

  .flow__card {
    padding: 10px 10px 40px 10px;
  }
}

@media (max-width: 767px) {
  .flow {
    padding-block: 56px;
  }
  .flow__inner {
    max-width: 90%;
    padding: 0;
  }
  .flow__heading {
    margin-bottom: 24px;
  }

  .flow__heading::after {
    width: calc(100% - 40px);
    height: 8px;
  }

  .flow__strip {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  .flow__item {
    padding-left: 1em;
  }
  .flow__item::after,
  .flow__strip-bottom .flow__item:first-child::before {
    content: none;
  }

  .flow__cards {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }
  .flow__image img {
    max-height: 400px;
  }
  .flow__card {
    padding: 12px 12px 32px 12px;
  }
}
@media (max-width: 767px) {
  .flow__strip {
    display: none;
  }

  .flow__card {
    position: relative;
    padding-top: 62px;
  }

  .flow__card::before {
    content: var(--flow-step, "");
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    display: flex;
    align-items: center;
    padding-left: 1em;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, #f15a24 0%, #fbb03b 100%);
    z-index: 2;
  }

  .flow__image,
  .flow__text {
    position: relative;
    z-index: 1;
  }

  .flow__strip-top + .flow__cards .flow__card:nth-child(1) {
    --flow-step: "1 工事依頼";
  }
  .flow__strip-top + .flow__cards .flow__card:nth-child(2) {
    --flow-step: "2 現場調査";
  }
  .flow__strip-top + .flow__cards .flow__card:nth-child(3) {
    --flow-step: "3 見積作成";
  }
  .flow__strip-bottom + .flow__cards .flow__card:nth-child(1) {
    --flow-step: "4 ご契約";
  }
  .flow__strip-bottom + .flow__cards .flow__card:nth-child(2) {
    --flow-step: "5 工事着工";
  }
  .flow__strip-bottom + .flow__cards .flow__card:nth-child(3) {
    --flow-step: "6 工事完了";
  }
}

/* =========================
   自社職人100%セクション
========================= */
.assurance {
  background: url("../images/top/assurance-bg.jpg") 0 0 no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center;
  padding-top: 110px;
}
.assurance__inner {
  max-width: 100%;
}

.assurance__heading {
  text-align: center;
}

.assurance__title-img {
  width: min(770px, 100%);
  height: auto;
  display: block;
  margin-inline: auto;
  position: relative;
  z-index: 50;
}

.assurance__photos .assurance__photo--left,
.assurance__photos .assurance__photo--right {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.assurance__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-top: -5rem;
}

.assurance__photo img {
  width: min(640px, 100%);
}

.assurance__photo--center {
  grid-column: 1 / -1;
  width: min(580px, 100%);
  margin-inline: auto;
  margin-top: -12%;
  position: relative;
  z-index: 2;
}
.assurance__yellow--box {
  background-color: var(--yellow);
  height: 162px;
  margin-top: -3rem;
}

@media (max-width: 1024px) {
  .assurance {
    padding-top: 90px;
  }

  .assurance__title-img {
    width: min(600px, 100%);
  }

  .assurance__photos {
    margin-top: -4.5rem;
    column-gap: 10rem;
    row-gap: 3rem;
    padding-inline: 20px;
    box-sizing: border-box;
  }

  .assurance__photo img {
    width: min(375px, 100%);
  }

  .assurance__photo--center {
    width: min(400px, 100%);
    margin-top: -14%;
  }

  .assurance__yellow--box {
    height: 140px;
    margin-top: -2.5rem;
  }
}

@media (max-width: 899px) {
  .assurance {
    padding-top: 60px;
  }
  .assurance__photos {
    margin-top: 0;
    column-gap: 0;
    row-gap: 0;
    padding-inline: 20px;
    box-sizing: border-box;
  }
  .assurance__photo--center {
    width: min(360px, 100%);
    margin-top: -1em;
  }
  .assurance__yellow--box {
    height: 120px;
  }
}
@media only screen and (max-width: 499px) {
  .assurance__title-img {
    width: min(350px, 100%);
  }
  .assurance__photo--center {
    width: min(220px, 100%);
  }
  .assurance__photos {
    column-gap: 0;
    padding-inline: 0;
    margin-top: -0.5rem;
  }
  .assurance__yellow--box {
    height: 85px;
    margin-top: -1.6rem;
  }
}

/* =========================
  解体実績
========================= */
.works {
  padding-block: 75px;
}
.works__section-heading {
  margin-bottom: 85px;
}

.works__inner {
  max-width: 1150px;
  padding-inline: 20px;
  box-sizing: content-box;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px 16px;
}

.works__meta {
  margin-bottom: 5px;
}

.works__name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fz20);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.works__dot {
  width: 17px;
  height: 17px;
  background: var(--yellow);
  flex-shrink: 0;
}

.works__date {
  font-size: 12px;
  font-weight: 700;
  color: #4d4d4d;
}

.works__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.works__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 16px;
  }
}

@media (max-width: 768px) {
  .works {
    padding-block: 40px;
  }
  .works__section-heading {
    margin-bottom: 60px;
  }
  .works__dot {
    width: 14px;
    height: 14px;
  }
}
@media only screen and (max-width: 499px) {
  .works__inner {
    max-width: 93%;
    padding: 0;
  }
  .works__section-heading {
    margin-bottom: 45px;
  }
  .works__grid {
    gap: 20px 8px;
  }
  .works__dot {
    width: 10px;
    height: 10px;
  }
}

/* =========================
   お問い合わせ
========================= */
.contact {
  background: #f2f2f2;
  padding-block: 80px;
}

.contact__inner {
  max-width: 62.5%;
}

.contact__section-heading {
  margin-bottom: 50px;
}

.contact__line {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.contact__line img {
  width: min(345px, 100%);
}

.contact__box {
  background: var(--white);
  padding: 88px 0;
}

.contact__form-head {
  text-align: center;
  margin-bottom: 64px;
}

.contact__form-title {
  font-size: var(--fz32);
  font-weight: 700;
  color: #4e575c;
  margin-bottom: 36px;
}

.contact__form-note {
  font-size: var(--fz16);
  color: #666;
}

.contact__note-required {
  color: #ff6865;
}

.contact__rows {
  width: min(700px, 100%);
  margin-inline: auto;
}

.contact__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.contact__row--textarea {
  align-items: start;
  padding-top: 14px;
}

.contact__label {
  font-size: var(--fz18);
  font-weight: 700;
  color: #4e575c;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact__req {
  font-size: 14px;
  font-weight: 700;
  color: #e60012;
  margin-top: 1px;
}

.contact__field {
  width: 100%;
}

/* 入力 */
.contact__input,
.contact__textarea {
  width: 100%;
  font-size: var(--fz16);
  border: 1px solid #4e575c;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  outline: none;
}

.contact__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: #888;
}

/* プライバシー */
.contact__privacy {
  width: min(720px, 100%);
  margin: 34px auto 0;
  text-align: center;
}

.contact__privacy-title {
  font-size: var(--fz20);
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.contact__privacy-box {
  max-height: 200px;
  font-size: 12px;
  line-height: 1.66;
  color: #666666;
  border: 1px solid #4e575c;
  border-radius: 8px;
  text-align: left;
  padding: 18px;
  overflow: auto;
}
.contact__privacy-text {
  margin-bottom: 24px;
}
.contact__privacy-text span {
  font-weight: bold;
}

/* 同意 */
.contact__agree {
  width: min(720px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
}

.contact__check {
  font-size: var(--fz20);
  color: #666666;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.contact__check input {
  transform: translateY(1px);
}

/* 送信ボタン */
.contact__submit {
  width: min(720px, 100%);
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
}

.contact__submit-btn {
  width: min(330px, 100%);
  font-size: var(--fz32);
  font-weight: 700;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #0071bc;
  color: var(--white);
  letter-spacing: 0.3em;
  cursor: pointer;
}
/* 送信ボタン：無効時の見た目 */
.contact__submit-btn:disabled {
  background-color: #ccc;
  border-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.8;
}
.contact__submit-btn:hover {
  filter: brightness(0.95);
}
.wpcf7-spinner {
  display: none !important;
}
@media (max-width: 1024px) {
  .contact {
    padding-block: 64px;
  }

  .contact__inner {
    max-width: 860px;
    width: 100%;
    padding-inline: 20px;
    box-sizing: border-box;
    margin-inline: auto;
  }

  .contact__section-heading {
    margin-bottom: 40px;
  }

  .contact__box {
    padding: 70px 0;
  }

  .contact__form-head {
    margin-bottom: 52px;
  }

  .contact__rows {
    width: min(720px, 100%);
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .contact__row {
    grid-template-columns: 150px 1fr;
    gap: 14px;
  }

  .contact__submit-btn {
    width: min(360px, 100%);
  }
}

@media (max-width: 768px) {
  .contact {
    padding-block: 52px;
  }

  .contact__section-heading {
    margin-bottom: 30px;
  }

  .contact__line {
    margin-bottom: 20px;
  }

  .contact__box {
    padding: 44px 16px;
  }

  .contact__form-head {
    margin-bottom: 34px;
  }

  .contact__form-title {
    margin-bottom: 18px;
  }

  .contact__rows {
    width: 100%;
    padding-inline: 0;
  }

  /* 1カラム化 */
  .contact__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  /* ラベルを少し読みやすく */
  .contact__label {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  /* 入力の高さ確保 */
  .contact__input,
  .contact__textarea {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .contact__privacy {
    width: 100%;
    margin-top: 26px;
  }

  .contact__privacy-box {
    max-height: 240px; /* SPは少し余裕 */
    padding: 14px;
  }

  .contact__agree {
    width: 100%;
    margin-top: 18px;
  }

  .contact__submit {
    width: 100%;
    margin-top: 26px;
  }

  .contact__submit-btn {
    width: 100%;
    padding: 12px 16px;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 480px) {
  .contact__section-heading {
    margin-bottom: 20px;
  }
  .contact__box {
    padding: 36px 14px;
  }

  .contact__privacy-box {
    max-height: 220px;
  }

  .contact__line img {
    width: min(250px, 100%);
  }
  .contact__check input {
    width: 18px;
    height: 18px;
  }
  .contact__privacy-text {
    margin-bottom: 20px;
  }
}

/* =========================
   フッター
========================= */
.site-footer {
  background: var(--yellow);
  padding: 32px 0 45px;
}

.site-footer__inner {
  max-width: 92%;
  display: flex;
  align-items: flex-start;
  justify-content: start;
}
.site-footer__left {
  width: 25%;
}
.site-footer__logo {
  margin-bottom: 8px;
}

.site-footer__logo img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.site-footer__address,
.site-footer__tel {
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.site-footer__address {
  font-size: var(--fz16);
}

.site-footer__tel {
  font-size: var(--fz16);
}

.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.site-footer__nav-link {
  display: inline-block;
  font-size: var(--fz16);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
}

.site-footer__nav-link:hover {
  opacity: 0.75;
}

.sp-fixed-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: none;
  z-index: 9999;
}

@media only screen and (max-width: 1599px) {
  .site-footer__left {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 28px 0 38px;
  }

  .site-footer__inner {
    max-width: 94%;
    gap: 24px;
  }

  .site-footer__left {
    width: 40%;
  }

  .site-footer__logo img {
    width: min(240px, 100%);
  }

  .site-footer__nav-list {
    gap: 16px 18px;
  }

  .site-footer__nav-link {
    letter-spacing: 0.04em;
  }
}

@media (max-width: 899px) {
  .site-footer {
    padding: 32px 0 32px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    max-width: 92%;
  }

  .site-footer__left {
    width: 100%;
  }

  .site-footer__logo img {
    width: min(260px, 100%);
  }

  .site-footer__address,
  .site-footer__tel {
    font-size: 14px;
    line-height: 1.7;
  }

  .site-footer__nav-list {
    width: 100%;
    gap: 10px 16px;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 32px 0 100px;
  }
  .sp-fixed-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 90px;
    background: var(--yellow);
  }

  .sp-fixed-cta__tel {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 10px;
    white-space: nowrap;
  }

  .sp-fixed-cta__tel-icon img {
    width: 53px;
    height: auto;
  }

  .sp-fixed-cta__tel-num {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #000;
  }

  .sp-fixed-cta__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7ac943;
    border: 8px solid var(--white);
    border-right: none;
    border-top-left-radius: 19px;
    border-bottom-left-radius: 19px;
  }
  .sp-fixed-cta__contact-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--white);
    line-height: 1.3;
  }
}
@media only screen and (max-width: 499px) {
  .sp-fixed-cta {
    height: 70px;
  }
  .sp-fixed-cta__tel-icon img {
    width: 45px;
  }
  .sp-fixed-cta__tel-num {
    font-size: 24px;
    line-height: 1;
  }
  .sp-fixed-cta__contact {
    border: 6px solid var(--white);
    border-right: none;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
  }
  .sp-fixed-cta__contact-text {
    font-size: 15px;
    line-height: 1.2;
  }
}
@media only screen and (max-width: 399px) {
  .sp-fixed-cta {
    height: 64px;
  }
  .sp-fixed-cta__tel-icon img {
    width: 40px;
  }
  .sp-fixed-cta__tel-num {
    font-size: 20px;
  }
  .sp-fixed-cta__contact {
    border: 5px solid var(--white);
    border-right: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }
  .sp-fixed-cta__contact-text {
    font-size: 13px;
  }
}
