/* ==========================================
   カルパブ LP — Main Stylesheet
   Colors:
     Navy    : #01345B
     Teal    : #5CE0D8
     Gold    : #c1a736
     Yellow  : #FFCF43
     Pale    : #d1dee9
   ========================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #e0f5f4;
  box-shadow: 0 2px 16px rgba(1,52,91,0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #01345B;
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.72rem;
  color: #5a7a90;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.88rem;
  color: #3a5570;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.header-nav a:hover { color: #0a8f88; }
.btn-nav {
  background: #FFCF43 !important;
  color: #01345B !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 24px;
  transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover { background: #c1a736 !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #01345B;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e0f5f4;
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(1,52,91,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 12px 24px;
  color: #01345B;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f5f8;
  transition: background 0.2s;
}
.mobile-nav-link:hover { background: #f0faf9; color: #0a8f88; }
.mobile-nav-link.cta-link {
  margin: 8px 24px;
  background: #FFCF43;
  color: #01345B;
  border-radius: 24px;
  text-align: center;
  font-weight: 700;
  border-bottom: none;
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  background: linear-gradient(150deg, #e8f7f6 0%, #f0faf9 40%, #fffbe8 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg-deco {
  position: absolute;
  top: -140px; right: -140px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,224,216,0.22) 0%, rgba(255,207,67,0.08) 60%, transparent 80%);
  pointer-events: none;
}

/* 左下にも装飾 */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,207,67,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 12px; }
.badge-urgent {
  display: inline-block;
  background: linear-gradient(90deg, #FFCF43, #ffe580);
  border: none;
  color: #01345B;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 12px rgba(255,207,67,0.4);
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #01345B;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hero-headline em {
  font-style: normal;
  color: #0a8f88;
  position: relative;
  background: linear-gradient(135deg, #0aa89f, #5CE0D8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: #0a8f88;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 0.97rem;
  color: #3a5570;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Hero CTA Cards */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #b8e8e5;
  border-radius: 14px;
  padding: 16px 20px;
  color: #01345B;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  box-shadow: 0 3px 14px rgba(1,52,91,0.07);
}
.cta-card:hover {
  background: #f0faf9;
  border-color: #5CE0D8;
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(92,224,216,0.2);
}
.cta-card.featured {
  background: linear-gradient(135deg, #fffbe6, #fff9d6);
  border-color: #FFCF43;
  box-shadow: 0 4px 18px rgba(255,207,67,0.2);
}
.cta-card.featured:hover {
  background: linear-gradient(135deg, #fff3c0, #ffefaa);
  box-shadow: 0 8px 28px rgba(255,207,67,0.3);
}
.cta-card-badge {
  position: absolute;
  top: -10px; right: 16px;
  background: #FFCF43;
  color: #01345B;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.05em;
}
.cta-card-label {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: #01345B;
}
.cta-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #c1a736;
  white-space: nowrap;
}
.cta-card-action {
  font-size: 0.8rem;
  color: #0a8f88;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-visual-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #c6ecea;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(1,52,91,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(92,224,216,0.18);
}
.visual-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f9f7, #c8f4f2);
  display: flex; align-items: center; justify-content: center;
  color: #0a8f88;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(92,224,216,0.2);
}
.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #c1a736;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: #5a7080;
  font-weight: 500;
}

/* Sticky Phone (mobile) */
.sticky-phone {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #01345B;
  border-top: 2px solid #5CE0D8;
  flex-direction: row;
}
.sticky-phone-link,
.sticky-form-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.sticky-phone-link {
  background: #5CE0D8;
  color: #01345B;
}
.sticky-form-link {
  background: #FFCF43;
  color: #01345B;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: linear-gradient(90deg, #e0f8f6 0%, #fff9e0 100%);
  border-top: 1.5px solid #b8ebe8;
  border-bottom: 1.5px solid #b8ebe8;
  padding: 18px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.trust-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: #01345B;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item i { color: #0a8f88; font-size: 1rem; }

/* ---------- SECTION COMMON ---------- */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: #01345B;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  margin: 10px auto 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #5CE0D8, #FFCF43);
  border-radius: 2px;
}
.section-title--light { color: #fff; }
.section-title--light::after { background: linear-gradient(90deg, #5CE0D8, #FFCF43); }

.section-desc {
  font-size: 0.97rem;
  color: #5a6a7a;
  margin-top: 8px;
}
.section-desc--light { color: rgba(209,222,233,0.9); }

/* ---------- SERVICES ---------- */
.services-section {
  padding: 80px 0;
  background: #f5f8fb;
}

.plan-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(1,52,91,0.08);
  margin-bottom: 32px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.plan-card:hover {
  box-shadow: 0 8px 36px rgba(1,52,91,0.14);
}
.plan-card--featured {
  border: 2px solid #FFCF43;
  box-shadow: 0 6px 32px rgba(193,167,54,0.18);
}

.plan-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #01345B;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.plan-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(92,224,216,0.4);
  font-family: 'Noto Serif JP', serif;
  line-height: 1;
  min-width: 52px;
}
.plan-title-group { flex: 1; min-width: 180px; }
.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.plan-tagline {
  font-size: 0.85rem;
  color: #5CE0D8;
}
.plan-price-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  background: rgba(255,207,67,0.15);
  border: 1px solid rgba(255,207,67,0.5);
  border-radius: 12px;
  padding: 8px 18px;
  min-width: 140px;
}
.price-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFCF43;
}
.price-unit {
  font-size: 0.9rem;
  color: #FFCF43;
}
.price-note {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  color: rgba(255,207,67,0.75);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: right;
}

.plan-card-body {
  padding: 28px 32px;
}
.plan-desc {
  font-size: 0.97rem;
  color: #3a4a5a;
  line-height: 1.8;
  margin-bottom: 24px;
  border-left: 3px solid #5CE0D8;
  padding-left: 14px;
}

.plan-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #2a3a4a;
  font-weight: 500;
}
.plan-features li i { color: #5CE0D8; font-size: 1rem; flex-shrink: 0; margin-top: 3px; }

.plan-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #01345B;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.25s;
  border: 2px solid #01345B;
}
.btn-primary:hover {
  background: #FFCF43;
  color: #01345B;
  border-color: #FFCF43;
  transform: translateY(-2px);
}
.btn-phone-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #01345B;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1.5px solid #01345B;
  transition: all 0.2s;
}
.btn-phone-small:hover {
  background: #01345B;
  color: #fff;
}
.btn-phone-small i { color: #5CE0D8; }

/* 詳細資料ボタン */
.plan-doc {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed #d0dce8;
}
.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #01345B;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid #b8d0e4;
  background: #f4f8fc;
  transition: all 0.22s;
  cursor: pointer;
}
.btn-doc:hover {
  background: #e6f2fb;
  border-color: #5CE0D8;
  color: #0a8f88;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(92,224,216,0.15);
}
.btn-doc i {
  color: #5CE0D8;
  font-size: 1rem;
}
/* ファイル未設定時（href="#"）はグレーアウト */
.btn-doc[href="#"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-doc[href="#"]:hover {
  background: #f4f8fc;
  border-color: #b8d0e4;
  color: #01345B;
  transform: none;
  box-shadow: none;
}

/* ---------- COMPARE TABLE ---------- */
.compare-section {
  padding: 80px 0;
  background: #fff;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(1,52,91,0.08);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table thead tr {
  background: #01345B;
}
.compare-table thead th {
  padding: 16px 20px;
  color: #5CE0D8;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.compare-table tbody tr {
  border-bottom: 1px solid #e8edf2;
  transition: background 0.2s;
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: #f0f6fb; }
.compare-table tbody td {
  padding: 18px 20px;
  color: #2a3a4a;
  vertical-align: middle;
}
.row-featured {
  background: rgba(92,224,216,0.06);
}
.table-plan-name {
  font-weight: 700;
  color: #01345B;
}
.price-highlight {
  color: #c1a736;
  font-weight: 800;
  font-size: 1.02rem;
}
.btn-table {
  display: inline-block;
  background: #FFCF43;
  color: #01345B;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-table:hover {
  background: #c1a736;
  color: #fff;
  transform: translateY(-1px);
}
.table-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #6a7a8a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.table-note i { color: #5CE0D8; }

/* ---------- FAQ ---------- */
.faq-section {
  padding: 80px 0;
  background: #f5f8fb;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0e8f0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: 0 4px 20px rgba(1,52,91,0.1);
  border-color: #5CE0D8;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: #01345B;
  list-style: none;
  -webkit-appearance: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: #f5f8fb; }
.faq-question span:not(.faq-q-icon) { flex: 1; }

.faq-q-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #01345B;
  color: #5CE0D8;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-arrow {
  color: #5CE0D8;
  font-size: 0.9rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
details[open] .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: flex;
  gap: 14px;
  padding: 0 22px 18px 22px;
  font-size: 0.93rem;
  color: #3a4a5a;
  line-height: 1.8;
  border-top: 1px solid #e8edf2;
  padding-top: 14px;
}
.faq-a-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #5CE0D8;
  color: #01345B;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #01345B 0%, #013d6e 100%);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,224,216,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,224,216,0.2);
  border-radius: 24px;
  overflow: hidden;
}

.contact-phone-block {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: rgba(1,52,91,0.4);
}

.contact-method-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #5CE0D8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-method-label i { margin-right: 4px; }

.phone-number-link {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFCF43;
  letter-spacing: 0.04em;
  font-family: 'Noto Serif JP', serif;
  display: block;
  transition: color 0.2s;
}
.phone-number-link:hover { color: #fff; }

.phone-note {
  font-size: 0.8rem;
  color: rgba(209,222,233,0.7);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5CE0D8;
  color: #01345B;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 30px;
  margin-top: 8px;
  transition: all 0.25s;
}
.btn-call:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(92,224,216,0.35);
}

/* Divider */
.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  background: rgba(92,224,216,0.06);
  border-left: 1px solid rgba(92,224,216,0.15);
  border-right: 1px solid rgba(92,224,216,0.15);
}
.contact-divider span {
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  color: rgba(209,222,233,0.5);
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Form */
.contact-form-block {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
}
.form-note {
  font-size: 0.85rem;
  color: rgba(209,222,233,0.75);
  margin-bottom: 20px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1dee9;
  display: flex; align-items: center; gap: 6px;
}
.required {
  font-size: 0.72rem;
  background: #5CE0D8;
  color: #01345B;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.optional {
  font-size: 0.72rem;
  background: rgba(209,222,233,0.25);
  color: #d1dee9;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(209,222,233,0.25);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.93rem;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(209,222,233,0.4);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #5CE0D8;
  background: rgba(255,255,255,0.1);
}
.form-group select option {
  background: #01345B;
  color: #fff;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: #FFCF43;
  color: #01345B;
  font-size: 1.02rem;
  font-weight: 800;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
  letter-spacing: 0.03em;
  margin-top: 8px;
}
.btn-submit:hover {
  background: #c1a736;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,207,67,0.3);
}
.btn-submit:active { transform: translateY(0); }

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: #5CE0D8;
}
.form-success i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.form-success p {
  font-size: 1rem;
  color: #d1dee9;
  line-height: 1.8;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #010f1e;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { display: flex; align-items: baseline; gap: 10px; }
.footer-logo-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 0.75; }

