@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&family=BIZ+UDPGothic:wght@400;700&family=Barlow+Condensed:wght@500;600;700&display=swap');
/* ==============================================
   墓じまいNavi 見積もりページ 追加CSS v3
   ============================================== */

/* --- LP全体の読みやすさ --- */
.hkn-lp {
  color: #333;
}

.hkn-lp *,
.hkn-lp *::before,
.hkn-lp *::after {
  box-sizing: border-box;
}

.hkn-section-lead {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: -8px 0 24px;
}

/* --- Hero信頼補足 --- */
.hkn-hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hkn-hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 600;
}

/* --- 費用が変わるポイント --- */
.hkn-price-factors {
  margin-bottom: 48px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
}

.hkn-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hkn-factor-item {
  min-width: 0;
  padding: 20px;
  background: #f8fbfe;
  border: 1px solid #dce9f3;
  border-radius: 10px;
}

.hkn-factor-item span {
  display: block;
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2e86c1;
  line-height: 1;
  margin-bottom: 10px;
}

.hkn-factor-item strong {
  display: block;
  font-size: 15px;
  color: #1a5276;
  margin-bottom: 8px;
}

.hkn-factor-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* --- About セクション（簡潔版） --- */
.hkn-about {
  margin-bottom: 48px;
  text-align: center;
}
.hkn-about-lead {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  margin: 0;
}

/* --- 中間CTA --- */
.hkn-mid-cta {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 20px;
  background: #f8fbfe;
  border-radius: 12px;
  border: 1px dashed #d4e6f5;
}
.hkn-mid-cta-lead {
  font-size: 14px;
  font-weight: 700;
  color: #1a5276;
  margin: 0 0 14px;
}

/* --- 選ばれる理由 v2 --- */
.hkn-reasons-section {
  margin-bottom: 48px;
}
.hkn-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hkn-reasons-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.hkn-reasons-item:hover {
  border-color: #2e86c1;
}
.hkn-reasons-num {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #2e86c1;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  padding-top: 2px;
}
.hkn-reasons-body h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a5276;
  margin: 0 0 8px;
  line-height: 1.4;
}
.hkn-reasons-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* --- メリット --- */
.hkn-merit-section {
  margin-bottom: 48px;
}
.hkn-merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hkn-merit-card {
  background: #f8fbfe;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.hkn-merit-num {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2e86c1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hkn-merit-card h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a5276;
  margin: 0 0 12px;
}
.hkn-merit-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

/* --- 利用の流れ --- */
.hkn-flow-section {
  margin-bottom: 48px;
}
.hkn-flow-steps {
  position: relative;
  padding-left: 40px;
}
.hkn-flow-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #d4e6f5;
}
.hkn-flow-step {
  position: relative;
  margin-bottom: 28px;
  padding-left: 24px;
}
.hkn-flow-step:last-child {
  margin-bottom: 0;
}
.hkn-flow-num {
  position: absolute;
  left: -40px;
  top: 0;
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #2e86c1;
  border-radius: 12px;
  padding: 3px 8px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hkn-flow-step h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a5276;
  margin: 0 0 6px;
}
.hkn-flow-step p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* --- FAQ v2（全展開） --- */
.page-id-13 .hkn-faq-q {
  cursor: default;
  padding-right: 20px;
}
.page-id-13 .hkn-faq-q::after {
  display: none;
}
.page-id-13 .hkn-faq-a {
  display: block;
  padding-top: 0;
}

