/* =========================================================
   top2026.css 目次
   01. 基本設定（リセット・共通）
   02. ヘッダー
   03. ファーストビュー
   04. 簡易フォーム
   05. 実績数値
   06. 共通セクション・見出し
   07. よくあるお悩み
   08. リスク・選ばれる理由
   09. サポート内容
   10. 解決事例
   11. ご相談の流れ
   12. よくある質問
   13. 最終CTA・スマホ固定ボタン
   14. スマホ（720px以下）基本部分の一括調整
   15. タブレット（721〜1000px）
   16. 動きを減らす設定
   17. Flat visual refinement
   18. DIRECT PURCHASE BENEFITS
   19. BEFORE IT GETS HARDER
   20. 士業連携セクション：底地LPと同じワンストップ構成
   21. SP typography scale
   22. 実績カード内の数値・単位を一行で保持
   23. Hero counters / consultation feed / quick-check modal
   24. TOP 解決事例（各LPのストーリー付き事例を集約）
   25. LP共通レイアウトに合わせたヘッダー・フッター
   26. ブラウザコメント対応
   27. ヒーロー直下：LP共通の大型依頼件数カウンター
   28. ヒーロー：メッセージ・実益・CTAの強調
   29. ヒーロー：最終調整
   30. 解決事例の直後：ワケウリが選ばれる理由（写真全面の3列×2段パネル）
   31. COMMON CONCERNS：スマホも底地LPと同じ2列×2段
   32. お悩みカード：カード全体をクリック可能に
   33. 2026-09-16：底地LPの共通パーツをTOP用に再構成
   34. 2026-09-16：底地LPとの共通見出し・相談フォーム調整
   35. 2026-09-16：解決事例を底地LPのカード仕様へ統一
   ---------------------------------------------------------
   色の早見表
   青 #0872bb / 濃い青 #07528a / 薄い青 #eaf6ff / 赤 #e03a3a
   本文 #172535 / 補足文字 #5c6976 / 線 #c9dceb
   ========================================================= */

/* =========================================================
   基本設定（リセット・共通）
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #172535;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  background: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.sp-only {
  display: none;
}


/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  align-items: center;
  justify-content: space-between;
  border-top: 6px solid #0872bb;
  position: relative;
  z-index: 30;
}

.brand img {
  width: 158px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone small {
  background: #0872bb;
  color: #fff;
  padding: 3px 8px;
  font-weight: 800;
}

.header-check {
  background: #e03a3a;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 900;
}


/* =========================================================
   ファーストビュー
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #e5f6ff 0%, #fff 52%, #dff2ff 100%);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(8, 114, 187, .06);
  border-radius: 50%;
  right: -170px;
  top: -210px;
}

.hero-inner {
  width: min(1180px, 92%);
  min-height: 570px;
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 62%;
  position: relative;
  z-index: 3;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  background: #0872bb;
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
}

.hero h1 {
  letter-spacing: .02em;
  margin: 0;
}

.hero h1 span {
  color: #e03a3a;
  background: linear-gradient(transparent 68%, #fff09a 68%);
}

.hero-lead {
  max-width: 660px;
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0;
}

.hero-assurance {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-assurance li {
  border: 2px solid #e03a3a;
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 900;
}

.hero-assurance li:before {
  content: "✓";
  color: #e03a3a;
  margin-right: 6px;
}

.hero-model {
  position: absolute;
  height: 560px;
  width: auto;
  bottom: 0;
  z-index: 2;
}

.hero-emblem {
  position: absolute;
  width: 255px;
  right: 15px;
  top: 20px;
  z-index: 1;
}


/* =========================================================
   簡易フォーム
   ========================================================= */
.quick-check {
  width: min(920px, 92%);
  margin: -48px auto 0;
  background: #fff;
  position: relative;
  z-index: 6;
  padding: 30px;
  border: 3px solid #0872bb;
  border-radius: 16px;
}

.quick-heading {
  text-align: center;
}

.quick-heading > span {
  display: inline-block;
  color: #e03a3a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.quick-heading h2 {
  font-size: 30px;
  line-height: 1.4;
  margin: 4px 0;
}

.quick-heading p {
  color: #5c6976;
  margin: 0 0 20px;
}

.issue-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.issue-picker label {
  background: #f7fbfe;
  border: 2px solid #c9dceb;
  border-radius: 10px;
  padding: 14px 8px;
  cursor: pointer;
  color: #172535;
  text-align: center;
  transition: .2s;
}

.issue-picker label:hover,
.issue-picker label.active {
  border-color: #e03a3a;
}

.issue-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.issue-picker strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
}

.issue-picker small {
  display: inline-block;
  margin-top: 6px;
  color: #0872bb;
  font-weight: 900;
}

.issue-picker .issue-other {
  grid-column: 1/-1;
  padding: 10px;
}

.issue-other strong,
.issue-other small {
  display: inline;
  margin: 0 5px;
}

.location-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 14px;
}

.location-fields label span {
  display: block;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 5px;
}

.location-fields select,
.location-fields input {
  width: 100%;
  height: 50px;
  border: 1px solid #aac4d8;
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
}

.submit-check {
  display: block;
  width: min(470px, 100%);
  margin: auto;
  border: 0;
  border-radius: 9px;
  background: #e03a3a;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  padding: 15px;
  cursor: pointer;
}

.submit-check span,
.section-cta span,
.concern-grid a span {
  margin-left: 8px;
}

.form-note {
  text-align: center;
  color: #5c6976;
  font-size: 12px;
  margin: 12px 0 0;
}

.form-error {
  color: #c43b18 !important;
  font-weight: 800;
}


/* =========================================================
   実績数値
   ========================================================= */
.proof {
  width: min(980px, 92%);
  margin: -48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 7;
}

.proof-card {
  text-align: center;
  padding: 22px 10px 20px;
  background: #fff;
  border: 1px solid #d8d5cf;
  border-top: 7px solid #746e63;
  border-radius: 7px;
}

.proof small {
  display: block;
  min-height: 1.5em;
  font-weight: 900;
}

.proof-icon {
  width: 72px;
  height: 72px;
  margin: 12px auto 8px;
  fill: none;
  stroke: #746e63;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof strong {
  display: block;
  color: #e03a3a;
  font-size: 42px;
  line-height: 1.15;
}

.proof strong em {
  font-style: normal;
  font-size: 15px;
  margin-left: 5px;
  color: #172535;
}

.proof-speed em:first-child {
  font-size: 20px;
  margin: 0 4px 0 0;
}


/* =========================================================
   共通セクション・見出し
   ========================================================= */
