/*
Theme Name: Aoba Dental
Author: Funade Giken
Version: 1.0.0
*/

:root {
  --ink: #202832;
  --muted: #66727d;
  --line: #dce8e5;
  --paper: #f5faf8;
  --white: #ffffff;
  --mint: #7fb9ae;
  --mint-dark: #2d6f68;
  --navy: #28475b;
  --amber: #c79b58;
  --shadow: 0 12px 30px rgba(32, 56, 64, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 14px;
  line-height: 1.78;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

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

.brand {
  display: grid;
  line-height: 1.22;
}

.brand strong {
  font-size: 18px;
  color: var(--navy);
}

.brand span,
.eyebrow,
.meta,
.note,
.small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 18px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus {
  color: var(--mint-dark);
  border-color: var(--mint);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--mint-dark);
  background: var(--mint-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
}

.button.secondary {
  background: var(--white);
  color: var(--mint-dark);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  background: linear-gradient(90deg, rgba(245, 250, 248, 0.96) 0%, rgba(245, 250, 248, 0.78) 44%, rgba(245, 250, 248, 0.18) 78%), var(--hero-image) center / cover no-repeat;
}

.hero-copy {
  width: min(620px, 100%);
  padding: 86px 0 64px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.24;
  color: var(--navy);
}

h2 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--navy);
}

h3 {
  font-size: 16px;
  line-height: 1.42;
}

.lead {
  margin-top: 14px;
  color: #415160;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.band {
  padding: 52px 0;
}

.band.white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
}

.white .card {
  background: #fbfefd;
}

.card h3 {
  color: var(--navy);
}

.card p,
.check-list,
.flow-list,
.price-table,
.hours-table {
  margin-top: 9px;
}

.check-list,
.flow-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li,
.flow-list li {
  padding-left: 16px;
  position: relative;
}

.check-list li::before,
.flow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 6px;
  height: 6px;
  background: var(--mint);
}

.hours-table,
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.hours-table th,
.hours-table td,
.price-table th,
.price-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-size: 13px;
}

.hours-table th {
  color: var(--navy);
}

.hours-table td {
  text-align: center;
}

.image-panel {
  min-height: 280px;
  background: center / cover no-repeat;
  border: 1px solid var(--line);
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0;
}

.cta-band h2,
.cta-band .lead,
.cta-band .note {
  color: var(--white);
}

.page-title {
  padding: 50px 0 26px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-title .lead {
  max-width: 720px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  background: #20313c;
  color: var(--white);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

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

.wpcf7 input,
.wpcf7 textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  font: inherit;
}

.contact-form {
  display: grid;
  gap: 12px;
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    align-items: start;
    flex-direction: column;
    padding: 10px 0;
    gap: 6px;
  }

  .nav {
    justify-content: flex-start;
    gap: 4px 12px;
  }

  .hero {
    min-height: 480px;
    background: linear-gradient(180deg, rgba(245, 250, 248, 0.97) 0%, rgba(245, 250, 248, 0.88) 52%, rgba(245, 250, 248, 0.25) 100%), var(--hero-image) center / cover no-repeat;
  }

  .hero-copy {
    padding: 54px 0 42px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 19px;
  }

  .section-head,
  .footer-grid {
    display: grid;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 38px 0;
  }
}
