/* =========================================================
   三村時計店 時計修理相談室 ／ post.css
   投稿の一覧（archive.php）・記事（single.php）専用。全カテゴリー共通
   common.css の後に読み込むこと
   ---------------------------------------------------------
   構成ルール（2026-10-30 整理）：1セクション = 1ブロック。各セクション末尾に
   そのセクションのブレイクポイント（1024 → 760）。セレクタ・プロパティは1行に1つ
   ========================================================= */

/* =========================================================
   共通：パンくず
   ========================================================= */
/* ---------- 共通：パンくず ---------- */
.bc {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: center;
}

.bc a {
  color: inherit;
  text-decoration: none;
  transition: color .3s;
}

.bc a:hover {
  color: var(--gold-2);
}

.bc li {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.bc li+li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--mute);
}

.bc li:last-child {
  color: var(--ink-2);
}

@media (max-width: 760px) {
  /* パンくず：現在ページ（タイトル）は直下のh1と重複するため非表示。区切り線と項目が離れないよう横幅も固定 */
  .bc {
    font-size: 11px;
    gap: 0 8px;
    line-height: 1.6;
  }

  .bc li {
    gap: 8px;
    white-space: nowrap;
  }

  .bc li+li::before {
    width: 10px;
    flex: none;
  }
}


/* =========================================================
   一覧：ヒーロー
   ========================================================= */
/* ---------- 一覧：ヒーロー ---------- */
.col-hero {
  padding: calc(104px + 8px) 0 clamp(40px,5vw,64px);
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.col-hero .bc {
  margin-bottom: 18px;
}

.col-hero .h1 {
  font-size: clamp(28px,3.6vw,44px);
  line-height: 1.5;
  margin-top: 18px;
  font-weight: 500;
}

.col-hero .h1 .thin {
  font-weight: 400;
  color: var(--gold-2);
}

.col-hero .lead {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .col-hero {
    padding-top: calc(72px + 40px);
  }
}


/* =========================================================
   一覧：カード
   ========================================================= */
/* ---------- 一覧：カード ---------- */
.col-list {
  padding: clamp(56px,7vw,96px) 0 var(--space-section);
  background: var(--black-2);
}

.crail {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(28px,3vw,48px) clamp(18px,2.4vw,32px);
}

.ccard {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ccard .ph {
  aspect-ratio: 4/3;
  transition: transform .5s;
}

/* カード画像：WordPress（またはプラグイン）が <img> に style="width:100%;height:66.52%;max-width:451px" を直接付けるため、!important で枠いっぱいに戻す */
.ccard .ph img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.ccard:hover .ph {
  transform: translateY(-6px);
}

.ccard .meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: var(--fs-label);
  letter-spacing: .08em;
}

.ccard .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ccard .cat {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  cursor: pointer;
  transition: .3s;
}

.ccard .cat:hover {
  background: var(--gold);
  color: #fff;
}

.ccard .date {
  color: var(--mute);
  font-family: var(--num);
  letter-spacing: .06em;
  font-size: var(--fs-label);
}

/* カード見出し：PC20px／SP16px（トップ top.css と同じ値） */
.ccard h2,
.ccard h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 14px;
  letter-spacing: .04em;
  font-weight: 500;
  transition: color .3s;
}

.ccard:hover h2,
.ccard:hover h3,
.ccard:focus-visible h2,
.ccard:focus-visible h3 {
  color: var(--gold);
}

/* 一覧文：PC・SPとも2行まで。超える分は末尾を「…」にする
   文字サイズは補足文のため本文より一段小さく PC13px／SP12px（§2-1の例外） */
.ccard p {
  color: var(--ink-2);
  margin-top: 10px;
  font-size: clamp(12px,.9vw,13px);
  line-height: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.col-none {
  color: var(--ink-2);
  padding: 40px 0;
  text-align: center;
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .crail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .crail {
    gap: 28px 14px;
  }

  .ccard h2,
  .ccard h3 {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .ccard .meta {
    font-size: 11px;
    gap: 8px;
    margin-top: 12px;
  }

  .ccard .date {
    font-size: 11px;
  }

  .ccard .cat {
    padding: 2px 8px;
  }
}


/* =========================================================
   一覧：絞り込み
   ========================================================= */
/* ---------- 一覧：絞り込み ---------- */
.cfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px,4vw,48px);
}

.cfilter a {
  font-size: var(--fs-label);
  letter-spacing: .08em;
  padding: 9px 16px;
  border: 1px solid var(--line-w);
  color: var(--ink-2);
  text-decoration: none;
  transition: .3s;
}

