@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%;
}

h2.wp-block-heading {
  border-top: 1px solid var(--color_primary);
  border-bottom: 1px solid var(--color_primary);
  font-size: 1.375rem;
  line-height: 1.5;
  margin-block-start: 50px;
  margin-block-end: 30px;
  padding-block: 15px;
  position: relative;
}

h3.wp-block-heading {
  font-size: 1.25rem;
  line-height: 1.5;
  border-left: 4px solid var(--color_primary);
  padding: 3px 0px 3px 15px;
  margin-block-start: 25px;
}

h4.wp-block-heading {
  background: var(--color_secondary);
  border-radius: 2px;
  font-size: 1.125rem;
  line-height: 1.5;
  padding: 8px 15px;
  margin-block-start: 15px;
}

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

.wp-block-button__link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--color_primary);
  border-right: 1px solid var(--color_primary);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

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

.wp-block-button__link:hover::before {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.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;
}

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

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

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

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

ul[class="wp-block-list"] li::marker {
  color: var(--color_primary);
}

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

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

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

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

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