/* article.css */

/* 記事デザイン */
.page .main,
.single .main {
  background: #fff;
  border-radius: 14px;
  margin-top: 23px;
  margin-bottom: 10px;
  padding-top: 10px;
  width: 730px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 3px;
}

#container .entry-content> :not(.toc):not(h2):not(h3):not(h4):not(h5):not(h6),
.article p {
  margin: 0 1.2em 1.8em 1.2em;
}

/* 記事タイトル */
#container .entry-title {
  font-size: 26px;
  margin-bottom: 25px;
}

/* アイキャッチ */
#container .eye-catch {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#container .eye-catch img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#container .eye-catch img {
  margin-bottom: 25px;
  border-radius: 5px;
}

#container .eye-catch .cat-label {
  top: 1em;
  left: 1em;
  padding: 2px 8px 0px;
  border: inherit;
}

/* アイキャッチ下のSNSボタン */
#container .sns-share.ss-col-6 a {
  width: 15%;
  border-radius: 5px;
  height: 40px;
}

#container .sns-share.ss-high-and-low-lc a>span {
  padding-top: 1px;
}

#container .sns-share,
#container .sns-follow {
  margin: 0px 26px 15px;
}

#container .date-tags {
  margin-right: 25px;
}

/* 目次 */
#container .toc-content {
  animation: none !important;
  transition: none !important;
}

#container .toc {
  border-radius: 5px;
  border: inherit;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
  width: 90%;
  margin: 0 auto;
}

#container .toc-title {
  font-size: 1.3em;
  padding: 12px 16px;
  color: #666;
  font-weight: bold;
}

#container .toc-content ul li a {
  font-size: 15px;
  line-height: 1.1;
  min-height: 1.7em;
  color: #555;
  display: block;
  padding-left: 2.5em;
  padding-bottom: 10px;
  width: calc(100% - 1em);
  margin-top: -26px;
  margin-bottom: 20px;
}

#container .toc-content li a:hover {
  color: #9b9b9b;
  text-decoration: none;
}

#container .toc-content ul ul {
  padding-left: 3em;
  padding-bottom: 5px;
}

#container .toc-content>ul>li {
  counter-increment: toc-counter;
}

#container .toc-content>ul>li:before {
  content: counter(toc-counter) '';
  margin: 0.3em 0.9em 0.5em 0.1em;
  color: #ffffff;
  position: relative;
  background-color: var(--uki-main-color);
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  width: 1.7em;
  height: 1.7em;
  line-height: 1.8em;
}

#container .toc-content ul ul li:before {
  content: '● ';
  color: var(--uki-main-color);
  position: relative;
  font-size: 8px;
  top: -7px;
}

#container .toc-list.open>li {
  list-style-type: inherit;
  border-bottom: 1px dashed #ccc;
}

#container .toc-content ul ul li {
  padding-left: 0em;
  margin-top: -20px;
  margin-bottom: 20px;
}

#container .toc-content ul li ul li a {
  padding-left: 1em;
}

#container .toc-content li:last-child {
  border-bottom: none;
}

#container .toc-content>ul>li>a {
  font-weight: bold;
}

#container .article .toc {
  margin-bottom: 5em;
}

#container .toc-content ul li a {
  margin-bottom: 0px;
}

#container .toc-content ul li ul li:first-child a {
  margin-top: 0px;
}

#container .toc-content ul ul li:first-child:before {
  top: 20px;
}

#container .toc-content ul li ul li:before:first-child {
  margin-top: 10px;
}

#container .toc li ul li:last-child a {
  margin-bottom: -18px;
}

:target {
  scroll-margin-top: 27px;
  /* ここで上部マージンを調整できます */
}

/* 記事見出し */
#container .article h1,
#container .article h2,
#container .article h3,
#container .article h4,
#container .article h5,
#container .article h6 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  line-height: 1.4;
  color: #666;
  border: 0px;
  border-radius: 0;
  margin-bottom: 25px;
}

#container .entry-content.cf h2 {
  font-size: 1.8em;
  border-left: 6px solid var(--uki-main-color);
  padding: 0.8em 0.6em;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  background: var(--uki-main-color-transparent-h);
}

#container .entry-content.cf h3 {
  border-bottom: 1px solid var(--uki-main-color-transparent-h);
  font-size: 1.6em;
  border-radius: 5px;
  background: var(--uki-main-color-transparent-b);
}

#container .entry-content.cf h4 {
  font-size: 1.4em;
  border-bottom: 2px solid var(--uki-main-color-transparent-h);
  padding: 5px 5px 5px 10px;
}

#container .entry-content.cf h5 {
  font-size: 1.2em;
  border-left: 3px solid var(--uki-main-color-transparent-h);
  padding: 3px 5px 3px 10px;
}

#container .entry-content.cf h6 {
  font-size: 1.1em;
  color: #7f7f7f;
  padding: 5px 5px 5px 13px;
}

#container .cat-link {
  background-color: var(--uki-main-color);
  padding: 3px 10px;
  border-radius: 30px;
}

/* 記事中の画像 */
#container .wp-block-image img {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* テーブル */
#container .wp-block-table thead {
  border-bottom: 1px solid;
}

