@charset "UTF-8";
/* ---------------------------------------------------------
Theme Name: Sense Pro
Author: RandomSense
Author URI: https://randomsense.jp/
Last Updated: 2025-10-14
Text Domain: sense-pro
--------------------------------------------------------- */
/* Tailwind */
.ss-div {
  width: 100%;
}

.flex {
  display: flex;
}

.flex > img {
  max-width: 50%;
}

.center {
  justify-content: center;
}

/* Table of Contents */
.ss-toc {
  background: #edf8ff;
  border: 1px solid #edf8ff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 2em auto 20px;
  padding: 20px 24px;
  position: relative;
  width: 85%;
}
.ss-toc-list {
  list-style-position: inside;
  list-style-type: none;
  margin: 0;
}
.ss-toc-list li {
  line-height: 1.2;
  padding: 0.5em 0;
}
.ss-toc-list li.toc-h3 {
  font-size: 0.95em;
  margin-left: 1.8em;
  padding: 0.3em 0;
}
.ss-toc-list li.toc-h3 a {
  color: #333;
  font-size: 0.9em;
}

.ss-toc-title {
  border-bottom: 2px solid #0a0a0a;
  color: #0a0a0a;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.5;
  margin-bottom: 0.5em;
  padding-bottom: 6px;
}

