/* 幅広・全幅ブロック以外にデフォルトコンテンツ幅を指定 */
.entry-content>*:not(.alignwide):not(.alignfull) {
  max-width: var(--wp--style--global--content-size);
}

/* 幅広ブロックに幅広コンテンツ幅を指定 */
.entry-content>*.alignwide {
  max-width: var(--wp--style--global--wide-size);
}

/* 全幅ブロックを除いて左右にオートマージンを付与する */
.entry-content>*:not(.alignfull) {
  margin-right: auto;
  margin-left: auto;
}

/* 共通 */
.entry-content,
.editor-styles-wrapper {
  padding-left: var(--wp--custom--gutter);
  padding-right: var(--wp--custom--gutter);
}

.overview-block {
  padding: 80px;
}

@media (max-width: 800px) {
  .overview-block {
    padding: 25px;
    flex-direction: column;
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px !important;
    grid-template-areas:
      "title"
      "content"
      "buttons";
  }

  .overview-block>.wp-block-column:first-child {
    display: contents;
  }

  .overview-block .ttl-style01 {
    grid-area: title;
  }

  .overview-block>.wp-block-column:last-child {
    grid-area: content;
  }

  /* ボタン部分 */
  .overview-block .wp-block-buttons {
    grid-area: buttons;
  }
}

.ttl-style01 {
  margin-block-end: 70px!important;
}

.ttl-style01 [lang=en] {
  font-family: var(--font_en);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color_primary);
  letter-spacing: 0.05em;
  padding-left: 19px;
  position: relative;
}

.ttl-style01 [lang=en]::before {
  content: "";
  background: currentColor;
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

.ttl-style01 .jp {
  font-size: 3.6rem;
  letter-spacing: 0.1em;
}

@media (max-width: 800px) {
  .ttl-style01 {
    margin-block-end: 0!important;
  }

  .ttl-style01 [lang=en] {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .ttl-style01 [lang=en]::before {
    top: 9px;
  }

  .ttl-style01 .jp {
    font-size: 2.5rem;
  }
}

.is-style-outline-green a {
  text-decoration: none !important;
  display: inline-block;
  min-width: 250px;
  background-color: #fff !important;
  padding: 15px 30px;
  border: 1px solid var(--color_primary);
  color: var(--color_primary);
  border-radius: 3px;
  text-align: center;
  font-size: 1.5rem;
  position: relative;
  transition: background-color 0.3s;
}

.is-style-outline-green.link-out a::after {
  content: "";
  background: url(../../images/share/icon_out.svg) no-repeat center/contain;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.is-style-outline-green a:hover {
  background: oklch(from var(--color_primary) l c h/0.05) !important
}



.is-style-fill .wp-element-button {
  display: inline-block;
  padding: 11px 60px;
  background: var(--color_primary);
  border-radius: 100px;
  color: #fff;
  position: relative;
}

.is-style-fill .wp-element-button::after {
  content: "";
  -webkit-mask: url(../../images/share/icon_arrow_right.svg) no-repeat center/contain;
  mask: url(../../images/share/icon_arrow_right.svg) no-repeat center/contain;
  background: currentColor;
  width: 15px;
  height: 12px;
  position: absolute;
  right: 25px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.is-style-fill .wp-element-button:focus-visible::after {
  -webkit-animation: btn-arrow-move 0.5s ease-in-out;
  animation: btn-arrow-move 0.5s ease-in-out;
}

@media (any-hover: hover) {
  .is-style-fill .wp-element-button:hover::after {
    -webkit-animation: btn-arrow-move 0.5s ease-in-out;
    animation: btn-arrow-move 0.5s ease-in-out;
  }
}

.u-post-style02 .wp-block-post-featured-image {
  border: 1px solid var(--color_primary);
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 25px;
}

.u-post-style02 .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.u-post-style02 .wp-block-post-title a {
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.u-post-style02 .wp-block-post-date {
  display: block;
  font-family: var(--font_en);
  font-weight: 500;
  line-height: 1;
  color: #AFAFB3;
}

.u-post-style02 .wp-block-post-title a:focus-visible {
  color: var(--color_primary);
}

@media (any-hover: hover) {
  .u-post-style02 .wp-block-post-title a:hover {
    color: var(--color_primary);
  }
}


@media (max-width: 800px) {
  .u-post-style02 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .u-post-style02 .wp-block-post-featured-image {
    margin-bottom: 15px;
  }
}


@media screen and (max-width: 800px) {
  .column-post-block {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "content"
      "buttons";
  }

  /* カラムブロック構造用 */
  .column-post-block>.wp-block-column:first-child,
  .column-post-block>.wp-block-column:first-child>.wp-block-group,
  /* グループブロック構造用 */
  .column-post-block>.is-content-justification-space-between {
    display: contents;
  }

  .column-post-block .ttl-style01 {
    grid-area: title;
  }

  .column-post-block>.wp-block-column:last-child,
  .column-post-block .wp-block-query {
    grid-area: content;
  }

  .column-post-block .wp-block-buttons {
    grid-area: buttons;
  }
}


.wp-embed-aspect-16-9 .wp-block-embed__wrapper{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
