/*------------------------------------
ヘッダー用CSS
------------------------------------*/
header.fix {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index: 100;
  padding: 0;
  animation:nyuru 0.5s;
  border-bottom: 1px solid #ddd;
}
@keyframes nyuru {
  0%{
      margin-top:-64px;
  }
  100%{
      margin-top:0;
  }
}
header {
  position: relative;
  background-color: rgba(0,0,0,1);
}
header .header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 0 30px;
  max-width: 1480px;
  margin: 0 auto;
}
header .header-inner .site-logo h1 {
  color: var(--color-white);
  font-family: var(--font-sub3);
  letter-spacing: 0.2rem;
  font-size: 1.8rem;
  margin: 0;
  display: flex;
  align-items: center;
}
header .header-inner .site-logo {
  width: 200px;
}
header .header-inner .site-logo img {
  width: 100%;
  height: auto;
  transition: 0.3s;
}
header .header-inner .site-logo a:hover {
  opacity: 0.8;
}
header .header-inner .header-nav-pc ul {
  display: flex;
  justify-content: space-around;
  max-width: 1100px;
  margin: auto;
  align-items: center;
  gap: 40px;
}
header .header-inner .header-nav-pc ul li {
  font-size: 1rem;
  margin: 0;
  text-align: center;
  line-height: 1;
  font-weight: 600;
}
header .header-inner .header-nav-pc ul li a {
  color: #000;
  line-height: 0.9;
  transition: 0.3s;
}
header .header-inner .header-nav-pc ul li a:hover {
  color: var(--color-main);
}
header .header-inner .header-nav-pc ul li.defalt-btn .normal-btn {
  line-height: 45px;
}
header .sns-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 12px;
}

