/* ============================================================
   朝潮橋駅前薬局  |  template-c ベース（Navy × SkyBlue）
   カラー: #1e3a5f(Navy) / #0ea5e9(SkyBlue) / #f8fafc(LightGray)
   ============================================================ */

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

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ---------- Variables ---------- */
:root {
  --navy:      #1e3a5f;
  --navy-dark: #122540;
  --navy-mid:  #2c4f7c;
  --sky:       #0ea5e9;
  --sky-light: #bae6fd;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(30,58,95,.10);
  --shadow-lg: 0 8px 40px rgba(30,58,95,.15);
  --transition: .3s ease;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--sky);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(30,58,95,.08);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: .06em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  gap: 24px;
}

.nav-list a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width var(--transition);
}

.nav-list a:hover { color: var(--sky); }
.nav-list a:hover::after { width: 100%; }

/* Phone button */
.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 20px;
  border-radius: 40px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-phone:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.btn-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(30,58,95,.12);
  transform: translateY(-110%);
  transition: transform var(--transition);
  z-index: 999;
  padding: 24px;
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.mobile-nav-list li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 500;
  font-size: 1rem;
}

.mobile-btn-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sky);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: 8px;
}

.mobile-btn-phone svg { width: 18px; height: 18px; fill: var(--white); }

/* ============================================================
   HERO — スプリットレイアウト（左:写真 3/5 ／ 右:青パネル 2/5）
   ============================================================ */
.hero {
  margin-top: 72px;
  min-height: 600px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  overflow: hidden;
}

/* 左：写真エリア */
.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 右：テキストパネル */
.hero-content {
  background: linear-gradient(160deg, #1a4a8a 0%, #0e2d5e 60%, #0a1f42 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

/* 装飾サークル */
.hero-content::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.hero-content::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(14,165,233,.25);
  border: 1px solid rgba(14,165,233,.6);
  color: var(--sky-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: .02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--sky-light);
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.hero-point-icon {
  width: 22px;
  height: 22px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-point-icon svg { width: 12px; height: 12px; fill: var(--white); }

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 8px;
  transition: background var(--transition), border-color var(--transition);
}

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

/* ============================================================
   PARTNER BANNER
   ============================================================ */
.hero-partner {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-partner-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  margin-bottom: 10px;
}

.hero-partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-partner-tag {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 40px;
}

.partner-banner {
  background: var(--navy);
  padding: 22px 0;
}

.partner-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-banner-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sky-light);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}

.partner-banner-label svg { width: 18px; height: 18px; fill: var(--sky); flex-shrink: 0; }

.partner-banner-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

.partner-banner-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .85rem;
  padding: 5px 14px;
  border-radius: 40px;
  transition: background var(--transition);
}

.partner-tag:hover { background: rgba(255,255,255,.18); }

.partner-banner-note {
  margin-left: auto;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}

/* ============================================================
   SERVICES (Tab)
   ============================================================ */
