:root {
  /* === ネイビー＋ゴールド カラーパレット === */
  --basic-main-color:    #2B4F8A;   /* navy-light */
  --basic-dark-blue:     #1A3460;   /* navy-mid（CTAセクション背景） */
  --basic-navy:          #0D1F3C;   /* navy（ナビ・濃色背景） */
  --color-red:           #B8973A;   /* gold（プライマリCTA） */
  --color-red-light:     #D4AF55;   /* gold-light（ホバー） */
  --color-red-pale:      #F5EDD0;   /* gold-pale */
  --color-black:         #1A2636;
  --color-white:         #FFFFFF;
  --complementary-color-grey-80: #3D4A5C;   /* gray-700 */
  --complementary-color-grey-50: #7A8799;   /* gray-500 */
  --color-blue-5:        #F7F9FC;   /* gray-50 */
  --bg-blue:             #EDF1F7;   /* gray-100 */
  --bg-gray:             #EBF0F8;   /* ice */
  --green-ok:            #1A6B45;
  --red-soft:            #C0392B;
  --item-gap:            32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

a:hover {
  color: rgba(255, 255, 255, 0.9)!important;
}

/* ===================== HERO ===================== */


.hero {
  position: relative;
  background-color: #0D1F3C;
  padding: 147px max(24px, 14.5vw);
}
.medical {
  margin: 0;
}

/* JPG背景 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/main/medical-supplies/images/hero-bg.jpg');
  background-size: auto 97%;
  background-position: center;
  background-repeat: no-repeat;
  background-position: right 5% top 160%;
}

/* ネイビーのマスクを上に重ねる */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #0D1F3C 30%,
    rgba(13,31,60,0.6) 55%,
    rgba(13,31,60,0.1) 100%
  );
}

/* コンテンツは最前面に */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,58,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(43,79,138,0.55) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg-glow2 {
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,151,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-red-light);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--color-red-light);
}

.hero-headline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 58px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s ease forwards;
}

.hero-headline-accent {
  display: block;
  color: var(--color-red-light);
  font-size: 48px;
  line-height: 1.3;
}

.hero-subheadline {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 580px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
}

.hero-subheadline strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s ease forwards;
}

.btn-hero-primary {
  padding: 18px 48px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: opacity 0.3s, transform 0.15s!important;
  box-shadow: 0 4px 14px rgba(184,151,58,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: rgba(255, 255, 255)!important;
}

.btn-hero-ghost {
  padding: 17px 36px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s!important;
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: white;
}

.hero-trust-bar {
  display: flex;
  gap: 32px;
  margin-top: 64px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s ease forwards;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 32px;
  border-right: 1px solid rgba(184,151,58,0.25);
}

.trust-item:last-child { border-right: none; }

.trust-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--color-red-light);
  line-height: 1;
  letter-spacing: 0.8px;
}

.trust-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== SECTION COMMON ===================== */
section { 
  padding: 100px 80px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--basic-main-color);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--color-red);
}

.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--basic-navy);
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--complementary-color-grey-50);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 56px;
}

/* ===================== PAIN ===================== */
.pain { background: var(--color-blue-5); }

.pain-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--item-gap);
  margin-top: 56px;
}

.pain-card {
  background: var(--color-white);
  border: 1px solid var(--bg-blue);
  border-radius: 6px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,31,60,0.08);
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
}

.pain-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--bg-blue);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.pain-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--basic-navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pain-body {
  font-size: 14px;
  color: var(--complementary-color-grey-50);
  line-height: 1.8;
}

/* ===================== FEATURES ===================== */
.features { background: var(--color-white); }

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--bg-blue);
}

.feature-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-red);
  text-transform: uppercase;
  background: var(--color-red-pale);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--basic-navy);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.feature-desc {
  font-size: 15px;
  color: var(--complementary-color-grey-50);
  line-height: 1.8;
  margin-bottom: 28px;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--complementary-color-grey-80);
  font-weight: 500;
}

.feature-points li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--color-red);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Feature Visual Cards */
.feature-visual {
  background: var(--color-blue-5);
  border: 1px solid var(--bg-blue);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.feature-visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-blue);
}

.fv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.fv-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--complementary-color-grey-50);
  letter-spacing: 0.08em;
  flex: 1;
}

/* BtoB flow visual */
.btob-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border: 1px solid var(--bg-blue);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--complementary-color-grey-80);
  transition: border-color 0.2s;
}

.flow-step:hover { border-color: var(--color-red); }

.flow-step-icon {
  width: 32px; height: 32px;
  background: var(--basic-navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step-icon svg { width: 16px; height: 16px; }

.flow-arrow {
  text-align: center;
  color: var(--color-red);
  font-size: 18px;
  line-height: 1;
}

.flow-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-ok);
  background: #E8F5EE;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* Security visual */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sec-item {
  background: var(--color-white);
  border: 1px solid var(--bg-blue);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sec-item-icon {
  width: 28px; height: 28px;
  background: var(--basic-navy);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}

.sec-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--basic-navy);
  line-height: 1.3;
}

.sec-sub {
  font-size: 11px;
  color: var(--complementary-color-grey-50);
  line-height: 1.5;
}

.sec-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-ok);
  letter-spacing: 0.06em;
}

/* Yakuji visual */
.yakuji-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.yakuji-table th {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--basic-navy);
  padding: 8px 12px;
  text-align: left;
  letter-spacing: 0.05em;
}

.yakuji-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--bg-blue);
  color: var(--complementary-color-grey-80);
  font-weight: 500;
  background: var(--color-white);
}

