.kd-wp-content p {
  @media (max-width: 768px) {
    line-height: 1.4;
  }
}

.kd-wp-content h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin:40px 0 20px 0;
  color: #654B32;
  padding-bottom: 15px;
  border-bottom: 2px solid #654B32;
  line-height: 1.4;
  @media (max-width: 768px) {
    font-size: 2.2rem;
  }
}


.kd-wp-content h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin:40px 0 20px 0;
  position: relative;
  z-index: 1;
  padding-left: 12px;
  color: #654B32;
  line-height: 1.4;
}

.kd-wp-content h3:before {
  content: "";
  width: 4px;
  height: 130%;
  background-color: #654B32;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.kd-wp-content h4 {
  font-size: 1.6rem;
  font-weight: bold;
  margin:10px 0 20px 0;
  padding-left: 15px;
  position: relative;
  z-index: 1;
}

.kd-wp-content h4:before {
  content: "";
  width: 10px;
  height: 2px;
  background-color: #654B32;
  display: block;
  top: 0;
  left: 0;
  position: absolute;
  bottom: 0;
  margin: auto;
}

.kd-wp-content a {
  color: #5d99c2;
}

.kd-wp-content strong {
  font-weight: bold;
}

.kd-wp-content figure {
  margin-bottom: 24px;
}

.kd-wp-content .wp-block-list {
  line-height: 1.6;
  font-size: 1.4rem;
  margin: 15px 0px;
}

.kd-wp-content ul.wp-block-list {
  
}

.kd-wp-content ul.wp-block-list li {
  position: relative;
  z-index: 1;
  padding-left: 12px;
}

.kd-wp-content ul.wp-block-list li:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background-color: #654B32;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.kd-wp-content ol.wp-block-list {
  counter-reset: my-counter; 
}

.kd-wp-content ol.wp-block-list li {
  position: relative;
  z-index: 1;
  padding-left: 12px;
  counter-increment: my-counter;
}

.kd-wp-content ol.wp-block-list li:after {
  content: counter(my-counter) ". ";
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.kd-wp-content hr.wp-block-separator {
}

.kd-wp-content {

}

.kd-wp-content {

}

.ka-thumbnail {
  text-align: center;
}


.kd-banner {
  margin-bottom: 80px;
  @media (max-width: 768px) {
    /* margin-bottom: 48px; */
    margin-bottom: 0px;
  }
}

.kd-container {
  background-color: #E3DCCB;
  background-image: url(../images/recipe/bg.png);
  color: #333333;
  padding-bottom: 40px;
}


.kd-list {
  padding: 60px;
  background-color: #fff;
  max-width: 1000px;
  margin: auto;
  @media (max-width: 768px) {
    display: block;
    padding: 36px 15px;
    max-width: 720px;
  }
}

.kd-list-content {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  @media (max-width: 768px) {
    display: block;
  }
}

.kd-category-nav {
  display: flex;
  padding-bottom: 30px;
}

.recipe-cat-name {
  font-weight: bold;
  font-size: 15px;
  min-width: 87px;
}

.kd-list-content {
  display: flex;
  align-items: center;
}

.recipe-cat-list {
  display: flex;
  flex-wrap: wrap;
}

.recipe-cat-list li.current a {
  background: #654B32;
  color: #fff;
}

.recipe-cat-list a {
  padding: 3px 14px;
  background: #ddd;
  border-radius: 14px;
  margin: 0px 7px;
  display: inline-block;
  margin-bottom: 10px;
}
.recipe-cat-list a:hover {
  opacity: .7;
}

.kd-list__item {
  width: calc((100% - 36px) / 2);
  position: relative;
  @media (max-width: 768px) {
    width: 100%;
    margin: 0 auto 26px;
  }
  a {
    display: block;
  }
  a:hover {
    opacity: 1;
    img {
      transition: all .5s;
      transform: scale(1.1);
    }
  }
}

.kd-list__badge {
  width: 60px;
  height: 60px;
  background-image: url(../images/recipe/new-icon.png);
  background-size: cover;
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: 1;
  @media (max-width: 768px) {
    top: -8px;
    left: -8px;
    width: 52px;
    height: 52px;
  }
}

.kd-list__image {
  aspect-ratio: 1 / 0.634;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.kd-list__title {
  padding: 12px 0;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 700;
  color: #654B32;
  background-image: url(../images/recipe/dots.png);
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: auto 3px;
  @media (max-width: 768px) {
    font-size: 1.6rem;
  }
}


.kd-article {
  max-width: 860px;
  margin: auto;
  padding: 80px 20px 60px;
  @media (max-width: 768px) {
    padding: 40px 15px 60px;
  }
}

.kd-article__title {
  margin: 0 auto 48px;
  padding-bottom: 8px;
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 700;
  background-image: url(../images//recipe/dots.png);
  background-position: bottom;
  background-size: auto 3px;
  background-repeat: repeat-x;
  width: fit-content;
  color: #654B32;
  @media (max-width: 768px) {
    font-size: 2.4rem;
    margin-bottom: 32px;

  }
}

.kd-article__badge {
  margin: 0;
  position: absolute;
  width: 96px;
  height: 96px;
  background-image: url(../images/recipe/new-icon.png);
  background-size: cover;
  top: -20px;
  left: -20px;
  @media (max-width: 768px) {
    width: 52px;
    height: 52px;
    top: -12px;
    left: -8px;
  }
}

.kd-article__thumbnail {
  padding: 24px 24px 0;
  position: relative;
  background-color: #fff;
  @media (max-width: 768px) {
    padding: 0;
  }
}

.kd-article__contents {
  background-color: #fff;
  padding: 32px 70px 128px;
  @media (max-width: 768px) {
    padding: 24px 15px 48px;
  }
}

.kd-article__headline {
  margin: 48px 0 24px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .005em;
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 768px) {
    text-align: left;
    margin: 32px 0 16px;
    font-size: 1.8rem;
    justify-content: flex-start;
  }
  span {
    font-size: 1.4rem;
    margin-left: 4px;
    margin-top: 6px;
    width: fit-content;
    @media (max-width: 768px) {
      font-size: 1.2rem;
    }
  }
}

.kd-article__headline::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  border: 6px solid #C50C1B;
  margin-right: 8px;
  @media (max-width: 768px) {
    width: 22px;
    height: 22px;
  }
}

.kd-comment {
  display: flex;
  gap: 12px;
  @media (max-width: 768px) {
    gap: 8px;
  }
  span {
    max-width: 34px;
    display: block;
  }

  p {
    max-width: calc(100% - 42px);
    width: fit-content;
    background-color: #F0E9D9;
    color: #333333;
    padding: 8px;
    border-radius: 4px;
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-block-start: 0!important;
    @media (max-width: 768px) {
      padding: 4px 6px;
      font-size: 1.2rem;
    }
  }
  p::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 15px;
    clip-path: polygon(0 50%,100% 0,100% 100%);
    background-color: #F0E9D9;
    left: -8px;
    top: 6px;
    @media (max-width: 768px) {
      left: -6px;
    }
  }
}

