/* Add style */
.article {
  container-type: inline-size;
  position: relative;
}

.article-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 80px;
}
@container (width <= 600px) {
  .article-wrap {
    padding: 0 0 56px;
  }
}

.article-headline {
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.article-tag__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  padding-right: 24px;
  padding-left: 24px;
}

@container (width <= 700px) {
  .article h1.article-headline {
    margin-top: 24px;
    padding-right: 24px;
    padding-left: 24px;
    font-size: 30px;
  }
  .article-tag__list {
    padding-right: 0;
    padding-left: 0;
  }
}
.article-loading {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.article-loading__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 184px);
  background-color: #fff;
}

.article-banner {
  padding-top: 56px;
  container-type: inline-size;
}
@container (width <= 700px) {
  .article-banner {
    padding: 40px 24px 0;
  }
}

.article-banner__heading {
  margin: 0 0 16px;
  color: #282828;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.article-banner__wrap {
  position: relative;
  width: 530px;
  height: 140px;
  margin: auto;
}
@container (width <= 700px) {
  .article-banner__wrap {
    width: 100%;
    max-width: 530px;
    height: auto;
    max-height: 140px;
    object-fit: cover;
  }
}

.article-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

/* TODO: Add style */
.article-date__wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-bottom: 24px;
}
@container (width <= 700px) {
  .article-date__wrap {
    padding: 0 24px 24px;
  }
}

.article-date {
  margin-right: 0;
  margin-left: 0;
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

/* TODO: Add style */
.article-eyecatch {
  width: 100%;
  margin-top: 32px;
}
@media screen and (width <= 700px) {
  .article-eyecatch {
    margin-top: 0;
  }
}

.article-eyecatch__image {
  display: block;
  width: 100%;
  height: auto;
}

.article-lead {
  margin: 32px 0 24px;
  font-size: 16px;
}

.article-movie {
  margin-top: 48px;
}
@container (width <= 700px) {
  .article-movie {
    margin-top: 0;
  }
}

.article-movie__inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.article-movie__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}

.article-pagination {
  margin-bottom: 48px;
  padding: 32px 0;
  background-color: #0984e3;
  container-type: inline-size;
}
@container (width <= 1024px) {
  .article-pagination {
    margin-bottom: 40px;
    padding: 24px;
  }
}

.article-pagination__wrap {
  display: flex;
  width: 100%;
  max-width: 1024px;
  margin: auto;
}

.article-pagination__wrap > div {
  width: 50%;
}

.article-pagination__link {
  display: flex;
  align-self: flex-start;
  color: #fff;
  text-decoration: none;
}
.article-pagination__link:hover {
  opacity: 0.8;
}

.article-pagination__head {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}
@container (width <= 1024px) {
  .article-pagination__head {
    margin: 0 0 12px;
    color: #e2f2fd;
    font-size: 12px;
  }
}
.article-pagination__prev .article-pagination__head {
  text-align: right;
}
.article-pagination__next .article-pagination__head {
  text-align: left;
}

.article-pagination__inner {
  display: flex;
  align-items: center;
  height: calc(100% - 37px);
}
.article-pagination__next .article-pagination__inner {
  justify-content: flex-end;
}

.article-pagination__image-wrap {
  position: relative;
  width: 152px;
  height: 85.5px;
}
@container (width <= 700px) {
  .article-pagination__image-wrap {
    width: 60px;
    height: 33px;
  }
}
.article-pagination__prev .article-pagination__image-wrap {
  margin-right: 16px;
  margin-left: 0;
}
@container (width <= 700px) {
  .article-pagination__prev .article-pagination__image-wrap {
    margin-right: 8px;
  }
}
.article-pagination__next .article-pagination__image-wrap {
  margin-right: 0;
  margin-left: 16px;
}
@container (width <= 700px) {
  .article-pagination__next .article-pagination__image-wrap {
    margin-left: 8px;
  }
}

.article-pagination__image {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.article-pagination__prev {
  position: relative;
  box-sizing: border-box;
  padding-right: 20px;
}
.article-pagination__prev::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 98%;
  margin: auto;
  background-color: #d5d5d5;
}
@container (width <= 700px) {
  .article-pagination__prev {
    padding-right: 12px;
  }
}

