/* =========================================================
   HANDs -have a nice day-  共通スタイル
   色を変えたいときは、下の :root の値を変更してください。
   ========================================================= */
:root {
  --bg: #ffffff;        /* 背景（白） */
  --bg-alt: #f7f7f7;    /* セクション背景（ごく薄いグレー） */
  --text: #2b2b2b;      /* 文字（チャコール） */
  --muted: #888888;     /* 補足文字 */
  --line: #e6e6e6;      /* 罫線 */
  --accent: #5f7d6b;    /* アクセント（グリーン） */
  --white: #fff;
  --accent-soft: #e8efea; /* 図解：うすいグリーン */
  --skin: #f3e6dc;       /* 図解：頭皮・髪の色 */
  --color-dye: #a8745a;  /* 図解：カラー剤の色 */
  --water: #9cc3d5;      /* 図解：ケア剤の色 */
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans-ja: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans-ja);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { text-decoration: none; line-height: 1.1; }
.logo-main { font-family: var(--serif-en); font-size: 30px; letter-spacing: .08em; display: block; }
.logo-sub { font-family: var(--serif-en); font-size: 13px; color: var(--muted); letter-spacing: .12em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--serif-en); font-size: 16px; letter-spacing: .1em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn-reserve { border: 1px solid var(--text); padding: 6px 16px; font-family: var(--sans-ja); font-size: 13px; }
.nav .btn-reserve:hover { background: var(--text); color: var(--bg); }

