@charset "UTF-8";

/* =========================================
   変数
========================================= */
:root {
  --color-primary: #2ca861;
  --color-accent: #ec6206;
  --color-mail: #e48011;
  --color-tel: #ea430d;
  --color-white: #fff;
  --color-black: #222;
  --color-border: #ddd;
  --color-bg-gray: #eee;
  --color-bg-cream: #fff6e8;
  --color-bg-cream2: #fcf7ef;
  --color-bg-pale: #fdf0da;
  --color-bg-beige: #e5dcd3;
  --color-badge: #fff252;
  --color-divider: #ccc;
  --color-text: #333;
}

/* =========================================
   ベース
========================================= */
body {
  color: var(--color-text);
  font-family: "Noto Sans JP", sans-serif;
}

/* =========================================
   共通ユーティリティ
========================================= */
@media screen and (min-width: 769px) {
  .sp-only {
    display: none;
  }
}

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

.inner {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) {
  .inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
  }
}

/* =========================================
   header
========================================= */
.l-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.l-header__logo {
  display: block;
  width: 140px;
}

.l-header__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 44px;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
  border-radius: 10px;
  box-shadow: 3px 3px 3.5px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s;
}

.l-header__cta:hover {
  opacity: 0.8;
}

.l-header__cta-text {
  color: var(--color-white);
  font-size: clamp(10.67px, 4.1vw, 16px);
  font-weight: 700;
  line-height: 1;
}

/* 矢印アイコン（装飾のため疑似要素で表示） */
.l-header__cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 13px;
  height: 13px;
  background: url("../images/icon_arrow_btn.svg") no-repeat center/contain;
  transform: translateY(-50%);
}

@media screen and (min-width: 769px) {
  .l-header {
    height: 80px;
    padding: 0 20px;
  }

  .l-header__logo {
    width: 169px;
  }

  .l-header__cta {
    width: 280px;
    height: 56px;
  }

  .l-header__cta-text {
    font-size: 22px;
  }

  .l-header__cta::after {
    right: 22px;
    width: 22px;
    height: 22px;
  }
}

/* =========================================
   fv（ファーストビュー）
========================================= */
.p-hm-hero {
  padding: 20px 24px 40px;
  background: url("../images/bg_fv_sp.png") center top/cover no-repeat;
}

.p-hm-hero__main {
  display: block;
  width: 100%;
  max-width: 1056px;
  margin: 0 auto;
}

.p-hm-hero__cta {
  max-width: 1024px;
  margin: 14px auto 0;
}

.p-hm-hero__cta-txt {
  margin-bottom: 10px;
  color: var(--color-white);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
  text-align: center;
}

.p-hm-hero__cta-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.p-hm-hero__cta-list__item {
  width: 100%;
}

.p-hm-hero__cta-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  padding-bottom: 4px;
  border: 4px solid var(--color-white);
  border-radius: 10px;
  box-shadow: 3px 3px 3.5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: opacity 0.3s;
}

.p-hm-hero__cta-btn:hover {
  opacity: 0.8;
}

.p-hm-hero__cta-btn--mail {
  background: var(--color-mail);
}

.p-hm-hero__cta-btn--line {
  /* スマホ画像（装飾）を背景に重ねる。文字は常に背景より前面 */
  background: url("../images/bg_btn_phone.png") no-repeat left bottom/82px auto, var(--color-primary);
}

.p-hm-hero__cta-btn--tel {
  background: var(--color-tel);
}

