/* @charset "UTF-8";

a {
  color: #323232;
}

#recipe h2 {
  position: relative;
  color: #DE6A6E;
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
  padding: 150px 0 0;
  margin: 0 auto 110px;
}

#recipe h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  background-color: #f0f0f0;
  width: 200px;
  height: 5px;
  margin: auto;
}

#recipe ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 80px 0;
  justify-content: space-between;
  width: 79%;
  max-width: 1020px;
  margin: 0 auto 7%;
}

#recipe ul li {
  width: 46%;
}

#recipe li a {
  position: relative;
  display: flex;
  gap: 19px;
  z-index: 10;
}

#recipe li div {
  position: relative;
}

#recipe li div::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: -90px;
  background-repeat: no-repeat;
  background-size: contain;
  width: 33%;
  height: 37%;
  margin: auto;
  z-index: 20;
}

#recipe li.item01 div::after {
  background-image: url(../images/item_01.png);
}

#recipe li.item02 div::after {
  background-image: url(../images/item_02.png);
}

#recipe li p {
  font-size: 19px;
  writing-mode: vertical-rl;
  height: 22%;
  line-height: 1.4;
}

#recipe .pager {
  width: 79%;
  max-width: 1020px;
  margin: 0 auto 60px;
}

#recipe .pager ul {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  justify-content: space-between;
  width: 131px;
  margin: 0 0 0 auto;
}

#recipe .pager li:first-of-type,
#recipe .pager li:last-of-type {
  width: 46%;
}

#recipe .pager li:nth-of-type(2) {
  display: none;
}

@media only screen and (max-width: 1280px) {
  #recipe li p {
    font-size: 1.5vw;
  }
}

@media only screen and (max-width: 1000px) {
  #recipe h2 {
    font-size: 7.1vw;
    letter-spacing: 0.05em;
    padding: 19.4% 0 0;
    margin: 0 auto 30%;
  }

  #recipe h2::after {
    bottom: -20%;
    width: 61%;
    height: 5px;
  }

  #recipe ul {
    width: 87%;
    margin: 0 auto 15%;
    gap: 6.2vw 0;
  }

  #recipe ul li {
    width: 48%;
  }

  #recipe li div::after {
    display: none;
  }

  #recipe li a {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    gap: 1.2vw;
    z-index: 10;
  }

  #recipe li p {
    font-size: 3.7vw;
    writing-mode: initial;
    line-height: 1.4;
  }

  #recipe .pager {
    width: 86%;
    margin: 0 auto 20%;
  }

  #recipe .pager ul {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
    margin: 0 0 0 auto;
  }

  #recipe .pager li:first-of-type,
  #recipe .pager li:last-of-type {
    width: 11%;
  }

  #recipe .pager li:nth-of-type(2) {
    display: block;
  }

  #recipe .pager .page {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 1em;
    justify-content: center;
    align-items: center;
    font-size: 3.6vw;
    width: 100%;
    margin: 0 0 0 auto;
  }

  #recipe .pager .page li {
    width: initial;
  }
} */