.ss-toc-list.default {
  counter-reset: toc-number;
}
.ss-toc-list.default li {
  align-items: baseline;
  display: flex;
  padding: 0.5em 0;
}
.ss-toc-list.default li::before {
  content: counter(toc-number) ". ";
  counter-increment: toc-number;
  margin-right: 0.5em;
  white-space: nowrap;
}
.ss-toc-list.default li.toc-h3 {
  margin-left: 1.8em;
  padding: 0.3em 0;
}
.ss-toc-list.default li.toc-h3::before {
  content: none;
}
.ss-toc-list.default li.toc-h3 a {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  padding-left: 12px;
  position: relative;
  transition: all 0.2s ease;
}
.ss-toc-list.default li.toc-h3 a::before {
  border-bottom: 2px solid #64748b;
  border-right: 2px solid #64748b;
  content: "";
  height: 4px;
  width: 4px;
  border-width: 1.5px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.2s ease;
}
.ss-toc-list.default li.toc-h3 a:hover {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ss-toc-list.default li.toc-h3 a:hover::before {
  border-color: #0a0a0a;
  transform: translateY(-50%) translateX(3px) rotate(-45deg);
}
.ss-toc-list.default li a {
  color: #060607;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  min-width: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ss-toc-list.default li a:hover {
  color: #228be6;
  opacity: 0.9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-toc-list.arrow li a {
  align-items: center;
  color: #060607;
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}
.ss-toc-list.arrow li a::before {
  border-bottom: 2px solid #0a0a0a;
  border-right: 2px solid #0a0a0a;
  content: "";
  height: 6px;
  width: 6px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.2s;
}
.ss-toc-list.arrow li a:hover {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ss-toc-list.arrow li a:hover::before {
  transform: translateY(-50%) translateX(3px) rotate(-45deg);
}
.ss-toc-list.arrow li a:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}
.ss-toc-list.arrow li.toc-h3 a {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  padding-left: 12px;
  transition: all 0.2s ease;
}
.ss-toc-list.arrow li.toc-h3 a::before {
  border-bottom: 2px solid #64748b;
  border-right: 2px solid #64748b;
  content: "";
  height: 4px;
  width: 4px;
  border-width: 1.5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.2s ease;
}
.ss-toc-list.arrow li.toc-h3 a:hover {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ss-toc-list.arrow li.toc-h3 a:hover::before {
  border-color: #0a0a0a;
  transform: translateY(-50%) translateX(3px) rotate(-45deg);
}

.ss-toc-list.number {
  counter-reset: toc-number toc-h3-number;
}
.ss-toc-list.number li {
  align-items: baseline;
  display: flex;
  padding: 0.5em 0;
}
.ss-toc-list.number li::before {
  color: #060607;
  content: counter(toc-number) ". ";
  counter-increment: toc-number;
  font-weight: 600;
  margin-right: 0.5em;
  white-space: nowrap;
}
.ss-toc-list.number li.toc-h3 {
  margin-left: 1.8em;
  padding: 0.5em 0;
}
.ss-toc-list.number li.toc-h3::before {
  color: #333;
  content: counter(toc-number) "." counter(toc-h3-number) " ";
  counter-increment: toc-h3-number;
  font-size: 0.9em;
  font-weight: 500;
}
.ss-toc-list.number li:not(.toc-h3) + li:not(.toc-h3) {
  counter-reset: toc-h3-number;
}
.ss-toc-list.number li a {
  color: #060607;
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  min-width: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ss-toc-list.number li a:hover {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 追従型目次ボタン */
.ss-floating-toc {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ss-floating-toc.visible {
  opacity: 1;
  visibility: visible;
}

.ss-floating-toc-button {
  display: flex;
  align-items: center;
  background: #b2a18e;
  border-radius: 50px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  min-width: 50px;
  min-height: 50px;
}
.ss-floating-toc-button:hover {
  background-color: #b2a18e;
}
.ss-floating-toc-button[aria-expanded=true] {
  background: #b2a18e;
}
.ss-floating-toc-button i {
  font-size: 20px;
}
.ss-floating-toc-button i[class^=icon-]::before,
.ss-floating-toc-button i[class*=" icon-"]::before {
  transform: translateY(0%);
}

.ss-floating-toc-nav {
  position: absolute;
  bottom: 55px;
  right: 0;
  width: 280px;
  max-width: min(40vw, 100vw - 40px);
  max-height: 400px;
  background-color: #edf8ff !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}
.ss-floating-toc-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
@media screen and (max-width: 768px) {
  .ss-floating-toc-nav {
    max-width: 60vw;
  }
}

.ss-floating-toc-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: white;
}
.ss-floating-toc-nav-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}
.ss-floating-toc-nav-header button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: #64748b;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.ss-floating-toc-nav-header button:hover {
  background: #e2e8f0;
  color: #0a0a0a;
}
.ss-floating-toc-nav-header button:focus {
  outline: 2px solid #228be6;
  outline-offset: 2px;
}
@media screen and (max-width: 480px) {
  .ss-floating-toc-nav-header {
    padding: 10px 16px;
  }
  .ss-floating-toc-nav-header h3 {
    font-size: 14px;
  }
}

.ss-floating-toc-nav-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  max-height: 320px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .ss-floating-toc-nav-list {
    max-height: 50vh;
  }
}
.ss-floating-toc-nav-list li {
  margin: 0;
  padding: 0;
}
.ss-floating-toc-nav-list li.toc-h3 {
  padding-left: 20px;
}
.ss-floating-toc-nav-list li.toc-h4 {
  padding-left: 40px;
}
.ss-floating-toc-nav-list__link {
  display: block;
  padding: 8px 20px;
  color: #060607;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}
.ss-floating-toc-nav-list__link:hover {
  background: #f1f5f9;
  color: #0a0a0a;
  border-left-color: #0a0a0a;
}
.ss-floating-toc-nav-list__link:focus {
  outline: 2px solid #228be6;
  outline-offset: -2px;
}
.toc-h3 .ss-floating-toc-nav-list__link {
  font-size: 13px;
  color: #333;
  padding-left: 20px;
}
@media screen and (max-width: 480px) {
  .ss-floating-toc-nav-list__link {
    font-size: 13px;
    padding: 6px 16px;
  }
}
.ss-floating-toc-nav-list::-webkit-scrollbar {
  width: 6px;
}
.ss-floating-toc-nav-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
.ss-floating-toc-nav-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.ss-floating-toc-nav-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.fx-img.scrollable {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.fx-img.scrollable img {
  width: 100%;
  height: auto;
  display: block;
}

.fx-img.expanded {
  width: 100%;
  aspect-ratio: auto;
}

.copyright-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.copyright-label:hover {
  background: rgba(255, 255, 255, 0.9);
}
.copyright-label i {
  font-weight: 500 !important;
  font-size: 20px;
}
@media screen and (max-width: 700px) {
  .copyright-label {
    font-size: 12px;
  }
  .copyright-label i {
    font-size: 16px;
  }
}

/* -------------------- Setup -------------------- */
h1 {
  font-size: 28px;
  line-height: 1.35;
}

h2 {
  font-size: 22px;
  line-height: 1.35;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
}

a {
  color: #0086cc;
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover {
  opacity: 0.8;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
@media screen and (max-width: 700px) {
  p {
    font-size: 15px;
  }
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

blockquote {
  background-color: #f4f4f4;
  margin-bottom: 25px;
  padding: 60px 25px 10px;
  position: relative;
}
blockquote::before {
  color: #ddd;
  content: "\f130";
  font-family: ss-font;
  font-size: 30px;
  font-weight: 900;
  left: 20px;
  position: absolute;
  text-decoration: none;
  top: 15px;
}

button {
  font-size: 30px;
  transition: background 0.2s, opacity 0.2s;
}
button:hover {
  background: #e8eaed;
  opacity: 0.7;
}

pre {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 10px;
  white-space: pre-wrap;
}

iframe {
  border: 0;
}

/* -------------------- Start -------------------- */
html,
body {
  min-height: 100vh;
}

body {
  background-color: #fafafa;
  color: #202124;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif, ss-font;
  min-width: 350px;
  --bottom-content-offset: 0px;
}

/* -------------------- Layout -------------------- */
.contents-layout {
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  margin-top: 20px;
  max-width: 1020px;
}
@media screen and (min-width: 1020px) {
  .contents-layout {
    gap: 20px;
  }
}
@media screen and (max-width: 1020px) {
  .contents-layout {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    padding: 0 30px;
  }
}
@media screen and (max-width: 700px) {
  .contents-layout {
    justify-content: center;
    margin: 0;
    padding: 0;
  }
}

main {
  margin-inline: auto;
}

.main-contents {
  background-color: white;
  border-radius: 8px;
  position: relative;
  width: calc(100% - 250px);
}
@media screen and (min-width: 1020px) {
  .main-contents {
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 30px 45px;
  }
}
@media screen and (max-width: 1020px) {
  .main-contents {
    border-radius: 8px;
    padding: 25px 40px;
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .main-contents {
    border-radius: 0;
    padding: 20px;
    transition: all 0.3s ease;
  }
}
@media screen and (max-width: 480px) {
  .main-contents {
    margin: 0;
    padding: 20px 15px;
  }
}

.content-top,
.contents-bottom {
  margin-inline: auto;
  margin-top: 10px;
  max-width: 1020px;
  padding: 0 15px;
}

.l-404 {
  min-height: 30vh;
}

.l-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 310px;
}
@media screen and (max-width: 1020px) {
  .l-side {
    margin-top: 20px;
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .l-side {
    padding: 0 20px;
  }
}
@media screen and (max-width: 480px) {
  .l-side {
    padding: 0 10px;
  }
}
.l-side__scroll {
  position: sticky;
  top: 5px;
}

table {
  border: 1px solid #d4d4d4;
  border-collapse: collapse;
  box-sizing: border-box;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
}

table tr td,
.wp-block-table table tr td {
  border: 1px solid #d4d4d4;
  box-sizing: border-box;
  padding: 10px;
  vertical-align: top;
  word-break: break-word;
}

/* ---------- Header ---------- */
.l-header {
  background-color: white;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1), 0 4px 4px -4px rgba(0, 0, 0, 0.1);
  margin-inline: auto;
  position: relative;
}
@media screen and (max-width: 700px) {
  .l-header {
    border-radius: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
}

.headbox {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1020px;
  padding: 8px 0;
}
@media screen and (max-width: 1020px) {
  .headbox {
    height: 50px;
    margin: 0 25px;
  }
}
@media screen and (max-width: 700px) {
  .headbox {
    margin: 0 15px;
  }
}
.headbox a {
  border-radius: 6px;
  padding: 5px 0;
  transition: all 0.3s ease;
}
.headbox__logo {
  order: 2;
}
.headbox__logo:hover {
  background-color: #f1f1f1;
  opacity: 0.8;
}
.headbox__left {
  width: 175px;
}
.headbox__right {
  display: flex;
  justify-content: flex-end;
  order: 3;
  width: 175px;
}

.site-name {
  font-size: 26px;
}
.site-name a {
  color: #000;
  font-weight: bold;
}

.search-box {
  align-items: center;
  display: flex;
  padding: 5px 0;
}
.search-box input {
  border: 0;
  outline: 0;
  padding: 0;
  transition: width 0.5s;
  width: 0;
}
.search-box.visible {
  background-color: #e8eaed;
  opacity: 0.8;
  outline: 2px solid rgb(0, 95, 204);
}
.search-box.visible input {
  height: 30px;
  padding: 0 5px;
  width: 150px;
}
.search-box.open {
  display: block;
}

.js-search-button {
  border-radius: 50%;
  color: #202124;
  font-size: 25px;
  height: 30px;
  padding: 0;
}

/* header-nav */
.header-nav {
  border-top: 1px solid #eee;
  height: 45px;
  margin-inline: auto;
  max-width: 1020px;
}
.header-nav a {
  color: #333;
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 45px;
  padding: 0 15px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}
.header-nav a:hover {
  color: #0086cc;
}
.header-nav a:hover::after {
  width: 100%;
}
.header-nav a::after {
  background: #cfc0b5;
  bottom: 0;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 0.3s;
  width: 0;
}
@media screen and (max-width: 700px) {
  .header-nav {
    display: none;
  }
}

.header-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  overflow: hidden;
  -ms-overflow-style: none;
  overflow-x: scroll;
  scrollbar-width: none;
  text-align: center;
  white-space: nowrap;
}
.header-menu::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 700px) {
  .headbox__left {
    display: none;
  }
}
/* ---------- Footer ---------- */
.l-footer {
  background: #333;
  color: white;
  margin-top: 30px;
  position: sticky;
  top: calc(100vh - var(--bottom-content-offset, 0px));
  transition: top 0.3s ease;
  width: 100%;
  z-index: 10;
}
.l-footer a {
  color: white;
  text-decoration: none;
}
.l-footer i {
  font-size: 20px;
  vertical-align: super;
}

body.bottom-content-detected {
  --bottom-content-offset: 100px;
}

@media screen and (width <= 768px) {
  body.bottom-content-detected {
    --bottom-content-offset: 90px;
  }
  .l-footer {
    top: calc(100vh - var(--bottom-content-offset, 0px));
  }
}
.footer-contents {
  margin-inline: auto;
  max-width: 1020px;
}
@media screen and (max-width: 1020px) {
  .footer-contents {
    width: 90%;
  }
}

.footer-nav {
  margin-bottom: 10px;
}
.footer-nav ul {
  display: flex;
  font-size: 13px;
  justify-content: center;
  list-style: none;
}
.footer-nav li {
  padding: 0 10px;
}
.footer-nav a {
  text-align: center;
}

.footer-page-top {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-page-top a {
  background-color: gray;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
  font-size: 13px;
  padding: 10px 40px;
  text-align: center;
}

.copyright p {
  font-size: 11px;
  margin: 0;
  text-align: center;
}

.symbol {
  align-items: center;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.symbol span {
  background-color: #dba39a;
  display: block;
  height: 1px;
  transition: all 0.4s ease;
  width: 100%;
}

.panel {
  background-color: #fefcf3;
  list-style-type: none;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.2s ease;
}
.panel li {
  margin: 10px;
}

.active {
  background-color: #f5ebe0;
  max-height: 1000px;
  transition: max-height 0.2s ease;
}

/* ---------- Home ---------- */
.home-articles-slider {
  margin-inline: auto;
  margin-top: 20px;
  max-width: 1020px;
  padding: 0 15px;
}
@media screen and (max-width: 700px) {
  .home-articles-slider {
    margin-bottom: 20px;
    padding: 0 10px;
  }
}

.l-home-main {
  margin: 0 20px;
}

.l-home-main > .article-list {
  margin-top: 0;
}

/* ---------- Article ---------- */
.l-article h2 {
  background: #fafafa;
  font-size: 22px;
  line-height: 30px;
  margin: 25px 0 15px;
  padding: 15px 0;
  padding-left: 15px;
  position: relative;
}
.l-article h2::before {
  background-color: #cfc0b5;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}
.l-article h3 {
  font-size: 18px;
  line-height: 25px;
  margin: 20px 0;
  padding: 10px 0;
  position: relative;
}
.l-article h3::after {
  background: #cfc0b5;
  background: linear-gradient(to left, #f2f2f2 0%, #cfc0b5 100%);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}

/* Image */
.wp-caption {
  height: auto;
  margin-bottom: 7px;
  max-width: 100%;
}
.wp-caption p {
  margin: 0;
}

.wp-caption-text {
  color: gray;
  font-size: 13px;
  line-height: 30px;
  text-align: center;
}
@media screen and (max-width: 700px) {
  .wp-caption-text {
    font-size: 12px;
  }
}
.wp-caption-text a {
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  font-size: 13px;
  list-style-type: none;
  margin-bottom: 10px;
  white-space: nowrap;
}
.breadcrumb li {
  display: inline-flex;
  line-height: 13px;
  margin-right: 3px;
}
.breadcrumb a {
  color: #333;
  margin-right: 3px;
}

.easy-find {
  display: flex;
  flex-flow: wrap;
  gap: 3px;
  list-style: none;
  margin-bottom: 10px;
}
.easy-find li {
  border: 1px solid #333;
  border-radius: 2px;
  padding: 2px 5px;
}
.easy-find a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
}

.title {
  font-size: 28px;
  font-weight: 600;
  line-height: 35px;
}
@media screen and (max-width: 700px) {
  .title {
    font-size: 24px;
    line-height: 30px;
  }
}
@media screen and (max-width: 480px) {
  .title {
    font-size: 20px;
    line-height: 30px;
    padding: 5px 0;
  }
}

.article-top {
  font-size: 13px;
  margin-bottom: 20px;
}

.eyecatch img {
  border-radius: 8px;
}

/* Article Middle */
.article-content {
  margin-bottom: 30px;
}
.article-content p > a {
  text-decoration: underline;
}
.article-content a:hover {
  opacity: 0.7;
}
.article-content ul, .article-content li {
  line-height: 30px;
}
.article-content ol:not(.ss-toc-list),
.article-content ul:not(.graybox > ul, .yellowbox > ul) {
  list-style-position: inside;
  margin-bottom: 20px;
}

/* -------------------- Detail -------------------- */
/* Share */
.share-button {
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style-type: none;
  overflow: auto;
  padding: 10px 0;
  white-space: nowrap;
}
.share-button a {
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(71, 70, 70, 0.1);
  color: white;
  display: inline-flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  transition: all 0.2s ease;
  width: 40px;
}
.share-button a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0.7;
}
.share-button a i[class^=icon-]::before,
.share-button a i[class*=" icon-"]::before {
  transform: translateY(0%);
}

.x {
  background-color: #333;
}

.facebook {
  background-color: #1877f2;
}

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

.bluesky {
  background-color: #1da1f2;
}

.about-copy {
  background-color: #555;
}

/* -------------------- Page -------------------- */
.page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 35px;
  margin-bottom: 20px;
}
@media screen and (max-width: 700px) {
  .page-title {
    font-size: 25px;
    line-height: 30px;
  }
}
@media screen and (max-width: 480px) {
  .page-title {
    font-size: 22px;
    line-height: 29px;
    padding: 5px 0;
  }
}

.page-top {
  margin-bottom: 10px;
}

/* ---------- Author ---------- */
.profile-card {
  background: linear-gradient(135deg, #f9f9f9, #fff);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(111, 78, 55, 0.2);
  display: flex;
  gap: 20px;
  padding: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.profile-card__avatar img {
  border: 4px solid #fff;
  border-radius: 50%;
  height: 90px;
  transition: transform 0.3s ease;
  width: 90px;
}
.profile-card__avatar img:hover {
  transform: scale(1.05);
}
.profile-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-card__name {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.profile-card__name a {
  color: #1a1a1a;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.profile-card__name a:hover {
  color: #0073aa;
}
.profile-card__description {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}
.profile-card__sns {
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  gap: 10px;
  list-style: none;
  margin: 0;
}

@media (width <= 768px) {
  .profile-card {
    align-items: center;
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
}
.article-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0;
  width: 100%;
}
@media screen and (width <= 400px) {
  .article-list {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
}

.article-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1), 0 4px 4px -4px rgba(0, 0, 0, 0.1);
  list-style: none;
  overflow: hidden;
  transition: all 0.5s;
  width: 100%;
}
@media screen and (max-width: 700px) {
  .article-card {
    margin: 0;
    max-width: 100%;
  }
}
.article-card__eyecatch {
  position: relative;
  transition: all 0.5s;
  width: 100%;
}
.article-card__eyecatch img {
  aspect-ratio: 8/5;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.article-card__category {
  border-radius: 3px;
  display: flex;
  font-size: 0.7rem;
  gap: 10px;
  left: 15px;
  position: absolute;
  top: 10px;
}
.article-card__category a {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 100vh;
  color: white;
  padding: 5px 7px;
  text-decoration: none;
}
@media screen and (max-width: 480px) {
  .article-card__category {
    gap: 5px;
    left: 10px;
    top: 8px;
  }
  .article-card__category a {
    padding: 3px 5px;
  }
}
.article-card__date {
  border-radius: 3px;
  bottom: 10px;
  color: white;
  font-size: 0.7rem;
  position: absolute;
  right: 10px;
}
@media screen and (max-width: 480px) {
  .article-card__date {
    bottom: 8px;
    font-size: 0.65rem;
    right: 8px;
  }
}
.article-card__title {
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  padding: 10px 20px 20px;
}
@media screen and (max-width: 700px) {
  .article-card__title {
    font-size: 16px;
    padding: 10px 15px 15px;
  }
}
@media screen and (max-width: 480px) {
  .article-card__title {
    font-size: 15px;
    padding: 8px 12px 12px;
  }
}
.article-card__title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-card__title a:hover {
  opacity: 0.7;
}

.pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
}
.pagination a {
  color: #9E9E9E;
  font-size: 13px;
  text-decoration: none;
}
.pagination .page-numbers {
  border: 1px solid #ccc;
  border-radius: 3px;
  display: inline-block;
  font-size: 15px;
  margin: 0 2px 5px;
  min-width: 20px;
  padding: 8px 10px;
  text-align: center;
  transition: all 0.2s ease;
}
.pagination .page-numbers:hover:not(.current, .disabled, .dots) {
  background: #f8f8f8;
  border-color: #aaa;
}
.pagination .page-numbers.current, .pagination .page-numbers.disabled {
  opacity: 0.7;
}
.pagination .page-numbers.current {
  background-color: #f3f3f3;
  border-color: #aaa;
  color: #666;
  font-weight: bold;
}
.pagination .page-numbers.dots {
  border: none;
  color: #999;
  padding: 0 5px;
}
@media (width <= 959px) {
  .pagination .page-numbers.prev, .pagination .page-numbers.next {
    box-sizing: border-box;
    left: 0;
    padding: 12px;
    position: absolute;
    top: 0;
    width: 100%;
  }
}
@media (width <= 959px) {
  .pagination .page-numbers.prev {
    display: none;
  }
}
@media (width >= 600px) {
  .pagination .page-numbers {
    margin: 0 4px 5px;
  }
}
@media (width <= 959px) {
  .pagination .page-numbers:not(.dots) {
    padding: 12px;
  }
}
@media (width <= 959px) {
  .pagination {
    padding-top: 60px;
    position: relative;
  }
}

/* -------------------- Utility -------------------- */
/* small-box */
.small-box {
  align-items: center;
  display: flex;
  gap: 5px;
  list-style-type: none;
}
.small-box a {
  color: #202124;
  text-decoration: none;
}
.small-box a:hover {
  background: #e8eaed;
  border-bottom: 2px solid #202124;
  transition: all 0.1s ease;
}
.small-box a i {
  margin-right: 0;
}
.small-box i {
  margin-right: 1.5px;
}
.small-box__writer {
  position: relative;
}
.small-box__writer::before {
  background-color: #202124;
  content: "";
  height: 70%;
  left: -3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}
.small-box__star-rating {
  position: relative;
}
.small-box__star-rating::before {
  background-color: #202124;
  content: "";
  height: 70%;
  left: -3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}
.small-box__star-rating i {
  color: #ffc107;
  margin-right: 2px;
}
.small-box__star-rating .ss-star-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.small-box__share {
  font-size: 30px;
}
.small-box__share--link {
  margin-left: auto;
  margin-right: 5px;
}
@media screen and (width <= 600px) {
  .small-box {
    font-size: 0.9em;
  }
}

.post-category {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  color: #fff;
  font-size: 0.7rem;
  left: 10px;
  padding: 3px 8px;
  position: absolute;
  top: 10px;
}

/* -------------------- Widget -------------------- */
.widget_ss_popular_posts_ranking {
  background-color: white;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 4px;
}

.widget-title {
  border-bottom: 2px solid #a89a8a;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0 0 15px;
  padding: 8px;
}

.tab {
  background-color: white;
  border-bottom: 1px solid #eee;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
  text-align: center;
  width: 100%;
}
.tab button {
  background: transparent;
  border: none;
  color: gray;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 13px;
  position: relative;
  transition: all 0.3s ease;
}
.tab button:hover {
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 1;
}

button.active {
  background-color: rgba(0, 0, 0, 0.05);
  color: black;
  font-size: 15px;
  font-weight: 500;
}

.ss-popular-posts-ranking-container {
  background-color: white;
  display: flex;
  height: auto;
  list-style-type: none;
  -ms-overflow-style: none;
  overflow-x: auto;
  padding: 5px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
}
.ss-popular-posts-ranking-container::-webkit-scrollbar {
  display: none;
}

.ss-popular-posts-ranking-list {
  align-items: flex-start;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  list-style-type: none;
  margin-right: 10px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 100%;
}
.ss-popular-posts-ranking-list li {
  background-color: white;
  padding: 7px;
  width: 100%;
}

.ranking-card {
  color: inherit;
  display: flex;
  gap: 14px;
  position: relative;
  text-decoration: none;
}
.ranking-card__mark {
  background: #a89a8a;
  color: white;
  font-size: 0.5em;
  font-weight: 700;
  padding: 0.4em 0.8em;
  position: absolute;
}
.ranking-card__thumbnail {
  flex-shrink: 0;
  height: 80px;
  width: 80px;
}
.ranking-card__thumbnail img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.ranking-card__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}
.ranking-card__info--title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
.ranking-card__info--date {
  color: #666;
  font-size: 12px;
}

.ad-box {
  padding: 10px 0;
}

/* Search Widget */
.search-form {
  background: white;
  display: flex;
  position: relative;
  transition: all 0.3s ease;
}
.search-form__input {
  background: white;
  border: 1px solid #ddd;
  color: #333;
  flex: 1;
  font-size: 15px;
  outline: none;
  padding: 14px 16px;
}
.search-form__input::placeholder {
  color: #9e9e9e;
}
.search-form__button {
  background: #a89a8a;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  padding: 0 16px;
  position: relative;
}
.search-form__button:hover {
  background-color: #cfc0b5;
  opacity: 0.9;
}

/* ---------- SS Card ---------- */
.ss-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  height: 104px;
  margin-bottom: 20px;
  overflow: hidden;
  width: 100%;
}
.ss-card:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
  opacity: 0.7;
  transition: 0.3s;
}

.ss-card-thumbnail {
  flex-shrink: 0;
}
.ss-card-thumbnail img {
  aspect-ratio: 8/5;
  height: 104px;
  object-fit: cover;
}
@media screen and (width <= 500px) {
  .ss-card-thumbnail {
    height: 104px;
    width: 104px;
  }
  .ss-card-thumbnail img {
    aspect-ratio: 1/1;
  }
}

.ss-card-content {
  margin: 10px;
  position: relative;
  width: 100%;
}
@media screen and (width <= 900px) {
  .ss-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.ss-card-title {
  border-bottom: 1px solid #ddd;
  color: #333;
  font-weight: 600;
  line-height: 25px;
}
@media screen and (width <= 900px) {
  .ss-card-title {
    border-bottom: none;
    font-size: 16px;
    line-height: 22px;
  }
}
@media screen and (width <= 600px) {
  .ss-card-title {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 5px;
  }
}

.ss-card-readmore {
  border: 1px solid #ddd;
  color: #666;
  display: inline-block;
  font-size: 0.8em;
  text-align: center;
}
.ss-card-readmore a {
  border-radius: 2px;
  line-height: 2;
  padding: 3px 10px;
  z-index: 999;
}
@media screen and (width >= 900px) {
  .ss-card-readmore {
    bottom: -5px;
    position: absolute;
    right: 0;
  }
}
@media screen and (width <= 900px) {
  .ss-card-readmore a {
    display: block;
    text-align: center;
    width: 100%;
  }
}

.ad-note {
  font-weight: bold;
  text-align: center;
}

.split-box {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 700px) {
  .split-box {
    flex-direction: column;
    gap: 5px;
  }
}
.split-box__item {
  flex: 0 1 50%;
  min-width: 0;
}
@media screen and (max-width: 700px) {
  .split-box__item {
    flex: 1 1 100%;
  }
}

.twitter-tweet,
.bluesky-embed {
  margin: 5px auto !important;
}

.bluesky-embed {
  max-width: 540px !important;
}

.popular-posts {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  padding: 1rem;
}
.popular-posts .ranking-title {
  border-bottom: 2px solid #f0f0f0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.popular-posts .ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popular-posts .ranking-item {
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  padding: 1rem 0;
}
.popular-posts .ranking-item:last-child {
  border-bottom: none;
}
.popular-posts .rank-number {
  align-items: center;
  background: #f8f8f8;
  border-radius: 50%;
  display: flex;
  font-size: 1.2rem;
  font-weight: bold;
  height: 2rem;
  justify-content: center;
  margin-right: 1rem;
  width: 2rem;
}
.popular-posts .post-thumbnail {
  height: 80px;
  margin-right: 1rem;
  width: 80px;
}
.popular-posts .post-thumbnail img {
  border-radius: 4px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.popular-posts .post-content {
  flex: 1;
}
.popular-posts .post-content .post-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.popular-posts .post-content .post-title a {
  color: #333;
  text-decoration: none;
}
.popular-posts .post-content .post-title a:hover {
  color: #666;
}
.popular-posts .post-content .view-count {
  color: #666;
  font-size: 0.8rem;
}

/* Search */
.search-results-list {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.search-result-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
}

.search-result-link {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 20px;
  text-decoration: none;
}
.search-result-link:hover {
  opacity: 0.7;
  transition: all 0.2s ease;
}

.search-result-thumbnail {
  flex: 0 0 120px;
}

.search-result-thumbnail img {
  height: auto;
  object-fit: cover;
  width: 100%;
}

.search-result-content {
  flex: 1;
}

.search-result-date {
  color: #666;
  display: block;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.search-result-title {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 10px;
}

.nav-links {
  margin-top: 30px;
  text-align: center;
}

.page-numbers {
  border: 1px solid #ddd;
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
}

.page-numbers.current {
  background-color: #f4f4f4;
}

.search-highlight {
  background-color: #ffeb3b;
  font-weight: bold;
}

.search-result-excerpt {
  color: #666;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 0;
  margin-top: 0.5em;
}

.yellow-marker {
  background: linear-gradient(transparent 70%, #fdf78e 100%);
  font-weight: bold;
}

.wp-block-list {
  font-size: 14px;
  list-style-type: disc;
  margin-bottom: 10px;
  margin-left: 1em;
  padding-left: 1em;
}
.wp-block-list li {
  line-height: 1.5em !important;
  padding-bottom: 0.25em;
  padding-top: 0.25em;
}

/* ---------- Box ---------- */
.yellowbox, .graybox {
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 25px 0;
}
.yellowbox ul, .graybox ul {
  padding: 0 10px;
}
.yellowbox ul, .graybox ul,
.yellowbox li,
.graybox li {
  list-style-type: disc;
  margin-left: 15px;
}
.yellowbox p, .graybox p {
  margin: 0 0 0 15px;
}

.graybox {
  background-color: #fafafa;
  border: 1px solid #ddd;
}

.yellowbox {
  background-color: #ffffd6;
  border: 1px solid #ffffd6;
}

.ss-link {
  align-items: center;
  background: #fafafa;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  font-size: 0.9rem;
  overflow: scroll;
  padding: 5px 15px;
  text-overflow: ellipsis;
  white-space: wrap;
}
.ss-link::before {
  color: #333;
  content: "\f10b";
  display: block;
  flex-shrink: 0;
  font-family: ss-font;
  font-size: 1.2rem;
  font-weight: 900;
  margin-right: 15px;
}

.ss-highlight {
  margin-bottom: 20px;
  padding: 10px;
  position: relative;
  width: 100%;
}
.ss-highlight::before {
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ddd;
  border-top: 6px solid transparent;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}
.ss-highlight p {
  font-weight: bold;
  margin-bottom: 0;
}
