/* header */
header {
  background-color: rgba(255, 255, 255, 1);
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header_contents a {
  font-weight: 600;
  height: fit-content;
  line-height: normal;
  white-space: nowrap;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding: 0;
}

.header__menu {
  width: 100%;
  text-align: center;
  background: #00B7EF;
  color: white;
}

.menu-list {
  display: inline-flex;
  align-items: center;
  gap: 27px;
  padding: 7px 100px;
  height: auto;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__title {
  margin-left: 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo-cp {
  display: block;
  width: 160px;
  object-fit: contain;
    padding: 20px 0;
}

.header__logo-city {
  display: block;
  width: 140px;
  object-fit: contain;
    padding: 20px 0;
}

.separation {
  font-size: 0;
  width: 0;
  color: var(--white);
  border-right: 1px solid var(--white);
  height: 30px;
  margin: 0;
  flex-shrink: 0;
}

.separation:first-of-type,
.separation:last-of-type {
  margin: 0;
}

.nav-items__item a {
  font-family: YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5em;
  color: #FFFFFF;
  text-decoration: none;
}

/*ハンバーガー*/
.header__hamburger {
  display: none;
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.header__hamburger span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #EE3823;
  width: 45%;
}

.header__hamburger span:nth-of-type(1) {
  top: 15px;
}

.header__hamburger span:nth-of-type(2) {
  top: 23px;
}

.header__hamburger span:nth-of-type(3) {
  top: 31px;
}

.header__hamburger.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.header__hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* 事業者ボタン */
.c-border_btn.p-company_btn {
  color: #00B7EF;
  border: 2px solid #00B7EF;
}

.c-border_btn.p-company_btn a {
  font-family: YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5em;
  color: #00B7EF;
  padding: 0.5rem 2rem;
  display: block;
}

.c-border_btn.p-company_btn .arrow:before,
.c-border_btn.p-company_btn .arrow:after {
  background-color: #00B7EF;
}

.c-border_btn.sp-company_btn,
.c-border_btn.sp-user_btn,
.c-base_btn.sp-purchase_btn {
  display: none;
}

.p-purchase_btn {
  background: var(--pink);
  border: 2px solid var(--pink);
  color: #FFF23F;
  padding: 0.5rem 2rem;
  width: fit-content;
  height: fit-content;
  line-height: normal;
  margin: auto;
  display: block;
  text-align: left;
  text-decoration: none;
}

.pc-purchase_btn a {
  height: fit-content;
}

.p-purchase_btn .arrow:before,
.p-purchase_btn .arrow:after {
  background-color: #FFF23F;
}

@media screen and (max-width: 1020px) {
  .header__inner {
    padding: 10px;
    z-index: 999;
  }

  .header__logo {
    gap: 10px;
  }

  .header__logo-cp {
    width: 130px;
    height: auto;
  }

  .header__logo-city {
    width: 80px;
    height: auto;
  }

  .pc-border_btn,
  .pc-purchase_btn {
    display: none;
  }

  .c-border_btn.sp-company_btn,
  .c-border_btn.sp-user_btn,
  .c-base_btn.sp-purchase_btn {
    display: block;
  }

  .sp-company_btn a,
  .sp-purchase_btn a {
    font-size: 2rem;
  }

  .header__hamburger {
    display: block;
  }

  #js-nav {
    display: none;
  }

  #js-nav.active {
    display: block;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .separation {
    display: none;
  }

  .header__menu {
    color: var(--navy);
    background: none;
    height: calc(100dvh - 80px);
    margin-top: 80px;
  }

  .menu-list {
    display: block;
    width: 100%;
    margin: 0;
    height: 100%;
    overflow-y: auto;
    padding: 0;
    gap: 0;
  }

  .menu-list li:not(.sp-company_btn),
  .menu-list li:not(.sp-purchase_btn) {
    display: block;
    margin-bottom: 24px;
  }

  .nav-items__item a {
    font-size: 2.4rem;
    color: var(--navy);
  }

  .no_scroll {
    overflow: hidden;
  }

  .nav-items__item.sp-purchase_btn,
  .nav-items__item.sp-company_btn,
  .nav-items__item.sp-user_btn {
    width: 40%;
    min-width: 280px;
    margin: auto;
    text-align: center;
  }

  .nav-items__item.sp-user_btn a {
    color: var(--pink);
  }
}

/* footer */
.l-footer {
  background-color: #00B7EF;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 60px 0 20px;
}

.l-footer__card {
  display: flex;
  justify-content: center;
}

.l-footer .contents {
  padding-top: 0;
}

.l-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 20px;
  width: 611px;
  height: 140px;
  padding: 0 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.l-footer__logo-cp {
  width: 218px;
  height: 94px;
  object-fit: contain;
}

.l-footer__logo-city {
  width: 213px;
  height: 83px;
  object-fit: contain;
}

.copyright {
  display: block;
  color: #FFFFFF;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15em;
}

@media screen and (max-width: 687px) {
  .l-footer {
    padding: 40px 20px 20px;
  }

  .l-footer__logo {
    width: 100%;
    max-width: 611px;
    height: auto;
    padding: 25px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .l-footer__logo-cp {
    width: 180px;
    height: auto;
  }

  .l-footer__logo-city {
    width: 140px;
    height: auto;
  }

  .copyright {
    font-size: 12px;
  }
}

/*アニメーション*/
#js-nav.active {
  animation-name: fadein;
  animation-duration: 0.3s;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}