/* ============================================
   カーサービス東松 デモサイト
   ============================================ */

:root {
  --navy: #0f2a5a;
  --navy-dark: #081a3d;
  --yellow: #fbbf24;
  --yellow-dark: #f59e0b;
  --red: #e63946;
  --text: #1a1a1a;
  --text-sub: #555;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e5e8ee;
  --gray-300: #d1d5db;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15, 42, 90, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 42, 90, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 42, 90, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.logo-text {
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-pc {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-pc a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-pc a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s;
}

.nav-pc a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-tel-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding: 8px 14px;
}

.btn-primary-sm {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary-sm:hover { background: var(--navy-dark); opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--navy);
  transition: 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); }

.nav-sp {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
}

.nav-sp.active { display: flex; }

.nav-sp a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
}

.nav-sp a:last-child { border-bottom: none; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  opacity: 1;
}

.btn-lg { padding: 18px 36px; font-size: 17px; }

.btn-block { width: 100%; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f2a5a 0%, #1e3a8a 60%, #0f2a5a 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1530046339160-ce3e530c7d2f?w=1920&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(251,191,36,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: var(--yellow);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hl {
  background: linear-gradient(transparent 70%, rgba(251,191,36,0.6) 70%);
  padding: 0 4px;
  color: var(--yellow);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.badge strong {
  color: var(--yellow);
  font-size: 16px;
  margin-right: 4px;
  font-weight: 800;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  z-index: 2;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 120px 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-dark {
  background: linear-gradient(180deg, #0f2a5a 0%, #081a3d 100%);
  color: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--yellow-dark);
  margin-bottom: 16px;
}

.section-head-light .eyebrow { color: var(--yellow); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-head-light .section-title { color: var(--white); }

.section-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ============================================
   Strengths
   ============================================ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.strength-card {
  background: var(--white);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--gray-100);
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.strength-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow-dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.strength-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}

.strength-card p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  display: block;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   Flow
   ============================================ */
.flow-steps {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}

.flow-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.flow-num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.flow-step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.flow-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--yellow);
  font-weight: 800;
}

/* ============================================
   Voice
   ============================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--yellow-dark);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.voice-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.voice-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.voice-meta {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

/* ============================================
   Access
   ============================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.info-table tr:last-child { border-bottom: none; }

.info-table th, .info-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  line-height: 1.7;
}

.info-table th {
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

.info-table a { color: var(--navy); font-weight: 700; }

.access-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}

.access-map iframe { display: block; height: 100%; min-height: 400px; }

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  padding: 100px 0;
}

.cta-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-box .eyebrow { color: var(--navy); }

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 32px;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.cta-buttons .btn-primary {
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  padding: 22px 48px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(15, 42, 90, 0.35);
}

.cta-buttons .btn-primary:hover { background: var(--navy-dark); }

.cta-hours {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 48px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.req {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  margin-top: 8px;
  background: var(--white);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form textarea { resize: vertical; }

/* ============================================
   Modal
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 90, 0.6);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--white);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

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

.modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.modal-box p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-box .btn { width: 100%; margin-bottom: 12px; }

.modal-close {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.footer-info p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-info a { color: var(--yellow); font-weight: 700; }

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.copyright small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px;
  gap: 8px;
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.sticky-tel, .sticky-form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.sticky-tel {
  background: var(--yellow);
  color: var(--navy);
}

.sticky-form {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .strengths-grid, .services-grid, .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { flex-wrap: wrap; }
  .flow-arrow { display: none; }
  .access-grid { grid-template-columns: 1fr; }
  .access-map { min-height: 320px; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .nav-pc, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { gap: 8px; }
  .badge { font-size: 12px; padding: 10px 14px; }

  .strengths-grid, .services-grid, .voice-grid { grid-template-columns: 1fr; }
  .strength-card { padding: 36px 28px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 20px; }

  .cta-buttons .btn-primary { font-size: 18px; padding: 18px 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .info-table th, .info-table td { padding: 14px 16px; font-size: 13px; }
  .info-table th { width: 35%; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}