/* ヘッダーロゴリンク */
.logo-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.7; }

/* フッターinfoリンク */
.footer-info-link {
  color: rgba(209,222,233,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.footer-info-link:hover { color: #5CE0D8; }
.footer-contact a {
  color: #5CE0D8;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.footer-contact a:hover { color: #FFCF43; }
.footer-info {
  font-size: 0.8rem;
  color: rgba(209,222,233,0.6);
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-info i {
  color: #5CE0D8;
  font-size: 0.8rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(209,222,233,0.4);
  width: 100%;
  text-align: center;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-visual-card { flex: 1 1 140px; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-divider {
    width: 100%;
    height: 48px;
    writing-mode: horizontal-tb;
  }
  .contact-divider span {
    writing-mode: horizontal-tb;
  }

  .header-nav { display: none; }
  .hamburger { display: flex; }

  .sticky-phone { display: flex; }
  body { padding-bottom: 56px; }
}

@media (max-width: 680px) {
  .hero-section { padding: 48px 0 40px; }

  .cta-card { flex-wrap: wrap; }
  .cta-card-action { width: 100%; margin-top: 4px; }

  .plan-card-header {
    padding: 20px 20px;
    gap: 12px;
  }
  .plan-card-body { padding: 20px 20px; }
  .plan-number { font-size: 1.8rem; min-width: 40px; }
  .plan-name { font-size: 1.05rem; }

  .plan-features { grid-template-columns: 1fr 1fr; }
  .plan-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-phone-small { text-align: center; justify-content: center; }

  /* Responsive table */
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    display: block;
    padding: 16px 20px;
    margin-bottom: 2px;
  }
  .compare-table tbody td {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
  }
  .compare-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #5a6a7a;
    min-width: 70px;
    font-size: 0.82rem;
  }

  .contact-phone-block { padding: 28px 20px; }
  .phone-number-link { font-size: 1.45rem; }
  .contact-form-block { padding: 28px 20px; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-logo { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .trust-inner { gap: 14px; }
  .trust-item { font-size: 0.8rem; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text { animation: fadeInUp 0.7s ease both; }
.hero-visual { animation: fadeInUp 0.9s ease 0.2s both; }

/* Scroll-triggered fade */
.observe-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.observe-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scrolled */
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(1,52,91,0.13);
  border-bottom-color: #b8e8e5;
}

/* Form validation states */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ff6b6b !important;
  background: rgba(255,107,107,0.07) !important;
}
.form-group.has-error label::after {
  content: ' ※ 入力してください';
  color: #ff6b6b;
  font-size: 0.78rem;
  font-weight: 600;
}
.form-group.has-error.plan-preselected label::after { display: none; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake 0.5s ease; }

/* Plan preselected highlight */
.form-group.plan-preselected select {
  border-color: #5CE0D8 !important;
  background: rgba(92,224,216,0.08) !important;
}

/* Anchor target offset */
:target { scroll-margin-top: 80px; }
