/* サンプルの注記の帯 */
.demo {
  position: relative;
  z-index: 120;
  height: 34px;
  padding: 0 16px;
  background: var(--deep);
  color: var(--white);
  font-size: 14px;
  line-height: 34px;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.demo a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .demo { font-size: 13px; } }

/* ヘッダー（白い帯。上に留まり、送ると 80px に縮んで影が付く） */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hd-h);
  background: var(--white);
  transition: height 0.4s ease-out, box-shadow 0.4s ease-out;
}
.header.is-sm { height: var(--hd-sm); box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  width: 95%;
  max-width: calc(100% - 80px);
  height: 100%;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; flex: none; margin-right: 24px; }
.logo__name {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.logo__hk { letter-spacing: 0.04em; }
.logo:hover { opacity: 0.7; }
.header__txt { flex: none; font-size: 0.75rem; letter-spacing: 0.1em; line-height: 1.75; white-space: nowrap; }
.header__num { font-family: var(--f-en); font-size: 1.375rem; font-weight: 600; margin: 0 1px; }

.gnav { display: flex; align-items: center; height: 56px; margin-left: auto; }
.gnav__menu { display: flex; height: 100%; }
.gnav__menu > li { display: flex; align-items: center; }
.gnav__menu > li:not(:last-child)::after {
  content: "";
  display: block;
  width: 2px;
  height: 10px;
  background: var(--rule);
}
.gnav__menu a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.4s ease-out;
}
.gnav__menu a:hover { color: var(--deep); }
.gnav__sponly { display: none !important; }
.gnav__cta {
  height: 56px;
  margin-left: 1rem;
  padding: 0 1.3em;
  font-size: 1.0625rem;
  white-space: nowrap;
}
.gnav__sp { display: none; }
.header__telbtn, .header__menubtn { display: none; }

@media (max-width: 1440px) {
  .header__inner { max-width: calc(100% - 56px); }
  .logo { margin-right: 20px; }
  .logo__name { font-size: 1.625rem; }
  .gnav__menu a { padding: 0 1rem; }
}
@media (max-width: 1320px) {
  .header__txt { display: none; }
}
@media (max-width: 1180px) {
  .gnav__menu a { padding: 0 0.8rem; font-size: 0.875rem; }
  .gnav__cta { font-size: 0.9375rem; }
}

/* 1080px 以下：上の帯は 64px。右に電話とメニューの四角いボタン、メニューは全面に開く */
@media (max-width: 1080px) {
  :root { --hd-h: 64px; --hd-sm: 64px; }
  .header { box-shadow: var(--shadow); }
  .header__inner { flex-direction: column; justify-content: center; align-items: flex-start; max-width: 90%; width: 90%; margin: 0 0 0 5%; }
  .logo { gap: 8px; margin: 0; }
  .logo__name { font-size: 1.3rem; }
  .header__txt { display: block; font-size: 0.75rem; line-height: 1.2; padding-left: 34px; }
  .header__num { font-size: 1.2rem; }
  .header__telbtn, .header__menubtn {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
  }
  .header__telbtn { right: 64px; background: var(--green); }
  .header__telbtn svg { width: 26px; height: 26px; fill: var(--deep); }
  .header__menubtn { right: 0; background: var(--deep); flex-direction: column; gap: 5px; }
  .header__menubtn span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.4s ease-out, opacity 0.4s ease-out; }
  .header__menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
  .header__menubtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__menubtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(45deg); }

  .gnav {
    position: fixed;
    top: calc(var(--demo-h, 0px) + 64px);
    right: 0;
    display: block;
    width: 100%;
    height: calc(100dvh - 64px - var(--demo-h, 0px));
    margin: 0;
    padding: 24px 7%;
    background: var(--cream);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav__menu { display: block; height: auto; margin-bottom: 24px; }
  .gnav__menu > li { display: block; border-bottom: 2px dotted rgba(53, 96, 31, 0.45); }
  .gnav__menu > li:not(:last-child)::after { display: none; }
  .gnav__menu a { position: relative; display: block; padding: 19px 16px; font-size: 1rem; }
  .gnav__menu a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.625rem;
    width: 0.4375rem;
    height: 0.4375rem;
    margin: auto;
    border-top: 2px solid var(--deep);
    border-right: 2px solid var(--deep);
    transform: rotate(45deg);
  }
  .gnav__sponly { display: block !important; }
  .gnav__cta { display: none; }
  .gnav__sp { display: block; text-align: center; }
  .gnav__tel { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-en); font-weight: 600; font-size: 1.75rem; letter-spacing: 0.02em; }
  .gnav__tel svg { width: 22px; height: 22px; fill: var(--mid); }
  .gnav__hours { margin: 4px 0 16px; font-size: 0.875rem; }
  .gnav__line { display: flex; width: 100%; padding: 0.7em 1em; font-size: 1.125rem; border-radius: 9999px; }
}
@media (max-width: 767px) {
  .logo__name { font-size: 1.15rem; }
}

/* 受付時間・予約（お知らせの下に平らに置く。影や重なりはなし） */
.schedule { width: 89.5833%; margin: 24px auto 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.schedule__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ttl ttl ttl" "hours info cta"; align-items: center; gap: 12px 40px; padding: 24px 0; font-size: 0.9375rem; }
.schedule__ttl { grid-area: ttl; }
.schedule .hours { grid-area: hours; }
.schedule__info { grid-area: info; }
.schedule__cta { grid-area: cta; }
.schedule__ttl {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0 0.3em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.83;
  letter-spacing: 0.06em;
  color: var(--beni);
}
.schedule__ttl span { position: relative; display: block; padding: 0 1.2em; }
.schedule__ttl span::before, .schedule__ttl span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.6em;
  height: 1px;
  margin: auto;
  background: currentColor;
}
.schedule__ttl span::before { left: 0; }
.schedule__ttl span::after { right: 0; }
.schedule .hours { margin-top: 2px; border-radius: 0.5rem; background: var(--cream); }
.schedule__info { display: flex; align-items: center; gap: 8px; padding: 0.875rem 0 0.5rem; }
.schedule__addr { display: flex; flex-wrap: wrap; align-items: center; line-height: 1.85; letter-spacing: 0.05em; }
.schedule__addr svg { width: 17px; height: 17px; margin-right: 0.5rem; fill: var(--deep); }
.schedule__addr span { font-size: 0.8125rem; }
.schedule__map {
  flex: none;
  margin-left: auto;
  padding: 0 0.625rem;
  border: 1px solid var(--mid);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--hl);
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background-color 0.4s ease-out, color 0.4s ease-out;
}
.schedule__map:hover { background: var(--mid); color: var(--white); }
.schedule__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0.5625rem;
  border-top: 1px solid #e8e8e8;
}
.schedule__cta .btn-cta { min-width: 200px; padding: 0.55em 1.2em; font-size: 1rem; border-radius: 9999px; }
.schedule .schedule__cta { padding-top: 0; border-top: 0; }
@media (max-width: 1080px) {
  .schedule .schedule__cta { padding-top: 0.5625rem; border-top: 1px solid #e8e8e8; }
  .schedule__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ttl" "hours" "info" "cta"; }
}
@media (max-width: 767px) {
  .schedule__ttl { font-size: 1.25rem; }
}
