@charset "UTF-8";
/* CSS Document */
* {
/*      outline: solid 1px #d00;*/
}
.page-flex { /*mainとaside横並び*/
  width: 100vw;
  display: flex;
  gap: 30px;
}
main {
  flex: 7;
  margin: 0 auto 0 0;
  img {
    width: 100%;
    object-fit: cover;
  }
}
aside {
  flex: 3;
  background: #eec;
  ul {
    display: grid;
    grid-template-columns: 250px 250px;
    gap: 20px;
  }
}
.aside-sticky{
    width: 80%;
    position: sticky;
    top: 180px;
    padding-bottom: 40px;
    margin: 40px 0 0 40px;
}
.aside-title{
    font-weight: 500;
    margin: 20px auto 30px;
    font-size: 18px;
}
.recipi-about, .button-area {
  width: 75%;
  margin: 0 0 0 auto;
}
.recipi-about {
  margin-bottom: 40px;
}
section {
  margin-bottom: 70px;
}
.text {
  width: 100%;
  h2, h3 {
    padding-bottom: 5px;
    border-bottom: 2px solid;
    margin-bottom: 30px;
  }
}
.text span {
  font-weight: 500;
}
.first-list {
  border: 1px solid;
  padding: 20px 40px;
  margin-block: 20px;
}
.first-list li {
  list-style: inherit;
  list-style-type: "ー";
}
ol li {
  list-style: inherit;
  margin-left: 20px;
  margin-bottom: 20px;
}
.mid-list {
  margin-top: 30px;
}
.mid-list li {
  list-style: disc;
  margin-bottom: 20px;
  margin-left: 20px;
}
.list-title {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
}
.b-color {
  background: #EFF7DA;
  padding: 5px 10px;
}
.point {
  margin-top: 30px;
  ul li {
    list-style: disc;
    margin: 10px 20px;
  }
}
.content { /*サムネそれぞれ*/
  list-style: none;
  transition: transform 1s;
  &:hover {
    transform: scale(1.05);
    img {
      box-shadow: 0 0 4px 2px rgba(150, 100, 0, .3);
    }
  }
}
.content img {
  border-radius: 8px;
  object-fit: cover;
  transition: box-shadow 1s;
}
.content span {
  font-size: 13px;
  margin-left: 3px;
}
.tag {
  color: var(--sub-color);
  margin-left: 5px;
    font-size: 14px;
}
@media (width <=750px) {
  .page-flex {
    flex-direction: column;
    img {
      width: 100%;
      margin-bottom: 10px;
    }
  }
  main {
    flex: none;
    margin: auto;
      padding-bottom: 70px;
  }
  aside {
    flex: none;
      ul{
    grid-template-columns: 1fr 1fr;
      }
  }
.aside-sticky{
    position: inherit;
      margin: 40px auto;
      padding-bottom: 0;
}
.aside-title{
    text-align: center;
}
  .recipi-about, .button-area {
    width: 100%;
    margin: auto;
  }
  .text {
    width: 100%;
  }
}