/* デフォルトのブロックCSSを上書きするためのもの */

/* 見出し */
h2.wp-block-heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 150%;
  letter-spacing: 0.04rem;
  color: #0c090d;
  margin: 0 0 4rem;
  width: calc(100% - 0.2rem);
  padding: 0.8rem 1.6rem;
  box-sizing: border-box;
  background-image: url("./public/assets/image/article_h2_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top: 0.1rem solid #9597b6;
  border-bottom: 0.1rem solid #9597b6;
  background-color: rgba(255, 255, 255, 0.9);
  background-blend-mode: lighten;
}
@media (max-width: 780px) {
  h2.wp-block-heading {
    font-size: 2rem;
    letter-spacing: 0.05rem;
    padding: 0.8rem 1.6rem;
    margin: 0 0 2.4rem;
  }
}

h3.wp-block-heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 150%;
  letter-spacing: 0.05rem;
  color: #0c090d;
  margin: 0 0 4rem;
  display: flex;
  align-items: center;
}
h3.wp-block-heading::before {
  content: "";
  width: 4rem;
  height: 4rem;
  display: inline-block;
  margin-right: 0.8rem;
  background-image: url("./assets/shining-diamond.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 780px) {
  h3.wp-block-heading {
    font-size: 1.8rem;
    margin: 0 0 2.4rem;
    display: flex;
    gap: 0.04rem;
  }
  h3.wp-block-heading::before {
    width: 2.8rem;
    height: 2.8rem;
  }
}

h4.wp-block-heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 150%;
  letter-spacing: 0.05rem;
  color: #0c090d;
  width: auto;
  border-bottom: 0.2rem solid #9597b6;
  padding-bottom: 0.4rem;
  margin: 0 0 4.4rem;
  position: relative;
}
h4.wp-block-heading::after {
  content: '';
  position: absolute;
  top: 3.6rem;
  left: 0;
  right: 0;
  border-bottom: 0.1rem solid #9597b6;
}
@media (max-width: 780px) {
  h4.wp-block-heading {
    font-size: 1.6rem;
    margin: 0 0 2.8rem;
  }
  h4.wp-block-heading::after {
    top: 3.3rem;
  }
}

/* 段落 */
.section p:not([class]) {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 180%;
  letter-spacing: 0.05rem;
  color: #0c090d;
  margin: 0 0 4rem;
}
@media (max-width: 780px) {
  .section p:not([class]) {
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    margin: 0 0 2.4rem;
  }
}

/* 画像 */
figure.wp-block-image {
  width: calc(100% - 0.2rem);
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 0.8rem;
  margin: 0 0 4rem;
}
figure.wp-block-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0.8rem;
}
@media (max-width: 1280px) {
  figure.wp-block-image {
    margin: 0 0 2.4rem;
  }
}

/* リスト */
.wp-block-list {
  width: 100%;
  border-radius: 0.8rem;
  padding: 2.4rem;
  margin: 0 0 4rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: linear-gradient(131.97deg, #fff3f7 0%, #ebeeff 100%);
}

.wp-block-list > li {
  height: 2.9rem;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 180%;
  letter-spacing: 0.054rem;
  color: #0c090d;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.wp-block-list > li::before {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  display: block;
  background-image: url("./public/assets/icon/bird-icon.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 780px) {
  .wp-block-list {
    padding: 1.6rem;
    margin: 0 0 2.4rem;
    gap: 0.4rem;
  }

  .wp-block-list > li {
    height: 2.2rem;
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    line-height: 1.8;
    gap: 0.8rem;
  }

  .wp-block-list > li::before {
    width: 2rem;
    height: 2rem;
  }
}

/* テーブル */
figure.wp-block-table {
  margin: 0 0 6.4rem;
}
.has-fixed-layout {
  width: 100%;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 160%;
  letter-spacing: 0.054rem;
  border: 0.1rem solid #c3ccfc;
  border-radius: 1.6rem;
  border-spacing: 0;
  overflow: hidden;
}
.has-fixed-layout tbody tr > th {
  padding: 1.0625rem 0;
  background-color:  #ebeeff;
  border-bottom: 0.1rem solid #c3ccfc;
}
@media (max-width: 780px) {
  .has-fixed-layout tbody tr > th {
    padding: 0.75rem 0;
  }
}
.has-fixed-layout tbody tr > th > p {
  margin: 0rem !important;
  font-family: "Shippori Mincho", serif !important;
  font-weight: bold !important;
}
.has-fixed-layout tbody tr > td:first-child {
  width: 22rem;
  font-weight: 400;
  background: linear-gradient(131.97deg, #fff3f7 0%, #ebeeff 100%);
  border-bottom: 0.1rem solid #c3ccfc;
  padding: 1.6rem;
  box-sizing: border-box;
  color: #586de0;
  text-align: center;
}
.has-fixed-layout tbody tr > td:nth-child(2) {
  padding: 1.6rem;
  color: #0c090d;
  background-color: #fff;
  border-bottom: 0.1rem solid #c3ccfc;
  vertical-align: top;
  line-height: 180%;
}
.has-fixed-layout tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 780px) {
  figure.wp-block-table {
    margin: 0 0 3.2rem;
  }
  .has-fixed-layout {
    font-size: 1.2rem;
    letter-spacing: 0.039rem;
    border-radius: 0.8rem;
  }
  .has-fixed-layout tbody tr > td:first-child {
    width: 12rem;
    padding: 0.8rem;
  }
  .has-fixed-layout tbody tr > td:nth-child(2) {
    padding: 0.8rem;
  }
}

/* ハイライト */
mark.has-inline-color {
  background-image: linear-gradient(to right, #e7d4eb 100%, #d2d8f8 0%);
  background-size: calc(100% - 0.8rem) 0.8rem;
  background-position: 0.6rem 1.7rem;
  background-repeat: no-repeat;
  background-color: #FFFFFF !important;
}

@media (max-width: 780px) {
  mark.has-inline-color {
    background-size: calc(100% - 0.6rem) 0.8rem;
    background-position: 0.4rem 1.2rem;
  }
}