.yakuji-table tr:hover td { background: var(--color-blue-5); }

.class-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.class-1 { background: #FEE2E2; color: #991B1B; }
.class-2 { background: #FEF3C7; color: #92400E; }
.class-3 { background: #DBEAFE; color: #1E40AF; }

/* ===================== COMPARISON ===================== */
.comparison { background: var(--basic-navy); }

.comparison-inner { max-width: 1200px; margin: 0 auto; }

.comparison .section-title { color: var(--color-white); }
.comparison .section-desc { color: rgba(255,255,255,0.55); }
.comparison .section-eyebrow { color: var(--color-red-light); }
.comparison .section-eyebrow::before { background: var(--color-red-light); }

.comp-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(184,151,58,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comp-table thead th {
  padding: 28px 24px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(184,151,58,0.2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}

.comp-table thead th.highlight-col {
  background: rgba(184,151,58,0.1);
  color: var(--color-red-light);
  position: relative;
  line-height: 2;
}

.comp-table tbody td {
  padding: 15px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.comp-table tbody tr:last-child td { border-bottom: none; }

.comp-table tbody td:first-child {
  text-align: left;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 13px;
}

.comp-table tbody td.highlight-col {
  background: rgba(184,151,58,0.06);
  color: rgba(255,255,255,0.9);
}

.comp-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.comp-table tbody tr:hover td.highlight-col { background: rgba(184,151,58,0.09); }

.check-opt { color: var(--color-red-light); font-size: 13px; }

.check-yes,
.check-no {
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -4px;
}

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(74,222,128,0.15);
  border-radius: 50%;
  font-size: 0; /* 文字を非表示 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%234ADE80' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cline x1='3' y1='3' x2='9' y2='9' stroke='rgba(255,255,255,0.3)' stroke-width='1.8' stroke-linecap='round'/%3E%3Cline x1='9' y1='3' x2='3' y2='9' stroke='rgba(255,255,255,0.3)' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
/* ===================== MIGRATION ===================== */
.migration { background: var(--color-blue-5); }

.migration-inner { max-width: 1200px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-red-pale), var(--color-red), var(--color-red-pale));
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--basic-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 16px rgba(13,31,60,0.2);
}

.step-circle-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--color-red-light);
}

.step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--basic-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-sub {
  font-size: 12px;
  color: var(--complementary-color-grey-50);
  line-height: 1.65;
}

/* ===================== FAQ ===================== */
.faq { background: var(--color-white); }

.faq-inner { max-width: 800px; margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--bg-blue);
}

.faq-item {
  border-bottom: 1px solid var(--bg-blue);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--basic-navy);
  line-height: 1.5;
  transition: color 0.2s;
  list-style: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.faq-q:hover { color: var(--basic-main-color); }

.faq-icon {
  width: 24px; height: 24px;
  background: var(--color-red-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
  font-size: 14px;
  color: var(--color-red);
  font-weight: 700;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--basic-navy);
  color: var(--color-red-light);
}

.faq-a {
  font-size: 14px;
  color: var(--complementary-color-grey-50);
  line-height: 1.85;
  padding: 0 0 22px 40px;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ===================== CTA ===================== */
.cta {
  background: var(--basic-navy);
  padding: 100px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,58,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 43px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 48px;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-cta-primary {
  padding: 18px 48px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: opacity 0.3s, transform 0.15s !important;
  box-shadow: 0 4px 14px rgba(184, 151, 58, 0.35);
}


.btn-cta-ghost {
  padding: 17px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s !important;
}

.cta-notes {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.cta-note-check {
  width: 16px; height: 16px;
  background: rgba(184,151,58,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1280px) {
  .hero-headline { font-size: 52px; }
  .section-title { font-size: 42px; }
}

@media screen and (max-width: 1024px) {
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse { direction: ltr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-table { font-size: 12px; }
}

@media (max-width: 768px) {
  section { padding: 60px 24px; }
  .nav { padding: 0 16px; }
  .nav-links { display: none; }

  .hero { padding: 100px 24px 60px; }
  .hero-headline { font-size: 38px; }
  .hero-headline-accent { font-size: 32px; }
  .hero-subheadline { font-size: 15px; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-ghost { width: 100%; justify-content: center; }

  .section-title { font-size: 29px; }
  .cta-title { font-size: 29px; }
  .feature-title { font-size: 26px; }

  .pain-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }

  .btn-cta-primary,
  .btn-cta-ghost { width: 100%; text-align: center; }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-notes { gap: 16px; flex-direction: column; align-items: center; }

  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .hero-trust-bar { gap: 20px; }
  .trust-item { padding-right: 20px; }
  .trust-num { font-size: 26px; }
  .security-grid { grid-template-columns: 1fr; }
  .medical {
    margin-top: 0;
  }
  .hero::before {
    right: -90%;
    opacity: .4;
  }
  .btn-hero-primary {
    padding: 18px 40px;
  }
  .feature-visual {
    background: none;
    border: none;
    padding: 0;
  }
  .comp-table thead th.highlight-col::before {
    padding: 3px 7px;
  }
  .comp-table tbody td:first-child,
  .comp-table thead th:first-child {
    width: 130px;
    min-width: 130px;
  }
  .cta {
    padding: 60px 24px;
  }
}

@media (max-width: 430px) {
  .hero-headline { font-size: 34px; }
  .hero-headline-accent { font-size: 28px; }
  .section-title { font-size: 26px; }
}

/* PC改行ユーティリティ */
.pc-br { display: block; }
@media (max-width: 768px) { .pc-br { display: none; } }