.article-pagination__next {
  box-sizing: border-box;
  padding-left: 20px;
}
@container (width <= 700px) {
  .article-pagination__next {
    padding-left: 12px;
  }
}

.article-pagination__arrow {
  position: relative;
  width: 13px;
  height: 13px;
}
@container (width <= 1024px) {
  .article-pagination__arrow {
    display: none;
  }
}
.article-pagination__prev .article-pagination__arrow {
  margin-right: 8px;
  transform: rotate(180deg);
}
.article-pagination__next .article-pagination__arrow {
  margin-left: 8px;
}

.article-pagination__arrow--left {
  display: block;
}

.article-pagination__arrow--right {
  display: block;
}

.article-pagination__title {
  width: 303px;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
@container (width <= 1024px) {
  .article-pagination__title {
    flex: 1;
    width: 100%;
    max-width: 303px;
    height: auto;
    font-size: 12px;
  }
}

.article-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d5d5d5;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
}
.article-pagination__list:hover {
  opacity: 0.8;
}

.article-pagination__list-arrow {
  margin-left: 16px;
}

.article-related {
  box-sizing: border-box;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto 48px;
  padding: 0 24px;
  container-type: inline-size;
}
@container (width <= 700px) {
  .article-related {
    margin: 0 0 40px;
    font-size: 22px;
  }
}

.article-related__heading {
  display: flex;
  align-items: center;
  margin: 0 0 32px;
  color: #282828;
  font-size: 32px;
  line-height: 1.448;
}
@container (width <= 700px) {
  .article-related__heading {
    margin: 0 0 24px;
    font-size: 22px;
  }
}

.article-related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 24px;
}
@container (width <= 700px) {
  .article-related__list {
    display: flex;
    flex-direction: column;
  }
}

.article-related__item {
  flex: 1;
}

/* TODO: Add style */
@container (width <= 600px) {
  .article-share {
    display: none;
  }
}

.article-share__text {
  margin-right: 8px;
  padding: 0;
  color: #282828;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.448;
  white-space: nowrap;
}

.article-share__list {
  display: flex;
  gap: 16px;
}

.article-share__button {
  width: 100%;
}
@container (600px <= width) {
  .article-share__button {
    display: none;
  }
}

.article-share__button--narrow {
  display: none;
}

@container (width <= 700px) {
  .article-tag {
    padding: 0 24px;
  }
}

/* Add style */

/*# sourceMappingURL=ArticleContentCommon.css.map */
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading {
  color: #282828;
  font-weight: 700;
  line-height: 1.4;
}

h2.wp-block-heading {
  margin: 24px;
  padding-top: 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid #e2f2fd;
  font-size: 24px;

  @container (700px <= width) {
    margin: 32px 0;
    font-size: 26px;
  }
}

h3.wp-block-heading {
  margin: 40px 24px 32px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 18px;
  border-left: 4px solid #0984e3;
  font-size: 22px;

  @container (700px <= width) {
    margin-top: 56px;
    margin-right: 0;
    margin-left: 0;
  }
}

h4.wp-block-heading {
  margin: 48px 24px 28px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 16px;
  border-left: 2px solid #0984e3;
  font-size: 20px;

  @container (700px <= width) {
    margin-right: 0;
    margin-bottom: 32px;
    margin-left: 0;
  }
}

.article-content p {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-right: 24px;
  padding-left: 24px;
  color: #282828;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  @container (700px <= width) {
    margin-top: 32px;
    margin-bottom: 32px;
    padding-right: 0;
    padding-left: 0;
  }
}

.article-content p [target="_blank"] {
  padding-right: 16px;
  background: url("/wealthguide/icon_blank.svg") no-repeat center right / 12px;
}

.article-content a {
  transition: all 0.1s ease;
  color: #0984e3;
}

.article-content a:hover {
  @container (700px <= width) {
    opacity: 0.5;
  }
}

.article-content ul {
  margin: 24px;
  padding-left: 20px;
  list-style-type: disc;
}

.article-content ul li ul {
  margin: 8px 0 0;
  list-style-type: circle;
}

.article-content ul li ul li ul {
  list-style-type: square;
}

