/* ========================================
   対応エリア記事
======================================== */

.hma-page {
  --hma-teal: #2aa7ad;
  --hma-ink: #222;

  padding-top: 1px;

  background: var(--bg, #f4f4f4);
  color: var(--text, #111);

  font-family: inherit;
  font-size: 16px;
  line-height: 2;

  overflow-wrap: anywhere;
}

.hma-page * {
  box-sizing: border-box;
}

.hma-page a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hma-page a:focus-visible {
  outline: 3px solid #12616a;
  outline-offset: 5px;
}


/* ========================================
   タイトル帯
======================================== */

.hma-page .hma-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  container-type: inline-size;

  width: 94%;
  margin: 28px auto 0;
  padding: 48px 64px;

  border-radius: 34px;

  background:
    linear-gradient(
      110deg,
      #ffc400 0%,
      #ffd52f 35%,
      #ffe36b 68%,
      #fff0a8 100%
    );

  text-align: left;
}

.hma-page .hma-hero::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.3) 0,
      rgba(255, 255, 255, 0.3) 1px,
      transparent 1px,
      transparent 5px
    );

  pointer-events: none;
}

.hma-page .hma-eyebrow {
  margin: 0 0 14px;

  color: #12616a;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.hma-page .hma-hero h1 {
  max-width: none;
  margin: 0;
  padding: 0;

  border: 0;
  background: none;
  color: #111;

  font-size: min(32px, 2.2vw);
  font-size: min(32px, 3cqi);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;

  white-space: nowrap;
}


/* ========================================
   本文幅・パンくず
======================================== */

.hma-page .hma-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 88px;
}

.hma-page .hma-breadcrumb {
  margin: 0 0 40px;

  color: #666;

  font-size: 12px;
  line-height: 1.8;
}

.hma-page .hma-card {
  max-width: 980px;
  margin: auto;
  padding: 0;

  border: 0;
  background: none;
  box-shadow: none;
}

.hma-page .hma-featured {
  display: block;

  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 360px;

  margin: 0 auto 30px;

  border-radius: 18px;
  background: #fff;

  object-fit: contain;
}


/* ========================================
   冒頭の紹介カード
   黄色線は右・下
======================================== */

.hma-page .hma-intro {
  margin: 0 auto 70px;
  padding: 38px 42px;

  border: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 4px solid #ffd400;
  border-bottom: 4px solid #ffd400;
  border-radius: 22px;

  background: #fff;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.05);
}

.hma-page .hma-content .hma-lead {
  margin: 0 0 24px;

  color: #222;
  text-align: center;

  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.65;
}

.hma-page .hma-intro-layout {
  display: grid;
  grid-template-columns:
    minmax(160px, 240px)
    minmax(0, 1fr);

  gap: 36px;
  align-items: center;
}

.hma-page .hma-intro-map {
  width: 100%;
  margin: 0;
  padding: 22px;

  border: 1px solid #e0efec;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 70% 20%,
      #fff9dc 0,
      transparent 55%
    ),
    linear-gradient(
      145deg,
      #f1faf9,
      #e6f5f3
    );
}

.hma-page .hma-intro-map img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}

.hma-page .hma-intro-text {
  min-width: 0;
}


/* ========================================
   本文・見出し
======================================== */

.hma-page .hma-content p {
  margin: 0 0 18px;
  line-height: 2;
}

.hma-page .hma-content h2 {
  position: relative;

  margin: 68px 0 30px;
  padding: 19px 24px;

  border: 0;
  border-left: 4px solid #ffd400;
  border-radius: 16px;

  background:
    linear-gradient(
      105deg,
      #fff3b8,
      #fff9df
    );

  color: #222;
  box-shadow: none;

  text-align: left;

  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.6;
}

.hma-page .hma-content h2::before,
.hma-page .hma-content h2::after,
.hma-page .hma-content h3::before,
.hma-page .hma-content h3::after {
  content: none;
}

.hma-page .hma-content h3 {
  margin: 0 0 14px;
  padding: 0 0 12px;

  border: 0;
  border-bottom: 1px solid #e7f1ef;

  background: none;
  color: #222;
  box-shadow: none;

  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
}


/* ========================================
   番号付きカード
======================================== */

.hma-page .hma-content ol {
  display: grid;
  gap: 20px;

  counter-reset: hma-item;
  list-style: none;

  margin: 0;
  padding: 0;
}

.hma-page .hma-content ol > li {
  position: relative;
  min-width: 0;

  counter-increment: hma-item;

  margin: 0;
  padding: 30px 34px 30px 94px;

  border: 1px solid #e0e9e6;
  border-radius: 22px;

  background:
    linear-gradient(
      110deg,
      #fff 80%,
      #f4fbfa
    );

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.045);
}

.hma-page .hma-content ol > li::before {
  content: counter(hma-item, decimal-leading-zero);

  position: absolute;
  top: 30px;
  left: 26px;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 50%;

  background: #e8f6f5;
  color: #247c81;

  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.hma-page .hma-content li p:last-child,
.hma-page .hma-intro p:last-child {
  margin-bottom: 0;
}


/* ========================================
   共通見積もりCTA
   形状は既存 common.css を使用
======================================== */

.hma-page .hma-commonCta {
  --accent: #13a3b5;
  --text-sub: #555;

  margin: 64px auto 0;
}

.hma-page .c-commonCta__button {
  text-decoration: none;
}

.hma-page .c-commonCta__sub {
  margin: 0 0 8px;
  color: #13a3b5;
}

.hma-page .c-commonCtaMessage__text {
  margin: 0;
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 767px) {

  .hma-page .hma-hero {
    width: calc(100% - 40px);

    margin-top: 8px;
    padding: 24px 20px;

    border-radius: 20px;
    text-align: center;
  }

  .hma-page .hma-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hma-page .hma-wrap {
    padding: 14px 20px 58px;
  }

  .hma-page .hma-breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .hma-page .hma-intro {
    margin-bottom: 44px;
    padding: 28px 22px;

    border-radius: 18px;
  }

  .hma-page .hma-content .hma-lead {
    font-size: 20px;
    line-height: 1.7;
  }

  .hma-page .hma-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hma-page .hma-intro-map {
    max-width: 240px;
    margin: 0 auto;
    padding: 18px;
  }

  .hma-page .hma-content h2 {
    margin: 48px 0 24px;
    padding: 16px 18px;

    border-radius: 12px;
    font-size: 21px;
  }

  .hma-page .hma-content h3 {
    font-size: 19px;
  }

  .hma-page .hma-content ol {
    gap: 16px;
  }

  .hma-page .hma-content ol > li {
    padding: 23px 20px;
    border-radius: 17px;
  }

  .hma-page .hma-content ol > li::before {
    position: static;

    width: 36px;
    height: 36px;

    margin-bottom: 14px;

    font-size: 15px;
  }

  .hma-page .hma-commonCta {
    margin-top: 44px;
  }

  .hma-page .c-commonCtaMessage__text {
    font-size: 15px;
  }

  .hma-page .c-commonCtaMessage__line {
    flex-shrink: 0;
  }

}

@media (max-width: 767px) {
  .hma-page .hma-content {
    font-size: 13px;
  }

  .hma-page .hma-content p {
    font-size: 13px;
    line-height: 1.9;
  }

  .hma-page .hma-content .hma-lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .hma-page .hma-content h2 {
    font-size: 18px;
  }

  .hma-page .hma-content h3 {
    font-size: 16px;
  }
}