@charset "UTF-8";

.article__contents h2 {
  margin: 40px 0 30px;
  font-size: 2.2rem;
  font-weight: 500;
  position: relative;
}

.article__contents h3 {
  margin: 40px 0 20px;
  padding: 10px 20px;
  background-color: var(--bg-color02);
  font-weight: 500;
  font-size: 2rem;
  color: var(--navy-color);
}

.article__contents h4 {
  position: relative;
  margin: 30px 0 20px;
  padding-left: 20px;
  font-weight: 500;
  font-size: 1.8rem;
}

.article__contents h4::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--base-color);
  content: "";
}

.article__contents h5 {
  position: relative;
  margin: 20px 0;
  padding-left: 25px;
  font-weight: 500;
  font-size: 1.6rem;
}

.article__contents h5::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: var(--beige-color);
  content: "";
}

.article__contents h6 {
  position: relative;
  margin: 20px 0;
  padding-left: 15px;
  font-weight: 500;
  font-size: 1.4rem;
}

.article__contents h6::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--base-color);
  content: "";
}

.article__contents p {
  line-height: 2;
  margin: 20px 0;
}

.article__contents a {
  display: inline-block;
  color: var(--point-color);
  text-decoration: underline;
}

.article__contents .wp-block-image {
  position: relative;
  margin: 40px 0;
}

.article__contents .wp-block-image figcaption {
  width: 100%;
  padding: 10px 0;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}

.article__contents img {
  width: auto;
}

.article__contents .wp-block-image.size-full img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article__contents .wp-block-image.size-medium img {
  width: 50%;
}

.article__contents strong {
  font-weight: 700;
}

.article__contents .wp-block-list {
  margin: 20px 0;
}

.article__contents .wp-block-list .wp-block-list {
  margin: 0;
}

.article__contents .wp-block-list li {
  position: relative;
  padding-left: 20px;
}

.article__contents ul.wp-block-list li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.article__contents ol.wp-block-list {
  counter-reset: number 0;
}

.article__contents ol.wp-block-list > li::before {
  counter-increment: number 1;
  content: counter(number) ".";
  position: absolute;
  top: 0;
  left: 0;
}

.article__contents ol.wp-block-list > li ol.wp-block-list {
  padding-left: 10px;
}

.article__contents ol.wp-block-list > li ol.wp-block-list > li::before {
  content: "（" counter(number) "）";
  left: -20px;
}

.article__contents
  ol.wp-block-list
  > li
  ol.wp-block-list
  > li
  ol.wp-block-list
  > li::before {
  content: counter(number);
  left: 0;
}

.article__contents
  ol.wp-block-list
  > li
  ol.wp-block-list
  > li
  ol.wp-block-list
  > li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: solid 1px var(--base-color);
}

.article__contents li {
  line-height: 2;
}

.article__contents .wp-block-list li.no-marker {
  padding: 0;
}

.article__contents .wp-block-list li.no-marker::before,
.article__contents .wp-block-list li.no-marker::after {
  content: none;
}

.article__contents .wp-block-table {
  margin: 30px 0;
}

.article__contents table {
  width: 100%;
  min-width: 700px;
}

@media screen and (min-width: 768px) {
  .article__contents table {
    min-width: inherit;
  }
}

.article__contents .col-head table td:first-child {
  font-weight: 500;
}

.article__contents .col-head table th:first-child {
  text-align: left;
}

.article__contents .col-center table th:first-child,
.article__contents .col-center table td:first-child {
  text-align: center;
}

.article__contents table th,
.article__contents table td {
  padding: 20px;
  border-top: solid 1px var(--line-color);
  border-bottom: solid 1px var(--line-color);
  border-left: none;
  border-right: none;
  line-height: 1.8;
  vertical-align: middle;
}

.article__contents table th {
  font-weight: 500;
}

.article__contents table td:first-of-type {
  width: 200px;
  font-weight: 500;
}