.wp-block-image {
  box-sizing: border-box;
  width: 100%;
  max-width: 540px;
  margin: 24px auto;
  padding-right: 24px;
  padding-left: 24px;

  @container (540px <= width) {
    padding-right: 0;
    padding-left: 0;
  }

  @container (700px <= width) {
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

/* 画像サイズが調整された場合のスタイル */
.wp-block-image.image-size-adjusted {
  /* SP: max-widthを使用 */
  max-width: var(--image-max-width-sp, 540px);

  @container (700px <= width) {
    /* PC: 固定幅を使用 */
    width: var(--image-display-width-pc, 540px);
    max-width: none;
  }
}

.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* figure要素のSP時マージン調整 */
figure.aligncenter.size-full {
  @container (width < 700px) {
    margin-right: 0;
    margin-left: 0;
  }
}

.wp-custom-block-table-of-contents {
  margin: 24px;
  padding: 24px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;

  @container (700px <= width) {
    margin: 40px 0 32px;
  }
}

.wp-custom-block-table-of-contents p {
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  @container (700px <= width) {
    margin-top: 0;
    margin-bottom: 24px;
  }
}

.wp-custom-block-table-of-contents ul {
  margin: 0;
  padding-left: 20px;

  @container (700px <= width) {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.wp-custom-block-table-of-contents ul li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.wp-custom-block-table-of-contents ul li:nth-child(n + 2) {
  margin-top: 8px;
}

.wp-custom-block-notes-list {
  margin: 24px;

  @container (700px <= width) {
    margin: 32px 0;
  }
}

.wp-custom-block-notes-list ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: index;
}

.wp-custom-block-notes-list ol li {
  position: relative;
  padding-left: 34px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;

  @container (700px <= width) {
    padding-left: 38px;
  }
}

.wp-custom-block-notes-list ol li::before {
  content: "";
  content: "※" counters(index, ".");
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: index;
}

.wp-custom-block-notes-list ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.wp-custom-block-notes-list ul li {
  position: relative;
  padding-left: 24px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;

  @container (700px <= width) {
    padding-left: 28px;
  }
}

.wp-custom-block-notes-list ul li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

.wp-custom-block-check-this-out {
  margin: 32px 24px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;

  @container (700px <= width) {
    margin: 48px 0 40px;
    padding-top: 32px;
    padding-bottom: 40px;
  }
}

.wp-custom-block-check-this-out p {
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 18px;
  border-left: 4px solid #0984e3;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.wp-custom-block-check-this-out ul {
  margin-top: 24px;
  margin-bottom: 0;
  padding-left: 0;

  @container (700px <= width) {
    margin-top: 32px;
    margin-right: 0;
  }
}

.wp-custom-block-check-this-out ul li:nth-child(n + 2) {
  margin-top: 16px;
}

.wp-custom-block-check-this-out ul li a {
  color: #0984e3;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.wp-block-buttons {
  margin: 48px 24px 40px;
}

.wp-block-button__link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 342px;
  margin-right: auto;
  margin-left: auto;
  padding: 14px 38px;
  border: 1px solid #0984e3;
  border-radius: 28px;
  background: url("/wealthguide/icon_arrow.svg") no-repeat center right 14px/ 24px;
  color: #0984e3;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wp-block-table {
  margin: 24px 0;
  padding-right: 24px;
  padding-left: 24px;
  overflow-x: auto;

  @container (700px <= width) {
    margin: 32px 0;
    padding-right: 0;
    padding-left: 0;
  }
}

.wp-block-table table {
  width: 700px;
  table-layout: fixed;
  border-collapse: collapse;
}

.wp-block-table table th {
  background-color: #e2f2fd;
}

.wp-block-table table th,
.wp-block-table table td {
  padding: 14px 10px;
  border: 1px solid #bebebe;
}

.wp-block-quote {
  margin: 24px;

  @container (700px <= width) {
    margin: 32px 0;
  }
}

.wp-block-quote p {
  margin: 0;
  padding-right: 0;
  padding-left: 24px;
  border-left: 4px solid #d5d5d5;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  @container (700px <= width) {
    padding-left: 24px;
  }
}

.wp-custom-block-question-list {
  margin: 24px 24px 56px;
  padding: 18px 24px 24px;
  background-color: #f4f4f3;

  @container (700px <= width) {
    margin: 32px 0 56px;
    padding: 22px 40px 32px;
  }
}

.wp-custom-block-question-list ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

.wp-custom-block-question-list ul li {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 30px;
  background: url("/wealthguide/icon_question.svg") no-repeat top left / 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.wp-custom-block-question-list ul li ul {
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: -30px;
}

.wp-custom-block-question-list ul li ul li {
  padding-left: 0;
  background: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

.wp-custom-block-article-summary {
  margin: 56px 0 32px;
  padding: 24px 24px 32px;
  background-color: #e2f2fd;

  @container (700px <= width) {
    margin-bottom: 48px;
    padding: 40px;
  }
}

.wp-custom-block-article-summary p {
  margin: 0;
  padding-right: 0;
  padding-left: 18px;
  border-left: 4px solid #0984e3;
  color: #0984e3;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.wp-custom-block-article-summary ul {
  margin-top: 16px;
  margin-bottom: 0;
  padding-left: 0;

  @container (700px <= width) {
    margin-top: 32px;
    margin-right: 0;
    margin-left: 24px;
  }
}

.wp-custom-block-article-summary ul li {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.wp-custom-block-article-summary ul li:nth-child(n + 2) {
  margin-top: 16px;
}

.wp-element-caption {
  margin-top: 8px;
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.wp-custom-inline-block-marker {
  background: linear-gradient(transparent 60%, #fff88f 50%);
}

.wp-custom-block-cta-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px;
  font-size: 18px;
  font-weight: 700;

  &::before {
    content: "\\";
    margin-right: 8px;
    font-weight: 300;
  }

  &::after {
    content: "/";
    margin-left: 8px;
    font-weight: 300;
  }
}

.wp-custom-block-cta-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px;
}

.wp-custom-block-cta-btn {
  .article-content & {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 412px;
    min-height: 57px;
    transition: all 0.1s ease;
    border: 1px solid #0984e3;
    border-radius: 32px;
    background: url("/wealthguide/icon_blank_white.svg") no-repeat center right
      32px;
    background-color: #0984e3;
    box-shadow: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: 16px;
      bottom: 0;
      width: 16px;
      height: 16px;
      margin: auto;
    }

    @container (700px <= width) {
      font-size: 24px;
    }
  }
}

.wp-custom-block-cta-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 24px;
  color: #888;
  font-size: 12px;
}

.article-movie {
  margin-top: 48px;

  @container (width <= 700px) {
    margin-top: 0;
  }
}

.article-movie__inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.article-movie__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}

/* ウェルストーリーの画像とテキストブロック */
.wp-block-custom-blocks-ws-image-and-text {
  display: flex;
  align-items: flex-start;
  margin: 24px;
  padding: 16px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  gap: 16px;

  @container (700px <= width) {
    margin: 32px 80px;
  }
}

.wp-block-custom-blocks-ws-image-and-text.has-left-only {
  flex-direction: row;
  justify-content: flex-start;
}

.wp-block-custom-blocks-ws-image-and-text.has-right-only {
  flex-direction: row;
  justify-content: space-between;
}

.wp-block-custom-blocks-ws-image-and-text .wp-custom-block-ws-iat-image,
.wp-block-custom-blocks-ws-image-and-text .left-img,
.wp-block-custom-blocks-ws-image-and-text .right-img {
  max-width: 67px;
}

.wp-block-custom-blocks-ws-image-and-text .wp-custom-block-ws-iat-text {
  margin: 0;
  padding: 0;
  color: #282828;
  font-size: 14px;
}

.wp-block-custom-blocks-ws-image-and-text .wp-custom-block-ws-iat-text > p {
  padding: 0;
  font-size: 14px;

  @container (700px <= width) {
    margin: 16px 0;
  }
}

.wp-block-custom-blocks-ws-image-and-text
  .wp-custom-block-ws-iat-text
  > p:first-child {
  margin-top: 0;
}

.wp-block-custom-blocks-ws-image-and-text
  .wp-custom-block-ws-iat-text
  > p:last-child {
  margin-bottom: 0;
}

/* ウェルストーリー吹き出しブロック */
.wp-custom-block-ws-sb-block {
  box-sizing: border-box;
  max-width: 540px;
  margin: 24px auto;
  padding-inline: 24px;

  @container (700px <= width) {
    padding-inline: 0;
  }
}

.wp-custom-block-ws-sb-wrapper {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 8px;
  background-color: #f7f7f7;
}

.wp-custom-block-ws-sb-text {
  font-size: 16px;
  line-height: 1.6;
}

.wp-custom-block-ws-sb-wrapper p {
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}

.wp-custom-block-ws-sb-wrapper p + p {
  margin-top: 16px;
}

.wp-custom-block-ws-sb-wrapper p:last-of-type {
  margin-bottom: 16px;
}

.wp-custom-block-ws-sb-wrapper::after {
  content: "";
  position: absolute;
  right: 103px;
  bottom: -24px;
  width: 0;
  height: 0;
  border-top: 24px solid #f7f7f7;
  border-left: 24px solid transparent;
}

.wp-custom-block-ws-sb-image {
  display: block;
  position: relative;
  z-index: 2;
  width: 119px;
  height: auto;
  margin-top: -14px;
  margin-left: auto;
}

/* ウェルストーリー雲ブロック */
.wp-custom-block-ws-cloud-block {
  box-sizing: border-box;
  max-width: 700px;
  margin: 36px auto 24px;
}

.wp-custom-block-ws-cloud-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12.5px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background-color: #0984e3;
}

