@charset "UTF-8";
:root {
  --anchor-offset: 50px;
}

section {
  scroll-margin-top: var(--anchor-offset);
}

body.admin-bar section {
  scroll-margin-top: calc(var(--anchor-offset) + 46px);
}

@media (min-width: 783px) {
  body.admin-bar section {
    scroll-margin-top: calc(var(--anchor-offset) + 32px);
  }
}
.nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 1vw;
  background-color: #013760;
  z-index: 9999;
  /* --- ハンバーガー（PC非表示） --- */
  /* --- SP：ドロワー化 --- */
  /* 閉じるボタン（SPのみ表示） */
}
@media (max-width: 768px) {
  .nav {
    background-color: #013760;
    padding: 6px 2vw;
    border-bottom: 0.5px dashed #fffefb;
  }
}
.nav__inner--left {
  display: flex;
  align-items: center;
  gap: 0.5vw;
}
@media (max-width: 768px) {
  .nav__inner--left {
    gap: 8px;
  }
}
.nav h1 {
  margin-block: 0;
  font-size: 1.85vw;
  line-height: 1em;
}
@media (max-width: 768px) {
  .nav h1 {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .nav h1 {
    font-size: 6.2vw;
    letter-spacing: 1px;
  }
}
.nav h1 a {
  display: flex;
  gap: 1vw;
}
.nav h1 a:hover {
  filter: none;
  transform: none;
}
.nav h1 span {
  color: #fffefb;
  text-decoration: none;
}
.nav h1 img {
  width: 1.2em;
  height: 1.2em;
}
.nav__tel a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fffefb;
  font-weight: 600;
  font-size: 1.4vw;
  gap: 2px;
  transform: none;
}
@media (max-width: 768px) {
  .nav__tel a {
    font-size: 5.2vw;
    letter-spacing: 0.5px;
    gap: 1px;
  }
}
.nav__tel svg {
  width: 0.9em;
  height: 0.9em;
  fill: #fffefb;
}
.nav__tel-number {
  line-height: 1;
}
.nav .nav__hamburger {
  display: none;
}
@media (max-width: 768px) {
  .nav .nav__hamburger {
    display: inline-flex;
    width: 40px;
    height: 32px;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
  }
}
.nav .nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fffefb;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav #menu-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.1vw;
  font-weight: 600;
  letter-spacing: 0px;
  background: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .nav #menu-navigation {
    font-size: 1.2vw;
  }
}
@media (max-width: 768px) {
  .nav #menu-navigation {
    font-size: 1.1rem;
  }
}
@media (min-width: 1921px) {
  .nav #menu-navigation {
    font-size: 22px;
  }
}
.nav #menu-navigation a {
  text-decoration: none;
  color: #fffefb;
}
.nav #menu-navigation li,
.nav #menu-navigation li a {
  line-height: 1;
}
@media (min-width: 769px) {
  .nav #menu-navigation li:not(:last-child):after {
    content: "｜";
    padding-left: 4px;
    color: #fffefb;
  }
}
.nav #menu-navigation .icon-external {
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.2em;
  fill: currentColor;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .nav {
    /* デフォルトは隠す（画面右外へ） */
    /* オーバーレイ */
    /* 開いた状態のスタイル（.is-open を .nav に付与） */
    /* 背景スクロール固定 */
  }
  .nav #menu-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: fit-content;
    margin: 0;
    padding: 3rem 1.6rem 1rem;
    background: #013760;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    display: block;
    transition: right 0.25s ease;
    overflow-y: auto;
    z-index: 10001;
  }
  .nav #menu-navigation > li {
    border-bottom: 1px dashed #fffefb;
  }
  .nav #menu-navigation > li:last-child {
    border-bottom: none;
  }
  .nav #menu-navigation > li > a {
    display: block;
    padding: 16px 6px 20px;
    text-decoration: none;
    color: #fffefb;
  }
  .nav .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10000;
  }
  .nav.is-open #menu-navigation {
    right: 0;
  }
  .nav.is-open .nav__overlay {
    display: block;
  }
  .nav.is-open .nav__hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav.is-open .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav__hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav .scroll-lock {
    overflow: hidden;
    touch-action: none;
  }
}
@media (min-width: 769px) {
  .nav .nav__close {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav {
    /* ドロワーを開いていない時は隠す */
  }
  .nav .nav__close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10002;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fffefb;
    color: #013760;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .nav:not(.is-open) .nav__close {
    display: none;
  }
}