/* そらまち歯科クリニック — 清潔・安心（白×水色） */

:root {
  --bg: #ffffff;
  --bg-alt: #eef7fb;
  --blue: #4aa3c8;
  --blue-deep: #2d7fa3;
  --ink: #33454e;
  --line: #d9e8ef;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5vw;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(74,163,200,0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo { font-size: 21px; font-weight: 900; color: var(--blue-deep); }
.logo-mark { color: var(--blue); }

.nav { display: flex; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--blue); }

.nav-cta { background: var(--blue); color: #fff !important; padding: 9px 24px; border-radius: 999px; }

/* hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 8vw 90px;
  background: linear-gradient(160deg, #f4fbfe, #dbeff7);
}

.hero-inner { max-width: 560px; }

.hero h2 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 900; line-height: 1.6; color: var(--blue-deep); margin-bottom: 18px; }
.hero-lead { margin-bottom: 26px; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges span {
  background: #fff;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(74,163,200,0.15);
}

/* 歯のCSSイラスト */
.hero-visual { flex-shrink: 0; }

.tooth { position: relative; width: 170px; height: 170px; }

.tooth-body {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 46% 46% 40% 40%;
  box-shadow: 0 16px 34px rgba(74,163,200,0.3), inset 0 -10px 0 rgba(74,163,200,0.12);
}

.tooth-body::before,
.tooth-body::after {
  content: "";
  position: absolute;
  bottom: -34px;
  width: 52px;
  height: 62px;
  background: #fff;
  border-radius: 0 0 40px 40px;
}

.tooth-body::before { left: 22px; box-shadow: inset 0 -8px 0 rgba(74,163,200,0.12); }
.tooth-body::after { right: 22px; box-shadow: inset 0 -8px 0 rgba(74,163,200,0.12); }

.tooth-shine {
  position: absolute;
  top: 30px;
  left: 32px;
  width: 26px;
  height: 42px;
  background: rgba(74,163,200,0.25);
  border-radius: 999px;
  transform: rotate(18deg);
}

/* sections */
.section { padding: 84px 5vw; max-width: 940px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: 940px; margin-left: auto; margin-right: auto; }

.section-title { text-align: center; font-size: 26px; font-weight: 900; color: var(--blue-deep); margin-bottom: 46px; }
.section-title::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--blue); margin: 14px auto 0; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.feature { text-align: center; background: var(--bg-alt); border-radius: 16px; padding: 34px 26px; }
.feature-icon { font-size: 40px; margin-bottom: 10px; }
.feature h3 { font-size: 17px; font-weight: 900; color: var(--blue-deep); margin-bottom: 8px; }
.feature p:last-child { font-size: 14px; text-align: left; }

/* menu */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.menu-item { background: #fff; border-radius: 14px; padding: 28px 30px; box-shadow: 0 4px 14px rgba(74,163,200,0.1); }
.menu-item h3 { font-size: 17px; font-weight: 900; color: var(--blue-deep); margin-bottom: 6px; }
.menu-item h3::before { content: "✚ "; color: var(--blue); }
.menu-item p { font-size: 14px; }

/* schedule */
.schedule-table { width: 100%; max-width: 680px; margin: 0 auto 14px; border-collapse: collapse; text-align: center; }

.schedule-table th, .schedule-table td { padding: 12px 8px; border: 1px solid var(--line); font-size: 14px; }
.schedule-table tr:first-child th { background: var(--blue); color: #fff; font-weight: 700; }
.schedule-table tr:not(:first-child) th { background: var(--bg-alt); color: var(--blue-deep); font-weight: 700; white-space: nowrap; }
.schedule-table td { color: var(--blue-deep); font-weight: 700; }

.schedule-note { text-align: center; font-size: 13px; margin-bottom: 40px; }

.info-table { width: 100%; max-width: 680px; margin: 0 auto; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-table th { width: 110px; color: var(--blue-deep); font-weight: 900; white-space: nowrap; }

/* cta */
.cta { text-align: center; padding: 90px 5vw; background: linear-gradient(160deg, #dbeff7, #c3e4f2); }
.cta h2 { font-size: 28px; font-weight: 900; color: var(--blue-deep); margin-bottom: 12px; }

.cta-buttons { display: flex; justify-content: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

.cta-button { display: inline-block; font-weight: 900; text-decoration: none; padding: 16px 46px; border-radius: 999px; transition: 0.2s; }
.cta-button.web { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(74,163,200,0.35); }
.cta-button.tel { background: #fff; color: var(--blue-deep); font-size: 18px; }
.cta-button:hover { transform: translateY(-2px); }

/* footer */
.footer { text-align: center; padding: 30px; background: var(--blue-deep); color: #fff; font-weight: 700; }
.footer-copy { font-size: 12px; font-weight: 400; opacity: 0.75; margin-top: 4px; }

/* mobile */
@media (max-width: 760px) {
  .header { flex-direction: column; gap: 10px; }
  .nav a { margin: 0 8px; font-size: 13px; }
  .hero { flex-direction: column; padding: 56px 6vw 70px; text-align: center; }
  .hero-badges { justify-content: center; }
  .feature-grid, .menu-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 6vw; }
}
