header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 83.657px;
  z-index: 100;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  header {
    height: 64px;
    background: none;
  }
}

header .logo {
  width: 262.39px;
  height: 73.505px;
  margin: 7px auto auto 60px;
  display: block;
}
@media screen and (max-width: 768px) {
  header .logo {
    width: 237px;
    height: 64px;
    margin: 0;
    background: #fff;
    padding-top: 7px;
    padding-left: 23px;
    padding-bottom: 3px;
    border-radius: 0 0 20px 0;
  }
  header .logo img {
    width: 194.028px;
    height: 54.374px;
  }
}

header .headnav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

header .headnav li a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 25.6px */
  letter-spacing: 0.48px;
  position: relative;
}
.head-right {
  flex-direction: column;
  align-items: flex-end;
  padding-right: 40px;
  gap: 11px;
  justify-content: center;
}
header .headnav li a:hover {
  color: #0d6fb8;
}
header .headnav li a:hover::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 35px;
  background-image: url(../image/common/navback-nikukyu.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  right: 50%;
  transform: translateX(50%);
}
.head-tel {
  width: 152px;
  height: 24px;
  border-radius: 12px;
  background: #0d6fb8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.head-tel span {
  color: #fff;
  text-align: center;
  font-family: Fredoka;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
}
.head-tel span::before {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url(../image/common/headtel.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
  margin-top: -3px;
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  padding: 15px;
  background-color: #0d6fb8;
  border: 1px solid #0d6fb8;
  border-radius: 100vh;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}
@media screen and (max-width: 768px) {
  .hamburger-menu {
    width: 45px;
    height: 45px;
    top: 10px;
    right: 22px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
  }
}
.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

/* アクティブ状態（Xアニメーション） */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 3px);
  background-color: #0d6fb8;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(3px, -3px);
  background-color: #0d6fb8;
}
.hamburger-menu.active {
  background-color: #fff;
  border: 1px solid #0d6fb8;
  fill: #fff;
  stroke-width: 1px;
  stroke: #0d6fb8;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
}

/* スライドメニュー */
.slide-menu {
  position: fixed;
  top: 0;
  right: -265px;
  width: 265px;
  height: 100vh;
  background: #fff;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  background-image: url(../image/common/sp-headmenuback.png);
  background-size: cover;
}
.slide-menu ul.sns {
  margin-top: 30px;
  gap: 30px;
}
.slide-menu ul.sns li {
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
}

@media screen and (max-width: 768px) {
  .slide-menu {
    width: 100%;
    right: -100%;
  }
}

.slide-menu.active {
  right: 0;
}
.menu-list {
  list-style: none;
  padding: 160px 0 0 0;
  margin: 0 0 35px 0;
}
@media screen and (max-width: 768px) {
  .menu-list {
    padding-top: 95px;
    padding-left: 30px;
    margin-bottom: 50px;
  }
}

.menu-list li {
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
}

.menu-list a {
  display: block;
  padding: 0 30px 0 70px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  color: #111;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 25.6px */
  letter-spacing: 0.48px;
}
@media screen and (max-width: 768px) {
  .menu-list a {
    padding-left: 0;
    font-size: 18px;
    letter-spacing: 0.54px;
  }
  .menu-list a::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 2px;
    background-color: #0d6fb8;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -2px;
  }
}

.menu-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.slide-menu p {
  color: var(--masame, #111);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 16px */
  margin-top: 30px;
  margin-bottom: 5px;
}
.navtel {
  text-align: center;
}
.navtel a {
  color: var(--masame, #111);
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 38.4px */
  text-align: center;
}
.navtel a:before {
  width: 20px;
  height: 19.991px;
  flex-shrink: 0;
  content: "";
  display: inline-block;
  background-image: url(/image/header/Phone.svg);
  vertical-align: middle;
  margin-right: 5px;
}
.navtime {
  color: var(--masame, #111);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 16px */
  text-align: center;
  display: block;
}