/* --- CTA 2段構成 --- */
.hkn-cta-micro {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* --- 信頼バッジ（フォーム下） --- */
.hkn-form-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px dashed #ddd;
}
.hkn-form-trust span {
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hkn-form-before {
  margin: 20px 0 18px;
  padding: 16px 18px;
  background: #f8fbfe;
  border: 1px solid #dce9f3;
  border-radius: 10px;
}

.hkn-form-before strong,
.hkn-form-before span {
  display: block;
}

.hkn-form-before strong {
  font-size: 14px;
  color: #1a5276;
  margin-bottom: 6px;
}

.hkn-form-before span {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* --- 追従CTA（FV通過後〜フォーム手前のみ表示） --- */
.hkn-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, #fff 100%);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hkn-sticky-cta.is-visible {
  transform: translateY(0);
}
.hkn-sticky-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a5276;
}
.hkn-sticky-cta a {
  display: inline-block;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 12px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
  transition: all 0.3s;
  white-space: nowrap;
}
.hkn-sticky-cta a:hover {
  background: linear-gradient(135deg, #d35400, #e67e22);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
  color: #fff !important;
}
.hkn-sticky-cta .hkn-cta-micro {
  font-size: 11px;
  margin-bottom: 1px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  body.page-id-13 {
    overflow-x: hidden;
  }
  .page-id-13 .wrap,
  .page-id-13 .content-in,
  .page-id-13 .main,
  .page-id-13 .article,
  .page-id-13 .entry-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-id-13 .entry-content,
  .hkn-lp {
    overflow-x: hidden;
  }
  .page-id-13 .hkn-lp {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .page-id-13 .hkn-hero {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: visible;
  }
  .page-id-13 .hkn-hero::before {
    right: -180px;
  }
  .page-id-13 .hkn-hero h1,
  .page-id-13 .hkn-hero-sub,
  .page-id-13 .hkn-hero-note {
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
  }
  .page-id-13 .hkn-hero-cta {
    max-width: 100%;
    white-space: normal;
  }
  .hkn-stats {
    width: 100%;
    max-width: 100%;
  }
  .hkn-section-lead {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hkn-hero-trust {
    gap: 6px;
  }
  .hkn-hero-trust span {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }
  .hkn-price-factors {
    padding: 24px 18px;
  }
  .hkn-factor-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hkn-factor-item {
    padding: 18px;
  }
  .hkn-reasons-item {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }
  .hkn-reasons-num {
    width: auto;
    text-align: left;
    font-size: 22px;
  }
  .hkn-merit-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hkn-merit-card {
    text-align: left;
    padding: 24px 20px;
  }
  .hkn-merit-num {
    text-align: left;
  }
  .hkn-flow-steps {
    padding-left: 32px;
  }
  .hkn-flow-steps::before {
    left: 11px;
  }
  .hkn-flow-num {
    left: -32px;
    font-size: 10px;
    padding: 2px 6px;
  }
  .hkn-flow-step {
    padding-left: 16px;
  }
  .hkn-form-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hkn-sticky-cta {
    flex-direction: row;
    gap: 8px;
    padding: 4px 10px calc(4px + env(safe-area-inset-bottom));
    min-height: auto;
  }
  .hkn-sticky-cta-text {
    display: none;
  }
  .hkn-sticky-cta a {
    display: inline-block;
    max-width: 240px;
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hkn-sticky-cta .hkn-cta-micro {
    display: none;
  }
  .hkn-mid-cta {
    padding: 24px 16px;
  }
  /* モバイル固定CTA分の余白 */
  .hkn-reassure {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .page-id-13 .hkn-hero {
    padding: 32px 16px 30px;
  }
  .page-id-13 .hkn-hero-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
  .page-id-13 .hkn-hero h1 {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.45;
    word-break: break-all;
    white-space: normal !important;
  }
  .page-id-13 .hkn-hero-sub {
    font-size: 13px;
  }
  .page-id-13 .hkn-hero-cta {
    width: 100%;
    max-width: 320px;
    padding: 16px 20px;
    font-size: 16px;
  }
  .page-id-13 .hkn-hero-note {
    font-size: 11px;
  }
  .page-id-13 .hkn-hero h1,
  .page-id-13 .hkn-hero-sub,
  .page-id-13 .hkn-hero-note {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-id-13 .hkn-hero h1 em:nth-of-type(2)::after {
    content: "\A";
    white-space: pre;
  }
  .page-id-13 .hkn-hero h1 {
    font-size: 18px !important;
  }
  .page-id-13 .hkn-hero-sub {
    font-size: 12px !important;
  }
  .page-id-13 .hkn-hero-note {
    font-size: 10px !important;
  }
  .page-id-13 .hkn-hero-trust {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }
  .page-id-13 .hkn-hero-trust span {
    white-space: normal;
  }
  .hkn-section-lead {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .hkn-hero-trust {
    gap: 6px;
    margin-top: 12px;
  }
  .hkn-hero-trust span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }
  .hkn-price-factors {
    padding: 20px 16px;
    margin-bottom: 36px;
  }
  .hkn-factor-item {
    padding: 16px;
  }
  .hkn-factor-item span {
    font-size: 18px;
  }
  .hkn-reasons-section,
  .hkn-merit-section,
  .hkn-flow-section,
  .hkn-about,
  .hkn-mid-cta {
    margin-bottom: 36px;
  }
  .hkn-reasons-item,
  .hkn-merit-card {
    padding: 18px 16px;
  }
  .hkn-reasons-body h3,
  .hkn-merit-card h3,
  .hkn-flow-step h3 {
    font-size: 15px;
  }
  .hkn-reasons-body p,
  .hkn-merit-card p,
  .hkn-flow-step p,
  .hkn-about-lead {
    font-size: 13px;
  }
  .hkn-flow-steps {
    padding-left: 28px;
  }
  .hkn-flow-steps::before {
    left: 9px;
  }
  .hkn-flow-num {
    left: -28px;
  }
  .hkn-form-before {
    padding: 14px 16px;
  }
  .hkn-sticky-cta a {
    width: 100%;
    max-width: 240px;
  }
}

@media (max-width: 375px) {
  .page-id-13 .hkn-hero {
    padding: 28px 14px 28px;
  }
  .page-id-13 .hkn-hero h1 {
    font-size: 17px !important;
    max-width: 300px;
  }
  .page-id-13 .hkn-hero-sub {
    font-size: 12px;
  }
  .page-id-13 .hkn-hero-cta {
    font-size: 15px;
    padding: 15px 16px;
  }
  .hkn-price-factors {
    padding: 18px 14px;
  }
  .hkn-hero-trust span {
    font-size: 10px;
    padding: 0 7px;
  }
  .hkn-mid-cta {
    padding: 20px 14px;
  }
  .hkn-reasons-item,
  .hkn-merit-card {
    padding: 16px 14px;
  }
  .hkn-sticky-cta {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hkn-sticky-cta a {
    padding: 7px 10px;
    font-size: 12px;
  }
}