/* ハンバーガーメニュー */
header .header-inner .nav-bg {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  position: fixed;
  z-index: 100;
}
header .header-inner .nav-bg.open {
  display: block;
}
header .header-inner .nav-wrapper {
  height: 100vh;
  right: 0;
  position: fixed;
  top: 0;
  transform: translateX(100%);
  transition: transform .3s;
  width: 50vw;
  z-index: 101;
  display: none;
}
header .header-inner .nav-wrapper .header-nav {
  background-color: #fff;
  height: 100%;
  width: 100%;
}
header .header-inner .nav-wrapper .header-nav .nav-list {
  display: block;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 0%;
  transform: translate(-50%,0%);
  margin: 0;
  padding: 0;
  width: 80%;
}
header .header-inner .nav-wrapper .header-nav .nav-list .nav-item {
  margin-bottom: 10px;
  margin-right: 0;
  line-height: 1.8;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  position: relative;
}
header .header-inner .nav-wrapper .header-nav .nav-list .nav-item a {
  color: var(--color-black);
}
header .header-inner .nav-wrapper .header-nav .nav-list .nav-item a:hover {
  color: var(--color-main);
}
header .header-inner .nav-wrapper .header-nav .accordion-container {
  width: 80%;
  margin: 100px auto 3rem;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title {
  margin: 0 0 10px;
  line-height: 1.8;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 10px 0;
  position: relative;
  color: var(--color-black);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title:hover {
  color: var(--color-main);
  background-color: #fff;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title:hover::before,
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title:hover::after {
  background: var(--color-main);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title:active {
  color: var(--color-main);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title.open {
  color: var(--color-main);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title.open::before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  background: var(--color-main);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title.open::after {
  opacity: 0;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  background: var(--color-black);
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  background: var(--color-black);
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-content {
  background-color: #fff;
  margin-bottom: 1.2rem;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-content .content_menu {
  margin: 0;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-content .content_menu li {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  font-size: 0.9rem;
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-content .content_menu li a {
  color: var(--color-black);
}
header .header-inner .nav-wrapper .header-nav .accordion-container .accordion-content .content_menu li a:hover {
  color: var(--color-main);
}

/* メニューオープン時 */
header .header-inner .nav-wrapper.slide-in {
  transform: translateX(0);
}

/* ハンバーガーメニューボタン */
header .header-inner .buger-btn-con {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  display: none;
}
header .header-inner .nav-wrapper .buger-btn-con {
  right: 40px;
}
header .header-inner .buger-btn-con button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: middle;
  border: none;
}
header .header-inner .buger-btn-con .burger-btn {
  height: 50px;
  position: relative;
  width: 58px;
  z-index: 4;
  background-color: transparent;
  border: 2px solid var(--color-black);
  border-radius: 4px;
  outline: none;
}
header .header-inner .buger-btn-con .burger-btn .bar {
  background-color: var(--color-black);
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 35px;
  border-radius: 3px;
}
header .header-inner .buger-btn-con .burger-btn .bar_top {
  top: 11px;
}
header .header-inner .buger-btn-con .burger-btn .bar_mid {
  top: 50%;
  transform: translate(-50%,-50%);
}
header .header-inner .buger-btn-con .burger-btn .bar_bottom {
  bottom: 11px;
}
header .header-inner .buger-btn-con .burger-btn.close .bar_top {
  transform: translate(-50%,15px) rotate(45deg);
  transition: transform .3s;
}
header .header-inner .buger-btn-con .burger-btn.close .bar_mid {
  opacity: 0;
  transition: opacity .3s;
}
header .header-inner .buger-btn-con .burger-btn.close .bar_bottom {
  transform: translate(-50%,-10px) rotate(-45deg);
  transition: transform .3s;
}

/* メガメニュー */
.header-nav-pc .mega-menu nav {
  -webkit-clip-path: inset(0 -50vw 100%);
  background-color: var(--color-main);
  clip-path: inset(0 -50vw 100%);
  left: 0;
  padding: 20px;
  position: absolute;
  top: 100%;
  transition: all 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 10;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.header-nav-pc .mega-menu nav li {
  height: auto;
}
.header-nav-pc .mega-menu nav li a {
  width: 220px;
  height: auto;
  background-color:var(--color-white);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
}
.header-nav-pc .mega-menu nav li a img {
  border-radius: 10px;
  transition: .3s;
  width: 100%;
}
.header-nav-pc .mega-menu nav li a img.icon {
  width: 15%;
}
.header-nav-pc .mega-menu nav li a:hover img {
  opacity: 0.8;
}
.header-nav-pc .mega-menu nav li a .mega-title {
  position: relative;
  color: #000;
  border-bottom: none;
  border-left: 5px solid var(--color-main);
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  width: fit-content;
  padding: 0px 20px 0px 5px;
  transition: .3s;
}
.header-nav-pc .mega-menu nav li a:hover .mega-title {
  color: var(--color-main);
}
.header-nav-pc .mega-menu nav li a .mega-title span.arrow-circle {
  background-color: var(--color-main);
  width: 16px;
  height: 16px;
  right: 0;
}
.header-nav-pc .mega-menu nav li a .mega-title span.arrow-circle::before {
  background-color: var(--color-white);
}
.header-nav-pc .mega-menu nav li a .mega-title span.arrow-circle::after {
  border-bottom: 1px solid var(--color-white);
  border-right: 1px solid var(--color-white);
}
.header-nav-pc .mega-menu.is-open nav {
  -webkit-clip-path: inset(0 -50vw);
  clip-path: inset(0 -50vw);
  visibility: visible;
}
@media (min-width: 768px) and (hover: hover) {
  .header-nav-pc .mega-menu:hover nav,
  .header-nav-pc .mega-menu:focus-within nav {
    -webkit-clip-path: inset(0 -50vw);
    clip-path: inset(0 -50vw);
    visibility: visible;
  }
}
.header-nav-pc .mega-menu .menu-button {
  cursor: pointer;
}

@media only screen and (max-width: 1080px) {
  /* header .header-inner .buger-btn-con {
    display: block;
  }
  header .header-inner .nav-wrapper {
    display: block;
  }
  header .header-inner .nav-wrapper.slide-in .buger-btn-con {
    display: block;
    top: 60px;
    right: 20px;
  }
  header .header-inner .nav-wrapper.slide-in .buger-btn-con button {
    border: none;
  } */
  header .header-inner .header-nav-pc ul {
    gap: 20px;
  }
}

@media only screen and (max-width: 767px) {
  header .header-inner .site-logo h1 {
    letter-spacing: 0.1rem;
    font-size: 1.4rem;
  }
  header .header-inner .header-nav-pc ul li.defalt-btn .normal-btn {
    line-height: 35px;
  }
  header .header-inner {
    height: 60px;
    padding: 0 10px;
  }
  header .header-inner .site-logo {
    left: 15px;
    width: 150px;
  }
  header .header-inner .buger-btn-con {
    right: 25px;
  }
  header .header-inner .buger-btn-con .burger-btn {
    height: 38px;
    width: 45px;
  }
  header .header-inner .buger-btn-con .burger-btn .bar {
    width: 30px;
  }
  header .header-inner .buger-btn-con .burger-btn .bar_top {
    top: 8px;
  }
  header .header-inner .buger-btn-con .burger-btn .bar_bottom {
    bottom: 8px;
  }
  header .header-inner .buger-btn-con .burger-btn.close .bar_top {
    transform: translate(-50%, 12px) rotate(45deg);
  }
  header .header-inner .buger-btn-con .burger-btn.close .bar_bottom {
    transform: translate(-50%, -7px) rotate(-45deg);
  }
  header .header-inner .nav-wrapper {
    width: 100vw;
  }
  header .header-inner .nav-wrapper .buger-btn-con {
    right: 20px;
  }
  header .sns-circle {
    width: 35px;
    height: 35px;
    padding: 8px;
  }
  header .header-inner .header-nav-pc ul {
    gap: 10px;
  }
}