/* Google Fonts: Noto Sans JP */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

*,
:before,
:after {
  box-sizing: border-box
}

/* 既存テーマの展示場画像を非表示 */
.mainVisual2 {
  display: none !important;
}

/* ヘッダーをすりガラス風に */
.header_fix {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===========================================================
   Japandi Hero Section
=========================================================== */
.mainVisual_new {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  background-color: #2D4039;
  background-image: url('PC_BK.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.mainVisual_new::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  animation: zoomAnimation 25s infinite alternate;
  z-index: 0;
}

@keyframes zoomAnimation {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.mv_inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.mv_card_area {
  width: 500px;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px solid rgba(180, 200, 170, 0.5);
  background: rgba(35, 45, 35, 0.78);
  backdrop-filter: blur(4px);
  padding: 36px;
}

.mv_heading_text {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.18rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.06em;
  text-align: center;
}

.mv_heading_em {
  font-size: 2.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mv_heading_num {
  font-size: 3.24rem;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: -0.02em;
}

.mv_present_text {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  line-height: 1.8;
  margin: 20px 0 28px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.mv_present_text strong {
  color: #D9C5B2;
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 1px solid #D9C5B2;
}

.btn_center {
  text-align: center;
}

.btn-diagnosis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 60px;
  background-color: #2D4039;
  color: #D9C5B2;
  border: 1px solid #D9C5B2;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.btn-diagnosis::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(217,197,178,0.2), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-diagnosis:hover {
  background-color: #384d45;
  color: #fff;
  letter-spacing: 0.25em;
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.btn-diagnosis:hover::before { left: 100%; }

.btn-arrow {
  display: inline-block;
  width: 8px; height: 8px;
  border-top: 2px solid #D9C5B2;
  border-right: 2px solid #D9C5B2;
  transform: rotate(45deg);
  margin-left: 20px;
  transition: 0.4s;
}

.btn-diagnosis:hover .btn-arrow {
  border-color: #fff;
  transform: rotate(45deg) translate(5px, -5px);
}

/* SP Hero */
@media screen and (max-width: 768px) {
  .mainVisual_new {
    background-image: url('SP_BK.jpg');
    height: auto;
    min-height: 100vh;
    padding-top: 40px;
  }
  .mv_inner {
    padding-top: 20px;
  }
  .mv_card_area {
    width: 90%;
    height: auto;
    padding: 30px 20px 28px;
  }
  .mv_heading_text {
    font-size: 2.46rem;
  }
  .mv_heading_em {
    font-size: 2.21rem;
  }
  .mv_heading_num {
    font-size: 2.73rem;
  }
  .mv_present_text {
    font-size: 1rem;
    margin: 15px 0 20px;
  }
  .mv_present_text strong {
    font-size: 1.2rem;
  }
  .btn-diagnosis {
    padding: 18px 50px;
    font-size: 1.2rem;
    white-space: nowrap;
  }
}

/* ===========================================================
   Quiz Form Styles
=========================================================== */

.hj-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  margin: clamp(30px, calc(80/1440*100vw), 80px) auto 20px;
  max-width: 1100px;
  width: 100%;
  padding: 0;
  font-size: 17px;
  line-height: 1.8;
}

.hj-wrap>.hj-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  border: 1px solid #f0f0f0;
}

.hj-wrap #hj-header {
  margin: 0 -30px 18px;
  overflow: hidden;
}

.hj-wrap #hj-header img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.hj-wrap .maker-logo-wrap {
  margin: 0 auto 20px;
  text-align: center;
  padding: 0 0 15px;
}

.hj-wrap .maker-logo-wrap img {
  max-width: 100%;
  height: auto;
  opacity: .9;
}

.hj-wrap>.hj-card h1 {
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: center;
  color: #2c3e50;
  letter-spacing: 0.05em;
}

.hj-wrap>.hj-card .sub {
  text-align: left;
  margin: 0 0 35px;
  opacity: .88;
  font-size: 1.05em;
  line-height: 1.9;
}

@media screen and (max-width:768px) {
  .hj-wrap>.hj-card .sub {
    font-size: 1em;
  }
}

.hj-wrap>.hj-card .sub b {
  background: linear-gradient(transparent 60%, #f5e6b3 60%);
  font-weight: 700;
  padding: 0 2px;
}

.hj-step {
  display: none
}

.hj-step[data-step="1"] {
  display: block
}

.hj-step.active {
  display: block
}

.hj-step h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 16px;
  color: #2c3e50;
  border-left: 5px solid #c9a43c;
  padding-left: 14px;
  letter-spacing: 0.03em;
}

.hj-step .req {
  display: inline-block;
  font-size: 13px;
  color: #c9a43c;
  border: 1px solid #c9a43c;
  border-radius: 3px;
  padding: 3px 8px;
  margin-left: 10px;
  font-weight: 600;
}

.hj-step .desc {
  margin: 0 0 24px;
  opacity: .85;
  font-size: 1em;
}

@media screen and (max-width:600px) {
  .hj-step .desc {
    font-size: 0.85em;
  }
}

.hj-options {
  margin: 0 0 20px;
}

.hj-opt {
  display: block;
  padding: 18px 22px;
  margin: 0 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  font-size: 1.05em;
  display: flex;
}

.hj-opt:hover {
  border-color: #c9a43c;
  background: #fffbf2;
}

.hj-opt input {
  margin-right: 12px;
  transform: scale(1.2);
  flex-shrink: 0;
}

.hj-opt span {
  font-weight: 500;
}

.hj-other {
  margin: 18px 0;
  padding: 18px;
  background: #f9f9f9;
  border-radius: 8px;
}

.hj-other-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #555;
  font-size: 1em;
}

