html {
  scroll-behavior: smooth;
}

[data-kerning] {
  font-feature-settings: "palt";
}

.recipe {
  padding: 80px 0 88px 0;
  background: url(../images/border_red.png) repeat-x center bottom;
}

#contents .article .section h3 {
  font-size: 260%;
  line-height: 1.5em;
  text-align: left;
  margin: 0 0 0.5em 0;
  font-feature-settings: "palt";
}

#recipe-contents {
  padding-bottom: 80px;
}

span.new {
  font-family: "UD Shin Go Conde80 B JIS2004", sans-serif;
}

.new {
  position: relative;
}
.new::before {
  content: "NEW";
  font-family: "UD Shin Go Conde80 B JIS2004", sans-serif;
  font-size: 62.5%;
  line-height: 1;
  display: inline-block;
  height: fit-content;
  margin-top: 0.6em;
  margin-right: 0.5em;
  padding: 0.25em 0.5em;
  color: #ff2b79;
  border: 1px solid rgba(255, 43, 121, 0.5);
  border-radius: 4px;
  background: #fff;
}

.recipes .new {
  display: flex;
}

.recipe.new::before {
  font-size: 120%;
  line-height: 4em;
  text-align: center;
  position: absolute;
  top: 40px;
  left: 0;
  width: 4em;
  height: 4em;
  margin-top: 0;
  margin-right: 0;
  padding: 0;
  border-radius: 2em;
}

#to-top {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 40px;
  height: 40px;
}
#to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid #ff2b79;
  border-radius: 4px;
}
#to-top i {
  font-size: 240%;
}

#footer ul li.home a i {
  font-size: 240%;
}

#slm {
  display: flex;
  justify-content: center;
}
#slm a {
  font-size: 160%;
  text-transform: uppercase;
  display: block;
  padding: 1em;
  border: 1px solid #ff2b79;
  border-radius: 4px;
}

@media screen and (max-width: 600px) {
  .recipe {
    padding: 25px;
  }
  .recipe.new::before {
    top: 8px;
    left: 8px;
  }
  #recipe-contents {
    padding-bottom: 0;
  }
}
