/* --- Reset & Global CSS Variables --- */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #f0fdf4;
  --primary-soft: #ccfbf1;
  --secondary: #0284c7;
  --secondary-hover: #0369a1;
  --dark: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --accent-gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(13, 148, 136, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Noto Sans JP', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.max-width-md {
  max-width: 860px;
}

.section {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center { text-align: center; }
.margin-top-sm { margin-top: 12px; }
.margin-top-md { margin-top: 24px; }
.margin-top-lg { margin-top: 40px; }

/* --- Typography Helpers --- */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0f766e 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 50px;
}

.btn-block {
  width: 100%;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--dark);
  color: var(--slate-200);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 24px;
}

.top-bar-notice .badge {
  background-color: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 8px;
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.brand-sub {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-600);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Sticky Call CTA Bar (Desktop Hidden) */
.mobile-sticky-call {
  display: none;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #a7f3d0;
  top: -100px;
  right: -50px;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: #bae6fd;
  bottom: -100px;
  left: -100px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 30px;
  max-width: 540px;
}

/* Hero Contact Card (UX Enhancement) */
.hero-contact-card {
  background: var(--white);
  border: 2px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.contact-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 16px;
  background: var(--primary-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

.contact-card-numbers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fax-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--slate-200);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--slate-200);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f1f5f9;
}

.hero-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  background-color: #e2e8f0;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.badge-top {
  top: 20px;
  left: 15px;
}

.badge-bottom {
  bottom: 20px;
  right: 15px;
}

.badge-icon {
  font-size: 1.6rem;
}

.badge-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.color-1 { background: #ccfbf1; color: #0d9488; }
.color-2 { background: #e0f2fe; color: #0284c7; }
.color-3 { background: #fef3c7; color: #d97706; }
.color-4 { background: #f3e8ff; color: #9333ea; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* --- Store Info Section --- */
.store-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.info-table th, .info-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.95rem;
}

.info-table th {
  width: 130px;
  color: var(--slate-500);
  font-weight: 600;
}

.phone-num {
  font-size: 1.2rem;
  color: var(--primary);
}

.business-hours-card {
  background: var(--primary-light);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}

.business-hours-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hours-table th, .hours-table td {
  padding: 10px;
  font-size: 0.85rem;
  border: 1px solid var(--slate-200);
}

.hours-table th {
  background: var(--slate-100);
  color: var(--slate-600);
}

.hours-table td.off {
  color: #ef4444;
  font-weight: 700;
  background: #fef2f2;
}

.hours-note {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 12px;
}

.store-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-photos-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.store-image-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #e2e8f0;
}

.store-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background-color: #cbd5e1;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 4px 8px;
}

.map-placeholder {
  background: #e2e8f0;
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.map-content p {
  font-weight: 700;
  margin-top: 8px;
}

.map-sub {
  font-size: 0.85rem;
  color: var(--slate-600);
  display: block;
}

/* --- Compliance & Document Cards --- */
.doc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.doc-card-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
  padding: 20px 28px;
  border-bottom: 1px solid var(--slate-200);
}

.doc-card-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-hover);
}

.doc-card-body {
  padding: 28px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.1rem;
}

.compliance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.compliance-table th, .compliance-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9rem;
}

.compliance-table th {
  background: var(--slate-100);
  color: var(--dark);
  font-weight: 700;
}

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

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--slate-200);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .brand-title {
  color: var(--white);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-top: 16px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--slate-500);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-soft);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-grid, .store-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .floating-badge {
    position: static;
    margin-top: 16px;
  }

  .badge-top, .badge-bottom {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* 下部固定お電話バーの余白 */
  }

  .top-bar {
    padding: 6px 0;
  }

  .top-bar-info {
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
  }

  .top-bar-notice { display: none; }

  .header-container {
    height: 64px !important;
    padding: 0 16px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  /* スマホ表示時：ヘッダー内の緑ボタンを強制的に完全非表示（!importantで被りを根本解消） */
  .header .header-actions .btn-primary,
  .header-actions .btn-primary,
  .btn-primary {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 64px !important;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 100;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .hamburger-menu {
    display: flex !important;
  }

  /* スマホ専用 下部固定お電話CTAバー */
  .mobile-sticky-call {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #0f766e 100%);
    color: var(--white);
    padding: 14px 16px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
  }

  .mobile-sticky-call svg {
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .store-photos-gallery {
    grid-template-columns: 1fr;
  }

  .compliance-table th, .compliance-table td {
    padding: 10px;
    font-size: 0.82rem;
  }
}
