@charset "UTF-8";

/*
 * Mate Dispatch editorial design system
 * White/black foundation with a restrained magenta accent.
 */
:root {
  --md-ink: #111111;
  --md-muted: #707070;
  --md-rule: #e8e8e8;
  --md-paper: #ffffff;
  --md-soft: #f7f7f8;
  --md-magenta: #c0006f;
  --md-pink: #e73b9a;
  --md-content: 1180px;
  --md-reading: 760px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--md-paper);
  color: var(--md-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: .025em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--md-magenta); }

/* Header */
#header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--md-rule);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  backdrop-filter: blur(12px);
}
#header-container-in,
#header-in,
#navi-in,
#content-in,
#footer-in {
  max-width: var(--md-content);
  margin-right: auto;
  margin-left: auto;
}
#header-container-in { display: flex; align-items: center; min-height: 68px; }
#header { flex: 0 0 auto; min-height: 68px; }
#header-in { display: flex; align-items: center; min-height: 68px; padding: 0; }
.tagline { display: none; }
.logo { margin: 0; line-height: 1; }
.site-logo-image.header-site-logo-image { width: 154px; max-height: 34px; object-fit: contain; }
#navi { display: block; flex: 1; margin-left: 42px; background: transparent; }
#navi-in { display: flex; align-items: center; min-height: 68px; }
#navi .menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
#navi .menu-item { margin: 0; }
#navi .menu a {
  display: block;
  padding: 25px 0 22px;
  color: #383838;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .08em;
  white-space: nowrap;
}
#navi .menu a:hover,
#navi .current-menu-item > a,
#navi .current-post-ancestor > a { color: var(--md-magenta); }

