.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pc {
  display: none;
}

.sp {
  display: block;
}
.pc-in{
  display: none;
}
.sp-in{
  display: inline;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
  .pc-in{
    display: inline;
  }
  .sp-in{
    display: none;
  }
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0.5rem;
  max-width: 86.25rem;
}
@media (min-width: 1280px) {
  .header .container {
    padding-right: 198px;
  }
}
.header_logo {
  width: 50.2vw;
  max-width: 14.4375rem;
}

@media (min-width: 1280px) {
  .header_logo {
    padding-top: 1.375rem;
  }
}

.header .logo_scrolled {
  display: none;
}

.header.scroll .logo_scrolled {
  display: block;
}

.header.scroll .logo {
  display: none;
}

.header_nav {
  display: none;
}

@media (min-width: 1280px) {
  .header_nav {
    display: block;
    padding-top: 1.875rem;
  }
}

.header_nav.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0C356F;
  z-index: 1000;
  padding: 2.5rem 1.25rem;
  height: 100vh;
}

@media (min-width: 1280px) {
  .header_nav ul {
    display: flex;
    justify-content: space-between;
    column-gap: 0.9375rem;
    padding: 0 0.935rem;
  }
}

@media (min-width: 1280px) {
  .header.scroll::before {
    content: "";
    position: absolute;
    width: 100vw;
    height: 3.75rem;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: -1;
    padding-bottom: 0.625rem;
  }
}

.header_nav li {
  padding: 0.9375rem 0;
  text-align: center;
  border-bottom: 2px solid #fff;
}

@media (min-width: 1280px) {
  .header_nav li {
    padding: 0;
    border-bottom: none;
  }
}

.header_nav li:last-child {
  border-bottom: none;
}

.header_nav li a {
  display: block;
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (min-width: 1280px) {
  .header_nav li a {
    font-size: 0.9375rem;
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .header.scroll .header_nav li a {
    color: #000;
  }
}

.header_nav_extra {
  display: none;
}

@media (min-width: 1280px) {
  .header_nav_extra {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
  }

  .header_nav_extra a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 11.5rem;
    height: 6.0625rem;
    transition: all 0.3s ease;
    font-weight: 900;
    font-family: "Noto Sans JP", sans-serif;
  }
  .header_nav_extra a span{
    font-weight: 900;
  }
  .header_nav_extra a:hover {
    opacity: 1;
  }

  .header_nav_extra li:nth-child(1) a {
    background-color: #D78A3E;

  }

  .header_nav_extra li:nth-child(1) a:hover {
    color: #D78A3E;
    background-color: #fff;
  }

  .header_nav_extra li:nth-child(2) a {
    background-color: #0C356F;
  }

  .header_nav_extra li:nth-child(2) a:hover {
    color: #0C356F;
    background-color: #fff;
  }
}
.header-nav_extra_sub{
  display: none;
}
.header_hamburger {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #0C356F;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 1001;
}

@media (min-width: 1280px) {
  .header_hamburger {
    display: none;
  }
}

.header_hamburger span {
  display: block;
  width: 1.5rem;
  height: 0.1875rem;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.header_hamburger span:nth-child(1) {
  top: 0.75rem;
}

.header_hamburger.active span:nth-child(1) {
  top: 1.25rem;
  transform: rotate(45deg);
  left: 17%;
}

.header_hamburger span:nth-child(2) {
  top: 1.25rem;
}

.header_hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header_hamburger span:nth-child(3) {
  top: 1.75rem;
}

.header_hamburger.active span:nth-child(3) {
  top: 1.25rem;
  transform: rotate(-45deg);
  left: 17%;
}
.goTop{
  position: fixed;
  bottom: 4.0625rem;
  right: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .goTop{
    width: 5.0625rem;
    height: 5.0625rem;
  }
}
.goTop.scroll{
  opacity: 1;
  visibility: visible;
}
.footer {
  padding: 1.25rem 0 7.5rem;
}
.footer .container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer .container{
    flex-wrap: nowrap;
    column-gap: 1.875rem;
    font-size: 1.25rem;
  }
}
.footer_nav{
  order: 1;
  width: 100%;
}
@media (min-width: 768px) {
  .footer_nav{
    order: 3;
  }
}
.footer_nav nav{
  display: flex;
  justify-content: center;
  column-gap: 0.9375rem;
  padding-bottom: 1.875rem;
}
@media (min-width: 768px) {
  .footer_nav nav ul{
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.9375rem;
    font-size: 1.125rem;
  }
  .footer_nav nav ul li{
    width: fit-content;
    white-space: nowrap;
  }
}
.footer_logo{
  order: 2;
  width: calc(40% - 0.625rem);
  max-width: 14.4375rem;
}
@media (min-width: 768px) {
  .footer_logo{
    order: 1;
  }
}
.footer_address{
  order: 3;
  width: 60%;
  color: #0C356F;
}
.footer_address a{
  color: #0C356F;
}
@media (min-width: 768px) {
  .footer_address{
    order: 2;
    width: calc(60% - 0.625rem);
  }
}