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

body {
  background-color: rgb(218, 218, 218);
}

h1 {
  left: 50px;
  position: fixed;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(255, 255, 255);
  font-size: 40px;
  top: 0;
}

h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(35, 51, 64);
  justify-content: center;
  display: flex;
  font-size: 50px;
  position: relative;
  top: 10px;
}

.page {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(35, 51, 64);
  justify-content: center;
  display: flex;
  font-size: 20px;
  position: relative;
  top: 0px;
}


.page.letter-space:hover {
  letter-spacing: 0.15em;
}

.pg {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(35, 51, 64);
  justify-content: center;
  display: flex;
  font-size: 30px;
  position: relative;
  top: 1px;
  margin-right: 30px;
  background-color: transparent;
  border: 1px solid #333;
  border-radius: 35px;
  text-decoration: none;
}

.pg {
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.pg::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 35px;
  z-index: -1;
}

#pg::before {
  background-color: rgb(255, 0, 0, 0.3);
}

#ps::before {
  background-color: rgb(255, 165, 0, 0.3);
}

#pm::before {
  background-color: rgb(255, 255, 0, 0.3);
}

#pk::before {
  background-color: rgb(0, 128, 0, 0.3);
}

#pt::before {
  background-color: rgba(240, 99, 122, 0.3);
}

#pe::before {
  background-color: rgb(0, 0, 255, 0.3);
}

#ph::before {
  background-color: rgb(128, 0, 128, 0.3);
}

html {
  scroll-behavior: smooth;
}


/* ナビゲーションメニュー */
header nav li {
  padding: 20px 0;
  margin: 15px 0;
  list-style: none;

  a {
    text-decoration: none;
    color: rgb(216, 213, 213);
  }

  transition: font-size 0.3s ease;
}

header nav li:hover {
  font-size: 20px;
}

.hamback {
  position: fixed;
  top: 30px;
  right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: aliceblue;
  border-radius: 50%;
  height: 85px;
  aspect-ratio: 1;
  z-index: 2000;
}

#hamburger {
  width: 45px;
  height: 35px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.line {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #333;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}

#hamburger.is-active {

  transform: rotate(45deg);
}

#hamburger.is-active .line:nth-child(2) {
  width: 0px;
}

#hamburger.is-active .line:nth-child(1),
#hamburger.is-active .line:nth-child(3) {

  transition-delay: 0.3s;
}

#hamburger.is-active .line:nth-child(1) {
  transform: translateY(13px);
}

#hamburger.is-active .line:nth-child(3) {
  transform: translateY(-7.5px) rotate(90deg);
}

/* メニュー本体 */
.menu {
  position: fixed;
  top: 0;
  right: -300px;
  /* 初期は画面外に隠す */
  width: 200px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0);
  padding: 60px 20px 20px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.menu.open {
  right: 0;
  /* メニューが開いたとき */
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin-bottom: 15px;
}

.menu a {
  text-decoration: none;
  color: #eee4e4;
  font-weight: bold;
}

.kou {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.title {
  font-size: 40px;
}

.sai {
  font-size: 20px
}

p {
  margin: 0;
  padding: 0;
}

li {
  margin: 20px;
}

hr {
  height: 1px;
  background-color: #919191;
  border: none;
}

.anime {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.anime.is-animated {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.title {
  display: inline-block;
  transition: all .3s;
}

.title:hover {
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

.main-content{
  margin: 0 auto;
  max-width: 880px;
}
ul{
  margin: 0;
}
.aka li::marker {
  font-size: 4em;
  color:rgba(255, 0, 0, 0.3);
}
.orange li::marker {
  font-size: 4em;
  color:rgba(255, 166, 0, 0.3)
}
.kiro li::marker {
  font-size: 4em;
  color: rgba(255, 255, 0, 0.3)
}
.midori li::marker {
  font-size: 4em;
  color: rgba(0, 128, 0, 0.3);
}
.pink li::marker {
  font-size: 4em;
  color: rgba(240, 99, 122, 0.3);
}
.ao li::marker {
  font-size: 4em;
  color: rgb(0, 0, 255, 0.3);
}
.murasaki li::marker {
  font-size: 4em;
  color: rgb(128, 0, 128, 0.3);
}



button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 50px;
  bottom: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: none;
  transition: .2s;
  letter-spacing: 15px;
}

button span:before {
    position: absolute;
    top: -55px;
    left: 16px;
    transform: rotate(-45deg);
    display: block;
    width: 30px;
    height: 30px;
    content: "";
    border: 1px solid #434343;
    border-width: 1px 1px 0px 0px;
}

button span:after {
    position: absolute;
    width: 75px;
    height: 75px;
    border: 1px solid #434343;
    content: "";
    border-radius: 100%;
    top: -85px;
    left: -5px;
}

.is-active {
  opacity: 1;
  visibility: visible;
}