.article__contents .wp-block-gallery {
  -ms-flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article__contents .wp-block-gallery.has-nested-images figure.wp-block-image {
  -webkit-box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-1
  figure.wp-block-image:not(#individual-image) {
  width: 100%;
}

.article__contents
  .wp-block-gallery.has-nested-images
  figure.wp-block-image:not(#individual-image) {
  width: calc(50% - 1em);
  margin: 0;
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-3
  figure.wp-block-image:not(#individual-image) {
  width: calc(33.33333% - 1.33334em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-4
  figure.wp-block-image:not(#individual-image) {
  width: calc(25% - 1.5em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-5
  figure.wp-block-image:not(#individual-image) {
  width: calc(20% - 1.6em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-6
  figure.wp-block-image:not(#individual-image) {
  width: calc(16.66667% - 1.66666em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-7
  figure.wp-block-image:not(#individual-image) {
  width: calc(14.28571% - 1.71428em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-8
  figure.wp-block-image:not(#individual-image) {
  width: calc(12.5% - 1.75em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-default
  figure.wp-block-image:not(#individual-image) {
  width: calc(33.33% - 1.33334em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-default
  figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
.article__contents
  .wp-block-gallery.has-nested-images.columns-default
  figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)
  ~ figure.wp-block-image:not(#individual-image) {
  width: calc(50% - 1em);
}

.article__contents
  .wp-block-gallery.has-nested-images.columns-default
  figure.wp-block-image:not(#individual-image):first-child:last-child {
  width: 100%;
}

.article__contents .wp-block-media-text {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 50% 1fr;
  direction: ltr;
}

.article__contents .wp-block-media-text.is-vertically-aligned-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.article__contents .wp-block-media-text__media img {
  width: 100%;
  max-width: unset;
  height: auto;
  vertical-align: middle;
}

.article__contents .wp-block-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 30px 0;
  gap: 20px;
}

.article__contents .are-vertically-aligned-center {
  align-items: center;
}

.article__contents .are-vertically-aligned-bottom {
  align-items: flex-end;
}

.article__contents .wp-block-column > * {
  margin: 0 !important;
}

.article__contents
  .wp-block-columns:not(.is-not-stacked-on-mobile)
  > .wp-block-column {
  -ms-flex-preferred-size: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  flex-basis: 0;
  width: 100%;
}

.article__contents .wp-block-columns.is-layout-flex {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.article__contents .wp-block-media-text .wp-block-media-text__content {
  grid-row: 1;
  grid-column: 2;
  padding: 0 8%;
  direction: ltr;
  word-break: break-word;
}

.article__contents .wp-block-buttons {
  margin-top: 20px;
}

.article__contents .wp-block-buttons.wp-block-buttons-is-layout-flex {
  display: flex;
  justify-content: flex-start;
}

.article__contents .wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.article__contents .wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}

.article__contents .wp-block-buttons > .wp-block-button {
  display: inline-block;
}

.article__contents
  .wp-block-button.has-custom-width.wp-block-button__width-100 {
  width: 100%;
}

.article__contents .wp-block-button.has-custom-width.wp-block-button__width-75 {
  width: 75%;
}

.article__contents .wp-block-button.has-custom-width.wp-block-button__width-50 {
  width: 50%;
}

.article__contents .wp-block-button.has-custom-width.wp-block-button__width-25 {
  width: 25%;
}

.article__contents .wp-block-button .wp-block-button__link {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 270px;
  max-width: 350px;
  height: 60px;
  border: solid 1px var(--point-color);
  border-radius: 5px;
  background-color: var(--point-color);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  padding: 15px 40px 15px 20px;
}

.article__contents .wp-block-button .wp-block-button__link::after {
  -webkit-transform: rotate(45deg);
  -webkit-transition: var(--btn-transition);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 6px;
  height: 6px;
  margin: auto;
  transform: rotate(45deg);
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  content: "";
  transition: var(--btn-transition);
}

.article__contents .wp-block-button.pdf .wp-block-button__link {
  background-color: #fff;
  border: solid 1px var(--point-color);
  border-radius: 100px;
  color: var(--point-color);
  width: auto;
  height: auto;
  padding: 10px 45px 10px 30px;
  min-width: inherit;
  max-width: inherit;
}

.article__contents .wp-block-button.pdf .wp-block-button__link::after {
  border: none;
  background-color: var(--point-color);
  mask-image: url(/img/common/icon-pdf.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
  width: 16px;
  height: 16px;
  transform: rotate(0deg);
}

.article__contents
  .wp-block-buttons
  > .wp-block-button.has-custom-width
  .wp-block-button__link {
  width: 100%;
}

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

.article__contents .has-text-align-right {
  text-align: right;
}

.article__contents .wp-block-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  padding: 20px;
  background-color: var(--bg-color01);
}

.article__contents .wp-block-group > * {
  margin: 0;
}

.article__contents .is-nowrap {
  flex-wrap: nowrap;
}

.article__contents .is-content-justification-space-between {
  justify-content: space-between;
}

.article__contents .is-content-justification-left {
  justify-content: flex-start;
}

.article__contents .is-content-justification-right {
  justify-content: flex-end;
}

.article__contents .is-content-justification-center {
  justify-content: center;
}

.article__contents .is-vertical {
  flex-direction: column;
}

/* @media screen and (max-width: 767px) {
  .article__contents h2 {
    font-size: 2rem;
    margin: 30px 0 20px;
  }

  .article__contents h3 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
  }

  .article__contents h4 {
    padding-left: 20px;
    font-size: 1.8rem;
    margin: 30px 0 20px;
  }

  .article__contents h4::before {
    width: 12px;
    height: 12px;
  }

  .article__contents h5 {
    padding-left: 20px;
    font-size: 1.6rem;
  }

  .article__contents h5::before {
    top: 11px;
    width: 12px;
  }

  .article__contents h6 {
    font-size: 1.4rem;
  }

  .article__contents h6::before {
    top: 3px;
  }

  .article__contents .wp-block-media-text {
    grid-template-columns: 100%;
  }

  .article__contents .wp-block-gallery {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .article__contents
    .wp-block-gallery.has-nested-images
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-3
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-4
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-5
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-6
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-7
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-8
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)
    ~ figure.wp-block-image:not(#individual-image),
  .article__contents
    .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:last-child {
    width: 100%;
  }

  .article__contents .wp-block-image,
  .article__contents .wp-block-list,
  .article__contents .wp-block-table {
    margin: 20px 0;
  }

  .article__contents .wp-block-list li {
    padding-left: 15px;
  }

  .article__contents
    ol.wp-block-list
    > li
    ol.wp-block-list
    > li
    ol.wp-block-list
    > li::after {
    top: 7px;
    left: -6px;
    width: 17px;
    height: 17px;
  }

  .article__contents .wp-block-image.size-medium img {
    width: 100%;
  }

  .article__contents .wp-block-columns.is-layout-flex {
    -ms-flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .article__contents .wp-block-media-text .wp-block-media-text__content {
    grid-row: 2;
    grid-column: 1;
    padding: 0;
  }

  .article__contents .wp-block-media-text {
    grid-template-columns: 100% !important;
  }
} */

