@charset "utf-8";

:root {
  --bg-color: #DA8899;
  --black: #0C000A;
  --white: #FFFFFB;
  --box-color: #CA5069;
  --border-color: #B50C6C;
  --button-color: #89006E;
  --font: "Mochiy Pop One", sans-serif;
  --shadow: rgba(0, 0, 0, 0.3);
}

body {
  color: #2F0029;
  background-color: var(--button-color);
}

header>div>div {
  width: 1410px;
  max-width: 93%;
  margin: 0 auto;
}

header {
  --hh: 57px;
  padding-bottom: var(--hh);
}

header>div {
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: var(--white);
  height: var(--hh);
  box-shadow: 0 1px 4px var(--shadow);
}

header>div>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  flex-shrink: 0;
  transition-duration: 0.1s;
}

header .logo img {
  height: var(--hh);
}

header .logo:hover {
  filter: saturate(1.35);
}

#nav ul {
  display: flex;
  flex-wrap: wrap;
  padding-top: 2px;
  column-gap: 18px;
  font-size: 17px;
  font-family: var(--font);
  font-weight: normal;
}

#nav ul li {
  transition-duration: 0.1s;
}

#nav ul li:hover {
  filter: saturate(5.2);
}

header nav ul li a {
  display: block;
}

#nav ul li img {
  display: none;
}

/* スマホ用 */
.sp {
  display: none;
}

.sp-nav {
  z-index: 999;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  width: 100%;
  height: 54px;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.sp-nav img {
  height: 54px;
}

.openbtn {
  position: relative;
  background: #61842A;
  cursor: pointer;
  margin-right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 8px;
  height: 3px;
  border-radius: 2px;
  background: #D1BA59;
}

.openbtn span:nth-of-type(1) {
  top: 32%;
  width: 60%;
}

.openbtn span:nth-of-type(2) {
  top: 49%;
  width: 45%;
}

.openbtn span:nth-of-type(3) {
  top: 66%;
  width: 30%;
}

.openbtn.active span:nth-of-type(1) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 60%;
}

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

.openbtn.active span:nth-of-type(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 60%;
}
main h1 {
  padding: 60px 0;
  font-family: var(--font);
  font-weight: normal;
  font-size: 52px;
  text-align: center;
  color: #7AA635;
  text-shadow: 4px 6px 0 #222F0F;
}
/* 一覧へ戻る */
.maid a {
  width: max-content;
  position: relative;
  margin: 80px auto 54px;
  background-color: var(--border-color);
  border-radius: 100px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--white);

  display: block;
  font-family: var(--font);
  font-size: 20px;
  line-height: 1;
  padding: 13px 26px 15px;
}

.maid a::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -130%;
  background: #4AF393;
  mix-blend-mode: darken;
  width: 120%;
  height: calc(100% + 8px);
  transform: skewX(-25deg);
  transition-duration: .5s;
}

.maid a:hover::before {
  left: -10%;
}
@media (max-width: 800px) {
  header {
    --hh: 54px;
  }

  header>div {
    box-shadow: 0 0 0 var(--shadow);
  }

  header>div>div {
    max-width: 100%;
  }

  .logo {
    display: none;
  }

  /* ハンバーガー */
  .sp {
    display: block;
  }

  #nav {
    position: fixed;
    width: 100%;
    height: calc(100vh - 54px);
    z-index: 100;
    top: 54px;
    right: -120%;
    background-image: linear-gradient(140deg, #57004B 49%, #B50C6C 49% 100%);
    transition: all 0.6s;
  }

  #nav.panelactive {
    right: 0;
  }

  #nav ul {
    position: absolute;
    z-index: 899;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 93%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    column-gap: 0;
    row-gap: 0;
    border-radius: 12px;
    overflow: hidden;
    --black2: rgba(0, 0, 0, 0.3);
  }

  #nav ul li:nth-child(-n+4) {
    border-bottom: 1px solid var(--black2);
  }

  #nav ul li:is(:nth-child(1), :nth-child(3)) {
    border-right: 1px solid var(--black2);
  }

  #nav ul li:last-child {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #nav ul li img {
    display: block;
  }

  #nav ul li a {
    background-color: var(--white);
    width: 100%;
    padding: 26px 0 24px;
    text-align: center;
    border-radius: 0;
    transition-duration: .1s;
  }

  #nav ul li a:hover {
    filter: grayscale(0);
    background-color: var(--button-color);
  }

  #nav ul li p {
    color: var(--button-color);
    font-family: var(--font);
    font-size: 16px;
    margin-top: 6px;
    line-height: 1;
    transition-duration: .1s;
  }

  #nav ul li:hover p {
    color: var(--white);
  }

  #nav ul li img {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
  }
  main h1 {
    font-size: 40px;
  }
}