.cfilter a:hover {
  border-color: var(--gold);
  color: #fff;
}

.cfilter a.is-cur {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}


/* =========================================================
   一覧：記事下CTA
   ========================================================= */
/* ---------- 一覧：記事下CTA ---------- */
.col-cta {
  text-align: center;
}

.col-cta .cta-lead {
  margin-top: 16px;
  color: rgba(255,255,255,.82);
}

.col-cta .tel3 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.col-cta .cta-home {
  margin-top: clamp(28px,3.5vw,40px);
}

.col-cta .cta-home .btn {
  color: #fff;
}


/* =========================================================
   一覧：ページ送り
   ========================================================= */
/* ---------- 一覧：ページ送り ---------- */
.pager {
  margin-top: clamp(48px,6vw,80px);
  display: flex;
  justify-content: center;
}

.pager .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pager .page-numbers {
  font-family: var(--num);
  font-size: 16px;
  letter-spacing: .04em;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-w);
  color: var(--ink-2);
  text-decoration: none;
  transition: .3s;
}

.pager .page-numbers:hover {
  border-color: var(--gold);
  color: #fff;
}

.pager .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.pager .page-numbers.dots {
  border: 0;
}


/* =========================================================
   記事：ヘッダー
   ========================================================= */
/* ---------- 記事：ヘッダー ---------- */
.art-head {
  padding: calc(104px + 8px) 0 clamp(36px,4.5vw,56px);
  background: var(--black);
}

.art-head .bc {
  margin-bottom: 18px;
}

.art-head .meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-label);
  letter-spacing: .08em;
}

.art-head .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.art-head .cat {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  text-decoration: none;
  transition: .3s;
}

.art-head .cat:hover {
  background: var(--gold);
  color: #fff;
}

.art-head .date {
  color: var(--mute);
  font-family: var(--num);
  letter-spacing: .06em;
}

.art-head .h1 {
  font-size: clamp(26px,3.4vw,40px);
  line-height: 1.55;
  margin-top: 16px;
  font-weight: 500;
  letter-spacing: .05em;
}

.art-head .lead {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .art-head {
    padding-top: calc(72px + 32px);
  }

  .art-head .bc li:last-child {
    display: none;
  }

  .art-head .bc {
    margin-bottom: 24px;
  }

  .art-head .meta {
    gap: 10px;
    font-size: 11px;
  }

  .art-head .cat {
    padding: 2px 8px;
  }
}


/* =========================================================
   記事：本文・目次
   ========================================================= */
/* ---------- 記事：本文（明部） ---------- */
.art-body {
  padding: clamp(56px,7vw,96px) 0 clamp(64px,8vw,112px);
}

.art-body .in {
  max-width: 800px;
  margin: 0 auto;
}

.art-body .h1 {
  display: none;
}

.toc {
  border: 1px solid var(--line);
  padding: clamp(22px,3vw,32px) clamp(22px,3vw,36px);
  background: var(--black-2);
  margin-bottom: clamp(48px,6vw,72px);
}

.toc .tt {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 14px;
}

.toc ol {
  counter-reset: toc;
  padding: 0;
  margin: 0;
  list-style: none;
}

.toc li {
  counter-increment: toc;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.toc li:first-child {
  border-top: 0;
}

.toc li::before {
  content: counter(toc,decimal-leading-zero);
  font-family: var(--num);
  color: var(--gold);
  letter-spacing: .06em;
}

.toc a {
  text-decoration: none;
  color: inherit;
  transition: color .3s;
}

.toc a:hover {
  color: var(--gold);
}

.toc.is-fold:not(.is-open) .toc-more {
  display: none;
}

.toc-tg {
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--gold);
  font-size: var(--fs-label);
  letter-spacing: .1em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.toc-tg::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s;
}

.toc.is-open .toc-tg::after {
  transform: rotate(-135deg) translateY(-2px);
}

.art-sec {
  margin-top: clamp(48px,6vw,72px);
  scroll-margin-top: 120px;
}

.art-sec:first-of-type {
  margin-top: 0;
}

.art-sec .h2 {
  font-size: clamp(21px,2.4vw,28px);
  line-height: 1.6;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold);
  position: relative;
  font-weight: 500;
}

.art-sec .h2 .no {
  font-family: var(--num);
  font-size: .72em;
  color: var(--gold);
  letter-spacing: .06em;
  margin-right: 14px;
  vertical-align: .08em;
}

