/* ===== shiori.css ===== */

/* ---------- COLUMN 一覧ページ ---------- */
.col-page {
  background: #F8F8F8;
}

.col-page__header {
  text-align: center;
  padding-bottom: 0;
}
.col-page__header .kicker {
  font-size: 30px;
  color: #222222;
  letter-spacing: .25em;
}
.col-page__sub {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .14em;
  color: #222222;
  margin-top: 12px;
}

.col-page__body { padding-top: 52px; }

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.col-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  overflow: hidden;
  transition: transform .35s ease;
}
.col-card:hover { transform: scale(1.025); }

.col-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.col-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.col-card__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde4ea;
}
.col-card__ph svg { width: 32px; opacity: .5; }

.col-card__body { padding: 16px 20px 20px; }

.col-card__title {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  margin: 0 0 16px;
  letter-spacing: .04em;
}
.col-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.col-card__cat {
  display: inline-block;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .1em;
  color: #fff;
  background: #222222;
  padding: 2px 8px 3px;
}
.col-card__cat::before {
  content: "# ";
  letter-spacing: 0;
}
.col-card__date {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--sub);
  opacity: .5;
}

.col-pagination {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 780px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .col-grid { grid-template-columns: 1fr; }
}

.shiori-legend-section { background: var(--paper); padding: 32px 0; }
.shiori-grid-section   { background: var(--bg); }

/* ---------- COLUMN 単記事 白背景ラッパー ---------- */
.shiori-single-wrap {
  background: #fff;
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- COLUMN 単記事ヒーロー ---------- */
.shiori-single-hero {
  text-align: center;
  padding-bottom: 44px;
  margin-top: 72px;
}
.shiori-single-hero .kicker {
  font-size: 30px;
  color: #222222;
  letter-spacing: .25em;
}
.shiori-single-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .1em;
  color: #fff;
  background: #222222;
  padding: 2px 10px 3px;
  margin-top: 20px;
}
.shiori-single-cat::before { content: "# "; letter-spacing: 0; }
.shiori-single-title {
  font-family: var(--sans);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.75;
  margin: 20px 0 0;
}
.shiori-single-date {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--sub);
  letter-spacing: .15em;
  margin-top: 16px;
}

/* ---------- COLUMN 単記事 サムネイル ---------- */
.shiori-single-thumb {
  width: 60%;
  margin: 0 auto;
}
.shiori-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.shiori-single-wrap .shiori-single-date {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--sub);
  margin: 16px 0 0;
  text-align: right;
  line-height: 1;
}

/* ---------- COLUMN 単記事 本文（グローバルCSS上書き） ---------- */
.shiori-single-wrap h1,
.shiori-single-wrap h2,
.shiori-single-wrap h3 {
  font-family: var(--sans);
  font-weight: 500;
}
.shiori-single-wrap .shiori-single-title {
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.75;
  letter-spacing: .08em;
  font-weight: 700;
}
.shiori-single-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2.5;
  letter-spacing: .04em;
}
.shiori-single-body h2 {
  font-size: 18px;
  margin: 2.4em 0 .8em;
  letter-spacing: .15em;
  background: none;
  padding: 0;
}
.shiori-single-body h3 {
  font-size: 16px;
  margin: 2em 0 .6em;
  background: none;
  padding: 0;
}
.shiori-single-body .heading-band {
  display: inline;
  background: #1e2d3d;
  color: #fff;
  padding: .28em .6em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
      line-height: 2;
    font-weight: 600;
}
.shiori-single-wrap p,
.shiori-single-body p {
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 1.6em;
}

.shiori-related { background: var(--paper); }

/* カード hover */
.shiori-card {
  transition: opacity .3s ease;
}
.shiori-card:hover { opacity: .75; }

/* ページネーション */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--sub);
}
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links .current {
  color: var(--ink);
  font-family: var(--serif);
}

/* ===== クロージング ===== */
.shiori-close {
  background: #F8F8F8;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.shiori-close__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}
.shiori-close__quote {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .2em;
  line-height: 2.6;
  color: var(--ink);
  text-align: center;
  margin: 0 0 clamp(60px, 8vw, 100px);
}
.shiori-close__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.shiori-close__label {
  font-family: var(--serif)!important;
  font-size: clamp(18px, 2.2vw, 24px)!important;
  letter-spacing: .22em;
  line-height: 2.0;
  color: var(--ink);
  margin: 40px 0;
}
.shiori-close__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.shiori-close__links a {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: gap .6s cubic-bezier(.25,.8,.25,1), opacity .3s ease;
}
.shiori-close__links a:hover { gap: 44px; opacity: .55; }
.shiori-close__links a:hover .shiori-close__arrow { width: 64px; }
.shiori-close__arrow {
  position: relative;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width .6s cubic-bezier(.25,.8,.25,1);
}
.shiori-close__arrow::before,
.shiori-close__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  width: 6px;
  height: 1px;
  background: currentColor;
}
.shiori-close__arrow::before {
  top: 0;
  transform: rotate(-38deg);
  transform-origin: right bottom;
}
.shiori-close__arrow::after {
  bottom: 0;
  transform: rotate(38deg);
  transform-origin: right top;
}
@media (max-width: 640px) {
  .shiori-close__nav {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
