/* ============================================================
   Editorial Post Design - single.php 用刷新CSS
   2026-05-15 — 雑誌風エディトリアル
   ============================================================ */

/* ---- Typography ---- */
.single .post-hero,
.single .article-body,
.single .post-hero__title,
.single .prose {
  font-feature-settings: "palt";
}
.single .post-hero__title,
.single .prose h2,
.single .prose h3 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- Hero ---- */
.single .post-hero {
  position: relative;
  min-height: 60vh;
  height: auto;
  padding: 80px 0 0;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.single .post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.single .post-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.0);
}
.single .post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.9) 100%);
  z-index: 1;
}
.single .post-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 32px 72px;
  width: 100%;
  text-align: left;
}
.single .post-hero__breadcrumb {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.single .post-hero__breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.single .post-hero__breadcrumb a:hover {
  border-bottom-color: currentColor;
}
.single .post-hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.single .post-hero__date {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: #c9a96e;
  position: relative;
  padding-left: 36px;
}
.single .post-hero__date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: #c9a96e;
}
.single .post-hero__category {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.single .post-hero__title {
  font-size: clamp(28px, 4.8vw, 56px);
  line-height: 1.32;
  color: #fff;
  margin: 0 0 24px;
  text-align: left;
  max-width: 800px;
}

/* ---- Body Layout ---- */
.single .article-body {
  background: #fafaf7;
  padding: 80px 0 100px;
}
.single .article-body .container {
  max-width: 1120px;
}
.single .layout-blog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  align-items: start;
}
.single .layout-blog > article {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Author Card ---- */
.single .author-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 26px 30px !important;
  background: #fff !important;
  border: 1px solid #e5e3dc !important;
  border-left: 4px solid #c9a96e !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 24px -10px rgba(10, 24, 20, 0.12) !important;
  margin-bottom: 56px !important;
  overflow: hidden !important;
}
.single .author-card::before,
.single .author-card::after {
  display: none !important;
  content: none !important;
}
.single .author-card__avatar {
  flex-shrink: 0;
}
.single .author-card__avatar img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px -2px rgba(0,0,0,0.15);
}
.single .author-card__info {
  flex: 1;
  min-width: 0;
}
.single .author-card__name {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0a1814 !important;
  margin-bottom: 2px !important;
  letter-spacing: 0.02em !important;
}
.single .author-card__role {
  font-size: 11.5px !important;
  color: #8a8a8a !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 10px !important;
}
.single .author-card__bio {
  font-size: 13px !important;
  color: #555 !important;
  line-height: 1.85 !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
}
@media (max-width: 600px) {
  .single .author-card {
    padding: 20px 22px !important;
    gap: 14px !important;
  }
  .single .author-card__avatar img {
    width: 52px !important;
    height: 52px !important;
  }
  .single .author-card__bio {
    font-size: 12.5px !important;
  }
}
.single .author-card__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.single .author-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.single .author-card__role {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ---- Prose / 本文 ---- */
.single .prose {
  counter-reset: section;
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-size: 16.5px;
  line-height: 2.0;
  color: #2a2a2a;
}
.single .prose > p:first-of-type::first-letter {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.6em;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  color: #094eaf;
}
.single .prose p {
  margin: 0 0 1.6em;
}
.single .prose strong {
  color: #094eaf;
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(255, 147, 81, 0.22) 60%);
  padding: 0 2px;
}
/* H2 章番号 */
.single .prose h2 {
  counter-increment: section;
  counter-reset: subsection;
  position: relative;
  font-size: 26px;
  line-height: 1.5;
  margin: 80px 0 28px;
  padding-top: 28px;
  border-top: 1px solid #d8d4c8;
  color: #0a1814;
}
.single .prose h2::before {
  display: none !important;
}
.single .prose h2 .ch-num {
  display: block;
  font-family: 'Bebas Neue', 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.28em;
  color: #ff9351;
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1;
}
.single .prose h3::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.65em !important;
  width: 14px !important;
  height: 2px !important;
  background: #ff9351 !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* H3 */
.single .prose h3 {
  counter-increment: subsection;
  font-size: 19px;
  line-height: 1.55;
  margin: 48px 0 16px;
  color: #094eaf;
  padding-left: 20px;
  position: relative;
}
.single .prose h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 2px;
  background: #ff9351;
}
/* List */
.single .prose ul,
.single .prose ol {
  margin: 0 0 1.8em;
  padding-left: 0;
  list-style: none;
}
.single .prose ul li,
.single .prose ol li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px dashed #e5e3dc;
  line-height: 1.85;
}
.single .prose ul li:last-child,
.single .prose ol li:last-child {
  border-bottom: none;
}
.single .prose ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 26px;
  width: 12px;
  height: 12px;
  border: 2px solid #c9a96e;
  border-radius: 50%;
  background: #fff;
}
.single .prose ol {
  counter-reset: olnum;
}
.single .prose ol li {
  counter-increment: olnum;
}
.single .prose ol li::before {
  content: counter(olnum, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #c9a96e;
  font-weight: 700;
}
/* Blockquote プルアウト */
.single .prose blockquote {
  position: relative;
  margin: 48px -16px;
  padding: 36px 32px 36px 56px;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  line-height: 1.85;
  color: #0a1814;
  background: #fff;
  border-left: 4px solid #c9a96e;
  border-radius: 4px;
  box-shadow: 0 8px 28px -16px rgba(0,0,0,0.15);
}
.single .prose blockquote::before {
  content: '“';
  position: absolute;
  left: 14px;
  top: -8px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 80px;
  line-height: 1;
  color: #c9a96e;
  opacity: 0.5;
}
/* テーブル */
.single .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14.5px;
}
.single .prose table th,
.single .prose table td {
  border-bottom: 1px solid #e5e3dc;
  padding: 14px 12px;
  text-align: left;
}
.single .prose table th {
  background: #fff;
  font-weight: 700;
  color: #0a1814;
  border-bottom: 2px solid #c9a96e;
}

/* ---- Share ---- */
.single .share-buttons {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #d8d4c8;
  display: flex;
  align-items: center;
  gap: 12px;
}
.single .share-buttons__label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #888;
  text-transform: uppercase;
  margin-right: 8px;
}

/* ---- Sidebar ---- */
.single .sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 13.5px;
}
.single .sidebar .widget__title,
.single .sidebar .toc-widget__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #0a1814;
  border-bottom: 1px solid #c9a96e;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .single .layout-blog {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .single .sidebar {
    position: static;
  }
  .single .post-hero__title {
    font-size: clamp(24px, 6.5vw, 36px);
  }
  .single .post-hero {
    min-height: 50vh;
  }
  .single .prose blockquote {
    margin: 36px 0;
    font-size: 17px;
    padding: 28px 22px 28px 44px;
  }
  .single .prose > p:first-of-type::first-letter {
    font-size: 3em;
  }
}
@media (max-width: 480px) {
  .single .post-hero__inner {
    padding: 48px 22px 56px;
  }
  .single .article-body {
    padding: 56px 0 72px;
  }
  .single .prose h2 {
    font-size: 22px;
    margin: 56px 0 22px;
  }
}
