/*
Theme Name: wp-theme-by-sekaikan
Theme URI: https://sekaikan.nits-inc.com/wp-theme/
Author: SEKAIKAN by NITS
Author URI: https://sekaikan.nits-inc.com/
Description: 株式会社NITSのクリエイティブ事業部「SEKAIKAN」が作成・管理しております。お問合せ・ご相談に関しては<a href="https://sekaikan.nits-inc.com/">公式サイト</a>をご確認ください。
*/

/* ログイン状態で記事を表示した時の「編集ボタン」 */
a.post-edit-link {
  position: absolute;
  background: #ffa800;
  width: 130px;
  height: 50px;
  border-radius: 2rem 2rem 2rem 0;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  padding: 10px;
  vertical-align: middle;
  color: #fff;
  top: -28px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  left: 0;
  right: 0;
  margin-left: auto;
}

a.post-edit-link:before {
  content: "\f464";
  font-family: 'dashicons';
  display: inline-block;
  font-size: 2rem;
  vertical-align: middle;
}


/* 記事（entry-content） */

.entry-content p {
  line-height:2rem;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, {
  margin-top:20px; margin-bottom:20px;
}


.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.entry-content h2 {
  font-weight: 600;
  padding-bottom: .3em;
  font-size: 1.5em;
  border-bottom: 1px solid var(--color-border-muted);
}

.entry-content h3 {
  font-weight: 600;
  font-size: 1.25em;
}

.entry-content h3 {
  position: relative;
  padding: 1.5rem 1rem;
}

.entry-content h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.entry-content h4:before {content: '';background-image: url('./images/check-square-regular.svg');width: 30px;height: 30px;display: inline-block;vertical-align: middle;background-repeat: no-repeat;margin-right: 10px;position: absolute;top: 0;left: 0;}

.entry-content h4 {
  font-weight: 600;
  font-size: 1em;
  padding-left: 40px;
  position: relative;
  color: #485564;
}

.entry-content h5 {
  font-weight: 600;
  font-size: .875em;
}

.entry-content h6 {
  font-weight: 600;
  font-size: .85em;
  color: var(--color-fg-muted);
}

.entry-content p {
  margin-top: 0;
  margin-bottom: 10px;
}

.entry-content blockquote {
  margin: 0;
  padding: 0 1em;
  color: var(--color-fg-muted);
  border-left: .25em solid var(--color-border-default);
}

.entry-content ul,
.entry-content ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 2em;
}

.entry-content ol ol,
.entry-content ul ol {
  list-style-type: lower-roman;
}

.entry-content ul ul ol,
.entry-content ul ol ol,
.entry-content ol ul ol,
.entry-content ol ol ol {
  list-style-type: lower-alpha;
}

.entry-content dd {
  margin-left: 0;
}

.entry-content tt,
.entry-content code {
  font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  font-size: 12px;
}

.entry-content pre {
  margin-top: 0;
  margin-bottom: 0;
  font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  font-size: 12px;
  word-wrap: normal;
}


.entry-content p,
.entry-content blockquote,
.entry-content ul,
.entry-content ol,
.entry-content dl,
.entry-content table,
.entry-content pre,
.entry-content details {
  margin-top: 0;
  margin-bottom: 16px;
}


.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ol,
.entry-content ol ul {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content li>p {
  margin-top: 16px;
}

.entry-content li+li {
  margin-top: .25em;
}

.entry-content dl {
  padding: 0;
}

.entry-content dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}

.entry-content dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}

.entry-content table th {
  font-weight: 600;
}

.entry-content table th,
.entry-content table td {
  padding: 6px 13px;
  border: 1px solid var(--color-border-default);
}

.entry-content table tr {
  background-color: var(--color-canvas-default);
  border-top: 1px solid var(--color-border-muted);
}

.entry-content table tr:nth-child(2n) {
  background-color: var(--color-canvas-subtle);
}

.entry-content table img {
  background-color: transparent;
}

.entry-content img[align=right] {
  padding-left: 20px;
}

.entry-content img[align=left] {
  padding-right: 20px;
}

.entry-content .emoji {
  max-width: none;
  vertical-align: text-top;
  background-color: transparent;
}


.entry-content li {
  margin-bottom: 1rem;
  line-height: 28px;
}

.entry-content ol {
  list-style: auto;
}

@media screen and (max-width:767px) {
  
  .wp-block-media-text__content {
    margin-top: 2rem;
    padding: 0px!important;
  }
}

.o-list .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.o-list p {
  text-align: center;
  padding: 5px 10px !important;
  width: 270px;
}
@media screen and (max-width:767px) {
  .o-list p {
    width: 250px;
  }

  .o-pc-only figure {
    display: none;
}

}