.hj-other input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
}

.hj-error {
  display: none;
  color: #c9343c;
  font-weight: 600;
  margin: 14px 0;
  padding: 12px;
  background: #ffe6e6;
  border-radius: 6px;
  font-size: 0.95em;
}

.hj-error.show {
  display: block
}

.hj-nav {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 0;
}
/* Q1など単ボタンのみの場合は右寄せ */
.hj-nav > button:only-child {
  margin-left: auto;
}

.hj-btn {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 16px 28px;
  font-size: 1.1em;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
  background: linear-gradient(135deg, #c9a43c, #e8c468);
  color: #fff;
  box-shadow: 0 4px 12px rgba(201, 164, 60, 0.3);
  font-family: inherit;
  letter-spacing: 0.05em;
}

.hj-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 164, 60, 0.4);
}

.hj-btn--ghost {
  background: #fff;
  color: #c9a43c;
  border: 2px solid #c9a43c;
  box-shadow: none;
}

.hj-btn--ghost:hover {
  background: #fffbf2;
}

.hj-present-banner {
  margin: 20px -30px 0;
  text-align: center;
}

.hj-present-banner img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: block;
}

.hj-my-answers .hj-list li {
  margin-bottom: 8px;
  list-style: none;
  padding-bottom: 8px;
  border-bottom: 1px dashed #eee;
  font-size: 1em
}

.hj-recommend-text-arrow {
  text-align: center;
  font-size: 1.4em;
  font-weight: 800;
  color: #333;
  margin: 50px 0 20px;
}

.hj-arrow-down {
  display: block;
  margin: 10px auto 0;
}

.hj-stats-box {
  max-width: 1100px;
  width: 100%;
  padding: 30px 20px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  border: 1px solid #f0f0f0;
  font-family: 'Noto Sans JP', sans-serif;
}

.hj-stats-section {
  margin-bottom: 30px;
  padding: 0;
}

.hj-stats-title {
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.5em;
  color: #2c3e50;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
  letter-spacing: 0.03em;
}

.hj-stats-total {
  display: none;
}

