/* ===================
   Reset & Base
=================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #1a2a4a;
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ===================
   Layout
=================== */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 600px; }

.section {
  padding: 60px 0;
}
.fv + .section {
  padding-top: 24px;
}

.section-light { background: linear-gradient(180deg, #f4faff 0%, #e8f4fb 100%); }
.section-white { background: #fff; }
.section-blue {
  background: linear-gradient(180deg, #1e3a8a 0%, #1b4d9b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-blue::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.section-blue::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* ===================
   Header
=================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e0eaf5;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.logo { height: 32px; width: auto; }
.header-cta {
  background: linear-gradient(135deg, #1b4d9b 0%, #4a90d9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(27, 77, 155, 0.3);
  transition: transform 0.2s;
}
.header-cta:hover { transform: translateY(-1px); }

/* ===================
   FV
=================== */
.fv {
  background: #fff;
}
.fv-image {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: block;
}

/* ===================
   Section Title
=================== */
.section-title {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.section-title.white { color: #fff; }
.section-title.mincho {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: #1b3a7a;
}

.hl {
  background: linear-gradient(transparent 60%, #ffe566 60%);
  padding: 0 4px;
}
.section-title.mincho .hl {
  background: linear-gradient(transparent 65%, #ffe566 65%);
}
.hl-y {
  color: #ffd93d;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.section-lead {
  text-align: center;
  font-size: 15px;
  color: #5a6b85;
  margin-bottom: 40px;
  line-height: 1.9;
}
.section-blue .section-lead { color: rgba(255,255,255,0.85); }

.section-close {
  text-align: center;
  font-size: 16px;
  margin-top: 40px;
  line-height: 1.9;
}
.section-close strong { color: #1b4d9b; font-weight: 700; }

/* ===================
   Compare Cards
=================== */
.compare-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin-top: 30px;
}
.compare-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(27, 77, 155, 0.08);
  border: 2px solid transparent;
}
.compare-bad {
  border-color: #f4d4d4;
  background: linear-gradient(180deg, #fff 0%, #fdf4f4 100%);
}
.compare-good {
  border-color: #c4dff5;
  background: linear-gradient(180deg, #fff 0%, #f0f8fd 100%);
}
.compare-label {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.compare-bad .compare-label { background: #f4d4d4; color: #b54040; }
.compare-good .compare-label { background: #c4dff5; color: #1b4d9b; }

.compare-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.7;
}
.compare-bad .compare-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: 5px;
  color: #c45a5a;
  font-weight: 900;
  font-size: 16px;
}
.compare-good .compare-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 5px;
  color: #1b4d9b;
  font-weight: 900;
  font-size: 14px;
}
.compare-conclusion {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #d4e0ed;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}
.compare-conclusion.bad { color: #b54040; }
.compare-conclusion.good { color: #1b4d9b; }

.compare-arrow {
  text-align: center;
  font-size: 24px;
  color: #4a90d9;
  font-weight: 900;
  transform: rotate(90deg);
}

@media (min-width: 720px) {
  .compare-grid {
    flex-direction: row;
    align-items: stretch;
  }
  .compare-card { flex: 1; }
  .compare-arrow { transform: none; align-self: center; }
}

/* ===================
   Checklist
=================== */
.checklist {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(27, 77, 155, 0.08);
  border: 2px solid #e0eaf5;
  margin-bottom: 30px;
}
.checklist li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px dashed #e0eaf5;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid #1b4d9b;
  border-radius: 6px;
  background: #fff;
}
.checklist li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #1b4d9b;
  font-weight: 900;
  font-size: 18px;
}
.checklist-close {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #2c3e50;
  font-weight: 500;
}
.checklist-close strong { color: #1b4d9b; font-weight: 700; }

/* ===================
   Case Card (ひろた歯科)
=================== */
.case-card {
  background: #fff;
  color: #1a2a4a;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}
.case-header { text-align: center; margin-bottom: 24px; }
.case-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd93d 0%, #ffbf3d 100%);
  color: #1a2a4a;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.case-name {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  color: #1b4d9b;
  margin-bottom: 4px;
}
.case-sub { font-size: 13px; color: #5a6b85; }

.case-intro {
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
  background: #f4faff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.case-results {
  margin-bottom: 28px;
}
.case-results li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px dashed #e0eaf5;
}
.case-results li:last-child { border-bottom: none; }
.case-results .check {
  position: absolute;
  left: 0;
  top: 11px;
  width: 22px;
  height: 22px;
  background: #1b4d9b;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-results strong { color: #1b4d9b; font-weight: 700; }

.case-quote {
  background: linear-gradient(135deg, #f4faff 0%, #e8f4fb 100%);
  border-left: 4px solid #1b4d9b;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 0 12px 12px 0;
}
.case-quote p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  font-weight: 500;
}
.case-quote p:last-of-type { margin-bottom: 8px; }
.case-quote cite {
  display: block;
  text-align: right;
  font-size: 13px;
  font-style: normal;
  color: #1b4d9b;
  font-weight: 700;
}

.case-staff {
  background: #fdf9ef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.case-staff-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: #c89a3d;
}
.case-staff-quote p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.case-staff-quote p:last-child { margin-bottom: 0; }

.case-fear-title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #1b4d9b;
}
.fear-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fear-table th, .fear-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #e0eaf5;
  vertical-align: middle;
}
.fear-table th {
  background: #1b4d9b;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.fear-table td {
  background: #fff;
}
.fear-table tr td:last-child {
  font-weight: 700;
  color: #1b4d9b;
  background: #f4faff;
}

.case-foot {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
}

/* ===================
   Case Study Image Section
=================== */
.section-case {
  background: #fff;
  padding: 0 0 8px;
  margin-top: -56px;
}
.case-image-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.case-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 77, 155, 0.15);
  display: block;
}
.case-foot-light {
  text-align: center;
  font-size: 11px;
  color: #5a6b85;
  margin-top: 16px;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 380px) {
  .case-foot-light { font-size: 10px; }
}

/* ===================
   Compare Pair (滅菌を院内 vs 外注)
=================== */
.section-compare {
  background: #fff;
  padding: 16px 0 32px;
}
.compare-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.compare-image-wrap {
  width: 100%;
  max-width: 480px;
}
.compare-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: block;
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1b4d9b 0%, #4a90d9 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(27, 77, 155, 0.3);
  margin: -8px 0;
  position: relative;
  z-index: 1;
}
.vs-arrow {
  display: inline-block;
  transform: translateY(-1px);
}

@media (min-width: 760px) {
  .compare-pair {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
  }
  .compare-image-wrap { flex: 1; max-width: 360px; }
  .compare-vs {
    margin: 0;
    align-self: center;
  }
  .vs-arrow { transform: rotate(-90deg); }
}

/* ===================
   Compare Message (キラーん演出)
=================== */
.compare-message {
  position: relative;
  margin-top: 28px;
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f4faff 0%, #e8f4fb 100%);
  border-radius: 16px;
  border: 2px solid #c4dff5;
  overflow: hidden;
}
.compare-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 80%
  );
  transform: skewX(-20deg);
  animation: kiraan 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes kiraan {
  0%, 60% {
    left: -75%;
  }
  80% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

.compare-message-text {
  position: relative;
  z-index: 1;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0;
  color: #1b3a7a;
}
.compare-message-text .line {
  display: inline-block;
  white-space: nowrap;
}
.compare-message-text .shine {
  background: linear-gradient(90deg, #1b4d9b 0%, #4a90d9 50%, #1b4d9b 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  animation: shineSlide 4s ease-in-out infinite;
}
@keyframes shineSlide {
  0%, 60% { background-position: 100% 0; }
  80%, 100% { background-position: 0 0; }
}

/* スパークル */
.sparkle {
  position: absolute;
  font-size: 18px;
  color: #ffd93d;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  text-shadow: 0 0 8px rgba(255, 217, 61, 0.8);
}
.sparkle-1 {
  top: 18%; left: 14%;
  animation: sparkleFlash 4s ease-in-out infinite;
  animation-delay: 0.5s;
}
.sparkle-2 {
  top: 12%; right: 12%;
  animation: sparkleFlash 4s ease-in-out infinite;
  animation-delay: 0.8s;
}
.sparkle-3 {
  bottom: 18%; left: 10%;
  animation: sparkleFlash 4s ease-in-out infinite;
  animation-delay: 1.1s;
  font-size: 14px;
}
.sparkle-4 {
  bottom: 14%; right: 16%;
  animation: sparkleFlash 4s ease-in-out infinite;
  animation-delay: 0.6s;
  font-size: 16px;
}
@keyframes sparkleFlash {
  0%, 55%, 90%, 100% {
    opacity: 0;
    transform: scale(0.3) rotate(0deg);
  }
  65%, 75% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

@media (min-width: 760px) {
  .compare-message-text { font-size: 24px; }
}

/* ===================
   Flow Image (Horizontal Swipe)
=================== */
.section-flow .container + .flow-swipe-wrap,
.section-flow .flow-swipe-wrap {
  margin: 24px 0;
}
.flow-swipe-wrap {
  background: #fff;
  padding: 0;
  box-shadow: none;
  border: none;
}
.flow-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #4a90d9;
  background: #f4faff;
  padding: 8px 12px;
  border-radius: 20px;
  margin: 0 20px 12px;
  font-weight: 700;
  animation: hintPulse 2s ease-in-out infinite;
}
.hint-icon {
  font-size: 14px;
  animation: hintWave 1.5s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
@keyframes hintWave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.flow-swipe-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #4a90d9 #e0eaf5;
  position: relative;
}
.flow-swipe-container::-webkit-scrollbar {
  height: 8px;
}
.flow-swipe-container::-webkit-scrollbar-track {
  background: #e0eaf5;
  border-radius: 4px;
}
.flow-swipe-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #4a90d9 0%, #1b4d9b 100%);
  border-radius: 4px;
}
.flow-swipe-container .flow-image {
  /* original image aspect: 1731×885 ≒ 1.96:1 */
  height: auto;
  max-width: none;
  width: 1200px;
  display: block;
}
.flow-swipe-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 20px 0;
}
.flow-swipe-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4dff5;
  transition: background 0.3s;
}
.flow-swipe-indicator .dot.active {
  background: #1b4d9b;
  width: 20px;
  border-radius: 4px;
}

@media (min-width: 900px) {
  /* PC等で画面が広い場合はスワイプヒントを非表示 */
  .flow-swipe-hint { display: none; }
  .flow-swipe-container .flow-image { width: 100%; }
  .flow-swipe-indicator { display: none; }
}

/* ===================
   FAQ
=================== */
.faq { margin-bottom: 30px; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(27, 77, 155, 0.06);
  border: 1px solid #e0eaf5;
}
.faq-q {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
}
.faq-a {
  font-size: 14px;
  line-height: 1.8;
  padding-left: 32px;
  position: relative;
  color: #4a5870;
}
.qmark, .amark {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qmark { background: #1b4d9b; color: #fff; }
.amark { background: #ffd93d; color: #1a2a4a; }

/* ===================
   After Change (画像のみ)
=================== */
.section-after-change {
  padding: 24px 0;
}
.after-change-image {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

/* ===================
   Simulator (Refined Palette)
=================== */
.section-simulator {
  background: #0d1f3c;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-simulator::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(74, 144, 217, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.simulator-badge {
  display: table;
  margin: 0 auto 20px;
  background: transparent;
  color: #c9a96e;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 18px;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-simulator .section-title.white {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.section-simulator .hl-y {
  color: #e2c688;
  text-shadow: none;
}
.simulator-lead.white {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.simulator-card {
  background: #fafbfc;
  color: #1a2540;
  border-radius: 4px;
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.form-row { margin-bottom: 24px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  color: #1a2540;
  letter-spacing: 0.02em;
}
.req {
  display: inline-block;
  background: transparent;
  color: #b85450;
  font-size: 10px;
  padding: 1px 6px;
  border: 1px solid #d8a4a2;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.opt {
  display: inline-block;
  background: transparent;
  color: #8a96a8;
  font-size: 10px;
  padding: 1px 6px;
  border: 1px solid #c5cdd9;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.form-row input[type="text"],
.form-row input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5dbe5;
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  background: #fff;
  color: #1a2540;
}
.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}
.form-row input::placeholder {
  color: #b0b8c5;
}
.form-hint {
  font-size: 11px;
  color: #8a96a8;
  margin-top: 6px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #d5dbe5;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  user-select: none;
  color: #4a5570;
}
.checkbox-item:has(input:checked) {
  background: #fbf8f1;
  border-color: #c9a96e;
  color: #1a2540;
  font-weight: 600;
}
.checkbox-item input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #c9a96e;
}

.range-wrap {
  background: #fff;
  border: 1px solid #d5dbe5;
  border-radius: 2px;
  padding: 20px 18px 16px;
}
.range-wrap input[type="range"] {
  width: 100%;
  height: 4px;
  background: #e5e8ee;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin-bottom: 14px;
}
.range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: #e5e8ee;
  border-radius: 2px;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #1a2540;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26, 37, 64, 0.25);
  margin-top: -9px;
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #1a2540;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26, 37, 64, 0.25);
}
.range-value {
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  color: #1a2540;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
}
.range-unit {
  font-size: 13px;
  font-weight: 400;
  color: #6b7b95;
  margin-left: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}

.simulator-button {
  width: 100%;
  padding: 18px;
  background: #1a2540;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(26, 37, 64, 0.25);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}
.simulator-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 110, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.simulator-button:hover {
  background: #243154;
  box-shadow: 0 8px 24px rgba(26, 37, 64, 0.35);
}
.simulator-button:hover::before { opacity: 1; }
.btn-icon { font-size: 16px; position: relative; z-index: 1; }
.simulator-button > * { position: relative; z-index: 1; }

.simulator-note {
  text-align: center;
  font-size: 11px;
  color: #8a96a8;
  margin-top: 18px;
  line-height: 1.8;
}

/* ===================
   Result Area
=================== */
.result-area {
  margin-top: 24px;
  animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-card {
  background: #fafbfc;
  color: #1a2540;
  border-radius: 4px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  border-top: 3px solid #c9a96e;
  position: relative;
  z-index: 1;
}
.result-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7b95;
  margin-bottom: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.result-price {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2540;
  line-height: 1.2;
  margin-bottom: 6px;
}
.result-price #result-low,
.result-price #result-high {
  font-size: 48px;
  color: #1a2540;
  letter-spacing: -0.01em;
}
.result-tilde {
  margin: 0 8px;
  color: #c9a96e;
  font-size: 26px;
  font-weight: 400;
}
.result-unit {
  font-size: 14px;
  margin-left: 6px;
  color: #6b7b95;
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
}
.result-sub {
  font-size: 11px;
  color: #8a96a8;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.result-detail {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 2px;
  padding: 16px 18px;
  margin-bottom: 24px;
  text-align: left;
}
.result-detail p {
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.6;
  color: #4a5570;
}
.result-detail p:last-child { margin-bottom: 0; }
.result-detail strong {
  color: #1a2540;
  font-weight: 600;
  display: inline-block;
  min-width: 110px;
}
.result-message {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 24px;
  color: #4a5570;
}
.result-message strong { color: #1a2540; font-weight: 700; }

.result-cta {
  display: inline-block;
  background: #1a2540;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 40px;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(26, 37, 64, 0.25);
  transition: all 0.2s;
  letter-spacing: 0.08em;
  position: relative;
}
.result-cta::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 32px;
  height: 1px;
  background: #c9a96e;
  transform: translateX(-50%);
}
.result-cta:hover {
  background: #243154;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 37, 64, 0.35);
}

/* ===================
   Closing
=================== */
.closing-text {
  font-size: 15px;
  line-height: 2.0;
  text-align: center;
  margin-bottom: 20px;
}

.closing-message-image-wrap {
  margin: 8px -40px 8px;
  position: relative;
  overflow: hidden;
}
.closing-message-image {
  width: 110%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.closing-message-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.5) 60%,
    transparent 80%
  );
  transform: skewX(-20deg);
  animation: kiraan 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.closing-message-image-wrap::after {
  content: '✦';
  position: absolute;
  top: 18%;
  right: 12%;
  font-size: 22px;
  color: #4a90d9;
  text-shadow: 0 0 12px rgba(74, 144, 217, 0.8);
  animation: sparkleFlash 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

.closing-cta-simple {
  text-align: center;
  margin-top: 8px;
}

@media (min-width: 600px) {
  .closing-message-image-wrap { margin: 8px 0; }
  .closing-message-image { width: 100%; left: 0; transform: none; }
}
.closing-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1b4d9b 0%, #4a90d9 100%);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(27, 77, 155, 0.4);
  transition: transform 0.2s;
}
.closing-cta-button:hover { transform: translateY(-2px); }
.closing-cta-button .arrow {
  font-size: 22px;
  font-weight: 400;
}

/* ===================
   Footer
=================== */
.site-footer {
  background: #0d1f3c;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
  text-align: center;
}
.footer-logo {
  height: 56px;
  margin: 0 auto 32px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-companies {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.footer-company {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.footer-company-label {
  display: inline-block;
  background: transparent;
  color: #c9a96e;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border: 1px solid #c9a96e;
  border-radius: 2px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.footer-company-name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.footer-company-address {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 10px;
}
.footer-company-links {
  margin-bottom: 10px;
}
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #c9a96e;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.footer-map-link::before {
  content: '📍';
  font-size: 11px;
}
.footer-map-link:hover {
  color: #e2c688;
  border-bottom-color: #e2c688;
}
.footer-company-tel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', sans-serif;
}
.footer-company-tel a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.footer-company-tel .tel-label {
  display: inline-block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 4px;
  letter-spacing: 0.1em;
}
.footer-company-tel .tel-sep {
  display: inline-block;
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) {
  .footer-companies {
    flex-direction: row;
    gap: 20px;
    max-width: 760px;
  }
  .footer-company { flex: 1; }
}

/* ===================
   Responsive Tweaks
=================== */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .case-card { padding: 24px 18px; }
  .simulator-card { padding: 24px 18px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .result-price #result-low,
  .result-price #result-high { font-size: 36px; }
}
