.main {
  min-width: 100%;
}

.page-heading {
  margin-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .page-heading {
    margin-inline: 0;
  }
}

.page-wrapper {
  padding-block-end: 40px;
}

.page-section {
  padding-block-end: 0;
}

.column-contents {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  gap: 8px;
  border-top: 1px solid #e2e2e2;
}

@media (min-width: 768px) {
  .column-contents {
    border: 1px solid #e2e2e2;
    padding-inline: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
  }
}

.column-contents * {
  margin: revert;
  word-break: break-word;
  list-style: revert;
}

.column-contents ul,
.column-contents ol {
  padding: revert;
}

.column-contents p {
  line-height: 1.8;
}

.column-content > ul:has(> li > a.aioseo-toc-item) {
  border: #ccc solid 1px;
  background: #f9f9f9;
  padding: 20px 24px;
  margin-block: 24px;
  list-style: none;
  counter-reset: toc-counter;
}

.column-content > ul:has(> li > a.aioseo-toc-item) ul {
  list-style: none;
  counter-reset: toc-counter;
  padding-left: 1em;
}

.column-content > ul:has(> li > a.aioseo-toc-item) li {
  counter-increment: toc-counter;
}

.column-content
  > ul:has(> li > a.aioseo-toc-item)
  li
  > a.aioseo-toc-item::before {
  content: counters(toc-counter, '.') '. ';
}

.column-content .aioseo-toc-item {
  color: var(--main-color);
  text-decoration: none;
}

.column-content .aioseo-toc-item:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.wp-block-button__link:hover {
  opacity: 0.7;
}

.column-header {
  padding-inline: var(--content-spacing);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .column-header {
    padding-inline: 0;
    font-size: 16px;
  }
}

.column-header .column-types {
  background-color: var(--main-color);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  font-weight: bold;
}

.column-header .column-type {
  font-weight: 700;
  margin: 0;
}

.column-header .time {
  padding-block: 15px;
  white-space: nowrap;
  margin-left: auto;
  color: #949494;
  font-weight: bold;
}

.column-keywords {
  padding: 8px var(--content-spacing) 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media (min-width: 768px) {
  .column-keywords {
    padding: 12px 0 16px;
  }
}

.column-keyword {
  border: 1px solid #e2e2e2;
  border-radius: 15px;
  padding: 3px 10px 3px 28px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
}

.column-keyword:hover {
  color: var(--main-color);
  border-color: var(--main-color);
}

.column-keyword .tag {
  color: #d5d5d5;
  position: absolute;
  top: 3px;
  left: 3px;
  margin-left: 4px;
  margin-top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 1px 1px 1px 0px;
  border-left: solid 1px currentColor;
  border-top: solid 1px currentColor;
}

.column-keyword .tag::before {
  content: '';
  position: absolute;
  color: #d5d5d5;
  left: 1px;
  top: 1px;
  width: 9px;
  height: 10px;
  border-radius: 1px;
  border-left: solid 1px currentColor;
  border-right: solid 1px currentColor;
  border-bottom: solid 1px currentColor;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.column-keyword .tag::after {
  content: '';
  position: absolute;
  color: #d5d5d5;
  left: 3px;
  top: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: currentColor;
}

.column-title {
  font-size: 20px;
  line-height: 1.4;
  color: #333;
  font-weight: 700;
  padding: 16px var(--content-spacing) 0;
  margin: 0;
}

@media (min-width: 768px) {
  .column-title {
    padding: 16px 0 0;
    font-size: 24px;
  }
}

.column-catch img {
  width: 100%;
  height: auto;
  object-fit: contain;
  font-family: 'object-fit: contain;';
}

.column-content {
  padding-block: 20px;
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .column-content {
    padding-inline: 0;
  }
}

.column-area {
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .column-area {
    padding-inline: 0;
  }
}

.column-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block-start: 16px;
}

@media (min-width: 768px) {
  .column-block {
    padding-block-start: 0;
    margin-block-start: 16px;
    border: 1px solid #ccc;
    padding-block-end: 60px;
    gap: 40px;
  }

  .column-block[data-image-count='0'] {
    padding-block-start: 40px;
  }
}

.other-columns {
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .other-columns {
    padding-inline: 0;
  }
}

.other-columns .other-columns-title {
  padding: 0 0 15px;
  font-size: 18px;
  text-align: center;
  color: #333;
  border-bottom: 2px solid var(--main-color);
}

.other-columns .list {
  padding-block-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 600px) {
  .other-columns .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .other-columns .list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

.other-columns .list-link-wrapper {
  display: flex;
  justify-content: center;
  padding-block-start: 20px;
}

.other-columns .list-link {
  padding: 24px 24px;
  font-size: 17px;
  color: #333;
  text-align: center;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-color: var(--main-color);
  background: #fff;
  max-width: 500px;
  width: 100%;
}

.other-columns .list-link:hover {
  opacity: 0.7;
}

.pagerSingle {
  border-top: 1px solid #e2e2e2;
  margin-inline: var(--content-spacing);
  padding-top: 10px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .pagerSingle {
    margin-inline: 0;
  }
}

.pagerSingle::before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: calc(100% - 10px);
  background: #e2e2e2;
  left: 50%;
}

.pageLink {
  width: calc((100% - 21px) / 2);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 10px;
  align-items: center;
  position: relative;
  float: left;
}

.pageLink.prevPage {
  grid-template-columns: 1fr auto;
  float: right;
}

@media (min-width: 768px) {
  .pageLink {
    grid-template-columns: auto auto 1fr;
  }

  .pageLink.prevPage {
    grid-template-columns: 1fr auto auto;
  }
}

.pageLink .link {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.pageLink .link:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.pageLink .arrow {
  width: 10px;
  position: relative;
}

.pageLink .arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  transform: translate(0%, -50%) rotate(135deg);
  border-color: var(--main-color);
}

.pageLink.prevPage .arrow::before {
  transform: translate(0%, -50%) rotate(-45deg);
}

.pageLink .pagerNav {
  background: #f5f5f6;
  text-align: center;
  padding: 3px;
  font-size: 13px;
  margin: 0;
  grid-column: 1 / span 3;
}

.pageLink .thumbnail {
  display: none;
}

@media (min-width: 768px) {
  .pageLink .thumbnail {
    width: 60px;
    height: 40px;
    display: block;
    margin: 0;
  }

  .pageLink .thumbnail .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.pageLink .textTitle {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
}

.sns {
  display: flex;
  margin-inline: var(--content-spacing);
  gap: 5px;
}

@media (min-width: 768px) {
  .sns {
    margin-inline: 0;
  }
}

.sns-link {
  border-radius: 3px;
  width: 100%;
  max-width: 120px;
  padding: 8px 10px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
}

.sns-link:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .sns-link {
    width: auto;
    padding-block: 5px;
  }
}

.sns-link i {
  margin-right: 0.5em;
  font-size: 14px;
}

.sns-link-x {
  background-color: #000;
}

.sns-link-fb {
  background-color: #0866ff;
}

.sns-link-line {
  background-color: #06c755;
}

.wp-block-yallow {
  overflow: hidden;
  margin: 45px 0 60px;
  padding: 15px 15px 0;
  background: #ffe99e;
}

pre {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 24px;
  max-width: 100%;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family:
    'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo,
    Arial, Helvetica, sans-serif;
}
