/*
Theme Name:custom theme
Description:カスタムテーマ
Author: app_murata
Version:1.0.0
*/

/*-------common------*/

html {
  font-size: 62.5%;
}

body {
  font-size: clamp(16px, 1.389vw, 2rem);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  background: #1f1f1f;
  color: #fff;
}
.m-font {
  font-size: clamp(1px, 1.042vw, 1.5rem);
  font-size: clamp(1px, 1.389vw, 2rem);
  font-size: clamp(1px, 1.667vw, 2.4rem);
  font-size: clamp(1px, 2.5vw, 3.6rem);
  font-size: clamp(1px, 2.778vw, 4rem);
  font-size: clamp(1px, 3.333vw, 4.8rem);
  font-size: clamp(1px, 4.444vw, 6.4rem);
  font-size: clamp(1px, 6.667vw, 9.6rem);
}
p {
  color: #fff;
  margin: 0;
}

a {
  text-decoration: none;
  color: #fff;
}
.ja {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}
.en {
  font-family: "Afacad", sans-serif;
  font-weight: 600;
}
.en-mix {
  font-family: "Afacad", "Zen Kaku Gothic Antique", sans-serif;
}
.fw5 {
  font-weight: 500;
}
.fw6 {
  font-weight: 600;
}
.fw7 {
  font-weight: 700;
}
.ls2 {
  letter-spacing: 0.02em;
}
.tc {
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

img {
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

li {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

body .sp-only {
  display: none;
}

.flex-row {
  display: flex;
}
.re-row {
  flex-direction: row-reverse;
}
.grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.img-box img {
  width: 100%;
}
.img-box.w606 {
  max-width: max(42.084vw, 606px);
  width: 100%;
}
.img-box.w400 {
  max-width: max(27.778vw, 400px);
  width: 100%;
}
* {
  box-sizing: border-box;
}
/*-------common-end------*/
/*-------hd------*/
.logo-tit {
  padding: 40px 0 40px;
  line-height: 1.45;
}
.logo-tit a {
  font-size: clamp(32px, 2.778vw, 4rem);
}
.hd-groop {
  display: flex;
  align-items: center;
  padding: 0 5.55% 0 2.084%;
}
.main-menu {
  display: flex;
  justify-content: space-between;
}
.main-menu a {
  font-size: 2rem;
}
.main-menu-container {
  flex-grow: 1;
  padding-left: 6.015%;
}
/*-------hamburger-css---*/
#menu-button {
  visibility: hidden;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 26.25px;
  height: 17.5px;
}

#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 26.25px;
  height: 3px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .ham-lines span {
  bottom: 7px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  content: "";
}

#menu-button .ham-lines::before {
  bottom: 14px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button .ham-text {
  font-size: 12px;
  line-height: 1;
}

#menu-button.is-active .ham-lines span {
  opacity: 0;
}

#menu-button.is-active .ham-lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .ham-lines::after {
  animation: active-menu-bar03 0.5s forwards;
}

@keyframes menu-bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-bar03 {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(9px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/*-------ft---*/
.footerwrap {
  padding: 100px 0 10px;
}
.footerwrap .logo-tit {
  padding: 0;
  text-align: center;
  margin-bottom: 70px;
}
.ft-main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 58px;
}
.copyright-container {
  padding: 40px 0;
}
.copyright {
  font-size: 1.5rem;
}
.page-top {
  background: #ffd900;
  margin: 0 5.55% 0 auto;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-top span {
  width: 21px;
  height: 21px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg) translate(-15%, 15%);
  vertical-align: middle;
  display: inline-block;
}
/*-------sp----*/
@media screen and (max-width: 1180px) {
  .img-box.w606 {
    max-width: max(45vw, 328px);
  }
}

@media screen and (max-width: 680px) {
  body {
    line-height: 1.8;
  }
  .header {
    position: fixed;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #1f1f1f;
  }
  .logo-tit {
    padding: 6px 0;
  }
  .logo-wrap {
    z-index: 701;
  }
  .main-menu {
    flex-direction: column;
    gap: 58px;
  }
  .main-menu li {
    text-align: center;
  }
  body #menu-button {
    visibility: visible;
    opacity: 1;
    display: flex;
    z-index: 701;
    position: relative;
  }

  #main-menu-container {
    position: fixed;
    z-index: 700;
    top: 0;
    left: auto;
    right: -100vw;
    bottom: auto;
    overflow-y: auto;
    background: #1f1f1f;
    background-size: cover;
    display: none;
    width: 100vw;
    height: 100vh;
    transition: 0.3s linear;
    padding: 0;
  }

  #main-menu-container.is-active {
    right: 0vw;
  }

  body #main-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .page-top {
    width: 42px;
    height: 42px;
    position: absolute;
    right: 25px;
    bottom: 30px;
    margin: 0;
  }
  .page-top span {
    width: 13px;
    height: 13px;
  }
  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }

  .flex-row {
    flex-direction: column;
  }
  .grid-wrap {
    grid-template-columns: 1fr;
  }

  body .sp-only {
    display: block;
  }

  body .pc-only {
    display: none;
  }
  .sp-footer-icons-container {
    display: flex;
  }
  .footerwrap {
    padding: 44px 0 50px;
  }
  .copyright-container {
    padding: 0 0 24px;
  }
  footer {
    position: relative;
  }
  .footerwrap .logo-tit {
    margin-bottom: 24px;
  }
  .ft-main-menu {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 18px 26px;
    padding: 0 13.5%;
  }
}
/*-------iphone----*/