.art-sec .fig {
  margin: 0 0 26px;
}

.art-sec .fig .ph {
  aspect-ratio: 3/2;
}

.art-sec .fig .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-sec .fig figcaption {
  margin-top: 10px;
  font-size: var(--fs-label);
  color: var(--mute);
  letter-spacing: .06em;
}

.art-txt {
  font-size: var(--fs-body);
  line-height: 2;
  text-align: justify;
  line-break: strict;
  text-wrap: pretty;
  color: var(--ink-2);
}

.art-txt>*+* {
  margin-top: 1.4em;
}

.art-txt h3 {
  font-size: 1.1em;
  letter-spacing: .06em;
  margin-top: 2em;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
}

.art-txt h4 {
  font-size: 1em;
  margin-top: 1.8em;
  color: var(--ink);
}

.art-txt strong,
.art-txt b {
  color: var(--ink);
  font-weight: 700;
}

.art-txt a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.art-txt ul,
.art-txt ol {
  padding-left: 1.4em;
}

.art-txt li+li {
  margin-top: .5em;
}

.art-txt ul li::marker {
  color: var(--gold);
}

.art-txt blockquote {
  border-left: 2px solid var(--line-w);
  padding: 4px 0 4px 20px;
  color: var(--mute);
}

.art-txt table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95em;
}

.art-txt th,
.art-txt td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.art-txt th {
  background: var(--black-2);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.art-txt img {
  height: auto;
}

.art-txt .wp-caption {
  max-width: 100%;
}

.art-back {
  margin-top: clamp(48px,6vw,72px);
  padding-top: clamp(32px,4vw,48px);
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 760px) {
  .toc li {
    grid-template-columns: 28px 1fr;
  }
}


/* =========================================================
   記事：末尾CTA（3店舗の番号）
   ========================================================= */
/* ---------- 記事：末尾CTA（3店舗の番号を同じ大きさで並べる） ---------- */
.art-cta {
  background: var(--navy);
  color: #fff;
  padding: clamp(48px,6vw,80px) 0;
}

.art-cta .cp {
  font-family: var(--serif);
  font-size: clamp(20px,2.4vw,30px);
  line-height: 1.6;
  letter-spacing: .06em;
  font-weight: 500;
}

.art-cta .cp .thin {
  font-weight: 400;
  color: var(--gold-2);
}

.art-cta .tel3 {
  margin-top: clamp(24px,3vw,36px);
}

.art-cta .tel3-note {
  color: rgba(255,255,255,.62);
}


/* =========================================================
   記事：前後の記事
   ========================================================= */
/* ---------- 記事：前後の記事（著者情報の直下・同じ背景） ---------- */
.art-rel {
  padding: 0 0 clamp(48px,6vw,80px);
  background: var(--black);
}

.art-rel .pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.art-rel .pn a {
  padding: 24px clamp(16px,2vw,32px);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background .3s;
}

.art-rel .pn a:hover {
  background: rgba(255,255,255,.04);
}

.art-rel .pn .pn-next {
  text-align: right;
  border-left: 1px solid var(--line);
}

.art-rel .pn .lb {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--en);
}

.art-rel .pn .tt {
  display: block;
  font-size: var(--fs-body);
  line-height: 1.7;
}

.art-rel .pn .empty {
  opacity: .35;
  pointer-events: none;
}

@media (max-width: 760px) {
  .art-rel .pn {
    grid-template-columns: 1fr;
  }

  .art-rel .pn .pn-next {
    border-left: 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .art-rel .pn .empty {
    display: none;
  }
}


/* =========================================================
   記事：著者情報（監修表記）
   ========================================================= */
/* ---------- 記事：著者情報（監修表記） ---------- */
.art-author {
  background: var(--black);
  padding: clamp(40px,5vw,64px) 0 clamp(28px,3.5vw,44px);
}

.art-author .in {
  border: 1px solid var(--line);
  padding: clamp(22px,3vw,36px) clamp(22px,3vw,40px);
  background: var(--black-2);
}

.art-author .lb {
  font-size: var(--fs-label);
  letter-spacing: .14em;
  color: var(--gold);
}

.art-author .nm {
  font-family: var(--serif);
  font-size: clamp(16px,1.5vw,19px);
  letter-spacing: .06em;
  margin-top: 8px;
  line-height: 1.6;
}

.art-author .ds {
  margin-top: 12px;
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--ink-2);
}
