@charset "UTF-8";

/* サムネイル画像のスタイル */
.post-thumbnail {
    margin: 100px 0 70px;
}
.size-recette-thumbnail {
    width: 900px;
    height: 550px;
    object-fit: cover;
}

/* 投稿コンテンツのスタイル */
.post-content {
    width: 900px;
    margin: 0 auto 80px;
    padding: 50px;
    background-color: #FFF;
    border-radius: 15px;
}

/* 見出しのスタイル */
.post-content h1 {
    margin-bottom: 50px;
    color: #333;
    font-size: 26px;
    font-weight: 600;
    text-align: left;
}

/*H2見出し*/
h2 {
  margin-bottom: 40px;
  color: #6d5353;/*文字色*/
  font-size: 24px;/*文字サイズ*/
  font-weight: 600;
  text-align: left;
  position: relative;
  padding: 1.2rem 1.3rem calc(1rem + 10px);
  background: #efece0;
}

h2:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: '';
  border: 1px solid #816930;/*囲み線（太さ 実線 色）*/
}

/*H3見出し*/
main h3 {
    margin-bottom: 30px;
    color: #6f4e4e;
    font-size: 20px;
    padding: 15px 10px;
    font-weight: 600;
    border-bottom: 3.2px solid #e3e3e3;
    position: relative;
    text-align: left;
}

main h3:before {
    content: '';
    background-color: #cbb276;
    width: 40px;
    height: 3px;
    position: absolute;
    bottom: -3px;
    left: 0;
}

/*H4見出し*/
main h4 {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-align: center;
}

main h4::before,
main h4::after {
    content: '';
    width: 2.5px;
    height: 40px;
    background-color: #cbb276;
}

main h4::before {
    margin-right: 30px;
    transform: rotate(-35deg);
}

main h4::after {
    margin-left: 30px;
    transform: rotate(35deg);
}

/*H5見出し*/
main h5 {
    margin-bottom: 20px;
    color: #6d5353;
    font-size: 16px;
    padding: 9px 30px;
    position: relative;
    text-align: left;
}

main h5:before {
    content: "✦";
    font-weight: 900;
    font-size: 30px;
    position: absolute;
    left: 0;
    top: 0;
    color: #cbb276;
}

/* pタグのスタイル */
p {
    text-align: left;
}

/* 画像 */
.wp-block-image img {
  width: 100%;
  height: auto;
  max-width: none; /* ブロックエディタが画像の最大幅を制限しないようにする */
  margin-bottom: 30px;
}

/* リスト */
.post-content ul, ol {
  color: #333;
  /*border-top: solid #7e7e7e 1px;  上のボーダー */
  /*border-bottom: solid #7e7e7e 1px;  下のボーダー */
  padding: 1em 0;
  margin: 0; /* デフォルトのマージンをリセット */
  list-style: none; /* デフォルトのマーカーを非表示 */
}

.post-content ul li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
  position: relative; /* 擬似要素を相対的に配置 */
  text-align: left!important;
}

.post-content li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #cbb276;
  border-radius: 50%; /* 円形にする */
  margin-right: 20px; /* リスト項目との間隔を設定 */
  vertical-align: middle; /* 行内の中央に配置 */
}


@media (max-width: 950px) {
	/* サムネイル */
	.post-thumbnail{
	  margin: 50px 0 30px;
	}
	.size-recette-thumbnail{
	  max-width: 100%;
      height: auto;
	}
  /* 投稿部分のコンテンツ */
  .post-content {
    width: 95%;
    padding: 40px 20px 30px 22px;
  }
}