@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

@media (max-width: 1290px) {
  .subtitle {
    color: #000;
    font-size: 18px;
    font-weight: bold;
  }

  .header2 {
    display: none;
  }

}

@media (min-width: 1290px) {
  .subtitle {
    color: #000;
    font-size: 18px;
    font-weight: bold;
  }

  .hamburger-morph {
    display: none;
  }
}

@media (min-width: 1420px) {
  .hamburger-morph {
    display: none;
  }

  .subtitle {
    color: #000;
    font-size: 30px;
    font-weight: normal;
  }

}

/* LINE001 */
.header2 a {
  position: relative;
  font-family: "Zen Maru Gothic", sans-serif;
  justify-content: space-around;
  align-items: center;
  margin: 10px auto;
  max-width: 200px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 600;
}

.header2 a:before {
  position: absolute;
  bottom: 0px;
  left: 50%;
  content: '';
  width: 100%;
  height: 2px;
  transform: translateX(-50%);
}

.header2 a:after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 10px;
  background: #dd80ff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.header2 a:hover {
  opacity: 0.7;
}

.header2 a:hover:after {
  transform: scale(1, 1);
}


.header {
  background-color: #f2d7fc;
  padding: 65px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 80px;
  border-radius: 10px 30px 10px 30px;
}

.header a {
  text-decoration: none;
}

.site-header-content h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  flex-grow: 1;
  color: #000000;
  text-align: left;
  font-size: 30px;
  font-weight: normal;
}

.maintitle {
  font-family: "Zen Maru Gothic", sans-serif;
  flex-grow: 1;
  color: #9c5bb4;
  text-align: left;
  font-size: 50px;
  font-weight: normal;
}

.header-logo {
  max-height: 60px;
  width: auto;
  display: block;
  margin-right: 10px;
}

.site-header-content {
  margin: 0;
  font-size: 0.9em;
}

.hamburger-morph {
  position: relative;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-morph__icon {
  width: 100%;
  height: 100%;
}

.hamburger-morph__line {
  fill: none;
  stroke: #9c5bb4;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke: #ffffff;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.nav-morph {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(29, 29, 31, 0.98);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

.nav-morph.active {
  clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.nav-morph__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.nav-morph__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-morph.active .nav-morph__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-morph.active .nav-morph__item:nth-child(1) {
  transition-delay: 0.3s;
}

.nav-morph.active .nav-morph__item:nth-child(2) {
  transition-delay: 0.4s;
}

.nav-morph.active .nav-morph__item:nth-child(3) {
  transition-delay: 0.5s;
}

.nav-morph.active .nav-morph__item:nth-child(4) {
  transition-delay: 0.6s;
}

.nav-morph.active .nav-morph__item:nth-child(5) {
  transition-delay: 0.7s;
}

.nav-morph.active .nav-morph__item:nth-child(6) {
  transition-delay: 0.8s;
}

.nav-morph__link {
  font-family: "Zen Maru Gothic", sans-serif;
  position: relative;
  display: inline-block;
  padding: 20px;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.nav-morph__text,
.nav-morph__hover {
  display: block;
  transition: all 0.3s ease;
}

.nav-morph__link:hover .nav-morph__text {
  color: #9c5bb4;
}