/*----------------------------------------------------
  詳細画面
--------------------------------------------------- */
.post_title {
  font-size: clamp(24px, 3.12vw + 7px, 36px);
  line-height: 160%;
  color: #1a283f;
  font-weight: 600;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .post_title {
    font-size: 20px;
  }
}
.post_date {
  font-size: 15px;
  line-height: 160%;
  margin-bottom: 8px;

  font-weight: 300;
  text-align: left;
  color: #999;
}
.post_content_head {
  font-size: 15px;
  line-height: 200%;
  font-weight: 400;
  color: #1a283f;
  background-color: white;
  padding: 48px 48px 24px 48px;
}
@media (max-width: 767px) {
  .post_content_head {
    padding: 24px 24px 12px 24px;
  }
}
.post_content {
  font-size: 15px;
  line-height: 200%;
  font-weight: 400;
  color: #1a283f;
  background-color: white;
  padding: clamp(48px, 6.25vw + 10px, 72px);
}
@media (max-width: 767px) {
  .post_content {
    padding: 24px;
  }
}
.post_thumb {
  display: block;
  width: 100%;
  background-color: white;
}
.post_thumb img {
  max-width: none !important;
  width: 100% !important;
  height: auto;
  display: block;
}
.wp-block-image {
  margin: 24px 0;
}
a.btn_back {
  background-color: #324065;
  color: white;
  font-weight: 600;
  padding: 24px 32px;
  border-radius: 2px;
  display: grid;
  place-content: center;
  width: fit-content;
  margin: 64px auto;
  text-decoration: none;
  font-size: 16px;
}
/*-------------------
Youtube埋め込みブロック用
-------------------*/
/* デスクトップ用 */
.wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  max-width: 760px; /* 最大幅を 760px に制限 */
  margin: 0 auto; /* 中央揃え */

  height: auto;
  aspect-ratio: 16 / 9;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-------------------
見出しサイズ
-------------------*/
/* デスクトップ用 */
h2.wp-block-heading {
  font-size: 32px;
}

h3.wp-block-heading {
  font-size: 22px;
}
.wp-element-caption {
  font-size: 14px;
}

/* スマホ用 */
@media (max-width: 767px) {
  h2.wp-block-heading {
    font-size: 22px;
  }

  h3.wp-block-heading {
    font-size: 18px;
  }
}

/* スマホ用グリッド縦並び */
@media (max-width: 767px) {
  .wp-block-group.is-layout-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .wp-block-group.is-layout-grid > * {
    flex: 1 1 100%;
  }
}