.wp-custom-block-ws-cloud-header-title {
  display: flex;
  position: relative;
  align-items: center;
  margin: 0;
  padding-right: 74px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.wp-custom-block-ws-cloud-header-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 74px;
  height: 65px;
  transform: translateY(-50%);
  background: url("https://learning-article-resource.wealthnavi.com/wp/app/uploads/2025/12/16064819/cloud.png")
    center center / contain no-repeat;
}

.wp-custom-block-ws-cloud-content {
  padding: 24px 16px;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  background-color: #f7f7f7;
}

.wp-custom-block-ws-cloud-content p {
  margin: 0;
  padding-right: 0;
  padding-left: 0;
}

.wp-custom-block-ws-cloud-content p:first-of-type {
  margin-bottom: 16px;
}

.wp-custom-block-ws-cloud-content p + p {
  margin-top: 16px;
}

.wp-custom-block-ws-cloud-content p:last-of-type {
  margin-top: 16px;
}

.wp-custom-block-ws-cloud-subtitle {
  margin: 0 0 24px;
  color: #0984e3;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.wp-custom-block-ws-cloud-text {
  margin: 0 !important;
  padding: 0 !important;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
}

.wp-custom-block-ws-cloud-content
  > .wp-block-custom-blocks-related-article-link {
  max-width: 540px;
  margin: 24px 0 0;
  margin-inline: auto;
  background-color: #fff;
}