/* Site frame */
#content { margin-top: 0; }
#content-in { display: flex; gap: 58px; padding-top: 52px; }
#main { width: min(100%, var(--md-reading)); }
.sidebar { width: 300px; }
.sidebar-left #main { order: 1; }
.sidebar-left #sidebar { order: 2; }
.article { margin-bottom: 0; }
.article-header { margin-bottom: 36px; }
.article-title,
.entry-title {
  color: var(--md-ink);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: .035em;
}
.article-title { margin: 0 0 20px; }
.article-header .date-tags,
.article-header .author-info,
.article-header .entry-categories { color: var(--md-muted); font-size: 13px; }
.article-header .cat-label,
.article-header .entry-category {
  display: inline-block;
  padding: 4px 9px;
  color: var(--md-magenta);
  background: #fff4fa;
  border: 1px solid #f6c4dd;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Editorial homepage cards */
.home .entry-card-wrap,
.blog .entry-card-wrap,
.archive .entry-card-wrap,
.search .entry-card-wrap {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--md-rule);
  background: transparent;
}
.home .entry-card,
.blog .entry-card,
.archive .entry-card,
.search .entry-card {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 28px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: opacity .18s ease;
}
.home .entry-card:hover,
.blog .entry-card:hover,
.archive .entry-card:hover,
.search .entry-card:hover { opacity: .72; }
.entry-card-thumb { position: relative; width: 100%; height: 168px; margin: 0; overflow: hidden; background: var(--md-soft); }
.entry-card-thumb-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.entry-card:hover .entry-card-thumb-image { transform: scale(1.03); }
.cat-label {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.entry-card-thumb .cat-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 10px;
  color: #fff;
  background: var(--md-magenta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
}
.entry-card-content { min-width: 0; padding: 0; }
.entry-card-title {
  margin: -3px 0 10px;
  color: var(--md-ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: .025em;
}
.entry-card-snippet {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 13px;
  color: #666;
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.entry-card-meta { display: flex; align-items: center; justify-content: space-between; color: #8a8a8a; font-size: 12px; }
.entry-card-meta .fa { margin-right: 5px; }
.entry-card-categorys .entry-category {
  padding: 0;
  color: var(--md-magenta);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

/* Section headings and archive controls */
.home .main > h1,
.archive-title,
.page-title,
.widget .widget-title,
.widget-title {
  position: relative;
  margin: 0;
  padding: 0 0 15px;
  color: var(--md-ink);
  border: 0;
  border-bottom: 2px solid var(--md-ink);
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
}
.home .main > h1:before,
.archive-title:before,
.page-title:before,
.widget .widget-title:before,
.widget-title:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--md-magenta);
  content: "";
}
.pagination { margin: 44px 0 10px; }
.pagination-next-link,
.pagination .page-numbers {
  min-width: 38px;
  padding: 9px 11px;
  color: var(--md-ink);
  border: 1px solid var(--md-rule);
  border-radius: 0;
  background: #fff;
  font-size: 13px;
}
.pagination .current,
.pagination .page-numbers:hover { color: #fff; border-color: var(--md-magenta); background: var(--md-magenta); }

/* Sidebar makes circulation clear without visual noise */
#sidebar { padding-top: 2px; }
.widget { margin-bottom: 38px; padding: 0; border: 0; background: transparent; }
.widget .widget-title { margin-bottom: 13px; font-size: 14px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 0; border-bottom: 1px solid var(--md-rule); }
.widget li a { display: block; padding: 12px 0; color: #303030; font-size: 13px; font-weight: 600; line-height: 1.55; }
.widget li a:hover { color: var(--md-magenta); }
.widget_recent_entries .post-date { display: block; margin-top: 3px; color: #929292; font-size: 11px; }
.search-box { border: 1px solid var(--md-rule); }
.search-edit { min-width: 0; padding: 11px 12px; border: 0; font-size: 13px; }
.search-submit { min-width: 44px; color: #fff; border: 0; background: var(--md-magenta); }
.search-submit:hover { background: var(--md-pink); }

/* Long-form article reading experience */
.post .article,
.single .article { max-width: var(--md-reading); }
.article .entry-content,
.article .article-body {
  color: #222;
  font-size: 17px;
  line-height: 2.02;
  letter-spacing: .035em;
}
.article .entry-content p,
.article .article-body p { margin: 0 0 1.72em; }
.article .entry-content h2,
.article .article-body h2 {
  margin: 2.8em 0 1.05em;
  padding: 0 0 .55em;
  color: var(--md-ink);
  border-bottom: 2px solid var(--md-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
}
.article .entry-content h3,
.article .article-body h3 {
  margin: 2.2em 0 .9em;
  padding-left: 15px;
  border-left: 4px solid var(--md-magenta);
  color: var(--md-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
}
.article .entry-content h4,
.article .article-body h4 { margin: 1.8em 0 .7em; color: var(--md-ink); font-size: 18px; font-weight: 800; }
.article .entry-content a,
.article .article-body a { color: var(--md-magenta); text-decoration: underline; text-decoration-color: #edb4d4; text-underline-offset: 3px; }
.article .entry-content a:hover,
.article .article-body a:hover { color: var(--md-pink); }
.article .entry-content blockquote,
.article .article-body blockquote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  color: #4d4d4d;
  border: 0;
  border-left: 3px solid var(--md-magenta);
  background: #faf7f9;
  font-size: .95em;
}
.article .entry-content ul,
.article .entry-content ol,
.article .article-body ul,
.article .article-body ol { margin: 1.5em 0 1.8em 1.2em; }
.article .entry-content li,
.article .article-body li { margin-bottom: .55em; padding-left: .25em; }
.article .entry-content pre,
.article .article-body pre {
  margin: 1.8em 0;
  padding: 1.3em;
  overflow-x: auto;
  color: #f4f4f4;
  border-radius: 2px;
  background: #171717;
  font-size: 13px;
  line-height: 1.7;
}
.article .entry-content code,
.article .article-body code { padding: .12em .32em; color: #b10060; background: #f6edf2; font-size: .88em; }
.article .entry-content pre code,
.article .article-body pre code { padding: 0; color: inherit; background: transparent; }

/* Post-navigation and recommended content */
.related-entry-card-thumb,
.related-entry-card-content { border-radius: 0; }
.related-entry-card-wrap { border-color: var(--md-rule); }
.related-entry-card-title { font-weight: 750; line-height: 1.5; }
.pager-post-navi { margin-top: 48px; border-top: 1px solid var(--md-rule); border-bottom: 1px solid var(--md-rule); }
.pager-post-navi a { padding: 20px; }
.pager-post-navi a:hover { background: #fff6fa; }

/* Footer */
#footer { margin-top: 76px; color: #fff; background: #111; }
#footer-in { padding: 44px 0 26px; }
#footer .widget-title,
#footer .widget .widget-title { color: #fff; border-bottom-color: #555; }
#footer .widget li { border-color: #333; }
#footer .widget li a { color: #d6d6d6; }
#footer .widget li a:hover { color: #fff; }
.copyright { padding-top: 24px; color: #969696; border-top: 1px solid #313131; font-size: 11px; letter-spacing: .06em; }

/* Mobile: keep the reading flow first */
@media screen and (max-width: 1023px) {
  #header-container-in,
  #header-in,
  #navi-in,
  #content-in,
  #footer-in { max-width: none; }
  #header-container-in { padding: 0 22px; }
  #navi { margin-left: 26px; overflow-x: auto; }
  #navi .menu { gap: 20px; min-width: max-content; }
  #navi .menu a { padding: 24px 0 21px; }
  #content-in { gap: 34px; padding: 38px 24px 0; }
  #main { flex: 1; width: auto; }
  .sidebar { width: 250px; }
  #footer-in { padding-right: 24px; padding-left: 24px; }
}

@media screen and (max-width: 834px) {
  #header-container { position: relative; }
  #header-container-in { min-height: 58px; padding: 0 16px; }
  #header,
  #header-in { min-height: 58px; }
  .site-logo-image.header-site-logo-image { width: 134px; max-height: 29px; }
  #navi { margin-left: 20px; }
  #navi-in { min-height: 58px; }
  #navi .menu { gap: 17px; }
  #navi .menu a { padding: 19px 0 17px; font-size: 12px; }
  #content-in { display: block; padding: 26px 18px 0; }
  #main { width: 100%; }
  #sidebar { display: none; }
  .home .entry-card,
  .blog .entry-card,
  .archive .entry-card,
  .search .entry-card { grid-template-columns: 142px minmax(0,1fr); gap: 17px; padding: 20px 0; }
  .entry-card-thumb { height: 96px; }
  .entry-card-title { margin-top: -2px; margin-bottom: 6px; font-size: 15px; line-height: 1.52; }
  .entry-card-snippet { margin-bottom: 7px; font-size: 12px; line-height: 1.6; -webkit-line-clamp: 2; }
  .entry-card-meta { font-size: 10px; }
  .article-title,
  .entry-title { font-size: 28px; }
  .article .entry-content,
  .article .article-body { font-size: 16px; line-height: 1.95; }
  .article .entry-content h2,
  .article .article-body h2 { font-size: 23px; }
  .article .entry-content h3,
  .article .article-body h3 { font-size: 19px; }
  #footer { margin-top: 48px; }
}

@media screen and (max-width: 480px) {
  #header-container-in { padding: 0 14px; }
  .site-logo-image.header-site-logo-image { width: 122px; }
  #navi { margin-left: 16px; }
  #navi .menu { gap: 15px; }
  #navi .menu a { font-size: 11px; letter-spacing: .04em; }
  #content-in { padding-right: 14px; padding-left: 14px; }
  .home .entry-card,
  .blog .entry-card,
  .archive .entry-card,
  .search .entry-card { grid-template-columns: 112px minmax(0,1fr); gap: 13px; }
  .entry-card-thumb { height: 78px; }
  .entry-card-thumb .cat-label { padding: 4px 6px; font-size: 9px; }
  .entry-card-title { font-size: 13px; line-height: 1.48; }
  .entry-card-snippet { display: none; }
  .entry-card-meta { margin-top: 5px; }
  .article-title,
  .entry-title { font-size: 25px; line-height: 1.48; }
  .article .entry-content,
  .article .article-body { font-size: 16px; line-height: 1.9; }
}