.hj-stats-subtitle {
  font-size: 1.3em;
  color: #2c3e50;
  margin-bottom: 6px;
  font-weight: 700;
  padding: 0;
  background: none;
  border-left: none;
  letter-spacing: 0.02em;
}

.hj-stats-respondents {
  font-size: 0.8em;
  color: #999;
  margin-bottom: 14px;
}

.hj-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}

.hj-bar-row:last-child {
  margin-bottom: 0;
}

.hj-bar-label {
  font-weight: 400;
  color: #555;
  font-size: 0.8em;
  line-height: 1.4;
  flex: 0 0 200px;
  min-width: 0;
  word-break: break-all;
}
@media (max-width: 600px) {
  .hj-bar-label { flex: 0 0 120px; font-size: 0.72em; }
  .hj-bar-num   { flex: 0 0 60px; font-size: 0.72em; }
}

.hj-bar-track {
  flex: 1;
  min-width: 0;
  height: 14px;
  background: #f5f5f5;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.hj-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a43c 0%, #e8c468 100%);
  border-radius: 7px;
  transition: width 0.8s ease-out;
  position: relative;
  display: block;
  float: left;
}

.hj-bar-fill::after {
  display: none;
}

.hj-bar-num {
  flex: 0 0 80px;
  text-align: right;
  font-weight: 500;
  font-size: 0.8em;
  color: #888;
  white-space: nowrap;
}

.hj-result-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 診断結果カード（CTA風囲み） */
.hj-result-card {
  text-align: center;
  background: #f9f7f3;
  padding: 50px 40px;
  border: 2px solid #c9a43c;
  border-radius: 8px;
  margin-bottom: 40px;
}

.hj-result-card-heading {
  font-size: 1.1em;
  font-weight: 700;
  color: #c9a43c;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
}

.hj-result-card-body {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 36px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
}

.hj-result-card-body .hj-type-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 14px;
  color: #2c3e50;
  border-left: 5px solid #c9a43c;
  padding-left: 14px;
}

.hj-result-card-body .hj-type-copy {
  line-height: 2;
  color: #555;
  font-size: 1em;
  margin: 0;
}

.hj-cards-block {
  width: 100%;
  margin: 20px 0;
}

.hj-block-title {
  font-weight: 700;
  margin: 18px 0 15px;
  font-size: 1.3em;
  color: #2c3e50;
  letter-spacing: 0.03em;
}

.hj-type-title {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 10px;
  color: #2c3e50;
  letter-spacing: 0.03em;
}

.hj-type-copy {
  line-height: 1.9;
  opacity: .88;
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.hj-result-wrap .hj-cards-wrap {
  position: relative;
  max-width: 100%;
  margin: 20px 0;
  overflow: visible;
  padding: 0 50px;
}

.hj-result-wrap .hj-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 0 20px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hj-result-wrap .hj-cards::-webkit-scrollbar {
  display: none;
}

.hj-result-wrap .hj-card {
  flex: 0 0 auto;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.hj-result-wrap .hj-card:hover {
  box-shadow: 0 6px 20px rgba(201, 164, 60, 0.3);
  transform: translateY(-4px);
}

.hj-result-wrap .hj-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f8f6f2;
}

.hj-result-wrap .hj-card-body {
  padding: 16px;
}

.hj-result-wrap .hj-card-id {
  font-size: 12px;
  opacity: .75;
  margin: 0 0 6px;
  color: #c9a43c;
}

.hj-result-wrap .hj-card-title {
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 16px;
  color: #2c3e50;
}

.hj-result-wrap .hj-card-text {
  margin: 0;
  line-height: 1.6;
  opacity: .92;
  font-size: 14px;
  color: #555;
}

.hj-result-wrap .hj-cards-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #c9a43c;
  background: #fff;
  color: #c9a43c;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hj-result-wrap .hj-cards-btn:hover {
  background: #c9a43c;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.hj-result-wrap .hj-prev {
  left: 0
}

.hj-result-wrap .hj-next {
  right: 0
}

.hj-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hj-spec-chip {
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  opacity: .92;
}