.section {
  width: min(1120px, 90%);
  margin: auto;
  padding: 92px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading > span {
  color: #0872bb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  margin: 5px 0 12px;
}

.section-heading h2 em {
  font-style: normal;
  color: #0872bb;
  background: linear-gradient(transparent 70%, #bfe6ff 70%);
}

.section-heading p {
  margin: 0;
  color: #5c6976;
}


/* =========================================================
   よくあるお悩み
   ========================================================= */
.concerns-heading {
  max-width: 980px;
  margin-left: 0;
  text-align: left;
}

.concerns-heading p {
  max-width: 920px;
  font-size: 17px;
  line-height: 1.85;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.concern-card {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 3px solid #0872bb;
  border-radius: 18px;
}

.concern-illustration {
  width: 100%;
  height: 190px;
  margin: 0 0 18px;
  padding: 8px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(145deg, #eef7ff, #fff8ed);
}

.concern-grid b {
  padding: 4px 12px;
  border-radius: 999px;
  background: #0872bb;
  color: #fff;
}

.concern-grid h3 {
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.35;
}


.concern-grid h3 br{
 display:none;
}


.concern-grid p {
  margin: 0 0 18px;
  color: #5c6976;
  font-size: 16px;
  line-height: 1.75;
  flex: 1;
}

.concern-grid a {
  padding-top: 13px;
  border-top: 1px solid #c9dceb;
  color: #0872bb;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}


/* =========================================================
   リスク・選ばれる理由
   ========================================================= */
.risk-section {
  background: #0872bb;
}

.section-heading.light > span,
.section-heading.light h2,
.section-heading.light h2 em {
  color: #fff;
}

.section-heading.light h2 em {
  background: linear-gradient(transparent 70%, rgba(255, 208, 82, .45) 70%);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.risk-grid > div {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
}

.risk-grid i {
  font-style: normal;
  font-size: 12px;
  color: #e03a3a;
  font-weight: 900;
}

.risk-grid strong {
  display: block;
  font-size: 18px;
  margin: 5px 0;
}

.risk-grid p {
  font-size: 14px;
  margin: 0;
  color: #5c6976;
}

.risk-note {
  width: min(700px, 100%);
  margin: 28px auto 0;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
}

.risk-note strong {
  color: #e03a3a;
  font-size: 20px;
}

.risk-note p {
  margin: 4px 0 0;
  font-size: 14px;
}


/* =========================================================
   サポート内容
   ========================================================= */
.support-lead {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 35px;
  background: #eaf6ff;
  border-radius: 16px;
  padding: 28px 35px;
  margin-bottom: 25px;
}

.support-mark {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-mark img {
  width: 155px;
}

.support-mark span {
  color: #0872bb;
  font-weight: 900;
  line-height: 1.3;
}

.support-lead p {
  font-weight: 700;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.reason-grid article {
  padding: 24px;
  background: #fff;
  border: 2px solid #c9dceb;
  border-radius: 12px;
}

.reason-grid article > span {
  color: #e03a3a;
  font-weight: 900;
  font-size: 13px;
}

.reason-grid h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 8px 0;
}

.reason-grid p {
  font-size: 14px;
  color: #5c6976;
  margin: 0;
}

.section-cta {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 14px 30px;
  background: #e03a3a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}


/* =========================================================
   解決事例
   ========================================================= */
.cases-section {
  background: #f0f7fc;
}

.case-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.case-filters button {
  border: 1px solid #0872bb;
  background: #fff;
  color: #0872bb;
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 800;
  cursor: pointer;
}

.case-filters button.active {
  background: #0872bb;
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.case-grid article {
  display: grid;
  grid-template-columns: 42% 58%;
  background: #fff;
  border: 2px solid #c9dceb;
  border-radius: 13px;
  overflow: hidden;
}

.case-grid article.hidden {
  display: none;
}

.case-photo {
  position: relative;
  min-height: 245px;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-photo small {
  position: absolute;
  left: 6px;
  bottom: 5px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  padding: 2px 5px;
  font-size: 10px;
}

.case-grid article > div:last-child {
  padding: 20px;
}

.case-grid b {
  color: #0872bb;
  font-size: 13px;
}

.case-grid h3 {
  font-size: 20px;
  line-height: 1.45;
  margin: 6px 0;
}

.case-grid p {
  font-size: 13px;
  color: #5c6976;
}

.case-grid a {
  color: #e03a3a;
  font-weight: 900;
  text-decoration: none;
  font-size: 14px;
}


/* =========================================================
   ご相談の流れ
   ========================================================= */
.process ol {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process li {
  border: 2px solid #c9dceb;
  border-radius: 12px;
  padding: 22px;
}

.process li > span {
  display: block;
  color: #0872bb;
  font-weight: 900;
  font-size: 26px;
}

.process h3 {
  font-size: 20px;
  margin: 4px 0;
}

.process p {
  font-size: 14px;
  margin: 0;
  color: #5c6976;
}


/* =========================================================
   よくある質問
   ========================================================= */
.faq-list details {
  background: #fff;
  border: 1px solid #c9dceb;
  border-radius: 10px;
  margin: 10px 0;
  padding: 0 20px;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
  padding: 19px 35px 19px 34px;
  position: relative;
  list-style: none;
}

.faq-list summary:before {
  content: "Q";
  position: absolute;
  left: 0;
  color: #0872bb;
  font-size: 20px;
}

.faq-list summary:after {
  content: "＋";
  position: absolute;
  right: 0;
  color: #e03a3a;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px 34px;
  color: #5c6976;
}


/* =========================================================
   最終CTA・スマホ固定ボタン
   ========================================================= */
.final-cta {
  background: #0872bb;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.final-cta small {
  font-weight: 800;
}

.final-cta h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.35;
  margin: 10px 0 24px;
}

.final-cta > div > a {
  display: inline-block;
  background: #e03a3a;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.final-cta p {
  font-size: 13px;
}

.final-cta p a {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 40px 20px 95px;
}

footer > a img {
  width: 160px;
  margin: auto;
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 22px 0;
}

footer nav a {
  font-size: 13px;
}

footer > small {
  color: #5c6976;
}

.mobile-fixed {
  display: none;
}


/* =========================================================
   スマホ（720px以下）基本部分の一括調整
   ========================================================= */

@media (max-width: 720px) {
  body {
    padding-bottom: 70px;
  }

  .sp-only {
    display: block;
  }

  .site-header {
    height: 58px;
    padding: 7px 4%;
    border-top-width: 4px;
  }

  .brand img {
    width: 28vw;
    max-width: 125px;
  }

  .header-phone {
    display: none;
  }

  .header-check {
    padding: 8px 14px;
    font-size: 13px;
    box-shadow: none;
  }

  .hero-inner {
    width: 90%;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    z-index: 4;
  }

  .hero-kicker {
    padding: 5px 8px;
    margin-bottom: 10px;
  }

  .hero h1 span {
    display: inline;
  }

  .hero-lead {
    margin: 15px 0 13px;
  }

  .hero-assurance {
    flex-wrap: wrap;
  }

  .hero-assurance li {
    border-width: 1px;
  }

  .hero-model {
    bottom: 0;
    z-index: 2;
  }

  .hero-emblem {
    width: 32vw;
    right: 0;
    top: 8px;
    z-index: 3;
  }

  .quick-check {
    width: 92%;
    margin: -15px auto 0;
    padding: 20px 13px;
    border-width: 2px;
    border-radius: 12px;
  }

  .quick-heading h2 {
    margin: 3px 0;
  }

  .quick-heading p {
    margin-bottom: 14px;
  }

  .issue-picker {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .issue-picker label {
    padding: 9px 4px;
    border-radius: 8px;
  }

  .issue-picker small {
    margin-top: 3px;
  }

  .location-fields {
    gap: 7px;
    margin: 13px 0 11px;
  }

  .location-fields select,
  .location-fields input {
    height: 43px;
    padding: 0 8px;
  }

  .submit-check {
    padding: 12px;
  }

  .proof > div {
    padding: 14px 3px;
  }

  .section {
    width: 90%;
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    margin: 4px 0 8px;
  }

  .concern-grid article {
    padding: 14px 10px;
    border-width: 2px;
    border-radius: 10px;
  }

  .concern-grid ul {
    padding-left: 16px;
    margin-bottom: 10px;
  }

  .risk-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .risk-grid > div {
    padding: 14px 11px;
  }

  .risk-note {
    padding: 15px;
  }

  .support-lead {
    grid-template-columns: 1fr;
    padding: 17px;
    gap: 9px;
  }

  .support-mark {
    justify-content: center;
  }

  .support-mark img {
    width: 34vw;
  }

  .support-lead p {
    margin: 0;
  }

  .reason-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .reason-grid article {
    padding: 14px 10px;
  }

  .reason-grid h3 {
    margin: 5px 0;
  }

  .section-cta {
    padding: 11px 20px;
    margin-top: 22px;
  }

  .case-filters {
    gap: 5px;
    margin-bottom: 15px;
  }

  .case-filters button {
    padding: 5px 11px;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .case-grid article {
    display: block;
    border-width: 1px;
  }

  .case-photo {
    height: 31vw;
    min-height: 0;
  }

  .case-grid article > div:last-child {
    padding: 11px 9px;
  }

  .case-grid h3 {
    margin: 4px 0;
  }

  .process ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process li {
    display: grid;
    grid-template-columns: 16% 84%;
    padding: 12px 14px;
  }

  .faq-list details {
    padding: 0 12px;
  }

  .faq-list summary {
    padding: 15px 27px 15px 25px;
  }

  .faq-list details p {
    padding: 0 0 15px 25px;
  }

  .final-cta {
    padding: 48px 20px;
  }

  .final-cta > div > a {
    padding: 12px 20px;
  }

  footer {
    padding-bottom: 25px;
  }

  .mobile-fixed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 7px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .14);
    transform: translateY(110%);
    transition: .28s;
  }

  .mobile-fixed.visible {
    transform: translateY(0);
  }

  .mobile-fixed a {
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    padding: 11px 4px;
    border-radius: 7px;
  }

  .mobile-fixed a:first-child {
    background: #e03a3a;
  }

  .mobile-fixed a:last-child {
    background: #00b85a;
    margin-left: 6px;
  }
}


/* =========================================================
   タブレット（721〜1000px）
   ========================================================= */

@media (min-width: 721px) and (max-width: 1000px) {
  .concern-grid,
  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-model {
    opacity: .78;
  }

  .hero-copy {
    width: 68%;
  }
}


/* =========================================================
   動きを減らす設定
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   Flat visual refinement
   影に頼らず、枠線と余白で情報のまとまりを表現
   ========================================================= */
.header-check,
.quick-check,
.submit-check,
.proof,
.hero-emblem,
.mobile-fixed {
  box-shadow: none;
  filter: none;
}

.issue-picker label:hover,
.issue-picker label.active {
  background: #fff2f2;
  transform: none;
}

@media (max-width: 720px) {
  .proof {
    width: 94%;
    margin: -20px auto 0;
    gap: 7px;
  }

  .proof-card {
    padding: 12px 3px 11px;
    border-top-width: 5px;
    border-radius: 5px;
  }

  .proof-icon {
    width: 44px;
    height: 44px;
    margin: 8px auto 5px;
    stroke-width: 2.5;
  }

  .proof small {
    min-height: 2.7em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .proof strong em {
    margin-left: 2px;
  }

  .proof-speed em:first-child {
    font-size: 12px;
    margin-right: 2px;
  }

  .mobile-fixed {
    background: #fff;
    border-top: 1px solid #c9dceb;
  }
}


/* =========================================================
   DIRECT PURCHASE BENEFITS
   ========================================================= */
.buyout-reasons-section {
  padding: 78px 0;
  background: #fff;
}

.buyout-reasons {
  width: min(1120px, 90%);
  margin: auto;
  padding: 38px;
  border: 1px solid rgba(13, 49, 95, .11);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f4f8fc);
  overflow: hidden;
}

.buyout-reasons-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.buyout-reasons-heading img {
  width: 150px;
  height: auto;
}

.buyout-reasons-heading > div {
  padding-left: 22px;
  border-left: 3px solid #0872bb;
}

.buyout-reasons-heading > div > span {
  display: block;
  color: #0872bb;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 900;
}

.buyout-reasons-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.25;
}

.buyout-reasons-heading h2 span {
  color: #e03a3a;
}

.buyout-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.buyout-reason-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c9dceb;
  border-radius: 14px;
  background: #fff;
}

.buyout-reason-head {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(135deg, #0876bd, #075fa3);
  text-align: center;
}

.buyout-reason-head strong {
  color: #fff;
  font-size: 27px;
  line-height: 1.25;
}

.buyout-reason-head span {
  margin-top: 3px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.buyout-reason-head em {
  color: #fff34a;
  font-style: normal;
}

.buyout-reason-card p {
  margin: 0;
  padding: 19px 20px 22px;
  color: #5c6976;
  font-size: 15px;
  line-height: 1.75;
}

.buyout-reasons-note {
  margin: 18px 0 0;
  color: #77889a;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}


/* =========================================================
   BEFORE IT GETS HARDER
   ========================================================= */
.danger-section {
  position: relative;
  padding: 92px 0;
  color: #fff;
  background: linear-gradient(135deg, #1a0508 0%, #35050b 48%, #140306 100%);
  overflow: hidden;
}

.danger-noise {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .12) 0 1px, transparent 1px), radial-gradient(circle at 80% 60%, rgba(255, 255, 255, .08) 0 1px, transparent 1px);
  background-size: 28px 28px, 34px 34px;
}

.danger-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 90%);
  margin: auto;
}

.danger-heading {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.danger-heading p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 20px;
  border-radius: 8px;
  background: #b51d25;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.danger-heading p span {
  color: #fff34a;
  font-size: 24px;
}

.danger-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.22;
}

.danger-heading h2 span {
  color: #fff34a;
}

.danger-heading strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.danger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.danger-card {
  min-width: 0;
  padding: 18px 16px 22px;
  border-radius: 12px;
  background: #fff;
  color: #172535;
  text-align: center;
}

.danger-illustration {
  width: 100%;
  height: 165px;
  margin: 0 0 13px;
  padding: 5px;
  object-fit: contain;
  border-radius: 10px;
  background: linear-gradient(145deg, #f5f9ff, #fff5e9);
}

.danger-card h3 {
  margin: 0;
  color: #b31921;
  font-size: 17px;
  line-height: 1.4;
}

.danger-card p {
  margin: 9px 0 0;
  color: #49383a;
  font-size: 14px;
  line-height: 1.7;
}

.risk-compare {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 13px;
}

.risk-panel {
  min-height: 230px;
  padding: 25px 29px;
  border-radius: 14px;
  background: #fff;
  color: #172535;
  overflow: hidden;
}

.risk-panel h3 {
  margin: -25px -29px 20px;
  padding: 12px;
  color: #fff;
  text-align: center;
  font-size: 17px;
}

.risk-self h3 {
  background: #ba1d24;
}

.risk-pro h3 {
  background: #07528a;
}

.risk-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-panel li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 850;
}

.risk-self li::before,
.risk-pro li::before {
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.risk-self li::before {
  content: "×";
  background: #ba1d24;
}

.risk-pro li::before {
  content: "✓";
  background: #0872bb;
}

.risk-vs {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff34a;
  color: #521117;
  font-size: 20px;
  font-weight: 950;
}

.danger-action {
  margin-top: 28px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-radius: 14px;
  background: #fff;
  color: #172535;
}

.danger-action strong {
  color: #b31921;
  font-size: 19px;
}

.danger-action span {
  font-size: 15px;
  line-height: 1.65;
}

.danger-action a {
  padding: 13px 18px;
  border-radius: 8px;
  background: #e03a3a;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .buyout-reasons-section {
    padding: 58px 0;
  }

  .buyout-reasons {
    width: 92%;
    padding: 20px 12px;
    border-radius: 18px;
  }

  .buyout-reasons-heading {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    text-align: center;
  }

  .buyout-reasons-heading img {
    width: 32vw;
    max-width: 130px;
  }

  .buyout-reasons-heading > div {
    padding: 10px 0 0;
    border-left: 0;
    border-top: 3px solid #0872bb;
  }

  .buyout-reasons-heading h2 {
    font-size: 5.5vw;
  }

  .buyout-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .buyout-reason-card {
    min-height: 0;
  }

  .buyout-reason-head {
    min-height: 86px;
    padding: 11px 6px;
  }

  .buyout-reason-head strong {
    font-size: 4vw;
  }

  .buyout-reason-head span {
    font-size: 3.4vw;
  }

  .buyout-reason-card p {
    padding: 12px 10px 14px;
    font-size: 3.2vw;
    line-height: 1.55;
  }

  .buyout-reasons-note {
    font-size: 2.8vw;
  }

  .danger-section {
    padding: 65px 0;
  }

  .danger-heading p {
    font-size: 3.8vw;
  }

  .danger-heading h2 {
    font-size: 7vw;
  }

  .danger-heading strong {
    font-size: 3.5vw;
  }

  .danger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .danger-card {
    padding: 12px 8px 15px;
  }

  .danger-illustration {
    height: 28vw;
    max-height: 125px;
  }

  .danger-card h3 {
    font-size: 3.8vw;
  }

  .danger-card p {
    font-size: 3.2vw;
    line-height: 1.5;
  }

  .risk-compare {
    width: 90%;
    grid-template-columns: 1fr;
    margin: 24px auto 0;
  }

  .risk-vs {
    margin: 0 auto;
  }

  .risk-panel {
    min-height: 0;
    padding: 22px 17px;
  }

  .risk-panel h3 {
    margin: -22px -17px 16px;
    font-size: 4vw;
  }

  .risk-panel li {
    font-size: 3.4vw;
    line-height: 1.5;
  }

  .danger-action {
    width: 90%;
    grid-template-columns: 1fr;
    margin: 22px auto 0;
    padding: 16px;
    text-align: center;
  }

  .danger-action strong {
    font-size: 4vw;
  }

  .danger-action span {
    font-size: 3.3vw;
  }

  .danger-action a {
    width: 100%;
    font-size: 3.5vw;
  }
}


/* =========================================================
   士業連携セクション：底地LPと同じワンストップ構成
   ========================================================= */
.section-professional {
  padding: 82px 0;
  background: #fff;
  border-top: 1px solid #c9dceb;
  border-bottom: 1px solid #c9dceb;
}

.professional-grid {
  width: min(1120px, 90%);
  margin: auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 55px;
  align-items: center;
}

.section-eyebrow {
  margin: 0 0 10px;
  color: #0872bb;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
}

.professional-copy h2 {
  margin: 0;
  color: #172535;
  font-size: clamp(31px, 3.4vw, 46px);
  line-height: 1.4;
}

.professional-copy h2 span {
  color: #e03a3a;
}

.professional-copy > p:not(.section-eyebrow) {
  margin: 20px 0 0;
  color: #5c6976;
  font-size: 16px;
  line-height: 1.85;
}

.professional-copy mark {
  color: inherit;
  background: linear-gradient(transparent 70%, #fff09a 70%);
}

.professional-checks {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.professional-checks li {
  position: relative;
  margin: 13px 0;
  padding-left: 30px;
  color: #172535;
  font-size: 15px;
  font-weight: 850;
}

.professional-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e03a3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/14px 14px no-repeat;
}

.professional-diagram {
  min-height: 490px;
  position: relative;
  overflow: visible;
}

.diagram-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 350px;
  height: 350px;
  border: 2px dashed #a8bfd0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.diagram-center,
.diagram-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
}

.diagram-center {
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  padding: 20px 15px 16px;
  border: 4px solid #e03a3a;
  background: #fff;
  transform: translate(-50%, -50%);
}

.diagram-center img {
  display: block;
  width: min(125px, 82%);
  height: auto;
  margin-bottom: 8px;
}

.diagram-center small {
  color: #172535;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.diagram-node {
  z-index: 2;
  width: 145px;
  height: 145px;
  padding: 12px;
  border: 2px solid;
  background: #fff;
  color: #172535;
}

.diagram-node strong {
  font-size: 19px;
}

.diagram-node small {
  font-size: 12px;
  line-height: 1.35;
}

.node-lawyer {
  left: 50%;
  top: calc(50% - 178px);
  border-color: #a6cdda;
  background: #ecfaf8;
  transform: translate(-50%, -50%);
}

.node-tax {
  left: calc(50% - 150px);
  top: calc(50% + 102px);
  border-color: #add4b4;
  background: #effaf0;
  transform: translate(-50%, -50%);
}

.node-scrivener {
  left: calc(50% + 150px);
  top: calc(50% + 102px);
  border-color: #c5b8e7;
  background: #f6f1ff;
  transform: translate(-50%, -50%);
}

@media (max-width: 720px) {
  .section-professional {
    padding: 52px 0;
  }

  .professional-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .professional-copy {
    text-align: center;
  }

  .section-eyebrow {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
  }

  .professional-copy h2 {
    font-size: clamp(22px, 6vw, 34px);
  }

  .professional-copy > p:not(.section-eyebrow) {
    width: 85%;
    margin: 16px auto 0;
    font-size: clamp(13px, 3.5vw, 18px);
    line-height: 1.6;
  }

  .professional-checks {
    display: inline-block;
    max-width: 90%;
    margin: 18px auto 0;
    text-align: left;
  }

  .professional-checks li {
    font-size: clamp(12px, 3.3vw, 17px);
    line-height: 1.5;
    padding-left: 25px;
  }

  .professional-diagram {
    width: 90%;
    max-width: 360px;
    min-height: min(90vw, 360px);
    margin: 0 auto;
  }

  .diagram-ring {
    width: min(68vw, 275px);
    height: min(68vw, 275px);
  }

  .diagram-node {
    width: min(28vw, 110px);
    height: min(28vw, 110px);
  }

  .node-tax {
    left: calc(50% - min(24vw, 96px));
    top: calc(50% + min(22vw, 88px));
  }

  .node-scrivener {
    left: calc(50% + min(24vw, 96px));
    top: calc(50% + min(22vw, 88px));
  }

  .node-lawyer {
    top: 14%;
  }

  .diagram-center {
    width: min(36vw, 145px);
    height: min(36vw, 145px);
    padding: 12px 9px 10px;
  }

  .diagram-center img {
    width: 72%;
    margin-bottom: 4px;
  }

  .diagram-center small {
    font-size: clamp(9px, 2.5vw, 12px);
  }

  .diagram-node strong {
    font-size: clamp(13px, 3.5vw, 18px);
  }

  .diagram-node small {
    font-size: clamp(9px, 2.5vw, 12px);
  }
}


/* =========================================================
   SP typography scale
   同じ役割の文字サイズを全セクションで統一
   ========================================================= */

@media (max-width: 720px) {
  body {
    font-size: 14px;
    line-height: 1.65;
  }

  /* ファーストビュー */
  .hero-kicker {
    font-size: 12px;
    line-height: 1.4;
  }

  .hero-assurance li {
    line-height: 1.4;
  }

  /* 簡易フォーム */
  .quick-heading > span {
    font-size: 12px;
    line-height: 1.4;
  }

  .quick-heading h2 {
    font-size: 22px;
    line-height: 1.45;
  }

  .quick-heading p {
    font-size: 13px;
    line-height: 1.6;
  }

  .issue-picker strong {
    font-size: 14px;
    line-height: 1.5;
  }

  .issue-picker small,
  .issue-other {
    font-size: 12px;
    line-height: 1.4;
  }

  .location-fields label span {
    font-size: 13px;
    line-height: 1.4;
  }

  .location-fields select,
  .location-fields input {
    font-size: 14px;
    line-height: 1.4;
  }

  .submit-check {
    font-size: 16px;
    line-height: 1.45;
  }

  .form-note {
    font-size: 12px;
    line-height: 1.55;
  }

  /* 実績 */
  .proof small {
    font-size: 12px;
    line-height: 1.4;
  }

  .proof strong {
    line-height: 1.2;
  }

  .proof strong em {
    font-size: 12px;
  }

  .proof .proof-free {
    font-size: 23px;
  }

  /* 共通見出し */
  .section-heading > span {
    font-size: 12px;
    line-height: 1.4;
  }

  .section-heading h2 {
    font-size: 24px;
    line-height: 1.42;
  }

  .section-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  /* 悩み・注意・選ばれる理由 */
  .concern-grid b {
    line-height: 1.4;
  }

  .concern-grid h3,
  .reason-grid h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .concern-grid ul,
  .reason-grid p {
    font-size: 13px;
    line-height: 1.6;
  }

  .risk-grid i,
  .reason-grid article > span {
    font-size: 12px;
    line-height: 1.4;
  }

  .risk-grid strong {
    font-size: 16px;
    line-height: 1.5;
  }

  .risk-grid p,
  .risk-note p {
    font-size: 13px;
    line-height: 1.6;
  }

  .risk-note strong {
    font-size: 17px;
    line-height: 1.5;
  }

  .support-mark span {
    font-size: 12px;
    line-height: 1.4;
  }

  .support-lead p {
    font-size: 14px;
    line-height: 1.65;
  }

  .section-cta {
    font-size: 14px;
    line-height: 1.45;
  }

  /* 事例 */
  .case-filters button {
    font-size: 12px;
    line-height: 1.4;
  }

  .case-grid b,
  .case-grid a {
    font-size: 12px;
    line-height: 1.45;
  }

  .case-grid h3 {
    font-size: 15px;
    line-height: 1.5;
  }

  .case-grid p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 流れ・FAQ・CTA */
  .process li > span {
    font-size: 20px;
    line-height: 1.3;
  }

  .process h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .process p {
    font-size: 13px;
    line-height: 1.6;
  }

  .faq-list summary {
    font-size: 14px;
    line-height: 1.6;
  }

  .faq-list summary:before {
    font-size: 18px;
  }

  .faq-list details p {
    font-size: 13px;
    line-height: 1.65;
  }

  .final-cta small,
  .final-cta p {
    font-size: 12px;
    line-height: 1.5;
  }

  .final-cta h2 {
    font-size: 24px;
    line-height: 1.45;
  }

  .final-cta > div > a {
    font-size: 15px;
    line-height: 1.45;
  }

  .final-cta p a {
    font-size: 20px;
  }

  .mobile-fixed a {
    font-size: 14px;
    line-height: 1.4;
  }
}


/* =========================================================
   実績カード内の数値・単位を一行で保持
   ========================================================= */
.proof strong {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .proof strong {
    font-size: 25px;
  }
}


/* =========================================================
   Hero counters / consultation feed / quick-check modal
   ========================================================= */
.header-check,
.section-cta,
.final-cta > div > button,
.mobile-fixed button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero-copy {
  padding-bottom: 52px;
}

.hero-counts {
  display: flex;
  align-items: stretch;
  width: max-content;
  max-width: 68%;
  margin-top: 18px;
  background: rgba(255, 255, 255, .92);
  border: 2px solid #0872bb;
}

.hero-counts > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 15px;
}

.hero-counts > div + div {
  border-left: 1px solid #c9dceb;
}

.hero-counts small {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-counts strong {
  color: #e03a3a;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-counts em {
  margin-left: 3px;
  color: #172535;
  font-size: 12px;
  font-style: normal;
}

.hero-quick-trigger {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 0;
  border-left: 7px solid #b62323;
  background: #e03a3a;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.hero-quick-trigger small {
  grid-column: 1;
  font-weight: 800;
}

.hero-quick-trigger strong {
  grid-column: 1;
  line-height: 1.3;
}

.hero-quick-trigger > span {
  grid-column: 2;
  grid-row: 1/3;
}

.consultation-feed {
  padding: 16px 0;
  background: #edf5fa;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.consultation-track {
  display: flex;
  width: max-content;
  animation: consultationTicker 78s linear infinite;
  will-change: transform;
}

.consultation-feed:hover .consultation-track {
  animation-play-state: paused;
}

.consultation-group {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding-right: 10px;
}

.consultation-group a {
  display: grid;
  align-content: center;
  width: 250px;
  min-height: 68px;
  padding: 9px 12px;
  border: 2px solid #8db9d7;
  background: #fff;
  color: #172535;
  text-decoration: none;
}

.consultation-group time {
  color: #0872bb;
  font-size: 12px;
  font-weight: 900;
}

.consultation-group span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
@keyframes consultationTicker{to{transform:translateX(-50%)}}

.cases-section + .proof {
  margin: 64px auto;
}

.quick-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quick-modal.is-open {
  display: flex;
}

.quick-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 27, 38, .68);
}

.quick-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 3px solid #0872bb;
  background: #fff;
}

.quick-modal-close {
  position: sticky;
  top: 8px;
  z-index: 3;
  display: block;
  width: 40px;
  height: 40px;
  margin: 8px 8px -48px auto;
  border: 0;
  background: #0872bb;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.quick-modal .quick-check {
  width: 100%;
  margin: 0;
  padding: 34px 30px 28px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.quick-modal-open {
  overflow: hidden;
}

.final-cta > div > button {
  display: inline-block;
  padding: 15px 30px;
  background: #e03a3a;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 720px) {
  .hero-counts {
    max-width: 73%;
    margin-top: 12px;
    border-width: 1px;
  }

  .hero-counts > div {
    display: grid;
    gap: 1px;
    padding: 7px 8px;
  }

  .hero-counts small {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero-counts strong {
    font-size: 20px;
  }

  .hero-counts em {
    font-size: 10px;
  }

  .consultation-feed {
    padding: 11px 0;
  }

  .consultation-group a {
    width: 218px;
    min-height: 64px;
    padding: 8px 10px;
  }

  .consultation-group time {
    font-size: 11px;
  }

  .consultation-group span {
    font-size: 11px;
  }

  .cases-section + .proof {
    margin: 42px auto;
  }

  .quick-modal {
    padding: 10px;
  }

  .quick-modal-panel {
    max-height: calc(100dvh - 20px);
    border-width: 2px;
  }

  .quick-modal-close {
    top: 5px;
    width: 36px;
    height: 36px;
    margin: 5px 5px -41px auto;
    font-size: 25px;
  }

  .quick-modal .quick-check {
    padding: 26px 12px 18px;
  }

  .mobile-fixed button {
    text-align: center;
    background: #e03a3a;
    color: #fff;
    font-weight: 900;
    padding: 11px 4px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-track {
    animation-play-state: paused;
  }
}


/* =========================================================
   TOP 解決事例（各LPのストーリー付き事例を集約）
   ========================================================= */
.story-case-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #c9dceb;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.story-case-grid article > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 16px 19px;
}

.story-case-grid b {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 5px;
  background: #0872bb;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.story-case-grid h3 {
  margin: 9px 0 8px;
  color: #17385e;
  font-size: 16px;
  line-height: 1.45;
}

.story-case-grid p {
  margin: 0 0 11px;
  color: #526776;
  font-size: 13px;
  line-height: 1.55;
}

.case-story-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e03a3a;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
}

.case-story-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #c9dceb;
}

.case-story-meta span {
  color: #526776;
  font-size: 12px;
  font-weight: 800;
}

.case-story-meta strong {
  display: block;
  padding: 8px 9px;
  background: #eef7fc;
  color: #e03a3a;
  font-size: 20px;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.case-story-button {
  align-self: flex-end;
  margin-top: 10px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: #e03a3a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.case-story-button span {
  margin-left: 5px;
}

@media (max-width: 1050px) {
  .story-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-story-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 18px;
}

.case-story-modal.is-open {
  display: flex;
}

.case-story-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 40, .74);
}

.case-story-dialog {
  position: relative;
  width: min(880px, 100%);
  height: 80vh;
  background: #fff;
  border: 3px solid #0872bb;
}

.case-story-close {
  position: absolute;
  right: -3px;
  top: -3px;
  z-index: 4;
  width: 45px;
  height: 45px;
  border: 0;
  background: #0872bb;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.case-story-body {
  height: 100%;
  overflow-y: auto;
  padding: 24px 28px 28px;
}

.case-story-header {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  gap: 22px;
  padding-right: 28px;
}

.case-story-hero-art {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.case-story-heading > span {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 10px;
  background: #0872bb;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.case-story-heading h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.45;
}

.case-story-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.case-story-tags em {
  padding: 4px 9px;
  border: 1px solid #e03a3a;
  color: #e03a3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.case-story-text {
  margin: 17px 0;
  padding: 16px 18px;
  border: 2px solid #c9dceb;
  background: #f8fbfd;
}

.case-story-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.case-story-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 18px auto;
  padding: 13px 18px;
  background: #0872bb;
  color: #fff;
  text-align: center;
}

.case-story-result strong {
  font-size: 20px;
}

.case-story-result span {
  font-size: 14px;
  font-weight: 850;
}

.case-story-panel {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 2px solid #c9dceb;
}

.case-story-panel img {
  width: 125px;
  margin: auto;
}

.case-story-panel h3 {
  margin: 0 0 5px;
  color: #0872bb;
  font-size: 20px;
}

.case-story-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.case-story-voice img {
  max-height: 150px;
  object-fit: contain;
}

.case-story-contact {
  text-align: center;
  margin-top: 20px;
  padding: 18px;
  background: #eaf6ff;
}

.case-story-contact p {
  margin: 0 0 10px;
  font-weight: 800;
}

.case-story-contact button {
  padding: 11px 22px;
  border: 0;
  background: #e03a3a;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

body.case-story-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .story-case-grid .case-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3;
  }

  .story-case-grid article > div:last-child {
    flex: 1;
    padding: 10px 9px;
  }

  .story-case-grid b {
    padding: 3px 7px;
    font-size: 10px;
  }

  .story-case-grid h3 {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.45;
    margin: 7px 0;
  }

  .story-case-grid p {
    display: none;
  }

  .case-story-badge {
    top: 5px;
    left: 5px;
    padding: 4px 6px;
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .case-story-meta {
    display: block;
    margin-top: auto;
    padding-top: 6px;
  }

  .case-story-meta span {
    display: block;
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.45;
  }

  .case-story-meta strong {
    display: block;
    margin-top: 5px;
    padding: 6px 7px;
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.3;
  }

  .case-story-button {
    width: max-content;
    max-width: 100%;
    align-self: flex-end;
    margin-top: 7px;
    padding: 7px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .case-story-modal {
    padding: 5vh 9px;
  }

  .case-story-dialog {
    height: 80vh;
    border-width: 2px;
  }

  .case-story-close {
    right: -2px;
    top: -2px;
    width: 39px;
    height: 39px;
    font-size: 27px;
  }

  .case-story-body {
    padding: 16px 12px 20px;
  }

  .case-story-header {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 8px;
    text-align: center;
  }

  .case-story-hero-art {
    max-height: 145px;
  }

  .case-story-heading > span {
    font-size: 11px;
  }

  .case-story-heading h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .case-story-tags {
    justify-content: center;
    margin-top: 7px;
  }

  .case-story-tags em {
    font-size: 11px;
  }

  .case-story-text {
    margin: 12px 0;
    padding: 12px;
  }

  .case-story-text p {
    font-size: 13px;
    line-height: 1.7;
  }

  .case-story-result {
    display: block;
    margin: 12px 0;
    padding: 10px;
  }

  .case-story-result strong,
  .case-story-result span {
    display: block;
  }

  .case-story-result strong {
    font-size: 16px;
  }

  .case-story-result span {
    font-size: 12px;
  }

  .case-story-panel {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 10px;
  }

  .case-story-panel img {
    width: 80px;
  }

  .case-story-panel h3 {
    font-size: 16px;
  }

  .case-story-panel p {
    font-size: 13px;
    line-height: 1.65;
  }

  .case-story-voice img {
    max-height: 100px;
  }

  .case-story-contact {
    margin-top: 12px;
    padding: 13px 10px;
  }

  .case-story-contact p {
    font-size: 13px;
  }
}


/* =========================================================
   LP共通レイアウトに合わせたヘッダー・フッター
   ========================================================= */
.site-header {
  height: auto;
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
}

.header-topbar {
  min-height: 24px;
  display: flex;
  align-items: center;
  background: #0872bb;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.header-topbar > h1 {
  width: min(1720px, calc(100% - 36px));
  font-size: 12px;
  margin: auto;
}

.header-inner {
  width: min(1720px, calc(100% - 36px));
  min-height: 104px;
  margin: auto;
  display: grid;
  grid-template-columns: 210px 235px minmax(520px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}

.site-logo img {
  width: 175px;
}

.site-logo small {
  color: #3c4651;
  font-size: 12px;
  font-weight: 800;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #303236;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone > span {
  font-size: 23px;
}

.header-phone strong {
  font-size: 27px;
  letter-spacing: -.04em;
}

.header-phone-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #566575;
  font-size: 12px;
  font-weight: 750;
}

.header-phone-note b {
  padding: 3px 7px;
  background: #0872bb;
  color: #fff;
  font-size: 11px;
}

.site-header .header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.header-btn {
  min-width: 0;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.header-btn > small {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.header-btn > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
}

.header-btn svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-btn-quick {
  background: #337fd3;
}

.header-btn-mail {
  background: #e03a3a;
}

.header-btn-line {
  background: #06bd5b;
}

.site-footer {
  padding: 0;
  background: #fff;
  color: #30343a;
  text-align: left;
}

.footer-links-area {
  padding: 30px 24px 28px;
  background: #0872bb;
  color: #fff;
}

.footer-links-inner {
  width: min(100%, 1000px);
  margin: auto;
  display: flex;
  justify-content: flex-start;
  gap: 72px;
}

.footer-link-column {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
}

.footer-link-column h2 {
  margin: 0 0 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.footer-link-column a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.footer-link-column a:before {
  content: "›";
  margin-right: 8px;
}

.footer-contact-area {
  padding: 22px 24px 26px;
  background: #fff;
}

.footer-contact-inner {
  width: min(100%, 1100px);
  margin: auto;
  display: grid;
  grid-template-columns: 240px 230px minmax(280px, 1fr) 140px;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  width: 230px;
  max-width: 100%;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #303236;
  text-decoration: none;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.footer-phone-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: #707070;
  font-size: 12px;
}

.footer-phone-meta strong {
  padding: 2px 5px;
  background: #858585;
  color: #fff;
  font-size: 11px;
}

.footer-mail-cta {
  min-height: 66px;
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 5px;
  background: #e03a3a;
  color: #fff;
  text-decoration: none;
}

.footer-mail-cta svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-mail-cta span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-mail-cta small {
  font-size: 11px;
  font-weight: 800;
}

.footer-mail-cta strong {
  font-size: 15px;
}

.footer-mail-cta b {
  font-size: 34px;
  font-weight: 300;
}

.footer-line-cta {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #00bd5b;
  color: #fff;
  text-decoration: none;
}

.footer-line-cta strong {
  font-size: 15px;
  line-height: 1.25;
}

.footer-line-cta span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #00ad54;
  font-size: 11px;
  font-weight: 900;
}

.footer-copyright {
  padding: 5px 20px;
  background: #0872bb;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.footer-copyright small {
  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
   ブラウザコメント対応
   ========================================================= */
.concern-grid b {
  align-self: center;
  font-size: 20px;
  text-align: center;
}

@media (max-width: 1050px) and (min-width: 721px) {
  .header-inner {
    grid-template-columns: 160px 200px minmax(440px, 1fr);
    gap: 12px;
  }

  .site-logo img {
    width: 145px;
  }

  .site-logo small {
    font-size: 10px;
  }

  .header-phone strong {
    font-size: 22px;
  }

  .header-phone-note {
    font-size: 10px;
  }

  .header-btn {
    padding: 8px 5px;
  }

  .header-btn > small {
    font-size: 9px;
  }

  .header-btn > strong {
    font-size: 14px;
    gap: 4px;
  }

  .header-btn svg {
    width: 21px;
    height: 21px;
  }

  .footer-contact-inner {
    grid-template-columns: 205px 205px minmax(250px, 1fr) 125px;
    gap: 12px;
  }

  .footer-phone {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .header-topbar {
    min-height: 22px;
    font-size: 10px;
  }

  .header-topbar > h1 {
    width: calc(100% - 20px);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-inner {
    width: calc(100% - 22px);
    min-height: 50px;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 8px 0;
  }

  .site-logo img {
    width: 94px;
  }

  .site-logo small,
  .header-phone-note {
    display: none;
  }

  .header-contact {
    align-items: flex-end;
  }

  .header-phone > span {
    font-size: 15px;
  }

  .header-phone strong {
    font-size: 16px;
  }

  .site-header .header-actions {
    display: none;
  }

  .footer-links-area {
    padding: 26px 22px;
  }

  .footer-links-inner {
    gap: 34px;
  }

  .footer-link-column {
    min-width: 0;
    flex: 1;
  }

  .footer-contact-area {
    padding: 24px 18px 90px;
  }

  .footer-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo img {
    width: 210px;
  }

  .footer-phone {
    font-size: 28px;
  }

  .footer-mail-cta,
  .footer-line-cta {
    width: 100%;
    max-width: 360px;
  }

  .footer-copyright {
    padding: 6px 12px;
  }
}


/* =========================================================
   ヒーロー直下：LP共通の大型依頼件数カウンター
   ========================================================= */
.hero-performance {
  position: relative;
  z-index: 6;
  padding: 15px 0 13px;
  background: #eaf2f8;
  border-bottom: 1px solid #c5dbe9;
}

.hero-performance-card {
  width: min(calc(100% - 32px), 760px);
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #172535;
}

.hero-performance-card > span:first-child {
  font-size: 24px;
  font-weight: 950;
  white-space: nowrap;
}

.hero-performance-card > strong {
  color: #e03a3a;
  font-size: clamp(58px, 6.2vw, 78px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.hero-performance-card > b {
  align-self: flex-end;
  margin-bottom: 17px;
  font-size: 22px;
  font-weight: 950;
}

.hero-today-count {
  margin-left: 12px;
  padding: 8px 0 8px 16px;
  border-left: 2px solid #a9c8dc;
  color: #314b5e;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.hero-today-count em {
  margin: 0 4px;
  color: #e03a3a;
  font-size: 30px;
  font-style: normal;
  font-weight: 1000;
  font-variant-numeric: tabular-nums;
}

.consultation-feed {
  border-top: 0;
}

@media (max-width: 720px) {
  .hero-performance {
    padding: 10px 0 9px;
  }

  .hero-performance-card {
    width: calc(100% - 20px);
    min-height: 68px;
    gap: 5px;
  }

  .hero-performance-card > span:first-child {
    font-size: 12px;
  }

  .hero-performance-card > strong {
    font-size: 36px;
  }

  .hero-performance-card > b {
    margin-bottom: 9px;
    font-size: 13px;
  }

  .hero-today-count {
    margin-left: 5px;
    padding: 5px 0 5px 8px;
    font-size: 10px;
  }

  .hero-today-count em {
    font-size: 20px;
  }
}


/* =========================================================
   ヒーロー：メッセージ・実益・CTAの強調
   ========================================================= */
.hero-lead span {
  display: block;
}

.hero-model {
  right: -90px;
}

.hero-quick-trigger {
  right: 8px;
  bottom: 24px;
  border-left-width: 8px;
}

@media (max-width: 720px) {
  .hero-copy {
    padding-bottom: 102px;
  }

  .hero-lead {
    width: 72%;
    font-size: 3.45vw;
    line-height: 1.6;
  }

  .hero-assurance {
    width: 76%;
    gap: 5px;
  }

  .hero-assurance li {
    padding: 4px 7px;
    font-size: clamp(12px, 2.6vw, 14px);
  }

  .hero-model {
    right: -50vw;
    height: 40vh;
    min-height: 340px;
    width: auto;
    max-width: fit-content;
  }

  .hero-quick-trigger {
    right: 3%;
    bottom: 14px;
    border-left-width: 6px;
  }
}


/* =========================================================
   ヒーロー：最終調整
   ========================================================= */
.hero h1 {
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.34;
}

.hero-quick-trigger {
  min-width: 350px;
  padding: 20px 25px;
}

.hero-quick-trigger small {
  font-size: 14px;
}

.hero-quick-trigger strong {
  font-size: 24px;
}

.hero-quick-trigger > span {
  font-size: 31px;
}


/* =========================================================
   解決事例の直後：ワケウリが選ばれる理由（写真全面の3列×2段パネル）
   ========================================================= */
.cases-section .section {
  padding-bottom: 56px;
}

.selected-reasons {
  padding: 56px 0 88px;
  background: #fff;
}

.selected-reasons-inner {
  width: min(1120px, 90%);
  margin: auto;
}

.selected-reasons h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 44px;
  color: #242424;
  font-size: 34px;
  line-height: 1.25;
}

.selected-reasons h2 img {
  width: 230px;
}

.selected-reasons h2 strong {
  font-weight: 900;
}

.selected-reasons h2 > span {
  color: #0872bb;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(5px);
}

.selected-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.selected-reason-panel {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #afbcc6;
  background: #102438;
  color: #fff;
}

.selected-reason-panel > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-reason-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 23, 39, .5) 0%, rgba(5, 23, 39, .76) 54%, rgba(5, 23, 39, .94) 100%);
}

.selected-reason-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px 24px;
}

.selected-reason-panel h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  color: #fff;
  font-size: 32px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.selected-reason-panel h3 em {
  color: #fff500;
  font-style: normal;
}

.selected-reason-panel h3 small {
  display: block;
  color: #fff;
  font-size: .72em;
  font-weight: 900;
}

.selected-reason-panel p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
}

@media (max-width: 720px) {
  .hero-inner {
    /*min-height: 525px;*/
        min-height: 34em;
  }

  .hero h1 {
    font-size: clamp(30px, 8.35vw, 35px);
    line-height: 1.34;
  }

  .hero-quick-trigger {
    width: fit-content;
    min-width: 0;
    padding: 13px 12px;
  }

  .hero-quick-trigger small {
    font-size: 10px;
  }

  .hero-quick-trigger strong {
    font-size: 16px;
  }

  .hero-quick-trigger > span {
    font-size: 21px;
  }

  .selected-reasons {
    padding: 52px 0 58px;
  }

  .selected-reasons-inner {
    width: 92%;
  }

  .selected-reasons h2 {
    gap: 6px;
    margin-bottom: 24px;
    font-size: 5.3vw;
    white-space: nowrap;
  }

  .selected-reasons h2 img {
    width: 34vw;
  }

  .selected-reasons h2 > span {
    font-size: 8vw;
  }

  .selected-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .selected-reason-panel {
    min-height: 62vw;
  }

  .selected-reason-panel > div {
    min-height: 62vw;
    padding: 16px 12px;
  }

  .selected-reason-panel h3 {
    margin-bottom: 10px;
    font-size: 5vw;
  }

  .selected-reason-panel p {
    padding-top: 10px;
    font-size: 3.5vw;
    line-height: 1.55;
  }
}


/* =========================================================
   COMMON CONCERNS：スマホも底地LPと同じ2列×2段
   ========================================================= */

@media (max-width: 720px) {
  .concerns-heading {
    text-align: left;
    margin-bottom: 24px;
  }

  .concerns-heading p {
    font-size: 3.5vw;
    line-height: 1.6;
  }

  .concern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .concern-grid .concern-card {
    min-width: 0;
    padding: 18px 12px;
    border-width: 3px;
    border-radius: 12px;
  }

  .concern-illustration {
    height: clamp(90px, 28vw, 120px);
    margin-bottom: 12px;
    padding: 5px;
  }

  .concern-grid b {
	align-self: center;
	padding: 0.5em 1.5em;
	line-height: 1em;
	font-size: 4vw;
  }

  .concern-grid h3 {
    margin: 9px 0;
    font-size: 3.6vw;
    line-height: 1.4;
  }

  .concern-grid p {
    margin-bottom: 12px;
    font-size:  clamp(12px, 3vw, 14px);;
    line-height: 1.5;
  }

  .concern-grid a {
    padding-top: 9px;
    font-size: 2.5vw;
    line-height: 1.5;
  }
}


/* =========================================================
   お悩みカード：カード全体をクリック可能に
   ========================================================= */
.concern-card {
  position: relative;
  transition: border-color .2s, background .2s;
}

.concern-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
}

.concern-card:hover {
  border-color: #e03a3a;
  background: #fffaf7;
}

.concern-card:focus-within {
  outline: 3px solid #e03a3a;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .concern-grid a::after {
    border-radius: 12px;
  }
}


/* =========================================================
   2026-09-16：底地LPの共通パーツをTOP用に再構成
   ========================================================= */
.hero {
  padding-top: 38px;
  padding-bottom: 0;
}

.hero-inner {
  margin-bottom: 0;
}

.concerns-section {
  background: #fff;
}

.concern-card:nth-child(4) .concern-illustration {
  background: #fff;
}

.process-section {
  background: #eaf3fb;
}

.process {
  width: min(1120px, 90%);
}

.process-speed-note {
  display: inline-block !important;
  margin: 18px 0 0 !important;
  padding: 8px 18px;
  border-radius: 999px;
  background: #e03a3a;
  color: #fff !important;
  font-weight: 900;
}

.process-speed-note span {
  color: #fff34a;
  font-size: 1.3em;
}

.process-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.process-step {
  position: relative;
  display: block !important;
  min-width: 0;
  padding: 24px 18px 26px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #fff;
  text-align: center;
}

.process-step .step-number {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: #e03a3a;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900;
}

.process-illustration {
  width: 100%;
  height: 170px;
  margin: 0 0 16px;
  padding: 5px;
  object-fit: contain;
  border-radius: 13px;
  background: linear-gradient(145deg, #f3f8fe, #fff6eb);
}

.process-step h3 {
  margin: 0 0 8px !important;
  color: #172535;
  font-size: 20px !important;
  line-height: 1.4;
}

.process-step p {
  margin: 0 !important;
  color: #5c6976;
  font-size: 14px !important;
  line-height: 1.7;
}

.process-consult-link {
  display: inline-block;
  margin-top: 12px;
  color: #0872bb;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.faq-section {
  background: #fff;
}

.faq-inner {
  width: min(900px, 90%);
}

.faq-list {
  width: 100%;
  margin: 0;
  border-top: 1px solid #c9dceb;
}

.faq-item {
  border-bottom: 1px solid #c9dceb;
}

.faq-question {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 46px 1fr 32px;
  gap: 12px;
  align-items: center;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: #172535;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.qa-letter {
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.faq-question .qa-letter {
  color: #0872bb;
}

.faq-plus {
  color: #e03a3a;
  font-size: 25px;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-answer {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 3px 4px 24px;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer .qa-letter {
  color: #e03a3a;
}

.faq-answer p {
  margin: 0;
  color: #5c6976;
  font-size: 15px;
  line-height: 1.85;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.contact-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff, #eef4fb);
}

.contact-box {
  position: relative;
  isolation: isolate;
  width: min(900px, 90%);
  margin: auto;
  border-radius: 26px;
  color: #fff;
}

.contact-model-photo {
  position: absolute;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
}

.contact-heading {
  position: relative;
  z-index: 1;
}

.contact-heading > span {
  display: inline-block;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 3px solid #f8d24f;
  color: #f8d24f;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .1em;
}

.contact-heading h2 {
  margin: 0;
  color: #fff;
}

.contact-heading p {
  margin: 14px 0 0;
  color: #fff;
}

.contact-heading p strong {
  display: block;
  color: #fff;
}

.contact-points {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 900;
}

.contact-points li::before {
  content: "✓";
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #e03a3a;
  color: #fff;
}

.contact-form-card {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  background: #fff;
  color: #172535;
}

.after-submit {
  margin: 0 0 22px;
  color: #172535;
}

.after-submit > strong {
  display: block;
  margin-bottom: 11px;
  font-size: 18px;
  text-align: center;
}

.after-submit ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.after-submit li {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid #c9dceb;
  border-radius: 9px;
  text-align: left;
}

.after-submit li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -9px;
  z-index: 2;
  color: #0872bb;
  font-size: 23px;
  font-weight: 950;
}

.after-submit b {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0872bb;
  color: #fff;
  font-size: 13px;
}

.after-submit li span {
  color: #253e57;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.after-submit > p {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 7px;
  background: #eaf5ff;
  color: #0d4e82;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.contact-quick-form {
  display: grid;
  gap: 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-row label,
.contact-issue-field legend {
  color: #172535;
  font-size: 15px;
  font-weight: 900;
}

.contact-form-row select,
.contact-form-row input {
  width: 100%;
  min-height: 56px;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #c7d2de;
  border-radius: 9px;
  background: #fff;
  color: #172535;
  font-size: 15px;
}

.contact-issue-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
}

.contact-issue-grid label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #c7d2de;
  border-radius: 8px;
  color: #314b64;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.contact-issue-grid label:has(input:checked) {
  border-color: #e03a3a;
  background: #fff2f2;
}

.contact-issue-grid input {
  width: 17px;
  height: 17px;
  accent-color: #e03a3a;
}

.contact-submit {
  min-height: 60px;
  justify-self: center;
  border: 0;
  border-radius: 9px;
  background: #e03a3a;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
  cursor: pointer;
}

.contact-submit span {
  margin-left: 8px;
}

.contact-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.contact-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.contact-actions small {
  font-size: 11px;
}

.contact-actions strong {
  font-size: 17px;
}

.contact-mail {
  background: #e03a3a;
}

.contact-line {
  background: #06b84b;
}

.contact-phone {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 24px;
  margin-top: 16px;
  border-radius: 12px;
  background: #fff;
  color: #172535;
  text-decoration: none;
}

.contact-phone > span {
  grid-row: 1/-1;
  border-radius: 999px;
  background: #e03a3a;
  color: #fff;
  font-weight: 900;
}

.contact-phone strong {
  line-height: 1.05;
}

.contact-phone small {
  color: #5c6976;
  text-align: right;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 0;
  }

  .hero-inner {
    padding-top: 16px;
    margin-bottom: 0;
  }

  .process {
    width: 92%;
  }

  .process-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .process-step {
    display: grid !important;
    grid-template-columns: 35% 65%;
    align-items: center;
    padding: 14px 11px !important;
    text-align: left;
  }

  .process-step .step-number {
    left: 7px;
    top: 7px;
    width: 27px;
    height: 27px;
    font-size: 12px !important;
  }

  .process-illustration {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 3px;
  }

  .process-step > div {
    grid-column: 2;
    padding-left: 9px;
  }

  .process-step h3 {
    font-size: 4.2vw !important;
  }

  .process-step p {
    font-size: 3.3vw !important;
    line-height: 1.55;
  }

  .process-consult-link {
    margin-top: 7px;
    font-size: 3vw;
  }

  .faq-question {
    grid-template-columns: 35px 1fr 24px;
    min-height: 70px;
    gap: 8px;
    font-size: 3.6vw;
    line-height: 1.55;
  }

  .qa-letter {
    font-size: 6vw;
  }

  .faq-plus {
    font-size: 5.5vw;
  }

  .faq-answer {
    grid-template-columns: 35px 1fr;
    gap: 8px;
    padding-bottom: 18px;
  }

  .faq-answer p {
    font-size: 3.4vw;
    line-height: 1.65;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-box {
    width: 92%;
    padding: 22px 15px;
    border-radius: 18px;
    overflow: hidden;
  }

  .contact-model-photo {
    display: none;
  }

  .contact-heading > span {
    font-size: 3.3vw;
  }

  .contact-heading h2 {
    font-size: 7vw;
  }

  .contact-heading p {
    font-size: 3.5vw;
    line-height: 1.7;
  }

  .contact-points {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 17px;
  }

  .contact-points li {
    min-height: 46px;
    padding: 7px;
    font-size: 3vw;
    line-height: 1.35;
  }

  .contact-points li::before {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
    margin-right: 5px;
  }

  .contact-form-card {
    margin-top: 21px;
    padding: 20px 13px;
  }

  .after-submit > strong {
    font-size: 3.7vw;
    line-height: 1.45;
  }

  .after-submit ol {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .after-submit li {
    min-height: 46px;
    justify-content: flex-start;
    padding: 7px 10px;
  }

  .after-submit li:not(:last-child)::after {
    content: "⌄";
    left: 50%;
    right: auto;
    bottom: -12px;
    transform: translateX(-50%);
  }

  .after-submit li span {
    font-size: 3vw;
  }

  .after-submit li span br {
    display: none;
  }

  .after-submit > p {
    font-size: 3vw;
    line-height: 1.5;
  }

  .contact-form-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .contact-form-row label,
  .contact-issue-field legend {
    font-size: 3.2vw;
  }

  .contact-form-row select,
  .contact-form-row input {
    min-height: 47px;
    padding: 9px 8px;
    font-size: 3.4vw;
  }

  .contact-issue-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .contact-issue-grid label {
    width: max-content;
    max-width: 100%;
    min-height: 0;
    padding: 5px 7px;
    font-size: 3vw;
    line-height: 1.35;
  }

  .contact-submit {
    min-height: 52px;
    padding: 0 12px;
    font-size: 4vw;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-actions a {
    min-height: 58px;
  }

  .contact-actions strong {
    font-size: 4.2vw;
  }

  .contact-phone {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 16px;
    text-align: center;
  }

  .contact-phone > span {
    grid-row: auto;
    justify-self: center;
    font-size: 3.3vw;
  }

  .contact-phone strong {
    font-size: 8vw;
  }

  .contact-phone small {
    font-size: 3vw;
    text-align: center;
  }
}


/* =========================================================
   2026-09-16：底地LPとの共通見出し・相談フォーム調整
   ========================================================= */
.process-section .section-heading,
.faq-section .section-heading {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.process-section .section-heading > span,
.faq-section .section-heading > span {
  display: block;
  margin: 0 0 12px;
  color: #0872bb;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 900;
}

.process-section .section-heading h2,
.faq-section .section-heading h2 {
  margin: 0;
  color: #0872bb;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -.025em;
}

.process-section .section-heading h2 span,
.faq-section .section-heading h2 span {
  color: #e03a3a;
}

.contact-box {
  max-width: 900px;
  padding: 36px;
  overflow: visible;
  background: #0368b8;
}

.contact-model-photo {
  z-index: 0;
  right: -54px;
  top: 28px;
  width: 400px;
  max-width: 42%;
  max-height: none;
  filter: none;
}

.contact-heading {
  width: 64%;
  max-width: 590px;
}

.contact-heading h2 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.28;
}

.contact-heading p {
  margin-top: 13px;
  font-size: 18px;
  line-height: 1.9;
}

.contact-points {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.contact-points li {
  min-height: 58px;
  padding: 11px 13px;
  font-size: 15px;
  line-height: 1.45;
}

.contact-form-card {
  padding: 46px 42px;
  border-radius: 24px;
}

.contact-submit {
  width: min(100%, 460px);
  padding: 0 30px;
}

.contact-actions a {
  min-height: 64px;
}

.contact-phone {
  min-height: 104px;
  padding: 20px 28px;
  border: 3px solid #e03a3a;
}

.contact-phone > span {
  justify-self: start;
  padding: 7px 13px;
  font-size: 18px;
}

.contact-phone strong {
  color: #0872bb;
  font-size: 52px;
  letter-spacing: .02em;
}

.contact-phone small {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .contact-model-photo {
    position: relative;
    z-index: 1;
    display: block;
    right: auto;
    top: auto;
    width: min(290px, 78vw);
    max-width: none;
    margin: -24px auto 4px;
  }

  .contact-heading,
  .contact-points {
    width: 100%;
    max-width: none;
  }

  .contact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .contact-box {
    overflow: hidden;
  }

  .contact-phone {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-phone > span {
    grid-row: auto;
    justify-self: center;
  }

  .contact-phone small {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .process-section .section-heading,
  .faq-section .section-heading {
    margin-bottom: 36px;
  }

  .process-section .section-heading h2,
  .faq-section .section-heading h2 {
    font-size: clamp(25px, 8.267vw, 31px);
  }

  .contact-model-photo {
    width: min(230px, 76vw);
    margin: -18px auto 2px;
  }

  .contact-box {
    padding: 22px 16px;
  }

  .contact-heading h2 {
    font-size: clamp(28px, 9.067vw, 34px);
  }

  .contact-heading p,
  .contact-points li {
    font-size: clamp(13px, 4.267vw, 16px);
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-phone strong {
    font-size: clamp(30px, 9.6vw, 36px);
  }
}


/* =========================================================
   2026-09-16：解決事例を底地LPのカード仕様へ統一
   ========================================================= */
.story-case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.story-case-grid .case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c9dceb;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.story-case-grid .case-photo {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eef3f7;
}

.story-case-grid .case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.story-case-grid .case-card:hover .case-photo img,
.story-case-grid .case-card:focus-within .case-photo img {
  transform: scale(1.04);
}

.story-case-grid .case-photo small {
  right: 7px;
  left: auto;
  bottom: 6px;
  border-radius: 3px;
}

.story-case-grid .case-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 16px 19px;
}

.story-case-grid .case-card > b,
.story-case-grid .case-card > div:last-child > b {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 5px;
  background: #0872bb;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.story-case-grid .case-card h3 {
  margin: 9px 0 8px;
  color: #17385e;
  font-size: 16px;
  line-height: 1.45;
}

.story-case-grid .case-card p {
  margin: 0 0 11px;
  color: #526776;
  font-size: 13px;
  line-height: 1.55;
}

.story-case-grid .case-story-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f27a28;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.story-case-grid .case-story-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #c9dceb;
}

.story-case-grid .case-story-meta > div {
  padding: 9px 10px;
  border-radius: 10px;
  background: #f4f7fa;
}

.story-case-grid .case-story-meta span {
  display: block;
  color: #718094;
  font-size: 13px;
  font-weight: 700;
}

.story-case-grid .case-story-meta strong {
  display: block;
  margin-top: 5px;
  color: #0872bb;
  font-size: 14px;
  line-height: 1.25;
}

.story-case-grid .case-story-meta strong.price {
  color: #f27a28;
  font-size: 22px;
  text-align: right;
  white-space: nowrap;
}

.story-case-grid .case-story-meta > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 1px 5px;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
}

.story-case-grid .case-story-meta > div:first-child span,
.story-case-grid .case-story-meta > div:first-child strong {
  display: inline;
  margin: 0;
  white-space: nowrap;
}

.story-case-grid .case-story-button {
  align-self: flex-end;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid #e76412;
  border-radius: 999px;
  background: #f27a28;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.story-case-grid .case-story-button:hover,
.story-case-grid .case-story-button:focus-visible {
  background: #df5f0d;
  transform: translateY(-1px);
}

@media (max-width: 1000px) {
  .story-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .story-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .story-case-grid .case-card > div:last-child {
    padding: 10px 9px;
  }

  .story-case-grid .case-card h3 {
    margin: 7px 0;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.45;
  }

  .story-case-grid .case-card p {
    display: none;
  }

  .story-case-grid .case-story-badge {
    top: 5px;
    left: 5px;
    padding: 5px 7px;
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .story-case-grid .case-story-meta {
    margin-top: auto;
    padding-top: 7px;
  }

  .story-case-grid .case-story-meta span {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.45;
  }

  .story-case-grid .case-story-meta strong {
    font-size: clamp(12px, 3.3vw, 14px);
  }

  .story-case-grid .case-story-meta strong.price {
    font-size: clamp(15px, 4.2vw, 19px);
  }

  .story-case-grid .case-story-button {
    width: max-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 7px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
  }
}

@media (min-width: 768px) {
  #contact .contact-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 14px;
    align-items: stretch;
  }

  .hero-actions .cta-green,
  #contact .contact-btn-line {
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
  }

  .hero-actions .cta-green .hero-cta-label,
  #contact .contact-btn-line .contact-btn-copy {
    margin-right: 12px;
  }

  .hero-actions .cta-green::after,
  #contact .contact-btn-line::after {
    content: "";
    position: static;
    flex-shrink: 0;
    box-sizing: content-box;
    width: 72px;
    height: 72px;
    margin-left: auto;
    padding: 4px;
    border-radius: 6px;
    background: #fff url("/img/line_QR.png") center/72px 72px no-repeat;
    image-rendering: pixelated;
  }
}

.hero-line-consult {
  display: grid;
  margin-top: 2em;
  grid-template-columns: 42px minmax(170px, 1fr) 92px;
  align-items: center;
  gap: 10px;
  width: 370px;
  min-height: 80px;
  padding: 10px 10px 10px 14px;
  border: 3px solid #fff;
  border-radius: 10px;
  background: #06c755;
  box-shadow: 0 8px 20px rgba(0, 80, 37, 0.22);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-line-consult:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 80, 37, 0.28);
  filter: brightness(1.03);
}

.hero-line-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.hero-line-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-line-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.hero-line-copy small {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 800;
}

.hero-line-copy strong {
  margin: 3px 0;
  font-size: clamp(18px, 1.55vw, 23px);
  white-space: nowrap;
}

.hero-line-copy > span {
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 700;
}

.hero-line-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 7px;
  background: #fff;
  color: #222;
}

.hero-line-qr img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.hero-line-qr small {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-line-consult {
    right: 3%;
    bottom: 14px;
    width: fit-content;
    min-height: 64px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
    padding: 8px 7px;
    border-width: 2px;
    border-radius: 7px;
  }

  .hero-line-icon {
    width: 30px;
    height: 30px;
    border-width: 1.5px;
  }

  .hero-line-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-line-copy small {
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .hero-line-copy strong {
    font-size: clamp(13px, 3.8vw, 17px);
  }

  .hero-line-copy > span,
  .hero-line-qr {
    display: none;
  }
}