/* ボタン内：注釈ピル */
.p-hm-hero__cta-note {
  padding: 2px 10px;
  background: var(--color-white);
  border-radius: 20px;
  font-size: clamp(10px, 3.33vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.p-hm-hero__cta-btn--mail .p-hm-hero__cta-note {
  color: var(--color-mail);
}

.p-hm-hero__cta-btn--line .p-hm-hero__cta-note {
  color: var(--color-primary);
}

.p-hm-hero__cta-btn--tel .p-hm-hero__cta-note {
  color: var(--color-tel);
}

/* ボタン内：メインラベル */
.p-hm-hero__cta-label {
  color: var(--color-white);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* ボタン内：矢印（装飾のため疑似要素で表示） */
.p-hm-hero__cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  background: url("../images/icon_arrow_btn.svg") no-repeat center/contain;
  transform: translateY(-50%);
}

/* 電話ボタン */
.p-hm-hero__cta-tel {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 電話アイコン（装飾のため疑似要素で表示） */
.p-hm-hero__cta-tel::before {
  content: "";
  flex: none;
  width: 24px;
  height: 18px;
  background: url("../images/icon_tel_white.svg") no-repeat center/contain;
}

.p-hm-hero__cta-tel-num {
  color: var(--color-white);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.p-hm-hero__cta-hour {
  color: var(--color-white);
  font-size: clamp(10px, 3.08vw, 12px);
  line-height: 1.4;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .p-hm-hero {
    padding: 50px 40px 60px;
    background-image: url("../images/bg_fv_pc.png");
  }

  .p-hm-hero__main {
    transform: translateX(18px);
  }

  .p-hm-hero__cta {
    margin-top: 34px;
  }

  .p-hm-hero__cta-list {
    flex-direction: row;
    justify-content: center;
    gap: 11px;
    flex-wrap: wrap;
  }

  .p-hm-hero__cta-list__item {
    flex: none;
    width: 334px;
    max-width: none;
  }

  .p-hm-hero__cta-btn {
    height: 92px;
  }

  .p-hm-hero__cta-btn--line {
    background: url("../images/bg_btn_phone.png") no-repeat left bottom/75px auto, var(--color-primary);
  }
}

/* =========================================
   section：p-hm-makers（対応実績ハウスメーカー）
========================================= */
.p-hm-makers {
  padding: 20px 0 46px;
}

.p-hm-makers__heading {
  margin-bottom: 16px;
  color: var(--color-accent);
  font-size: clamp(16px, 6.15vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-hm-makers__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-hm-makers__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-hm-makers__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 4px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  color: var(--color-black);
  font-size: clamp(10.67px, 4.1vw, 16px);
  text-align: center;
}

.p-hm-makers__note {
  color: var(--color-text);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .p-hm-makers {
    padding: 60px 0;
  }

  .p-hm-makers__heading {
    margin-bottom: 32px;
    font-size: 36px;
  }

  .p-hm-makers__list {
    gap: 28px;
  }

  .p-hm-makers__row {
    flex-direction: row;
    gap: 10px;
  }

  .p-hm-makers__item {
    flex: 1;
    height: 64px;
    font-size: 18px;
  }
}

/* =========================================
   section：p-hm-cases（よくあるケース）
========================================= */
.p-hm-cases {
  position: relative;
  /* 上部に飛び出す見出し画像分の余白を確保 */
  margin-top: clamp(120px, 59.4vw, 232px);
  padding: clamp(10px, 8.2vw, 32px) 0 54px;
  background: var(--color-bg-gray);
}

/* セクション上部から飛び出す見出し画像 */
.p-hm-cases__head {
  position: absolute;
  top: -232px;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 24px;
}

.p-hm-cases__heading {
  margin-bottom: 14px;
  color: var(--color-black);
  font-size: clamp(13.33px, 5.13vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-hm-cases__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p-hm-cases__item {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 100px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 3.5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.p-hm-cases__item-photo {
  flex: none;
  width: 80px;
  height: 100%;
}

.p-hm-cases__item-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-hm-cases__item-body {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
}

.p-hm-cases__item-txt {
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  font-weight: 700;
  line-height: 1.8;
}

.p-hm-cases__item-em {
  color: var(--color-accent);
  font-size: clamp(12px, 4.62vw, 18px);
}

.p-hm-cases__lead {
  margin-top: 14px;
  color: var(--color-black);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.p-hm-cases__lead-em {
  color: var(--color-accent);
}

@media screen and (min-width: 769px) {
  .p-hm-cases {
    margin-top: 235px;
    padding: 85px 0 60px;
  }

  .p-hm-cases__head {
    top: -230px;
    padding: 0;
    max-width: 1024px;
  }

  .p-hm-cases__heading {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .p-hm-cases__item {
    width: calc((100% - 12px) / 2);
    height: 129px;
  }

  .p-hm-cases__item-photo {
    width: 157px;
  }

  .p-hm-cases__item-body {
    padding: 0 24px 0 35px;
  }

  .p-hm-cases__lead {
    margin-top: 36px;
    font-size: 22px;
  }
}

/* small size */
@media screen and (max-width: 340px) {
  .p-hm-cases__head {
    top: -200px;
  }
}

/* =========================================
   section：p-hm-about（選ばれる理由・実績）
========================================= */
.p-hm-about {
  padding: 28px 0 50px;
  background: var(--color-bg-cream);
}

/* --- head（見出し＋実績） --- */
.p-hm-about__head {
  position: relative;
}

.p-hm-about__heading {
  padding-bottom: 19px;
  color: var(--color-black);
  font-size: clamp(16px, 6.15vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  position: relative;
  z-index: 2;
}

.p-hm-about__heading-em {
  color: var(--color-accent);
}

.p-hm-about__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: url("../images/img_about_human_sp.png") bottom center/contain no-repeat;
  z-index: -1;
}

.p-hm-about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-hm-about__stat {
  width: calc((100% - 8px) / 2);
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.15);
  background: var(--color-white);
  overflow: hidden;

}

.p-hm-about__stat-label {
  padding: 6px 8px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: clamp(10.67px, 4.1vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.p-hm-about__stat-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 69px;
  padding: 8px;
  background: var(--color-white);
}

.p-hm-about__stat-num {
  color: var(--color-accent);
  font-family: "Jost", sans-serif;
  font-size: clamp(21.33px, 8.21vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
}

.p-hm-about__stat-unit {
  color: var(--color-black);
  font-size: clamp(12px, 4.6vw, 18px);
  font-weight: 700;
}

/* --- body（リード＋3つの理由） --- */
.p-hm-about__body {
  margin-top: 16px;
}

.p-hm-about__lead {
  margin-bottom: 16px;
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
  text-align: center;
}

.p-hm-about__reasons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-hm-about__reason {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-hm-about__reason-img {
  width: 100%;
  aspect-ratio: 684/226;
  border-radius: 10px;
  overflow: hidden;
}

.p-hm-about__reason-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-hm-about__reason-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-hm-about__reason-heading {
  color: var(--color-accent);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-hm-about__reason-txt {
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
}

/* 区切り線（PCのみ表示） */
.p-hm-about__reason-sep {
  display: none;
}

@media screen and (min-width: 769px) {
  .p-hm-about {
    padding: 55px 0 80px;
  }

  .p-hm-about__heading {
    padding-bottom: 19px;
    font-size: 36px;
  }

  .p-hm-about__heading::after {
    bottom: 0;
    right: 54px;
    width: 176px;
    height: 176px;
    background: url("../images/img_about_human_pc.png") bottom center/contain no-repeat;
  }

  .p-hm-about__stats {
    flex-wrap: nowrap;
    gap: 11px;
  }

  .p-hm-about__stat {
    flex: 1;
    width: auto;
    border-width: 4px;
  }

  .p-hm-about__stat-label {
    padding: 10px;
    font-size: 22px;
  }

  .p-hm-about__stat-body {
    min-height: 102px;
  }

  .p-hm-about__stat-num {
    font-size: 50px;
  }

  .p-hm-about__stat-unit {
    font-size: 22px;
  }

  .p-hm-about__body {
    margin-top: 37px;
  }

  .p-hm-about__lead {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .p-hm-about__reasons {
    flex-direction: row;
    justify-content: space-between;
  }

  .p-hm-about__reason {
    width: 272px;
  }

  .p-hm-about__reason-img {
    aspect-ratio: 544/226;
  }

  .p-hm-about__reason-txt {
    text-align: left;
  }

  .p-hm-about__reason-sep {
    display: block;
    flex: none;
    width: 1px;
    background: var(--color-divider);
    align-self: stretch;
  }
}

/* =========================================
   section：p-hm-price（工事費用の比較）
========================================= */
.p-hm-price {
  padding: 40px 0;
}

.p-hm-price__head {
  margin-bottom: 20px;
  padding: 0 24px;
  text-align: center;
}

.p-hm-price__heading {
  color: var(--color-black);
  font-size: clamp(13.33px, 5.13vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.p-hm-price__lead {
  margin-top: 4px;
  color: var(--color-black);
  font-size: clamp(10px, 3.59vw, 14px);
}

/* グラフ：SPでは画像を縮めず親要素からはみ出させ、横スクロールで閲覧 */
.p-hm-price__chart {
  margin-left: 24px;
  overflow-x: auto;
}

.p-hm-price__chart-inner {
  width: 1020px;
}

.p-hm-price__chart-inner img {
  display: block;
  width: 100%;
}

.p-hm-price__note {
  margin-top: 8px;
  padding: 0 24px;
  color: var(--color-black);
  font-size: clamp(10px, 3.08vw, 12px);
  line-height: 1.5;
}

/* CTA（LINEで無料見積もり） */
.p-hm-price__cta {
  margin-top: 24px;
}

.p-hm-price__cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 334px;
  min-height: 88px;
  margin: 0 auto;
  /* 左：スマホ画像分の余白／右：矢印分の余白 */
  padding: 6px 36px 10px 80px;
  /* スマホ画像（装飾）を背景に重ねる。文字は常に背景より前面 */
  background: url("../images/bg_btn_phone.png") no-repeat 10px bottom/72px auto, var(--color-primary);
  border: 4px solid var(--color-white);
  border-radius: 10px;
  box-shadow: 3px 3px 3.5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: opacity 0.3s;
}

.p-hm-price__cta-btn:hover {
  opacity: 0.8;
}

/* テキストを2段（注釈ピル＋ラベル）に */
.p-hm-price__cta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.p-hm-price__cta-note {
  padding: 3px 10px;
  background: var(--color-white);
  border-radius: 20px;
  color: var(--color-primary);
  font-size: clamp(10px, 3.33vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.p-hm-price__cta-label {
  color: var(--color-white);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* 矢印（装飾のため疑似要素で表示） */
.p-hm-price__cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 22px;
  height: 22px;
  background: url("../images/icon_arrow_btn.svg") no-repeat center/contain;
  transform: translateY(-50%);
}

@media screen and (min-width: 769px) {
  .p-hm-price {
    padding: 40px 0 60px;
  }

  .p-hm-price__head {
    margin-bottom: 32px;
  }

  .p-hm-price__heading {
    font-size: 28px;
  }

  /* PCは収まるので横スクロール不要 */
  .p-hm-price__chart,
  .p-hm-price__note {
    max-width: 1024px;
    margin: 0 auto;
  }

  .p-hm-price__chart {

    overflow-x: visible;
  }

  .p-hm-price__chart-inner {
    width: 100%;
  }

  .p-hm-price__note {
    margin-top: 20px;
    padding: 0;
    text-align: right;
  }

  .p-hm-price__cta {
    margin-top: 32px;
  }

  .p-hm-price__cta-btn {
    max-width: 480px;
    min-height: 92px;
    padding: 6px 52px 10px 110px;
    background-size: 88px auto;
    background-position: 50px bottom;
  }
}

/* =========================================
   section：p-hm-voice（お客様の声）
========================================= */
.p-hm-voice {
  padding: 40px 0;
  background: var(--color-bg-cream2);
}

.p-hm-voice__heading {
  margin-bottom: 8px;
  color: var(--color-black);
  font-size: clamp(13.33px, 5.13vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-hm-voice__heading-em {
  color: var(--color-accent);
}

.p-hm-voice__lead {
  margin-bottom: 24px;
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
  text-align: center;
}

.p-hm-voice__review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-hm-voice__review-list__item {
  background: var(--color-white);
  border-radius: 10px;
  padding: 24px 20px 28px;
}

.p-hm-voice__review-list__item-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-hm-voice__review-list__item-body {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.p-hm-voice__review-list__item-txt {
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
}

.p-hm-voice__review-list__item-em {
  color: var(--color-accent);
}

.p-hm-voice__review-list__item-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.p-hm-voice__review-list__item-name {
  color: var(--color-black);
  font-size: clamp(10px, 3.59vw, 14px);
  text-align: center;
}

.p-hm-voice__review-list__item-stars {
  width: 89px;
}

@media screen and (min-width: 769px) {
  .p-hm-voice {
    padding: 60px 0;
  }

  .p-hm-voice__heading {
    font-size: 28px;
  }

  .p-hm-voice__lead {
    margin-bottom: 32px;
  }

  .p-hm-voice__review-list {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .p-hm-voice__review-list__item {
    flex: 1;
    max-width: 500px;
    padding: 24px 32px 28px 30px;
  }

  .p-hm-voice__review-list__item-footer {
    gap: 4px;
  }
}

/* =========================================
   section：p-hm-compare（比較表）
========================================= */
.p-hm-compare {
  padding: 40px 0;
  background: var(--color-bg-beige);
}

.p-hm-compare .inner {
  max-width: 1030px;
  padding: 0;
}

.p-hm-compare__head {
  margin-bottom: 20px;
  padding: 0 24px;
  text-align: center;
}

.p-hm-compare__heading {
  color: var(--color-black);
  font-size: clamp(13.33px, 5.13vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.p-hm-compare__heading-em {
  color: var(--color-accent);
}

.p-hm-compare__lead {
  margin-top: 4px;
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
}

/* SPは横スクロール（scroll-hint対応） */
.p-hm-compare__table-scroll {
  margin-left: 24px;
  overflow-x: auto;
}

.p-hm-compare__table {
  width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.p-hm-compare__col--label {
  width: 180px;
}

.p-hm-compare__col--maker {
  width: 208px;
}

.p-hm-compare__col--hiramatsu {
  width: 372px;
}

.p-hm-compare__table th,
.p-hm-compare__table td {
  height: 56px;
  padding: 6px 12px;
  text-align: center;
  vertical-align: middle;
}

/* ヘッダー（高さ統一） */
.p-hm-compare__th-empty {
  background: transparent;
  border: none;
}

.p-hm-compare__th-maker {
  background: var(--color-bg-gray);
  border-top: 1px solid var(--color-black);
  border-left: 1px solid var(--color-black);
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  font-weight: 400;
}

.p-hm-compare__th-hiramatsu {
  background: var(--color-mail);
  border: 5px solid var(--color-mail);
  border-bottom: none;
  color: var(--color-white);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
}

/* ラベル列（暗色） */
.p-hm-compare__label {
  background: var(--color-black);
  border-bottom: 1px solid var(--color-white);
  color: var(--color-white);
  font-size: clamp(10px, 3.85vw, 15px);
  font-weight: 400;
}

/* 大手ハウスメーカー列 */
.p-hm-compare__maker {
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-black);
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
}

.p-hm-compare__table tbody tr:last-child .p-hm-compare__maker {
  border-bottom: 1px solid var(--color-black);
}

/* 塗装屋ひらまつ列（オレンジ枠で強調） */
.p-hm-compare__hiramatsu {
  background: var(--color-white);
  border-right: 5px solid var(--color-mail);
  border-bottom: 1px solid var(--color-border);
  border-left: 5px solid var(--color-mail);
}

.p-hm-compare__table tbody tr:last-child .p-hm-compare__hiramatsu {
  border-bottom: 5px solid var(--color-mail);
}

.p-hm-compare__cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.p-hm-compare__val {
  color: var(--color-accent);
  font-size: clamp(12px, 4.62vw, 18px);
  font-weight: 700;
}

.p-hm-compare__badge {
  padding: 5px 14px;
  background: var(--color-badge);
  border-radius: 50px;
  color: var(--color-accent);
  font-size: clamp(10px, 3.59vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .p-hm-compare {
    padding: 45px 0 60px;
  }

  .p-hm-compare__heading {
    font-size: 28px;
  }

  /* PCは収まるのでスクロール不要 */
  .p-hm-compare__table-scroll {
    overflow-x: visible;
  }

  .p-hm-compare__table {
    width: 100%;
  }

  .p-hm-compare__table-scroll {
    margin-left: 0;
  }

  .p-hm-compare__col--label {
    width: 280px;
  }

  .p-hm-compare__col--maker {
    width: 372px;
  }
}

/* =========================================
   component：c-cta（LINE/電話/メールの3ボタン）
========================================= */
.c-cta-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.c-cta-list__item {
  width: 100%;
  max-width: 334px;
}

.c-cta-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  padding-bottom: 4px;
  border: 4px solid var(--color-white);
  border-radius: 10px;
  box-shadow: 3px 3px 3.5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: opacity 0.3s;
}

.c-cta-btn:hover {
  opacity: 0.8;
}

.c-cta-btn--mail {
  background: var(--color-mail);
}

.c-cta-btn--line {
  /* スマホ画像（装飾）を背景に重ねる。文字は常に背景より前面 */
  background: url("../images/bg_btn_phone.png") no-repeat left bottom/72px auto, var(--color-primary);
}

.c-cta-btn--tel {
  background: var(--color-tel);
}

.c-cta-btn__note {
  margin-bottom: 6px;
  padding: 2px 10px;
  background: var(--color-white);
  border-radius: 20px;
  font-size: clamp(10px, 3.33vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.c-cta-btn--mail .c-cta-btn__note {
  color: var(--color-mail);
}

.c-cta-btn--line .c-cta-btn__note {
  color: var(--color-primary);
}

.c-cta-btn--tel .c-cta-btn__note {
  color: var(--color-tel);
}

.c-cta-btn__label {
  color: var(--color-white);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* 矢印（装飾のため疑似要素で表示） */
.c-cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  background: url("../images/icon_arrow_btn.svg") no-repeat center/contain;
  transform: translateY(-50%);
}

.c-cta-btn__tel {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 電話アイコン（装飾のため疑似要素で表示） */
.c-cta-btn__tel::before {
  content: "";
  flex: none;
  width: 24px;
  height: 18px;
  background: url("../images/icon_tel_white.svg") no-repeat center/contain;
}

.c-cta-btn__tel-num {
  color: var(--color-white);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.c-cta-btn__hours {
  color: var(--color-white);
  font-size: clamp(10px, 3.08vw, 12px);
  line-height: 1.4;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .p-hm-cta {
    padding-top: 45px;
  }

  .c-cta-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
  }

  .c-cta-list__item {
    flex: none;
    width: 334px;
    max-width: none;
  }

  .c-cta-btn {
    height: 92px;
  }
}

/* =========================================
   section：p-hm-cta（最終CTA）
========================================= */
.p-hm-cta {
  padding: 40px 0;
  background: var(--color-bg-cream);
}

.p-hm-cta__head {
  margin-bottom: 24px;
  text-align: center;
}

.p-hm-cta__heading {
  color: var(--color-black);
  font-size: clamp(13.33px, 5.13vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.p-hm-cta__heading-em {
  color: var(--color-accent);
}

.p-hm-cta__lead {
  margin-top: 4px;
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
}

/* SP表示順：メール → 電話 → LINE（DOM順はLINE→電話→メール） */
.p-hm-cta__btn-list .c-cta-list__item:nth-child(1) {
  order: 3;
}

.p-hm-cta__btn-list .c-cta-list__item:nth-child(2) {
  order: 2;
}

.p-hm-cta__btn-list .c-cta-list__item:nth-child(3) {
  order: 1;
}

@media screen and (min-width: 769px) {
  .p-hm-cta {
    padding: 60px 0;
  }

  .p-hm-cta__heading {
    font-size: 28px;
  }

  /* PCはDOM順（LINE → 電話 → メール）で表示 */
  .p-hm-cta__btn-list .c-cta-list__item {
    order: 0;
  }
}

/* =========================================
   footer：l-footer
========================================= */
.l-footer {
  padding: 40px 0;
}

.l-footer__body {
  margin-bottom: 13px;
}

/* ロゴ＋タグライン */
.l-footer__logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.l-footer__logo-img {
  display: block;
  width: 189px;
}

.l-footer__tagline {
  color: var(--color-black);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
}

/* 会社情報・対応エリア */
.l-footer__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.l-footer__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-footer__info-address {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.l-footer__info-heading {
  color: var(--color-black);
  font-size: clamp(10.67px, 4.1vw, 16px);
  font-weight: 700;
}

.l-footer__info-address-txt {
  color: var(--color-black);
  font-size: clamp(10px, 3.85vw, 15px);
  line-height: 1.8;
}

.l-footer__info-tel-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

/* 電話アイコン（装飾のため疑似要素で表示） */
.l-footer__info-tel-wrap::before {
  content: "";
  flex: none;
  width: 24px;
  height: 18px;
  background: url("../images/icon_tel_orange.svg") no-repeat center/contain;
}

.l-footer__info-tel-num {
  color: var(--color-accent);
  font-size: clamp(14.67px, 5.64vw, 22px);
  font-weight: 700;
  line-height: 1;
}

.l-footer__info-tel-hours {
  color: var(--color-black);
  font-size: clamp(10px, 3.59vw, 14px);
}

.l-footer__area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-pale);
  border-radius: 10px;
}

.l-footer__area-text {
  display: flex;
  flex-direction: column;
}

.l-footer__area-heading {
  color: var(--color-black);
  font-size: clamp(10.67px, 4.1vw, 16px);
  font-weight: 700;
}

.l-footer__area-body {
  color: var(--color-black);
  font-size: clamp(10.67px, 4.1vw, 16px);
  line-height: 1.8;
}

.l-footer__area-map {
  width: 204px;
  max-width: 100%;
}

/* コピーライト・ナビ */
.l-footer__bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.l-footer__copyright {
  color: var(--color-black);
  font-size: clamp(10px, 3.08vw, 12px);
}

@media screen and (min-width: 769px) {
  .l-footer {
    padding: 42px 0 60px;
  }

  .l-footer__body {
    margin-bottom: 44px;
  }

  .l-footer__logo-area {
    flex-direction: row;
    align-items: center;
    gap: 23px;
    margin-bottom: 40px;
  }

  .l-footer__logo-wrap {
    padding-right: 32px;
    border-right: 1px solid var(--color-mail);
  }

  .l-footer__info {
    gap: 18px;
  }

  .l-footer__info-address {
    gap: 8px;
  }

  .l-footer__tagline {
    font-size: 22px;
  }

  .l-footer__content {
    flex-direction: row;
    justify-content: space-between;
  }

  .l-footer__area {
    padding-left: 30px;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .l-footer__area-text {
    width: 310px;
  }

  .l-footer__area-map {
    margin: 0;
  }

  .l-footer__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
  }

}