.menu-toggle { display: none; }
.menu-btn { display: none; cursor: pointer; width: 32px; height: 22px; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); transition: .3s;
}
.menu-btn::before { top: 0; } .menu-btn span { top: 10px; } .menu-btn::after { bottom: 0; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .menu-toggle:checked ~ .nav { border-bottom: 1px solid var(--line); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .nav li { width: 100%; text-align: center; }
  .nav a { display: block; padding: 12px; }
  .nav .btn-reserve { display: inline-block; margin-top: 8px; }
  .menu-toggle:checked ~ .nav { max-height: 80vh; }
  .menu-toggle:checked + .menu-btn span { opacity: 0; }
  .menu-toggle:checked + .menu-btn::before { top: 10px; transform: rotate(45deg); }
  .menu-toggle:checked + .menu-btn::after { bottom: 10px; transform: rotate(-45deg); }
}

/* ---------- レイアウト ---------- */
.section { padding: 88px 20px; }
.section.alt { background: var(--bg-alt); }
.container { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

.section-title { text-align: center; margin: 0 0 48px; font-weight: normal; }
.section-title .en { display: block; font-family: var(--serif-en); font-size: 40px; letter-spacing: .12em; line-height: 1.2; }
.section-title .ja { display: block; font-size: 12px; color: var(--muted); letter-spacing: .2em; margin-top: 6px; }

.page-head { padding: 72px 20px 24px; text-align: center; }
.page-head h1 { margin: 0; font-weight: normal; }
.page-head .en { display: block; font-family: var(--serif-en); font-size: 52px; letter-spacing: .12em; line-height: 1.2; }
.page-head .ja { display: block; font-size: 13px; color: var(--muted); letter-spacing: .2em; }

.lead { font-family: var(--serif-ja); font-size: 20px; line-height: 2; text-align: center; margin-bottom: 1.6em; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; padding: 14px 34px;
  border: 1px solid var(--text); font-size: 14px; letter-spacing: .12em; transition: .25s; text-align: center;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.fill { background: var(--text); color: var(--bg); }
.btn.fill:hover { background: transparent; color: var(--text); }
.btn.line { background: #06c755; border-color: #06c755; color: #fff; }
.btn.line:hover { background: #fff; color: #06c755; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; height: min(82vh, 760px); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero img { object-position: center top; }
@media (max-width: 760px) { .hero { height: auto; } .hero img { height: auto; } }

/* ---------- カード / グリッド ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.link-card {
  display: block; text-decoration: none; background: var(--white); padding: 30px 24px;
  border: 1px solid var(--line); text-align: center; transition: .25s;
}
.link-card:hover { border-color: var(--text); }
.link-card .en { font-family: var(--serif-en); font-size: 24px; letter-spacing: .1em; display: block; }
.link-card .ja { font-size: 12px; color: var(--muted); }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { padding: 22px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.news-list time { font-family: var(--serif-en); font-size: 16px; color: var(--muted); }
.news-list h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.news-list p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .news-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 情報テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 30%; font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .info-table th, .info-table td { display: block; width: 100%; padding: 6px 4px; } .info-table th { padding-top: 16px; border: none; } }

.map iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.3); }

/* ---------- メニュー（料金表） ---------- */
.menu-block { background: var(--white); padding: 44px 40px; margin-bottom: 32px; border: 1px solid var(--line); }
.menu-block h2 { font-family: var(--serif-en); font-style: italic; font-weight: normal; font-size: 36px; letter-spacing: .1em; margin: 0 0 4px; }
.menu-block .note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price-row .name { font-weight: 600; letter-spacing: .08em; }
.price-row .name small { font-weight: normal; font-size: 11px; color: var(--muted); margin-left: 6px; }
.price-row .dots { flex: 1; border-bottom: 1px solid var(--line); transform: translateY(-5px); min-width: 20px; }
.price-row .price { font-family: var(--serif-ja); white-space: nowrap; }
.price-list .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.price-list .sub-prices { font-size: 13px; text-align: right; margin-top: 2px; }
@media (max-width: 560px) { .menu-block { padding: 32px 20px; } .price-row { flex-wrap: wrap; } .price-row .dots { display: none; } .price-row .price { margin-left: auto; } }

/* ---------- スタッフ ---------- */
.staff { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.staff:last-child { border-bottom: none; }
.staff img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.staff h2 { font-family: var(--serif-ja); font-weight: normal; font-size: 26px; margin: 0; letter-spacing: .15em; }
.staff .kana { font-size: 12px; color: var(--muted); letter-spacing: .2em; }
.staff .role { display: inline-block; font-size: 12px; border: 1px solid var(--line); padding: 2px 12px; margin: 10px 0 20px; }
.staff h3 { font-size: 14px; margin: 24px 0 6px; letter-spacing: .15em; color: var(--accent); }
.staff ul { margin: 0; padding-left: 1.2em; }
.staff .links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.staff .links a { font-size: 13px; }
@media (max-width: 760px) { .staff { grid-template-columns: 1fr; gap: 24px; } .staff img { max-width: 320px; margin: 0 auto; } }

/* ---------- 汎用 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.feature { background: var(--white); padding: 32px; border: 1px solid var(--line); }
.feature h3 { font-family: var(--serif-ja); font-weight: normal; font-size: 18px; margin: 0 0 12px; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notice { background: var(--white); border-left: 3px solid var(--accent); padding: 16px 20px; font-size: 14px; }

.sns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.sns a { font-family: var(--serif-en); font-size: 17px; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.sns a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- フッター ---------- */
.site-footer { background: var(--text); color: #eeeeee; padding: 56px 20px 28px; text-align: center; font-size: 13px; }
.site-footer .logo-main { font-size: 34px; }
.site-footer .logo-sub { color: #bbbbbb; }
.site-footer a { color: #eeeeee; }
.footer-nav { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer-nav a { text-decoration: none; font-family: var(--serif-en); font-size: 15px; letter-spacing: .1em; }
.copyright { margin-top: 32px; font-size: 11px; color: #999999; letter-spacing: .1em; }

/* ---------- スタッフカード（トップ） ---------- */
.staff-card { display: block; text-decoration: none; text-align: center; }
.staff-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 16px; transition: opacity .25s; }
.staff-card:hover img { opacity: .85; }
.staff-card .name { display: block; font-family: var(--serif-ja); font-size: 18px; letter-spacing: .15em; }
.staff-card .role-s { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.staff-card .desc { display: block; font-size: 13px; line-height: 1.8; }
@media (max-width: 560px) { .staff-card img { max-width: 280px; margin: 0 auto 16px; } }

/* ---------- 常に表示される予約バナー ---------- */
.reserve-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #06c755; color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .2s, box-shadow .2s;
}
.reserve-float:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.reserve-float-main { font-size: 14px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; }
.reserve-float-sub { font-size: 10px; letter-spacing: .08em; opacity: .9; line-height: 1.4; }
/* スマホでは小さめのボタンにする */
@media (max-width: 760px) {
  .reserve-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 9px 18px; transition: transform .3s ease, opacity .3s ease; }
  .reserve-float-main { font-size: 13px; letter-spacing: .08em; }
  .reserve-float-sub { display: none; }
  .reserve-float:hover { transform: none; }
  /* 下にスクロール中は隠し、止まるか上に戻ると表示 */
  .reserve-float.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

/* ---------- 開閉パネル（店内の写真など） ---------- */
.fold { margin-top: 32px; }
.fold > summary {
  list-style: none; cursor: pointer; width: fit-content; margin: 0 auto;
  border: 1px solid var(--text); padding: 12px 32px; font-size: 14px; letter-spacing: .12em;
  display: flex; align-items: center; gap: 12px; transition: .25s;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.fold[open] > summary::after { content: "−"; }
.fold > summary:hover { background: var(--text); color: var(--bg); }
.fold[open] > .gallery { margin-top: 32px; animation: fold-in .35s ease; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 「詳しく見る →」の表示 ---------- */
.more { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .12em; color: var(--muted); transition: color .25s; }
.link-card:hover .more, .staff-card:hover .more { color: var(--text); }

/* ---------- スタッフ紹介（HPB準拠） ---------- */
.staff .catch { font-family: var(--serif-ja); font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.staff ul { margin: 0 0 20px; }
.staff .profile { display: grid; grid-template-columns: 9em 1fr; gap: 10px 16px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.staff .profile dt { color: var(--accent); letter-spacing: .1em; }
.staff .profile dd { margin: 0; }
@media (max-width: 560px) { .staff .profile { grid-template-columns: 1fr; gap: 2px; } .staff .profile dd { margin-bottom: 10px; } }

/* ---------- 営業カレンダー（HPB出勤表から自動） ---------- */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cal-wrap .cal-updated { grid-column: 1 / -1; }
@media (max-width: 760px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-month { background: var(--white); border: 1px solid var(--line); padding: 24px 20px; }
.cal-title { margin: 0 0 16px; text-align: center; font-family: var(--serif-en); font-weight: normal; font-size: 30px; letter-spacing: .08em; }
.cal-title span { display: block; font-size: 13px; color: var(--muted); letter-spacing: .2em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-head, .cal-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-head { text-align: center; font-size: 11px; padding: 4px 0; color: var(--muted); }
.cal-cell { min-height: 64px; padding: 4px 4px 6px; font-size: 11px; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
.cal-day { font-family: var(--serif-en); font-size: 16px; }
.sun .cal-day, .cal-head.sun { color: #c0504d; }
.sat .cal-day, .cal-head.sat { color: #4a6fa5; }
.cal-cell.closed { background: var(--bg-alt); }
.cal-closed { color: var(--muted); font-size: 10px; }
.cal-off { display: inline-block; width: fit-content; background: #eef2ef; color: var(--accent); padding: 0 4px; border-radius: 2px; font-size: 10px; }
.cal-cell.today { outline: 2px solid var(--text); outline-offset: -2px; }
.cal-cell.past { opacity: .4; }
.cal-pending { text-align: center; color: var(--muted); padding: 60px 0; margin: 0; }
.cal-updated { text-align: center; font-size: 11px; color: var(--muted); margin: 0; }
@media (max-width: 420px) { .cal-cell { min-height: 54px; padding: 3px 2px; } .cal-off { font-size: 9px; padding: 0 2px; } }

/* ---------- 取り組み：図解 ---------- */
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.flow-step { position: relative; background: var(--white); border: 1px solid var(--line); padding: 28px 22px; text-align: center; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 12px; height: 12px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.flow-num { font-family: var(--serif-en); font-size: 14px; letter-spacing: .2em; color: var(--accent); margin: 0; }
.flow-icon { width: 96px; height: 96px; margin: 12px auto; }
.flow-step h3 { font-family: var(--serif-ja); font-weight: normal; font-size: 18px; margin: 0; }
.flow-brand { font-size: 11px; color: var(--muted); margin: 4px 0 12px; letter-spacing: .05em; }
.flow-step p:last-child { font-size: 13px; line-height: 1.85; text-align: left; margin: 0; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); gap: 28px; } .flow-step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { display: block; top: auto; bottom: -21px; right: 50%; transform: translateX(50%) rotate(135deg); }
}

.pretowa { margin-top: 64px; background: var(--bg-alt); padding: 40px 32px; }
.pretowa-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.pretowa-head h3 { font-family: var(--serif-ja); font-weight: normal; font-size: 22px; margin: 4px 0 12px; }
.pill-card { background: var(--white); padding: 24px 16px; text-align: center; border: 1px solid var(--line); }
.pill-card svg { width: 64px; height: 64px; margin: 0 auto 8px; }
.pill-card h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.pill-card p { margin: 0; font-size: 13px; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 40px; }
.compare figure { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 20px; text-align: center; }
.compare svg { width: 100%; max-width: 300px; margin: 0 auto; }
.compare figcaption { font-size: 13px; line-height: 1.8; }
.compare figcaption strong { display: block; font-size: 15px; margin-bottom: 4px; }
.compare-arrow { font-size: 32px; color: var(--accent); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare-arrow { transform: rotate(90deg); text-align: center; } }
.approach-label { margin: 40px 0 14px; font-family: var(--serif-en); font-size: 20px; letter-spacing: .12em; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.approach-label span { font-family: var(--sans-ja); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 560px) { .link-card { padding: 22px 12px; } .link-card .en { font-size: 20px; } }

/* ---------- スタイリストのヘアスタイル（HPB連動） ---------- */
.staff-back { font-size: 13px; color: var(--muted); text-decoration: none; }
.staff-back:hover { color: var(--text); }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.style-item { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.style-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: opacity .25s; }
.style-item:hover img { opacity: .85; }
.style-item span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.style-more-wrap { margin-top: 36px; }
.style-more { cursor: pointer; background: #fff; font: inherit; }
.style-dialog { border: 0; padding: 0; max-width: 820px; width: calc(100% - 32px); max-height: calc(100% - 32px); }
.style-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.style-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.style-dialog img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.style-body { padding: 36px 28px 28px; font-size: 14px; line-height: 1.9; overflow-y: auto; }
.style-body h3 { font-family: var(--serif-ja); font-weight: normal; font-size: 18px; line-height: 1.6; margin: 0 0 18px; }
.style-body p { margin: 0 0 14px; }
.style-label { font-size: 12px; color: var(--accent); letter-spacing: .1em; margin-bottom: 2px !important; }
.style-close { position: absolute; top: 6px; right: 10px; border: 0; background: rgba(255,255,255,.85); font-size: 24px; line-height: 1; width: 36px; height: 36px; cursor: pointer; color: var(--text); }
@media (max-width: 960px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .style-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .style-dialog img { height: auto; max-height: 60vh; }
  .style-body { padding: 20px 18px 24px; overflow: visible; }
}

/* ---------- ブログ（HPB連動） ---------- */
.blog-filters { margin-bottom: 36px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-cats button, .blog-staff button { font: inherit; cursor: pointer; background: #fff; color: var(--text); border: 1px solid var(--line); }
.blog-cats button { font-size: 13px; padding: 8px 18px; letter-spacing: .05em; }
.blog-cats button span { margin-left: 6px; font-size: 11px; color: var(--muted); }
.blog-cats button.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.blog-cats button.is-active span { color: #ccc; }
.blog-staff { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.blog-staff button { font-size: 12px; padding: 4px 12px; margin: 4px 2px; border-radius: 99px; }
.blog-staff button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-thumb { display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; margin-bottom: 12px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.blog-card:hover img { opacity: .85; }
.blog-thumb .noimg { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--serif-en); color: var(--muted); letter-spacing: .2em; }
.blog-meta { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.blog-cat { display: inline-block; font-size: 11px; color: var(--accent); border: 1px solid var(--accent); padding: 0 8px; margin-right: 10px; text-decoration: none; }
.blog-title { display: block; font-size: 15px; line-height: 1.7; }
.blog-card .blog-author { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.blog-article { max-width: 720px; }
.blog-h1 { font-family: var(--serif-ja); font-weight: normal; font-size: 24px; line-height: 1.6; margin: 8px 0 6px; letter-spacing: .05em; }
.blog-article .blog-author { font-size: 13px; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.blog-body p { margin: 0 0 1.4em; line-height: 2; }
.blog-body figure { margin: 0 0 1.6em; text-align: center; }
.blog-body img { max-width: 100%; max-height: 640px; width: auto; height: auto; }
.blog-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.blog-pager a { text-decoration: none; color: var(--text); line-height: 1.6; }
.blog-pager a span { display: block; font-size: 11px; color: var(--muted); }
.blog-pager a:last-child { text-align: right; }
@media (max-width: 960px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .blog-list { grid-template-columns: 1fr; gap: 28px; }
  .blog-cats button { padding: 6px 12px; font-size: 12px; }
  .blog-h1 { font-size: 20px; }
}
/* トップページの最新記事：リスト表示（左に小さい写真、右に日付・タイトル） */
#blog-latest { display: block; max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
#blog-latest .blog-card { display: grid; grid-template-columns: 160px 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
#blog-latest .blog-thumb { grid-row: 1 / 4; margin: 0; }
#blog-latest .blog-meta { margin: 2px 0 6px; }
#blog-latest .blog-title { font-size: 15px; }
@media (max-width: 560px) {
  #blog-latest .blog-card { grid-template-columns: 96px 1fr; column-gap: 14px; padding: 14px 0; }
  #blog-latest .blog-title { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  #blog-latest .blog-author { display: none; }
}