#container .wp-block-table tfoot {
  border-top: 1px solid;
}

#container .entry-content .scrollable-table table {
  width: 100%;
  border-collapse: collapse;
}

#container .scrollable-table.stfc-sticky tr>*:first-child {
  background-color: #fff;
}

#container .entry-content .scrollable-table td,
#container .entry-content .scrollable-table th {
  padding: 3px 10px;
  text-align: left;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-left: none;
  border-right: none;
  background: #fff;
}

/* 引用 */
#container blockquote {
  border: inherit;
  border-radius: 5px;
  padding: 2em 2em;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

/* ブログカード */
#container .blogcard {
  padding: 20px 20px 18px;
  border: none;
  border-radius: 0px;
  position: relative;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

#container .entry-content .blogcard-wrap {
  margin-bottom: 40px;
}

#container .blogcard-title {
  font-weight: normal;
  margin-bottom: 0.4em;
}

#container .blogcard-thumbnail {
  position: relative;
  width: 115.56px;
  height: 65px;
  overflow: hidden;
  border-radius: 0px;
}

#container .blogcard-thumbnail::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

#container .blogcard-thumbnail img {
  position: absolute;
  top: 0;
  left0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

#container .blogcard-content {
  margin-left: 137px;
  min-height: 80px;
}

#container .blogcard-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#container .blogcard-footer {
  display: none;
}

#container .blogcard-wrap.external-blogcard-wrap.a-wrap:hover {
  background: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#container .blogcard::before {
  content: 'あわせて読みたい';
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: var(--uki-main-color);
  padding: 2px 5px 0px;
  font-size: 12px;
  color: #fff;
}

/* 記事下のタグ */
#container .entry-tags .tag-link {
  border: inherit;
  border-radius: 2px 14px 14px 2px;
  color: #7b7b7b;
  margin: 3px;
  background: #F5F6F7;
}

/* 関連記事 */
#container .rect-vertical-card .related-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#container .rect-vertical-card .related-entry-card-wrap {
  margin-right: 20px;
  margin-bottom: 20px;
  width: 22.017%;
}

#container .rect-vertical-card .related-entry-card-wrap {
  margin-right: 20px;
  border-radius: 8px;
}

#container .rect-vertical-card .related-entry-card-thumb img {
  border-radius: 8px 8px 0px 0px;
}

#container .related-entry-card-wrap {
  padding: 0px 0px 15px !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

#container .related-entry-card-content.card-content.e-card-content {
  padding: 0px 10px 0px !important;
}

#container .rect-vertical-card .related-entry-card-title {
  font-size: 14px;
  line-height: 1.3;
}

#container .related-entry-card-wrap:hover {
  transform: translateY(-1.5px);
  transition: all 0.05s;
  background: #fff;
}

#container .related-entry-heading,
#container .comment-title {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  color: #666;
  font-size: 22px;
}

#container .related-entry-heading:before,
#container .comment-title:before {
  position: absolute;
  bottom: 15px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 10px;
  background: var(--uki-main-color);
}

/* 次記事、前記事 */
#container .pager-post-navi a {
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  width: 40%;
}

#container .pager-post-navi a:first-child {
  margin-right: auto;
}

#container .pager-post-navi a:last-child {
  margin-left: auto;
}

#container .pager-post-navi.post-navi-square a {
  width: 41%;
  padding: 10px;
}

#container .pager-post-navi .card-thumb img {
  height: 70px;
  border-radius: 5px;
  width: 90%;
  object-fit: cover;
}

#container .pager-post-navi a figure {
  min-width: 80px;
  max-width: 120px;
}

/* コメントボタン */
#container .comment-btn {
  font-weight: 500;
  color: #fff;
  border: inherit;
  border-radius: 30px;
  background: var(--uki-main-color);
  width: 70%;
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

/* CTA */
#container .widget_cta_box .widget-single-content-bottom-title.main-widget-label {
  font-size: 18px;
  text-align: center;
  width: 100%;
  font-weight: bold;
}

#container .widget_cta_box .widget-single-content-bottom-title.main-widget-label:before {
  content: '|';
  margin-right: 0.5em;
  font-weight: bold;
  font-size: 25px;
  display: inline-block;
  transform: rotate(-45deg);
  vertical-align: -2px;
}

#container .widget_cta_box .widget-single-content-bottom-title.main-widget-label:after {
  content: '|';
  margin-left: 0.5em;
  font-weight: bold;
  font-size: 25px;
  display: inline-block;
  transform: rotate(45deg);
  vertical-align: -2px;
}

#container .cta-box {
  border-radius: 10px;
  background-image: linear-gradient(to right, #233b43, #95afc1);
  padding: 15px 40px 40px;
  box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
}

#container .cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#container .btn {
  border-radius: 50px;
  box-shadow: none;
}

#container .btn:hover {
  border-radius: 50px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#container .cta-heading {
  margin-bottom: 0.5em;
  text-align: center;
}

#container .cta-content {
  display: block;
  font-size: 18px;
  margin-bottom: 1.8em;
}

#container .cta-thumb {
  text-align: center;
  margin-bottom: 1em;
}

#container img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}