:root {
  --bg: #f4efe6;
  --paper: #fbf8f2;
  --ink: #2e2a25;
  --muted: #7a7065;
  --line: #d9cfc0;
  --accent: #8a6a45;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Shippori Mincho", serif;
  line-height: 2;
  letter-spacing: .04em;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ヘッダー */
.bar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 960px; margin: 0 auto; padding: 20px 24px;
}
.bar a { text-decoration: none; }
.brand { font-family: "Cormorant Garamond", serif; font-size: 28px; letter-spacing: .06em; }
.bar nav { display: flex; gap: 24px; font-family: "Cormorant Garamond", serif; font-size: 17px; letter-spacing: .12em; }
.bar nav a:hover { color: var(--accent); }

/* 一覧 */
.journal { max-width: 960px; margin: 0 auto; padding: 32px 24px 0; }
.intro { text-align: center; margin-bottom: 56px; }
.intro .en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 44px; color: var(--accent); }
.intro p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.card { text-decoration: none; display: block; }
.card .thumb { aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; border-radius: 2px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.03); }
.card .meta { font-size: 12px; color: var(--muted); margin-top: 12px; }
.card .title { font-size: 15px; line-height: 1.7; }

/* 記事 */
.post { max-width: 680px; margin: 0 auto; padding: 32px 24px 0; }
.post .meta { font-size: 13px; color: var(--muted); }
.post h1 { font-size: clamp(22px, 5vw, 28px); font-weight: 500; line-height: 1.6; margin: 8px 0 32px; }
.eyecatch { width: 100%; display: block; margin-bottom: 40px; border-radius: 2px; }
.content { font-size: 16px; overflow-wrap: anywhere; }
.content p { margin: 0 0 1.2em; }
.content h2 { font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 2.4em 0 1em; }
.content h3 { font-size: 18px; font-weight: 500; margin: 2em 0 .8em; }
.content img { display: block; margin: 0 auto; border-radius: 2px; }
.content figure { margin: 1.6em 0; }
.content .aligncenter { margin-left: auto; margin-right: auto; }
.content iframe { max-width: 100%; }
.content iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.content blockquote { border-left: 3px solid var(--line); margin: 1.6em 0; padding: 4px 20px; color: var(--muted); }
.content ul, .content ol { padding-left: 1.4em; }

/* Cocoonのブログカード */
.content .blogcard-wrap {
  display: block; text-decoration: none; margin: 1.6em 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
}
.content .blogcard { padding: 16px; display: flow-root; line-height: 1.6; }
.content .blogcard-label { display: none; }
.content .blogcard-thumbnail { float: left; width: 160px; margin: 0 16px 0 0; }
.content .blogcard-thumbnail img { margin: 0; width: 100%; }
.content .blogcard-title { font-size: 15px; font-weight: 500; }
.content .blogcard-snippet { font-size: 12px; color: var(--muted); margin-top: 6px; }
.content .blogcard-footer { clear: both; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding-top: 8px; }
.content .blogcard-site { display: flex; align-items: center; gap: 6px; }
.content .blogcard-favicon img { margin: 0; }
@media (max-width: 480px) {
  .content .blogcard-thumbnail { width: 110px; }
  .content .blogcard-snippet { display: none; }
}
.content .blank-box { border: 1px solid var(--line); background: var(--paper); padding: 16px 20px; margin: 1.6em 0; border-radius: 4px; }

/* 前後の記事 */
.pager { display: flex; gap: 16px; margin-top: 64px; border-top: 1px solid var(--line); padding-top: 24px; }
.pager a, .pager span { flex: 1; text-decoration: none; font-size: 14px; line-height: 1.6; }
.pager .newer { text-align: right; }
.pager .small { display: block; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.back { text-align: center; margin-top: 48px; font-size: 14px; }

footer {
  text-align: center; padding: 120px 24px 48px;
  font-family: "Cormorant Garamond", serif; color: var(--muted); font-size: 14px; letter-spacing: .2em;
}
