/* =========================================================
   GeneratePress：コメントエリア
========================================================= */

.comments-area {
  max-width: 840px;
  margin-inline: auto;
  padding-inline: 20px;
  padding-bottom: 100px;
}


/* =========================================================
   オンライン見積もり：導入部分
========================================================= */

.hs-estimate-intro {
  max-width: 980px;
  margin: 0 auto 36px;
  padding: 40px 20px 10px;
}

.hs-section-label {
  margin-bottom: 8px;
  color: #b10000;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hs-estimate-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.hs-estimate-intro p {
  line-height: 1.9;
}


/* =========================================================
   オンライン見積もり：フォーム全体
========================================================= */

.hs-estimate-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 60px;
  padding: 24px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
}

.hs-estimate-form,
.hs-estimate-result {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
}

.hs-estimate-form label,
.hs-extra-options label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
}

.hs-estimate-form select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  font-size: 1rem;
}


/* =========================================================
   オンライン見積もり：追加オプション
========================================================= */

.hs-extra-options {
  margin: 8px 0 20px;
  padding: 16px 18px;
  border: 1px solid #dddddd;
  border-radius: 12px;
}

.hs-extra-options legend {
  padding: 0 8px;
  font-weight: 700;
}

.hs-extra-options label {
  margin-bottom: 10px;
  font-weight: 500;
}

.hs-extra-options input {
  margin-right: 8px;
}


/* =========================================================
   オンライン見積もり：ボタン
========================================================= */

#hs-calc-button,
.hs-line-button,
.hs-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

#hs-calc-button {
  background: #b10000;
  color: #ffffff;
}

.hs-line-button {
  margin-top: 12px;
  background: #06c755;
  color: #ffffff;
}

.hs-copy-button {
  margin-top: 12px;
  background: #222222;
  color: #ffffff;
}


/* =========================================================
   オンライン見積もり：計算結果
========================================================= */

.hs-result-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.hs-price {
  margin: 12px 0;
  color: #b10000;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}

.hs-result-list {
  padding-left: 1.2em;
  line-height: 1.8;
}

.hs-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff7f7;
  border-left: 4px solid #b10000;
  font-size: 0.92rem;
  line-height: 1.8;
}

.hs-copy-text {
  width: 100%;
  min-height: 150px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
}


/* =========================================================
   オンライン見積もり：スマートフォン
========================================================= */

@media (max-width: 768px) {
  .hs-estimate-box {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .hs-estimate-form,
  .hs-estimate-result {
    padding: 18px;
  }
}
/* ========================================
   HOME BLOG
======================================== */

.hs-home-blog {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

/* 記事グリッド */
.hs-home-blog .gb-looper-e9341686 {
  gap: 24px !important;
  align-items: stretch;
}

/* 記事カード */
.hs-home-blog .gb-loop-item-0beb112b {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;

  background: #fff !important;
  border: 1px solid #e1e5e9;
  border-top: 4px solid #e3263f;

  box-shadow: 0 10px 28px rgba(20, 30, 40, .07);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.hs-home-blog .gb-loop-item-0beb112b:hover {
  transform: translateY(-4px);
  border-color: #d8dde2;
  border-top-color: #bd1e34;
  box-shadow: 0 18px 40px rgba(20, 30, 40, .12);
}

/* アイキャッチ */
.hs-home-blog .gb-media-c7e9b9c8 {
  display: block;
  width: 100%;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;

  margin: 0 0 22px !important;

  transition: transform .35s ease;
}

.hs-home-blog .gb-loop-item-0beb112b:hover .gb-media-c7e9b9c8 {
  transform: scale(1.025);
}

/* カード本文左右余白 */
.hs-home-blog .gb-text-53e95a5f,
.hs-home-blog .gb-text-c47555d9,
.hs-home-blog .gb-loop-item-0beb112b > .gb-text:not(.gb-text-53e95a5f):not(.gb-text-c47555d9) {
  margin-left: 24px;
  margin-right: 24px;
}

/* 記事タイトル */
.hs-home-blog .gb-text-53e95a5f {
  margin-top: 0;
  margin-bottom: 8px !important;

  font-size: clamp(1.16rem, 1.55vw, 1.38rem) !important;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.hs-home-blog .gb-text-53e95a5f a {
  color: #1f2933;
  text-decoration: none;
}

.hs-home-blog .gb-text-53e95a5f a:hover {
  color: #e3263f;
}

/* 投稿日 */
.hs-home-blog .gb-text-c47555d9 {
  margin-bottom: 12px !important;

  color: #e3263f;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .04em;
}

/* 抜粋 */
.hs-home-blog .gb-loop-item-0beb112b > .gb-text:not(.gb-text-53e95a5f):not(.gb-text-c47555d9) {
  flex: 1;

  margin-top: 0;
  margin-bottom: 26px;

  color: #66727c;
  font-size: .94rem;
  line-height: 1.8;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ブログ一覧ボタン */
.hs-home-blog .gb-query-loop-pagination {
  margin-top: 32px !important;
}

.hs-home-blog .gb-query-loop-pagination p {
  margin: 0;
}

.hs-home-blog .gb-query-loop-pagination a {
  display: inline-flex;
  min-height: 52px;

  align-items: center;
  justify-content: center;

  padding: 13px 26px;

  border: 2px solid #1f2933;
  border-radius: 3px;

  background: transparent;
  color: #1f2933;

  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;

  transition:
    transform .2s ease,
    background-color .2s ease,
    color .2s ease;
}

.hs-home-blog .gb-query-loop-pagination a::after {
  content: " →";
  margin-left: 5px;
}

.hs-home-blog .gb-query-loop-pagination a:hover {
  transform: translateY(-2px);
  background: #1f2933;
  color: #fff;
}

/* タブレット */
@media (max-width: 1024px) {
  .hs-home-blog .gb-looper-e9341686 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .hs-home-blog {
    width: min(100% - 32px, 1120px);
    padding: 64px 0;
  }

  .hs-home-blog .gb-looper-e9341686 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hs-home-blog .gb-text-53e95a5f,
  .hs-home-blog .gb-text-c47555d9,
  .hs-home-blog .gb-loop-item-0beb112b > .gb-text:not(.gb-text-53e95a5f):not(.gb-text-c47555d9) {
    margin-left: 20px;
    margin-right: 20px;
  }

  .hs-home-blog .gb-media-c7e9b9c8 {
    margin-bottom: 20px !important;
  }

  .hs-home-blog .gb-text-53e95a5f {
    font-size: 1.18rem !important;
  }

  .hs-home-blog .gb-query-loop-pagination a {
    width: 100%;
  }
}
.hs-home__hero-sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.hs-home__hero-sns span {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .12em;
}

.hs-home__hero-sns a {
  position: relative;
  color: #fff;
  text-decoration: none;
}

.hs-home__hero-sns a::after {
  content: "↗";
  margin-left: 6px;
  color: #ff405b;
  font-size: .75rem;
}

.hs-home__hero-sns a:hover {
  color: #ff405b;
}

@media (max-width: 767px) {
  .hs-home__hero-sns {
    gap: 12px 18px;
    margin-top: 18px;
  }
}