@media (width <= 748px) {
  .wp-custom-block-ws-cloud-block {
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* 注釈（トグル）ブロック */
.wp-block-custom-blocks-note-toggle {
  margin: 24px 0;
}

.wp-custom-block-note-toggle-heading {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wp-custom-block-note-toggle-title {
  position: relative;
  margin: 0 34px 0 24px;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;

  @container (700px <= width) {
    margin: 0;
  }
}

.wp-custom-block-note-toggle-title::before,
.wp-custom-block-note-toggle-title::after {
  content: "";
  position: absolute;
  bottom: calc(50% - 4.75px);
  left: 100%;
  width: 2px;
  height: 13.3px;
  transform-origin: 50% calc(100% - 1px);
  border-radius: 9999px;
  background-color: #000;
}

.wp-custom-block-note-toggle-title::before {
  transform: rotate(48.4deg);
}

.is-open .wp-custom-block-note-toggle-title::before {
  bottom: calc(50% + 5.16px - 2px);
  transform: rotate(128.4deg);
}

.wp-custom-block-note-toggle-title::after {
  transform: rotate(-48.4deg);
}

.is-open .wp-custom-block-note-toggle-title::after {
  bottom: calc(50% + 5.16px - 2px);
  transform: rotate(-128.4deg);
}

.wp-custom-block-note-toggle-content {
  display: none;
}

.is-open .wp-custom-block-note-toggle-content {
  display: block;
}

.wp-custom-block-note-toggle-content > p {
  margin: 16px 0 0;
  font-size: 14px;
}

.wp-custom-block-note-toggle-content .wp-custom-block-notes-list {
  margin: 16px 12px 0;

  @container (700px <= width) {
    margin: 16px 0;
  }
}

/* リード文を移動した先のスタイル */
.article-lead {
  margin: 32px 24px 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;

  @container (700px <= width) {
    margin: 32px 0 24px;
  }
}

.wp-block-custom-blocks-related-article-link {
  margin: 32px 24px;

  @container (700px <= width) {
    margin: 32px 80px;
  }
}

.wp-custom-block-related-article-link-anchor {
  display: flex;
  align-items: stretch;
  min-height: 101px;
  border: 1px solid #bebebe;
  border-radius: 6px;
  background-color: #f8f8f8;
  text-decoration: none;
  gap: 12px;
}

/* フォーカス時のアウトライン設定 */
.wp-custom-block-related-article-link-anchor:focus-visible {
  outline: 2px solid #0984e3;
  outline-offset: 2px;
}

.wp-custom-block-related-article-link-image {
  flex-shrink: 0; /* flexboxによる縮小を防ぐ */
  width: 136px;
  min-width: 136px; /* 最小幅を保証 */
  overflow: hidden; /* 画像のはみ出しを制御 */
  border-radius: 6px 0 0 6px; /* 左端の角丸を調整 */
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.wp-custom-block-related-article-link-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
  padding-right: 4px;
  gap: 14px;
}

.wp-custom-block-related-article-link-title {
  color: #666;
  font-size: 14px;
  line-height: 1;
}

.wp-custom-block-related-article-link-content p {
  margin: 0;
  padding: 0;
  color: #0984e3;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.wp-custom-block-related-article-link-content ol {
  margin: 0;
  padding: 0 0 0 20px;
  color: #282828;
}

.wp-custom-block-related-article-link-content li {
  font-size: 14px;

  @container (700px <= width) {
    font-size: 16px;
  }
}

.has-text-align-center {
  text-align: center;
}

.article-before__diff--removed {
  display: none;
  background-color: #ffcecb;
}

.article-before__diff--added {
  background-color: #aceebb;
  text-decoration: none;
}

.wp-block-image.article-before__diff--added {
  opacity: 0.85;
}

.wp-block-image .article-before__diff--removed {
  display: none;
}

.article-before__diff--modified {
  background-color: #c7eaff;
  text-decoration: none;
}

.article-after__diff--removed {
  display: none;
  background-color: #aceebb;
}

.wp-block-image.article-after__diff--added {
  opacity: 0.85;
}

.wp-block-image .article-after__diff--removed {
  display: none;
}

.article-after__diff--added {
  background-color: #ffcecb;
  text-decoration: none;
}

.article-after__diff--modified {
  background-color: #c7eaff;
  text-decoration: none;
}

.overlay-wrap {
  position: relative;
  width: inherit;
  height: 100%;
}

.overlay-wrap .added {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  background-color: #aceebb;
  pointer-events: none;
}

.overlay-wrap .removed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  background-color: #f8d7da;
  pointer-events: none;
}

.has-black-color {
  color: #000;
}

.has-cyan-bluish-gray-color {
  color: #abb8c3;
}

.has-pale-pink-color {
  color: #f78da7;
}

.has-vivid-red-color {
  color: #cf2e2e;
}

.has-luminous-vivid-orange-color {
  color: #ff6900;
}

.has-luminous-vivid-amber-color {
  color: #fcb900;
}

.has-light-green-cyan-color {
  color: #7bdcb5;
}

.has-vivid-green-cyan-color {
  color: #00d084;
}

.has-pale-cyan-blue-color {
  color: #8ed1fc;
}

.has-vivid-cyan-blue-color {
  color: #0693e3;
}

.has-vivid-purple-color {
  color: #9b51e0;
}

.article-title {
  margin-bottom: 40px;
  padding-left: 20px;
}
