@charset "UTF-8";
/*
Theme Name:   Tenpo Select
Theme URI:    https://the-sonic.jp
Description:  THE SONICカスタマイズ用子テーマ
Author:       SONIC Team / Tenpo Select
Author URI:   https://the-sonic.jp
Template:     thesonic
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

.article {
  padding: var(--block-padding-base) 0;
}
.article-content {
  padding: 0 var(--inline-padding-base);
  max-width: 832px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 16px;
}
.article-title {
  font-size: var(--font-size-xxl);
  font-weight: bold;
  line-height: 1.4;
  text-align: justify;
}
.article-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--font-size-sm);
  align-items: flex-end;
}
.article-date {
  font-size: 15px;
  line-height: 1.0;
  color: #aaa;
}
.article-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-categories ul li a {
  display: block;
  background-color: var(--main-color);
  color: #fff;
  padding: 0 8px;
  line-height: 1.6;
}
.article-hero-image {
  margin-top: 16px;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: var(--block-padding-base) 0;
  font-size: var(--font-size-base);
}
.article-body > p {
  line-height: 1.7;
  margin-bottom: 1.5em;
}
.article-body > h2 {
  font-size: var(--font-size-xl);
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 1.5em;
}
.article-body > h3 {
  font-size: var(--font-size-lg);
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 1.5em;
}
.article-body > p + div,
.article-body > p + table,
.article-body > p + aside,
.article-body > p + figure {
  margin-top: 2.0em;
}
.article-body > div + div,
.article-body > div + table,
.article-body > div + aside,
.article-body > div + figure {
  margin-top: 1.2em;
}
.article-body > h2:first-child,
.article-body div > h2:first-child,
.article-body > h3:first-child,
.article-body div > h3:first-child,
.article-body > h4:first-child,
.article-body div > h4:first-child {
  margin-top: 0;
}
.article-body table {
  font-size: var(--font-size-sm);
  line-height: 1.4;
}
.article-body > ul {
  list-style: disc;
  padding-left: 1em;
  margin-bottom: 2em;
}
.article-body > ul[class*=is-style-list] {
  list-style: none;
  padding-left: 3em;
}

.article-body > ul li {
  margin-bottom: 0.5em;
}
.article-body figure {
  margin-bottom: 1em;
}
.article-body figcaption {
  font-size: var(--font-size-xs);
  text-align: left;
  margin-top: 8px;
  color: #888;
}
.article-body > blockquote {
  margin-left: 0;
  margin-right: 0;
}

.article-footer {
  padding-top: var(--block-padding-base);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tags a {
  font-size: var(--font-size-sm);
  line-height: 2;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 0 8px;
  border-radius: 4px;
  transition: all 0.3s;
}
.article-tags a:hover {
  text-decoration: none;
  background-color: var(--bg-color);
}


.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.post-list-item {
  width: 100%;
}
.post-list-item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.post-list-item a:hover {
  text-decoration: none;
}
.post-list-item .post-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f0f0f0;
}
.post-list-item .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}
.post-list-item a:hover .post-thumbnail img {
  transform: scale(1.05);
}
.post-list-item .post-thumbnail .no-image {
  color: #aaa;
  font-size: 18px;
  transition: all 0.3s;
}
.post-list-item a:hover .post-thumbnail .no-image {
  transform: scale(1.05);
}
.post-list-item .post-title {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4;
  text-align: justify;
  color: #222;
  transition: all 0.3s;
}
.post-list-item a:hover .post-title {
  color: #656565;
}
.post-list-item .post-date {
  font-size: 12px;
  color: #aaa;
  margin-top: auto;
}

@media screen and (min-width: 480px) {
  .post-list-item {
    width: calc((100% - 16px) / 2);
  }
}
@media screen and (min-width: 960px) {
  .post-list {
    gap: 24px;
  }
  .post-list-item {
    width: calc((100% - 48px) / 3);
  }
}

.pagination {
  padding: var(--block-padding-base) 0 0;
  margin-top: 16px;
}
.pagination ul {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.pagination a.page-numbers {
  display: block;
  width: 40px;
  line-height: 40px;
  color: var(--main-color);
  text-align: center;
  font-weight: bold;
  background-color: transparent;
  transition: all 0.3s;
}
.pagination a.page-numbers:hover {
  transform: scale(1.2);
}
.pagination span.page-numbers.current {
  display: block;
  width: 40px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  background-color: var(--main-color);
  border-radius: 4px;
}
.pagination span.page-numbers.dots {
  color: #aaa;
  font-weight: bold;
}

#mkj {
  border-top: none;
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin-bottom: 1.5em;
  border-radius: 16px;
  overflow: hidden;
}
#mkj .mkj-title {
  padding: 0;
  line-height: 56px;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  border-bottom: none;
  color: var(--text-color);
}
#mkj .mkj-openclose {
  padding: 0 8px;
  line-height: 24px;
  font-size: 14px;
  box-sizing: border-box;
  right: 16px;
  top: 15px;
  background-color: transparent;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 8px;
}
#mkj .mkj-content {
  border-bottom: none;
}
#mkj .mkj-content-in {
  padding: var(--block-padding-base) var(--block-padding-base);
  background-color: transparent;
}
#mkj .mkj-list {
  padding-left: 2.0em;
}
#mkj li {
  margin-bottom: 8px;
  line-height: 1.5;
}
#mkj li > ol {
  margin-top: 8px;
}
#mkj a {
  padding: 0;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text-color);
  display: inline;
}
#mkj a:hover {
  text-decoration: underline;
}
#mkj .mkj-list li > ol a {
  font-size: var(--font-size-xs);
}
#mkj .mkj-list>li:before {
  top: 0;
  line-height: inherit;
  width: auto;
  text-align: left;
  left: -2.0em;
  content: counter(num) ".";
}
#mkj .mkj-list ol li:before {
  top: 0;
  line-height: inherit;
  border: none;
  content: '-';
}
#mkj .mkj-content:after {
  content: none;
}
#mkj .mkj-list-child-3 > .mkj-list-child-3 {
  list-style: decimal;
  padding-left: 1.8em;
}

.huki-name {
  font-size: var(--font-size-xs)!important;
  color: #666!important;
  opacity: 1!important;
}
