/* Blog pages styled to match the LP (same tokens, header and footer). */
:root {
  --accent: #e12c4e; --accent-deep: #c01f3f; --accent-pale: #fde9ea;
  --cream: #fdf8f4; --blush: #f9d4d2; --pink: #ea6276;
  --gold: #d9960f; --gold-light: #eec06a; --navy: #1c1e3a;
  --ink: #333333; --ink-soft: #6e6463; --line: #f0dcd6; --white: #ffffff;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --latin: "Cormorant Garamond", serif;
  --radius: 18px; --shadow: 0 10px 30px rgba(193, 60, 80, .10);
}
* { box-sizing: border-box; }
body.miyabi-blog { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; }
.miyabi-blog img { max-width: 100%; height: auto; }
.miyabi-blog a { color: inherit; }
.mb-wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* header (same as LP) */
.mb-header { position: sticky; top: 0; z-index: 50; height: 68px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mb-header .mb-wrap { width: min(1200px, 100% - 32px); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mb-logo { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.mb-logo img { height: 40px; width: auto; }
.mb-logo span { display: flex; flex-direction: column; line-height: 1.15; }
.mb-logo b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: #2b2420; letter-spacing: .14em; }
.mb-logo small { font-family: var(--latin); font-size: 10.5px; color: var(--gold); letter-spacing: .34em; margin-top: 4px; }
.mb-nav { display: flex; gap: 18px; font-size: 14px; white-space: nowrap; margin-left: auto; margin-right: 6px; }
.mb-nav a { text-decoration: none; }
.mb-nav a:hover, .mb-nav a.is-current { color: var(--accent-deep); }
.mb-cta { display: flex; gap: 8px; white-space: nowrap; }
.mb-menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.mb-menu-btn span { display: block; width: 24px; height: 2px; background: var(--accent-deep); margin: 5px 0; }

.mb-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--accent); transition: .25s; }
.mb-btn-primary { background: var(--accent); color: #fff !important; box-shadow: 0 6px 18px rgba(225,44,78,.28); }
.mb-btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.mb-btn-ghost { background: #fff; color: var(--accent-deep) !important; }
.mb-btn-sm { padding: 8px 18px; font-size: 13px; }

/* page title band */
.mb-band { padding: 64px 0 40px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.mb-band .en { font-family: var(--latin); font-style: italic; font-size: 18px; color: var(--gold); letter-spacing: .25em; display: block; }
.mb-band h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); color: var(--navy); letter-spacing: .12em; margin: 4px 0 0; }
.mb-band h1::after { content: ""; display: block; width: 44px; height: 2px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); margin: 18px auto 0; }
.mb-band p { color: var(--ink-soft); margin: 18px 0 0; font-size: 14px; }

/* post list */
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0 80px; }
.mb-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s; }
.mb-card:hover { transform: translateY(-3px); }
.mb-card .thumb { aspect-ratio: 16/10; background: var(--blush) center / cover no-repeat; }
.mb-card .body { padding: 18px 20px 22px; }
.mb-meta { font-size: 12px; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mb-meta .cat { background: var(--accent-pale); color: var(--accent-deep); padding: 1px 10px; border-radius: 999px; }
.mb-card h2 { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--navy); margin: 8px 0 8px; }
.mb-card p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.8; }
.mb-pager { display: flex; justify-content: center; gap: 8px; padding-bottom: 80px; }
.mb-pager a, .mb-pager span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; }
.mb-pager .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* single post */
.mb-article { width: min(780px, 100% - 32px); margin: 0 auto 80px; background: #fff; border-radius: 24px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.mb-article .mb-meta { justify-content: center; }
.mb-article h1 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.6; color: var(--navy); text-align: center; margin: 12px 0 28px; }
.mb-eyecatch { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 32px; }
.mb-content h2 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 48px 0 16px; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.6; }
.mb-content h3 { font-family: var(--serif); font-size: 17px; color: var(--accent-deep); margin: 28px 0 8px; }
.mb-content p { margin: 0 0 1.2em; }
.mb-content figure { margin: 24px 0; }
.mb-content figure img { border-radius: 12px; width: 100%; }
.mb-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mb-content th, .mb-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.mb-content th { background: var(--accent-pale); white-space: nowrap; }
.mb-content td:first-child { white-space: nowrap; font-weight: 700; background: #fffafa; }
.mb-content ul { padding-left: 1.3em; }
.mb-content li { margin-bottom: 6px; }
.mb-content blockquote { margin: 20px 0; padding: 16px 22px; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; font-family: var(--serif); }
.mb-content blockquote p { margin: 0; }
.mb-content a { color: var(--accent-deep); word-break: break-all; }
.mb-back { text-align: center; margin-top: 48px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer (same as LP) */
.mb-footer { background: var(--blush); color: var(--ink); padding: 60px 0 30px; font-size: 14px; }
.mb-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.mb-footer .mb-logo img { height: 60px; }
.mb-footer .mb-logo b { font-size: 27px; }
.mb-footer .mb-logo small { font-size: 12.5px; }
.mb-footer .tagline { margin: 16px 0 0; font-family: var(--serif); font-size: 14px; color: var(--ink-soft); letter-spacing: .08em; }
.mb-footer h5 { margin: 0 0 12px; font-size: 14px; color: var(--accent-deep); letter-spacing: .1em; }
.mb-footer ul { list-style: none; margin: 0; padding: 0; }
.mb-footer li { margin-bottom: 6px; }
.mb-footer a { text-decoration: none; }
.mb-footer a:hover { color: var(--accent-deep); text-decoration: underline; }
.mb-copy { text-align: center; margin-top: 46px; font-size: 12px; color: var(--ink-soft); }

@media (max-width: 1240px) {
  .mb-nav, .mb-cta .mb-btn-ghost { display: none; }
  .mb-menu-btn { display: block; }
  .mb-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px 24px 24px; gap: 0; border-bottom: 1px solid var(--line); }
  .mb-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .mb-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body.miyabi-blog { font-size: 15px; }
  .mb-cards { grid-template-columns: 1fr; }
  .mb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mb-logo img { height: 34px; }
  .mb-logo b { font-size: 18px; }
  .mb-logo small { font-size: 9.5px; letter-spacing: .28em; }
  .mb-content td:first-child, .mb-content th { white-space: normal; }
}
