/* ==========================================================================
   Base & Reset Settings (Pastel Blue Healthcare Concept)
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #f0f7f9;
  color: #334155;
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

/* 背景グラデーション・装飾オーブ */
#bg-canvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 20s infinite alternate ease-in-out;
}
.orbs span:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: #e0f2fe;
}
.orbs span:nth-child(2) {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: #e0f2fe;
  animation-delay: -5s;
}
.orbs span:nth-child(3) {
  top: 40%;
  left: 50%;
  width: 35vw;
  height: 35vw;
  background: #f0fdf4;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.1);
  }
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 242, 254, 0.8);
  z-index: 100;
}

.logo {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #0284c7;
}
.nav-links a.nav-cta {
  background: #0284c7;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  transition:
    background 0.3s,
    transform 0.3s;
}
.nav-links a.nav-cta:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f8fafc;
}

.hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(240, 247, 249, 0.8),
    rgba(255, 255, 255, 0.45)
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  color: #0f172a;
  max-width: 750px;
}

.hero-content .eyebrow {
  font-family: "Quicksand", sans-serif;
  font-size: 0.9rem;
  color: #0284c7;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 24px;
}

.hero-content .lead {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 40px;
}

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

.btn {
  display: inline-block;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background: #0284c7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.btn.primary:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn.ghost {
  background: #fff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.btn.ghost:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* ==========================================================================
   Stats Counter Section
   ========================================================================== */
.stats {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 30px;
}
.stat-item .counter {
  font-family: "Quicksand", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #0284c7;
  line-height: 1;
}
.stat-item p {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   Section Title Global Layout
   ========================================================================== */
.section-title-wrap {
  margin-bottom: 50px;
}
.section-title-wrap.text-center {
  text-align: center;
}
.section-sub {
  font-family: "Quicksand", sans-serif;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-img-box img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}
.about-desc {
  color: #475569;
  margin-bottom: 30px;
}
.about-check-list {
  list-style: none;
}
.about-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-weight: 500;
}
.about-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
  padding: 100px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(2, 132, 199, 0.05);
  border-color: #bae6fd;
}
.feature-num {
  font-family: "Quicksand", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e0f2fe;
  line-height: 1;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 14px;
}
.feature-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}

/* ==========================================================================
   Schedule & Access Section (店舗情報・アクセスマップ制御追加)
   ========================================================================== */
.schedule {
  background: #fff;
  padding: 100px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 600px;
}
.schedule-table th,
.schedule-table td {
  padding: 16px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
}
.schedule-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}
.schedule-table td.closed {
  color: #94a3b8;
  background: #f1f5f9;
}
.schedule-table .sat {
  color: #0284c7;
}
.time-label {
  background: #f8fafc;
  font-weight: 500;
}
.schedule-note {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* 新設：地図情報用のグリッドレイアウト */
.access-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: stretch;
}
.access-info {
  background: #f8fafc;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.access-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #0f172a;
}
.access-info p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #334155;
}
.access-info p:last-of-type {
  margin-bottom: 0;
}
.access-info strong {
  color: #0f172a;
}
.access-notice {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}
.access-map-box {
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  padding: 100px 0;
}
.gallery-hybrid-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-hybrid-slider:active {
  cursor: grabbing;
}
.gallery-slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
.gallery-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
  transition: border-color 0.3s;
}
.gallery-card:hover {
  border-color: #bae6fd;
}
.card-img-wrap {
  overflow: hidden;
  height: 180px;
  pointer-events: none;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card p {
  padding: 16px;
  color: #475569;
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   FAQ Section (旧Contactのおしゃれなラップを引き継いだFAQ用コントロール)
   ========================================================================== */
.contact {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}
.contact-inner {
  max-width: 850px;
}
.contact-lead-text {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.95rem;
}

/* FAQ用のリストとカードの個別装飾 */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #f8fafc;
  padding: 26px 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #bae6fd;
  background: #fdfeff;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.02);
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-question .q-prefix {
  color: #0284c7;
  font-family: "Quicksand", sans-serif;
}
.faq-answer {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-answer .a-prefix {
  color: #94a3b8;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

/* ==========================================================================
   Footer Style
   ========================================================================== */
.footer {
  padding: 40px 20px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.footer-copy {
  color: #64748b;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 960px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .access-map-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .access-map-box {
    min-height: 280px;
  }
}

@media (max-width: 650px) {
  .header {
    padding: 14px 20px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .nav-links {
    display: none;
  } /* 本来はハンバーガーにする等 */

  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .stats-container {
    flex-direction: column;
    gap: 24px;
  }
  .stat-item .counter {
    font-size: 2.4rem;
  }

  .about,
  .features,
  .schedule,
  .gallery,
  .contact {
    padding: 60px 0;
  }
  h2 {
    font-size: 1.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
  .sp-only {
    display: block;
  }

  .access-info {
    padding: 24px;
  }
  .faq-item {
    padding: 20px;
  }
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }

  .footer-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.sp-only {
  display: none;
}