.kd-material {
  margin: 24px 0;
  @media (max-width: 768px) {
    margin: 16px 0;
  }
}

.kd-material__item {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background-color: #FCF8EE;
  margin: 0!important;
  @media (max-width: 768px) {
    padding: 12px 16px;
  }

  p {
    margin: 0!important;
    width: fit-content;
    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: .05em;
    @media (max-width: 768px) {
      font-size: 1.4rem;
    }
  }
}

.kd-material__item:nth-of-type(2n) {
  background-color: #F7F0DD;
}


.kd-procedure {
  margin: 16px 0;
}

.kd-procedure__item {
  padding: 18px 0;
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: dashed 1px #BA9132;
  @media (max-width: 768px) {
    padding: 12px 0;
    gap: 8px 12px;
  }
}

.kd-procedure__item:first-of-type {
  padding-top: 0;
}


.kd-procedure__image {
  max-width: 200px;
  @media (max-width: 768px) {
    max-width: 100px;
  }
}

.kd-procedure__detail {
  width: calc((100% - 224px));
  @media (max-width: 768px) {
    width: calc((100% - 112px));
  }
}

.kd-procedure__text {
  font-size: 1.6re,;
  font-weight: 500;
  margin: 16px 0;
  line-height: 2;
  @media (max-width: 768px) {
    line-height: 1.5;
    font-size: 1.4rem;
    margin: 12px 0;
  }
}

.kd-share {
  margin: 32px 0 24px;
  text-align: center;
  @media (max-width: 768px) {
    margin: 32px 0 16px;
  }
}

.kd-share__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 12px;
  @media (max-width: 768px) {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
  span {
    font-size: 1.6rem;
    @media (max-width: 768px) {
      font-size: 1.4rem;
    }
  }
}

.kd-share__list {
  gap: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 768px) {
    gap: 12px;
  }
}

.kd-share__item {
  max-width: 36px;
  @media (max-width: 768px) {
    max-width: 32px;
  }
  a {
    display: block;
  }
}

.kd-archive__btn {
  display: block;
  max-width: 210px;
  padding: 12px 24px;
  text-align: center;
  background-color: #C50C1B;
  color: #fff!important;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.3;
  margin: 24px auto;
  border-radius: 100vmax;
  @media (max-width: 768px) {
    margin: 16px auto;
  }
}

.kd-connection__headline {
  margin: 64px 0 24px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  @media (max-width: 768px) {
    margin: 48px 0 16px;
    font-size: 2rem;
  }
}

.kd-connection__headline::before {
  content: "";
  display: block;
  width: 22px;
  height: 4px;
  background-color: #C50C1B;
}

.kd-connection__list {
  display: flex;
  gap: 24px;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.kd-connection__item {
  max-width: calc((100% - 48px) / 3);
  flex: 1;
  @media (max-width: 768px) {
    max-width: 100%;
  }
  a {
    display: block;
  }
}

.kd-connection__title {
  margin-top: 12px;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 700;
  color: #654B32;
  padding-bottom: 8px;
  background-image: url(../images/recipe/dots.png);
  background-size: auto 2px;
  background-repeat: repeat-x;
  background-position: bottom;
}