@charset "UTF-8";

/* 幅広・全幅ブロック以外にデフォルトコンテンツ幅を指定 */
.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);
}


/*投稿本文用CSS*/
.postdata {
  overflow-wrap: break-word;
  line-height: 1.8;
}

.postdata .screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.postdata .screen-reader-text:focus {
  background-color: #eee;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.postdata iframe {
  max-width: 100%;
}

.postdata pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

h2[class="wp-block-heading"] {
  background: url(../images/under/u-h2.png) no-repeat center top;
  padding: 30px 0 0;
  font-family: var(--font_jp);
  font-size: 2.25rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
}

h3[class="wp-block-heading"] {
  font-family: var(--font_jp);
  font-size: 1.875rem;
  line-height: 1.6;
  border-bottom: 1px solid #A0D3B0;
  margin-bottom: 30px;
  padding: 0 0 8px;
}

h4[class="wp-block-heading"] {
  color: var(--color_secondary);
  font-family: var(--font_jp);
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.wp-block-button__link {
  border: 1px solid #e9e9e9 !important;
  background-color: #f6f6f6 !important;
  color: var(--color_black) !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-size: 15px !important;
  line-height: 1 !important;
  min-width: 200px;
  padding: 10px 45px !important;
  line-height: 1.5;
  position: relative;
  transition: .3s;
}

.wp-block-button__link::after {
  content: "";
  background-color: var(--color_black);
  mask: url(../images/share/post_arrow.svg) no-repeat center/contain;
  width: 18px;
  height: 11px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.wp-block-button__link:hover {
  opacity: 1;
  background-color: var(--color_primary) !important;
  color: var(--color_white) !important;
}

.wp-block-button__link:hover::after {
  background-color: var(--color_white);
}

.postdata p,
.postdata ul,
.postdata ol {
  margin-block: 1em;
}

.postdata a:not(.wp-block-button__link) {
  text-decoration: underline;
}

.postdata a:focus-visible {
  text-decoration: none;
}

.postdata strong {
  font-weight: bold;
  font-family: var(--font_jp);
}

.postdata em {
  font-style: italic;
}

.postdata ul[class="wp-block-list"] {
  display: grid;
  grid-gap: 5px;
}

.postdata ul[class="wp-block-list"] li {
  list-style: disc;
  margin-left: 1.5em;
  line-height: 1.5;
}

.postdata ul[class="wp-block-list"] li::marker {
  color: var(--color_black);
  font-size: 0.8em;
}

.postdata ol[class="wp-block-list"] {
  display: grid;
  grid-gap: 5px;
  counter-reset: number;
}

.postdata ol[class="wp-block-list"] li {
  padding-left: 30px;
  position: relative;
}

.postdata ol[class="wp-block-list"] li::before {
  background-color: var(--color_black);
  border-radius: 15px;
  color: #fff;
  counter-increment: number;
  content: counter(number);
  font-size: 11px;
  position: absolute;
  top: 5px;
  left: 0;
  line-height: 20px;
  width: 20px;
  height: 20px;
  text-align: center;
}

.postdata ol.wp-block-list li>ol.wp-block-list {
  counter-reset: number;
}

.postdata sub {
  font-size: 1.1rem;
  position: relative;
  bottom: -0.1em;
}

.postdata sup {
  font-size: 1.1rem;
  position: relative;
  top: -0.1em;
}

@media (any-hover: hover) {
  .postdata a:hover {
    text-decoration: none;
  }
}

@media (max-width: 800px) {
  h2[class="wp-block-heading"] {
    background-size: 30px auto;
    font-size: 1.5625rem;
    margin-bottom: 30px;
  }

  h3[class="wp-block-heading"] {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  h4[class="wp-block-heading"] {
    font-size: 1.125rem;
    margin-bottom: 15px;
  }
}