.hj-cta {
  margin-top: 30px;
  text-align: center;
}

/* マーカーアニメーション */
.hj-marker,
.dm-marker {
  background: linear-gradient(transparent 50%, #f5e6b3 50%);
  background-size: 200% 200%;
  background-position: 0 0;
  padding: 0 2px;
  font-weight: 700;
}

.hj-marker.is-visible,
.dm-marker.is-visible {
  animation: hjMarkerDraw 1.2s ease-out forwards;
}

@keyframes hjMarkerDraw {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

/* CTA Box（インセンティブ付き） */
.hj-cta-box {
  text-align: center;
  background: #f4f1ea;
  padding: 50px 30px;
  border: 2px solid #c9a43c;
  border-radius: 8px;
  margin-top: 40px;
}

.hj-cta-box .hj-cta-heading {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 14px;
  color: #2c3e50;
}

.hj-cta-box .hj-cta-desc {
  line-height: 2;
  margin: 0 0 24px;
  color: #555;
  font-size: 0.95em;
}

.hj-cta-box .hj-btn {
  display: inline-block;
  flex: none;
  padding: 20px 60px;
  font-size: 1.1em;
  border-radius: 50px;
}

.hj-cta-box .hj-cta-note {
  margin-top: 12px;
  font-size: 0.8em;
  color: #888;
}

/* クリニック建築事例セクション */
.hj-cases-section {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hj-cases-section .hj-block-title {
  font-weight: 700;
  font-size: 1.5em;
  color: #2c3e50;
  margin-bottom: 20px;
}

.hj-cases-carousel {
  position: relative;
  padding: 0 50px;
}

.hj-cases-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hj-cases-track::-webkit-scrollbar {
  display: none;
}

.hj-case-card {
  flex: 0 0 300px;
  min-width: 300px;
  max-width: 300px;
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.hj-case-card:hover {
  box-shadow: 0 6px 20px rgba(201,164,60,0.3);
  transform: translateY(-4px);
}

.hj-case-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #d0d0d0 0%, #b8b8b8 40%, #c8c8c8 60%, #a8a8a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hj-case-placeholder::before {
  content: "施工イメージ";
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hj-case-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}

.hj-case-body {
  padding: 16px;
}

.hj-case-label {
  font-size: 12px;
  color: #c9a43c;
  opacity: 0.85;
  margin-bottom: 6px;
}

.hj-case-name {
  font-weight: 800;
  font-size: 15px;
  color: #2c3e50;
  margin-bottom: 6px;
}

.hj-case-meta {
  font-size: 12px;
  color: #c9a43c;
  font-weight: 600;
  margin-bottom: 8px;
}

.hj-case-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.hj-cases-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #c9a43c;
  background: #fff;
  color: #c9a43c;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hj-cases-btn:hover {
  background: #c9a43c;
  color: #fff;
}

.hj-cases-prev { left: 0; }
.hj-cases-next { right: 0; }

@media (max-width: 768px) {
  .hj-cases-section {
    padding: 0 15px;
  }
  .hj-cases-carousel {
    padding: 0 40px;
  }
  .hj-case-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
  }
  .hj-cases-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* パーソナルメッセージ（Q2×Q3） */
.hj-personal-section {
  margin: 36px 0;
}

.hj-personal-msg {
  display: flex;
  gap: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  background: #fbf9f4;
  border: 1px solid #f2ead7;
  border-left: 4px solid #c9a43c;
  border-radius: 8px;
}

.hj-personal-icon {
  flex-shrink: 0;
  font-size: 1.6em;
  line-height: 1;
  margin-top: 2px;
}

.hj-personal-body {
  flex: 1;
}

.hj-personal-title {
  font-weight: 700;
  font-size: 1.1em;
  color: #2c3e50;
  margin-bottom: 8px;
}

.hj-personal-text {
  line-height: 1.9;
  color: #555;
  font-size: 0.95em;
}

@media (max-width: 768px) {
  .hj-personal-msg {
    padding: 18px 16px;
    gap: 12px;
  }
}

.hj-result-type {
  margin: 10px 0 0;
  padding: 16px;
  border: 1px solid #f2ead7;
  background: #fbf9f4;
  border-radius: 14px
}

.hj-result-badge {
  display: inline-block;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  background: #c9a43c;
  color: #fff;
  font-size: 1.05em;
  margin-bottom: 10px
}

.hj-result-score {
  margin-top: 8px;
  color: #777;
  font-weight: 700;
  font-size: 0.95em
}

.hj-result-copy {
  margin-top: 10px;
  color: #444;
  line-height: 1.7
}

.hj-result-sub {
  margin-top: 12px;
  font-weight: 800;
  color: #6d5b28
}

.hj-result-specs {
  margin: 10px 0 0;
  padding-left: 18px
}

.hj-result-specs li {
  margin: 6px 0
}

@media (max-width:768px) {
  .hj-wrap {
    font-size: 21px;
  }

  .hj-wrap>.hj-card {
    padding: 25px 20px;
    width: 94%
  }

  .hj-wrap>.hj-card h1 {
    font-size: 1.5em
  }

  .hj-wrap #hj-header {
    margin: 0 -20px 15px
  }

  .hj-wrap .maker-logo-wrap {
    margin: 0 auto 15px;
    padding: 0 0 10px;
  }

  .hj-wrap .maker-logo-wrap img {
    width: 100%
  }

  .hj-present-banner {
    margin: 15px -20px 0
  }

  .hj-step h2 {
    font-size: 1.5em
  }

  .hj-opt {
    padding: 14px 16px;
    font-size: 1em
  }

  .hj-stats-box {
    padding: 20px 15px
  }

  .hj-stats-section {
    margin-bottom: 20px
  }

  .hj-stats-title {
    font-size: 1.3em
  }

  .hj-stats-subtitle {
    font-size: 1em
  }

  .hj-stats-subtitle {
    font-size: 1.1em
  }

  .hj-bar-row {
    flex-wrap: wrap;
    gap: 6px
  }

  .hj-bar-label {
    flex: 0 0 100%;
    min-width: 100%;
    font-size: 0.8em
  }

  .hj-bar-track {
    flex: 1;
    max-width: none;
    height: 12px
  }

  .hj-bar-num {
    flex: 0 0 70px;
    font-size: 0.75em
  }

  .hj-wrap .hj-btn {
    padding: 14px 20px;
    min-width: 110px;
    font-size: 1em
  }

  .hj-recommend-text-arrow {
    font-size: 1.2em;
    margin: 40px 0 15px
  }

  .hj-result-wrap {
    padding: 15px
  }

  .hj-result-wrap .hj-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px
  }

  .hj-result-wrap .hj-cards-wrap {
    padding: 0 40px
  }

  .hj-result-wrap .hj-cards-btn {
    width: 36px;
    height: 36px;
    font-size: 20px
  }

  .hj-result-wrap .hj-prev {
    left: 0
  }

  .hj-result-wrap .hj-next {
    right: 0
  }

  .hj-type-title {
    font-size: 1.3em
  }

  .hj-block-title {
    font-size: 1.1em
  }

  .hj-result-card {
    padding: 30px 20px;
  }

  .hj-result-card-body {
    padding: 20px 18px;
  }

  .hj-result-card-body .hj-type-title {
    font-size: 1.2em;
  }
}
/* スロット再表示ボタン（結果カード内） */
#ls-reopen-wrap.ls-reopen-wrap {
  justify-content: center;
  margin-top: 24px;
}

