:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #40916c;
  --color-text: #2b2b2b;
  --color-text-muted: #5c5c5c;
  --color-bg: #faf9f6;
  --color-bg-alt: #eef4ef;
  --color-white: #fff;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.75rem 4vw;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo__mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.logo__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.logo__en {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__list a:hover,
.nav__list a.is-current {
  color: var(--color-primary);
}

.header__reserve {
  display: none;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}

.header__reserve:hover {
  background: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero {
  min-height: 82vh;
}

.page-hero {
  min-height: 44vh;
}

.hero__bg,
.page-hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img,
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 67, 50, 0.84) 0%,
    rgba(27, 67, 50, 0.58) 52%,
    rgba(27, 67, 50, 0.32) 100%
  );
}

.hero__content,
.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  color: var(--color-white);
}

.page-hero__content {
  padding: 3.5rem 0 3rem;
}

.hero__label {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  opacity: 0.92;
  margin: 0 0 1rem;
}

.hero__title {
  margin: 0 0 1.25rem;
}

.hero__title-main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero__title-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  opacity: 0.88;
}

.hero__catch {
  max-width: 32em;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  opacity: 0.96;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero__label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.45;
}

.page-hero__lead {
  max-width: 40em;
  margin: 1rem 0 0;
  opacity: 0.92;
  font-size: 0.98rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

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

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

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

.section .btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

button.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

.section-title--center {
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  margin: -0.5rem 0 2rem;
}

.section-actions {
  text-align: center;
  margin-top: 2.5rem;
}

/* Intro */
.intro {
  padding: 5rem 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.intro__text p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.intro__aside {
  padding-top: 0.5rem;
}

.intro__aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.intro__aside ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}

.intro__aside li + li {
  margin-top: 0.35rem;
}

/* Feature list (no boxes) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.feature-list li p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

/* Services */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.service-tags li {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.service-tags li + li::before {
  content: "／";
  margin-right: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.service-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.service-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.symptom-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.symptom-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.symptom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

/* Philosophy */
.philosophy {
  max-width: 720px;
  margin-inline: auto;
}

.philosophy p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.philosophy p:last-child {
  margin-bottom: 0;
}

/* Insurance / price */
.price-block {
  max-width: 680px;
  margin-inline: auto;
}

.price-block h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.price-block h3:first-child {
  margin-top: 0;
}

.price-block p,
.price-block ul {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.price-block ul {
  padding-left: 1.2rem;
}

.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.insurance-list li {
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  padding-left: 1rem;
}

.insurance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Hours */
.hours-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.85rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hours-table thead th {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.hours-table tbody th {
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}

.hours-table__closed {
  color: var(--color-primary);
}

.hours-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Access */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.access-list {
  margin: 0 0 2rem;
}

.access-list > div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.access-list dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.access-list dd {
  margin: 0;
}

.access__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.access__map iframe {
  width: 100%;
  min-height: 360px;
}

.access__map-link {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.route-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.route-steps li + li {
  margin-top: 0.5rem;
}

/* Flow */
.flow-list {
  counter-reset: flow;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
}

.flow-list li {
  position: relative;
  padding: 0 0 2rem 3rem;
  color: var(--color-text-muted);
}

.flow-list li:last-child {
  padding-bottom: 0;
}

.flow-list li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.flow-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.flow-list p {
  margin: 0;
  font-size: 0.94rem;
}

/* Footer */
.footer {
  background: #1e2a24;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

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

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer__address,
.footer__tel {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.footer__nav li + li {
  margin-top: 0.35rem;
}

.footer__nav a {
  font-size: 0.88rem;
  opacity: 0.9;
  text-decoration: none;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__copy {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  text-align: center;
  opacity: 0.55;
  font-size: 0.82rem;
}

/* Float tel */
.float-tel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  padding: 0 1.1rem;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.float-tel:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
  transform: scale(1.04);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  padding: 1.75rem 1.5rem 1.5rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
}

.modal__lead {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.booking-step[hidden] {
  display: none;
}

.booking-selected {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.booking-back {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.booking-confirm__label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.booking-confirm__value {
  margin: 0.25rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form__field {
  display: grid;
  gap: 0.35rem;
}

.booking-form__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.booking-form__required {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  background: var(--color-bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
}

.booking-form__error {
  margin: 0;
  font-size: 0.85rem;
  color: #b42318;
}

.booking-complete__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.booking-complete__value {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.booking-complete__detail {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.booking-complete__note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.time-slot.is-booked {
  opacity: 0.45;
  text-decoration: line-through;
}

.cal-day.is-full {
  opacity: 0.35;
}

.calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar__month {
  margin: 0;
  font-weight: 700;
}

.calendar__btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg);
  cursor: pointer;
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.cal-day:hover:not(:disabled) {
  background: var(--color-bg-alt);
}

.cal-day.is-selected {
  background: var(--color-primary);
  color: var(--color-white);
}

.cal-day:disabled,
.cal-day.is-empty {
  color: #ccc;
  cursor: default;
}

.cal-day.is-empty {
  visibility: hidden;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.time-slot {
  padding: 0.65rem 0.25rem;
  border: none;
  background: var(--color-bg);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.time-slot.is-selected {
  background: var(--color-primary);
  color: var(--color-white);
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .header__reserve {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 899px) {
  .header__reserve {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-right: 0.35rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem 4vw 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__list a {
    display: block;
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .intro__grid,
  .feature-list,
  .service-grid,
  .symptom-list,
  .access__grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    text-align: left;
  }
}
