@charset "utf-8";
/* =========================================================
   Components
   - Buttons
   - Header / Navigation
   - SP Drawer (sp-nav)
   - Responsive
========================================================= */
/* =========================
   Buttons (Upgraded)
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn--lg {
  min-height: 54px;
  padding: 0 34px;
  font-size: 1rem;
}
/* Primary */
.btn--primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #4c8c7a, #3f7a6a);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
/* Ghost */
.btn--ghost {
  background: #fff;
  color: var(--color-main);
  border: 2px solid var(--color-main);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}
.btn--ghost::before {
  /*content: "☎";*/
  margin-right: 8px;
  font-size: .9em;
}
.btn--ghost:hover {
  background: var(--color-main);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .15);
}
.btn--ghost:active {
  transform: translateY(1px);
}
/* Focus ring */
.btn:focus-visible {
  outline: 3px solid rgba(76, 140, 122, .4);
  outline-offset: 3px;
}
/* =========================
   Header / Navigation (PC)
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  backdrop-filter: saturate(1.1);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  min-height: 72px;
  flex-wrap: nowrap; /* PCは1行で */
}
.site-logo {
  flex: 0 0 auto; /* ロゴは縮ませない */
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}
.site-logo img {
  display: block;
  height: 40px; /* 好みで 36〜44 */
  width: auto;
}
/* PC nav */
.global-nav {
  flex: 1 1 auto;
  max-width: 720px;
  min-width: 0; /* navが縮めるようにする */
  overflow: hidden; /* actions側に潜り込んで見えない事故を防ぐ */
}
.global-nav__list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav__list a {
  white-space: nowrap; /* 日本語の勝手改行を止める */
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 8px;
  border-radius: 10px;
}
.global-nav__list a:hover {
  background: rgba(76, 140, 122, .08);
  color: var(--color-text);
}
/* header actions */
.header-actions {
  flex: 0 0 auto; /* 右側は縮ませない */
  margin-left: auto; /* 常に右へ */
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  opacity: .85;
  transition: opacity .2s ease, background .2s ease;
}
.header-tel:hover {
  opacity: 1;
  background: rgba(0, 0, 0, .04);
}
.header-tel__label {
  font-size: .8rem;
  color: var(--color-subtext);
  letter-spacing: .04em;
}
.header-tel__num {
  font-size: .95rem;
}
/* header primary button: pill + a bit of depth */
.site-header .btn--primary {
  border-radius: 999px;
  padding: 0 24px;
  box-shadow: 0 4px 14px rgba(76, 140, 122, .18);
}
/* hamburger button (hidden on PC) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle:hover {
  background: rgba(0, 0, 0, .04);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}
/* =========================
   SP Drawer (sp-nav)
========================= */
.sp-nav {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sp-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.sp-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5001;
  width: min(88vw, 360px);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform .2s ease;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-nav.is-open .sp-nav__panel {
  transform: translateX(0);
}
.sp-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sp-nav__title {
  font-weight: 700;
  color: var(--color-text);
}
.sp-nav__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(0, 0, 0, .06);
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.sp-nav__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-nav__links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 12px;
}
.sp-nav__links a:hover {
  background: rgba(0, 0, 0, .04);
}
.sp-nav__links .btn {
  width: 100%;
}
/* =========================
   Responsive
   - Switch to hamburger earlier: 1280px
========================= */
@media (max-width: 1280px) {
  /* PC nav hidden */
  .global-nav {
    display: none;
  }
  /* header: 2 rows layout */
  .header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .site-logo {
    order: 1;
    flex: 0 0 auto;
  }
  .header-actions {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    white-space: normal;
  }
  /* TEL = left */
  .header-tel {
    grid-column: 1 / 2;
    justify-self: start;
    font-size: .95rem;
    padding: 6px 0;
    border-radius: 10px;
  }
  /* WEB予約 = big */
  .header-actions .btn--primary {
    grid-column: 1 / 2;
    justify-self: stretch;
    padding: 0 20px;
  }
  /* hamburger = right */
  .nav-toggle {
    display: inline-flex;
    grid-column: 2 / 3;
    justify-self: end;
    background: rgba(0, 0, 0, .02);
  }
}
@media (max-width: 768px) {
  .site-logo img {
    height: 36px;
  }
}