/* ══════════════════════════════════════════
   doctor-message セクション（HTMLページと同スタイル）
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

.hj-formama-result-page,
.hj-formama-result-page * {
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}
.hj-formama-result-page { padding: 60px 20px; background: #fff; color: #333; line-height: 2; font-size: 16px; }
.hj-formama-result-page .dm-container { max-width: 1100px; margin: 0 auto; }
.dm-main-title { font-size: 28px; text-align: center; margin-bottom: 40px; font-weight: bold; color: #c9a43c; line-height: 1.4; }
.dm-section-title { font-size: 24px; text-align: center; margin-bottom: 32px; border-bottom: 2px solid #c9a43c; display: inline-block; padding-bottom: 10px; position: relative; left: 50%; transform: translateX(-50%); font-weight: bold; }
.dm-center { text-align: center; }

/* 理由4つ */
.dm-evidence-section { background: #f9f9f9; padding: 50px 40px; border-radius: 8px; margin-bottom: 60px; }
.dm-evidence-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.dm-evidence-item { background: #fff; padding: 30px; border: 1px solid #ddd; border-radius: 5px; }
.dm-evidence-item strong { display: block; color: #2c3e50; margin-bottom: 15px; font-size: 18px; line-height: 1.4; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.dm-evidence-item p { font-size: 15px; margin: 0 0 15px; }
.dm-evidence-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* メーカー・資産・仕様・流れ */
.dm-makers-section, .dm-asset-section, .dm-features-section, .dm-flow-section { margin-bottom: 60px; }
.dm-features-columns { display: flex; flex-wrap: wrap; gap: 30px; }
.dm-features-col { flex: 1; min-width: 280px; background: #fdfdfd; padding: 30px; border: 1px solid #eee; }
.dm-features-col h4 { font-size: 18px; margin-bottom: 16px; color: #c9a43c; font-weight: bold; text-align: center; }
.dm-check-list { list-style: none; padding: 0; margin: 0; }
.dm-check-list li { margin-bottom: 10px; padding-left: 24px; position: relative; font-size: 15px; }
.dm-check-list li::before { content: "📌"; position: absolute; left: 0; top: .1em; font-size: 13px; }
.dm-flow-steps { counter-reset: flow-counter; list-style: none; padding: 0; max-width: 700px; margin: 0 auto; }
.dm-flow-steps li { position: relative; padding-left: 40px; margin-bottom: 18px; font-weight: bold; font-size: 17px; }
.dm-flow-steps li::before { counter-increment: flow-counter; content: counter(flow-counter); position: absolute; left: 0; top: 3px; width: 26px; height: 26px; background: #c9a43c; color: #fff; border-radius: 50%; text-align: center; line-height: 26px; font-size: 13px; }

/* CTA box */
.dm-cta-box { text-align: center; background: #f4f1ea; padding: 60px 20px; border: 2px solid #c9a43c; margin: 40px 0; border-radius: 8px; }
.dm-cta-btn { display: inline-block; background: #c9a43c; color: #fff; padding: 18px 52px; font-size: 18px; text-decoration: none; margin-top: 24px; border-radius: 50px; font-weight: bold; transition: opacity .3s; }
.dm-cta-btn:hover { opacity: .82; }
.dm-marker { background: linear-gradient(transparent 50%, #f5e6b3 50%); padding: 0 2px; font-weight: 700; }

/* フォームセクション */
.hj-formama-form { padding: 60px 20px; }
.hj-formama-form .sectionWrap { max-width: 900px; margin: 0 auto; }

@media (max-width: 768px) {
  .dm-evidence-list { grid-template-columns: 1fr; }
  .dm-main-title { font-size: 20px; }
  .dm-cta-btn { padding: 14px 28px; font-size: 15px; width: 100%; }
  .hj-formama-result-page { padding: 40px 16px; }
}

/* アカチャンホンポバッジ */
.mv_akachan_badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.95em;
  font-weight: 700;
  color: #d4606a;
  background: #fff0f2;
  border: 1.5px solid #f0a0aa;
  border-radius: 20px;
  padding: 4px 16px;
  letter-spacing: .03em;
}

/* あなたの家づくり診断 - 白文字・装飾なし */
.hj-hero-title-plain {
  color: #333 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 1.8em !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: 0.08em !important;
  line-height: 1.05 !important;
  margin: 0 0 10px !important;
  background: none !important;
  border: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #333 !important;
}

/* タイトル内 small テキスト */
.hj-hero-title-plain .hj-hero-title-small {
  display: block;
  font-size: 0.5em !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  opacity: 0.85;
  margin-bottom: 0px;
  line-height: 1;
}

/* HEROカード内ロゴ */
.mv_hero_logo_wrap {
  text-align: center;
  margin-bottom: 16px;
}
.mv_hero_logo {
  width: 75%;
  max-width: 500px;
  min-width: 200px;
  height: auto;
  display: inline-block;
}

/* ── SP専用 HEROキャッチコピー調整 ── */
@media (max-width: 600px) {
  .mv_heading_text {
    font-size: 1.01em !important;
    line-height: 1.65 !important;
  }
}

/* SP: あなたのマイホーム診断 を2行に */
@media (max-width: 600px) {
  .hj-hero-title-plain {
    font-size: 1.5em !important;
    word-break: keep-all;
  }
  .hj-hero-title-plain::after {
    content: '';
    display: block;
  }
}

/* SP: あなたの→改行→マイホーム診断 */
.hj-sp-br { display: none; }
@media (max-width: 600px) {
  .hj-sp-br { display: block; }
}

/* SP: 国内7社〜【3分住宅診断】を1.5倍 */
.mv_heading_large { font-size: 1em; font-weight: bold; }
@media (max-width: 600px) {
  .mv_heading_large { font-size: 1.95em; line-height: 1.5; }
}

/* ══ SP レスポンシブ修正 ══ */
@media (max-width: 600px) {
  /* カード全体の余白縮小 */
  .hj-wrap > .hj-card {
    padding: 20px 16px 24px !important;
    border-radius: 12px;
  }

  /* Q見出しフォント縮小 */
  .hj-step h2 {
    font-size: 1.15em !important;
    padding-left: 10px;
  }

  /* 選択肢フォント・余白縮小 */
  .hj-opt {
    padding: 13px 14px !important;
    font-size: 0.9em !important;
    margin-bottom: 8px !important;
  }

  /* サブテキスト縮小 */
  .hj-wrap > .hj-card .sub {
    font-size: 0.85em !important;
  }

  /* ベースフォントも少し縮小 */
  .hj-wrap {
    font-size: 15px !important;
  }
}

/* ══ formamaページのみ: ヘッダーロゴ 200% + リンク先変更（SP限定） ══ */
@media (max-width: 768px) {
  .page-slug-formama .header_logo a,
  .page-formama .header_logo a {
    pointer-events: none; /* JS側でリンク差し替えするため無効化 */
  }
  .page-slug-formama .header_logo img,
  .page-formama .header_logo img {
    transform: scale(2);
    transform-origin: left center;
    max-width: 50%; /* 2倍にしても親からはみ出さない */
  }
}

/* FVリード小文字 */
.mv_heading_small_lead {
  font-size: 0.55em;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

/* SP: スロット再表示ボタン 改行なし・横幅広め */
@media (max-width: 768px) {
  .ls-reopen-btn {
    white-space: nowrap !important;
    width: auto !important;
    min-width: 260px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
  }
  .ls-reopen-wrap {
    padding: 0 8px;
  }
}

/* 参加メーカーロゴ（結果ページ） */
.dm-maker-logo-wrap {
  text-align: center;
  margin-top: 28px;
}
.dm-maker-logo-img {
  max-width: 100%;
  width: 700px;
  height: auto;
  display: inline-block;
}
@media (max-width: 768px) {
  .dm-maker-logo-img { width: 100%; }
}

/* みんなの統計結果も見られる: Bold・行間詰め */
.hj-hero-title-small {
  font-weight: 800 !important;
  font-size: 0.6em !important;
  line-height: 1 !important;
  margin-bottom: 0 !important;
}
.hj-hero-title-plain {
  line-height: 1.2 !important;
}