.services {
  background: linear-gradient(135deg, #f5faff 0%, #eaf4ff 50%, #f5faff 100%);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--gray-200);
  border-radius: 40px;
  background: var(--white);
  color: var(--gray-600);
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.tab-btn svg { width: 16px; height: 16px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card-content p {
  color: var(--gray-600);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--gray-800);
}

.service-feature::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
}

/* サービス概要グリッド（トップページ用） */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-overview-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-overview-body {
  padding: 24px 20px;
  flex: 1;
  text-align: center;
}

.service-overview-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-overview-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ============================================================
   NEWS
   ============================================================ */
#news { background: var(--gray-50); }

.news-list {
  border-top: 2px solid var(--navy);
  max-width: 820px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.news-item:hover { background: var(--gray-50); }

.news-date {
  font-size: .85rem;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}

.news-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-badge.info    { background: #dbeafe; color: #1d4ed8; }
.news-badge.notice  { background: #fef9c3; color: #854d0e; }
.news-badge.holiday { background: #fee2e2; color: #991b1b; }

.news-title {
  font-size: .95rem;
  color: var(--gray-800);
  flex: 1;
}

.news-title a { transition: color var(--transition); }
.news-title a:hover { color: var(--sky); }

/* ============================================================
   FLOW (縦タイムライン)
   ============================================================ */
.flow {
  background: var(--white);
}

.flow-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: flex;
  gap: 24px;
  position: relative;
}

.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.flow-step {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 1;
}

.flow-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-body {
  padding: 10px 0 36px;
}

.flow-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.flow-body p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   FEATURES (交互レイアウト)
   ============================================================ */
#features { background: var(--gray-50); }

.features-header {
  padding-top: 0;
}

/* アイコンカード型レイアウト */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sub, #f5f0e8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary, #3a7d44);
  flex-shrink: 0;
}

.feature-card-icon--blue {
  background: linear-gradient(135deg, #dbeeff 0%, #bae6fd 100%);
}

.feature-card-icon--blue svg {
  color: var(--navy);
}

/* ============================================================
   ABOUT CTA
   ============================================================ */
/* ============================================================
   PAYMENT
   ============================================================ */

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.payment-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.payment-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy-mid) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.payment-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.payment-body p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
}

.gallery-placeholder span {
  font-size: .9rem;
}

.gallery-caption {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

@media (max-width: 768px) {
  .payment-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA（ABOUT）
   ============================================================ */

.about-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.about-cta-inner {
  text-align: center;
  padding: 20px 0;
}

.about-cta-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.about-cta-desc {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-cta .btn-secondary {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.about-cta .btn-secondary:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

.feature-card p {
  color: var(--gray-600);
  font-size: .88rem;
  line-height: 1.85;
  margin: 0;
  flex: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.feature-tag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ============================================================
   STAFF
   ============================================================ */
.staff {
  background: var(--gray-50);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.staff-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.staff-card:hover {
  box-shadow: var(--shadow);
}

.staff-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-200);
  border: 3px solid var(--sky-light);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info {}

.staff-role {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.staff-message {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   HOURS (営業時間)
   ============================================================ */
.hours {
  background: var(--white);
  color: var(--gray-800);
}

.hours .section-title {
  color: var(--navy);
}

.hours .section-title::after {
  background: var(--sky);
}

.hours .section-subtitle { color: var(--gray-600); }

/* カレンダー形式営業時間 */
.hours-calendar {
  max-width: 780px;
  margin: 0 auto;
  overflow-x: auto;
}

.hours-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  min-width: 560px;
}

.hours-cal-cell {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-cal-cell.holiday-cell {
  background: #fff5f5;
  border-color: #fecaca;
}

.hours-cal-day {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 0;
  border-radius: 4px;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 10px;
}

.hours-cal-day.sat { color: #2563eb; }
.hours-cal-day.sun { color: #dc2626; }

.hours-cal-slot {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hours-cal-time {
  font-size: .78rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.hours-cal-label {
  font-size: .68rem;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.hours-cal-closed {
  font-size: .75rem;
  color: #dc2626;
  font-weight: 600;
}

.hours-note {
  text-align: center;
  margin-top: 28px;
  font-size: .85rem;
  color: var(--gray-600);
}

/* ============================================================
   ACCESS
   ============================================================ */
/* アクセス 2カラムレイアウト */
#access { background: var(--gray-50); }

.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
  gap: 60px;
  align-items: center;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access-map {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,58,95,.12);
  background: var(--gray-200);
  position: relative;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.access-exterior {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
}

.access-exterior img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access-section-header { text-align: left; margin-bottom: 8px; }
.access-section-header .section-title { text-align: left; }
.access-section-header .section-title::after { margin: 12px 0 0 0; }

.access-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.access-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.access-details-grid .access-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.access-details-grid .access-icon svg {
  width: 17px;
  height: 17px;
}

.access-details-grid .access-detail-body p {
  font-size: .85rem;
}

.access-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.access-icon svg { width: 20px; height: 20px; fill: var(--white); }

.access-detail-body label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.access-detail-body p {
  font-size: .95rem;
  color: var(--gray-800);
  font-weight: 500;
}

.access-detail-body a { transition: color var(--transition); }
.access-detail-body a:hover { color: var(--sky); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}

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

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-mark svg { width: 20px; height: 20px; fill: var(--white); }

.footer-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

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

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  margin-bottom: 10px;
}

.footer-contact-item svg { width: 14px; height: 14px; fill: var(--sky); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-policy {
  display: flex;
  gap: 20px;
}

.footer-policy a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}

.footer-policy a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-content {
    margin-left: 24px;
  }
}

@media (max-width: 900px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .btn-phone { display: none; }

  .service-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .service-card-image { order: -1; }

  .service-overview-grid { grid-template-columns: 1fr; }

  .feature-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .staff-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { min-height: 280px; }
  .hero-content { padding: 48px 24px; }

  .partner-banner-inner { flex-direction: column; align-items: flex-start; }
  .partner-banner-divider { display: none; }

  .news-item { flex-direction: column; gap: 6px; }

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

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .access-layout { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
  .access-map { aspect-ratio: 4 / 3; }

  .tabs { gap: 4px; }
  .tab-btn { padding: 8px 14px; font-size: .82rem; }

  .staff-card { flex-direction: column; align-items: center; text-align: center; }

  .hero-cta { flex-direction: column; }

  .line-benefits-grid { grid-template-columns: 1fr; }

  .floating-btns { bottom: 16px; right: 16px; gap: 10px; }
}

/* ============================================================
   LINE 動線
   ============================================================ */

/* ---- LINEボタン共通 ---- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 40px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-line:hover {
  background: #05b04b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,199,85,.35);
}
.btn-line svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.btn-line-sm { font-size: .9rem; padding: 10px 20px; margin-top: 16px; }

/* ---- LINE メリットセクション ---- */
.line-section { background: var(--gray-50); }
.line-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 72px 0;
}
.line-section .section-title { color: var(--navy); }
.line-section .section-title::after { background: var(--sky); }
.line-section .section-subtitle { color: var(--gray-600); }

.line-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.line-benefit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(14,165,233,.10);
  border: 1px solid var(--sky-light);
}
.line-benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.line-benefit-icon svg { width: 28px; height: 28px; fill: #fff; }
.line-benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.line-benefit-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

.line-cta-wrap {
  text-align: center;
  margin-top: 40px;
}
.line-cta-wrap .btn-line { font-size: 1.1rem; padding: 16px 40px; }
.line-cta-note {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--gray-600);
}

/* ---- フローティングボタン ---- */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.floating-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.floating-btn svg { width: 28px; height: 28px; fill: #fff; }
.floating-btn-line { background: #06C755; }
.floating-btn-tel { background: var(--sky); }

/* フッターLINE */
.footer-line-wrap { margin-top: 16px; }
.footer-line-wrap .btn-line { font-size: .9rem; padding: 10px 20px; }

/* 施設基準セクション */
.facility-section { background: var(--white); padding: 72px 0; }
.facility-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0 24px; }
@media (max-width: 600px) { .facility-grid { grid-template-columns: 1fr; } }
.facility-card { background: #fff; border-radius: 12px; padding: 24px 20px; display: flex !important; flex-direction: row !important; gap: 16px; align-items: flex-start; box-shadow: 0 2px 12px rgba(30,58,95,.08); border: 1px solid var(--gray-200); }
.facility-icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--sky); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.facility-icon svg { width: 22px; height: 22px; fill: #fff; }
.facility-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.facility-desc { font-size: .875rem; color: #64748b; line-height: 1.6; }
.facility-note { font-size: .8rem; color: #94a3b8; text-align: center; }

/* ============================================================
   ページ内ヒーロー（サブページ用）
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0e2d5e 0%, #1a4a8a 100%);
  padding: 96px 24px 32px;
  text-align: center;
}
.page-hero-inner { max-width: 720px; margin: 0 auto; }
.page-hero-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.page-hero-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}

.page-hero + .section,
.page-hero + .hours,
.page-hero + .facility-section {
  padding-top: 40px;
}

/* カレントリンク（アクティブページ） */
.nav-list a.current {
  color: var(--sky);
  font-weight: 700;
}
