* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  background-color: #ccc;
}

@font-face {
  font-family: "KaiseiDecol";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/KaiseiDecol-Regular.ttf");
}

body {
  font-family: KaiseiDecol, Linotte, YuGothic, Roboto, Meiryo, Osaka, Arial, Helvetica, Verdana, sans-serif;
  background-color: #f7f7f7;
  max-width: 900px;
  margin: 0 auto;
}
.header-image > img {
  display: block;
  width: 100%;
}
.header-band {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  background: #000;
  padding: 15px 2%;
}
.header-title {
  line-height: 32px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  background-image: -webkit-linear-gradient(315deg, #b8751e 0%, #ffce08 37%, #fefeb2 47%, #fafad6 50%, #fefeb2 53%, #e1ce08 63%, #b8751e 100%);
  background-image: linear-gradient(135deg, #b8751e 0%, #ffce08 37%, #fefeb2 47%, #fafad6 50%, #fefeb2 53%, #e1ce08 63%, #b8751e 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-search {
  padding: 4px;
}
.header-search > img {
  width: 24px;
  height: 24px;
  display: block;
}
header nav {
  display: grid;
  background-color: #f8f4ea;;
}
/* wide */
@media (min-width: 750px) {
  header nav {
    grid-template-columns: repeat(6, 1fr);
  }
}
/* closed */
@media (max-width: 749px) {
  header nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
header nav a {
  text-decoration: none;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #edd6a4;;
  transition: 500ms;
  position: relative;
  color: #7d1f1f;
}
header nav a:hover {
  background-color: #e6e0c1;
  z-index: 2;
}
header nav a:after {
  position: absolute;
  width: 0;
  height: 0;
  display: block;
  content: "";
  right: 0;
  top: 0;
  border-top: solid 10px #edd6a4;
  border-left: solid 10px transparent;
}

footer {
  text-align: center;
  padding: 20px 2% 40px;
  background: #000;
  color: white;
  font-size: 14px;
}

footer a{
  color: white;
  margin: 0 5px;
  display: inline-block;
}

main {
  margin: 0 auto;
  padding: 20px 4%;
}

main > * {
  margin-bottom: 40px;
}

main > *:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

li:last-child {
  margin-bottom: 0;
}

p > img {
  display: block;
  margin: 0 auto;
  max-width: 95%;
}

h1 {
  font-size: 28px;
  padding: 1rem 2rem;
  border-top: 4px solid #d4db67;
  border-right: 4px solid #646333;
  border-bottom: 4px solid #36351b;
  border-left: 4px solid #888742;
  border-radius: 0;
  background-image: linear-gradient(-45deg, #ccc 0%, #888822 20%, #d8da76 34%, white 53%, #c9b95d 100%);
  margin-bottom: 20px;
}
h1 .h1-small {
  font-size: 16px;
}

h2 {
  font-size: 20px;
  padding: 1rem 2rem;
  color: #e5004f;
  background-color: transparent;
  background-image: linear-gradient(45deg, #f9dbdc 25%, transparent 25%, transparent 75%, #f9dbdc 75%, #f9dbdc),
    linear-gradient(45deg, #f9dbdc 25%, transparent 25%, transparent 75%, #f9dbdc 75%, #f9dbdc);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  margin-bottom: 20px;
}

form > * {
  display: block;
  margin-bottom: 20px;
}

form > *:last-child {
  margin-bottom: 0;
}

input[type=text], input[type=mail] {
  width: 100%;
  padding: 5px;
  font-size: 16px;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  font-size: 16px;
  resize: vertical;
}

.recipe_list {
  display: grid;
  gap: 10px;
}

/* wide */
@media (min-width: 750px) {
  .recipe_list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* closed */
@media (max-width: 749px) {
  .recipe_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.recipe_list a {
  transition: 500ms;
}

.recipe_list a:hover {
  opacity: 50%;
}

.recipe_list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}



.says {
  display: flex;
  gap: 5px;
  align-items: center;
}

.says.right {
  flex-direction: row-reverse;
}

.says img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.says p {
  background-color: #f4d2f0;
  border-radius: 10px;
  padding: 10px;
}

.share_buttons{
  margin-bottom: 10px;
}
.embed > * {
  margin: 0 auto;
}

.comment {
  background-color: #c1e5f8;
  border-radius: 10px;
  padding: 10px 10px 5px;
}
.comment + .comment {
  margin-top: 10px;
}
.comment_posted_by {
  font-weight: bold;
}
.comment_image {
  max-width: 100%;
  max-height: 200px;
  margin: 10px auto 0;
  display: block;
}
.comment_posted_at {
  font-size: 12px;
  color: #666;
  text-align: right;
}