@charset "utf-8";

body {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

#container {
  width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #container {
    width: 100%;
  }
}

img {
  max-width: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 1200px;
  height: 113px;
  margin: 0 auto;
  padding: 0;
  z-index: 100;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  header {
    width: 100%;
    height: 16.667vw;
    padding: 0 0 0 5.556vw;
  }
}

.h-right {
  display: flex;
  align-items: center;
}

.h-logo {
  display: inline-block;
  margin: 0 30px 0 0;
}

@media screen and (max-width: 768px) {
  .h-logo img {
    width: 28.611vw;
  }
}

.h-left {
  padding: 48px 0 0;
}

@media screen and (max-width: 768px) {
  .h-left {
    padding: 7.6vw 5.556vw 0 0;
  }
}

.h-left ul {
  display: flex;
}

@media screen and (max-width: 768px) {
  .h-left ul {
    display: block;
  }
}

.h-left ul li {
  margin: 0 0 0 45px;
}

@media screen and (max-width: 768px) {
  .h-left ul li {
    text-align: center;
    margin: 0;
    padding: 20px;
  }
}

.h-left ul li a {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .h-left ul li a {
    color: #fff;
  }
}

#contents {
  margin-top: 113px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #contents {
    margin-top: 16.667vw;
    width: 100%;
  }
}

footer {
  position: relative;
  width: 100%;
}

.fixed_btn {
  display: inline-block;
  position: fixed;
  bottom: 0;
  right: 0;
}

.fixed_btn img {
  width: 15vw;
  max-width: 180px;
}

a:hover {
  opacity: 0.8;
}

.clearfix {
  display: block;
  overflow: hidden;
}

/* バーガーメニュー */
@media screen and (max-width: 768px) {
  .nav_toggle {
    display: block;
    position: relative;
    width: 22px;
    height: 12px;
    cursor: pointer;
    z-index: 10;
  }

  .nav_toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ed7800;
    position: absolute;
    transition: transform .5s, opacity .5s;
  }

  .nav_toggle.show i {
    background-color: #fff;
  }

  .nav_toggle i:nth-child(1) {
    top: 0;
  }

  .nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .nav_toggle i:nth-child(3) {
    bottom: 0;
  }

  .nav_toggle.show i:nth-child(1) {
    transform: translateY(6px) rotate(-45deg);
  }

  .nav_toggle.show i:nth-child(2) {
    opacity: 0;
  }

  .nav_toggle.show i:nth-child(3) {
    transform: translateY(-3.5px) rotate(45deg);
  }

  .nav {
    position: fixed;
    top: 3rem;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
    background-color: #ed7800;
    top: 0;
    height: 100svh;
  }
}

/* アンカー調整 */
a.anchor {
  scroll-margin-top: 90px;
}

@media screen and (max-width: 768px) {
  a.anchor {
    scroll-margin-top: 16.667vw;
  }
}