@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f1f1ef;
  --text: #171717;
  --text-sub: #666967;
  --text-light: #969895;
  --border: #d5d5d2;
  --border-light: #e7e7e4;
  --accent: #555957;
  --accent-dark: #303231;
  --accent-soft: #ededeb;
  --media-white: #ffffff;
  --media-ink: #151515;
  --media-muted: #6f716f;
  --media-line: #d6d6d3;
  --media-pale: #f1f1ef;
  --media-gray: #a4a5a3;
  --media-charcoal: #343635;
}

body {
  background: #fff;
  color: var(--media-ink);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a { text-underline-offset: .2em; }

/* Shared editorial masthead */
.media-header {
  position: relative;
  top: auto;
  z-index: 100;
  border: 0;
  background: var(--media-white);
}

.media-header a {
  border-radius: 0;
  background: transparent;
  color: var(--media-ink);
  text-decoration: none;
}

.media-header .masthead {
  height: 108px;
  border-bottom: 1px solid var(--media-line);
}

.media-header .masthead-inner {
  width: min(1280px, calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.media-header .mast-side {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 500 12px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.media-header .mast-side.right { justify-content: flex-end; }
.media-header .mast-side a { padding: 8px 0; color: var(--media-ink); }
.media-header .mast-side a:hover { color: var(--media-muted); }

.media-header .menu-mark {
  display: inline-grid;
  grid-template-columns: 18px auto;
  gap: 9px;
  align-items: center;
}

.media-header .menu-mark i,
.media-header .menu-mark i::before,
.media-header .menu-mark i::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--media-ink);
  content: "";
}

.media-header .menu-mark i { position: relative; }
.media-header .menu-mark i::before { position: absolute; top: -5px; }
.media-header .menu-mark i::after { position: absolute; top: 5px; }

.media-header .wordmark {
  color: var(--media-ink);
  text-align: center;
  line-height: 1;
}

.media-header .wordmark strong {
  display: block;
  font: 600 clamp(43px, 4.6vw, 61px)/.8 "Bodoni Moda", Georgia, serif;
  letter-spacing: -.055em;
}

.media-header .wordmark span {
  display: block;
  margin-top: 13px;
  font: 500 9px/1 Inter, sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.media-header .search-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.media-header .search-link b { font-size: 19px; font-weight: 400; }

.media-header .category-nav {
  display: block;
  border-bottom: 1px solid var(--media-line);
  background: var(--media-white);
}

.media-header .category-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 39px;
  white-space: nowrap;
}

.media-header .category-inner a {
  padding: 0;
  color: var(--media-ink);
  font: 500 12px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .035em;
}

.media-header .category-inner a:hover { color: var(--media-muted); }

/* Article pages */
.article-hero {
  max-width: none;
  margin: 0;
  padding: 72px 32px 58px;
  border-bottom: 1px solid var(--media-line);
  background: var(--media-pale);
  text-align: left;
}

.article-hero-inner { max-width: 1180px; margin-inline: auto; }
.article-meta-top { justify-content: flex-start; }
.article-meta-top .category,
.article-meta-top a.category {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--media-charcoal);
  font: 500 11px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .09em;
}

.article-meta-top .category::before,
.article-meta-top .category::after { display: none; }

.article-hero .date { color: var(--media-muted); font: 400 11px/1 Inter, sans-serif; letter-spacing: .08em; }
.article-hero .article-title {
  max-width: 980px;
  margin: 20px 0 19px;
  color: var(--media-ink);
  font: 600 clamp(30px, 3.25vw, 45px)/1.46 "Noto Serif JP", serif;
  letter-spacing: .025em;
}

.article-hero .article-p { color: var(--media-muted) !important; font-size: 12px !important; }
.article-body { padding: 72px 32px 108px; background: #fff; }
.article-body-inner {
  max-width: 1180px;
  grid-template-columns: minmax(0, 810px) 250px;
  gap: 70px;
  align-items: start;
}

.article-content > .article-title { display: none; }
.article-content > figure:first-of-type {
  margin: 0 0 48px !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: #e3e3e1;
}

.article-content > figure:first-of-type img {
  width: 100%;
  height: auto;
  filter: grayscale(.12) saturate(.76) contrast(1.02);
}

.article-content .article-p,
.article-content .article-list li { color: #343534; }

.article-content .article-h2 {
  margin-top: 64px;
  padding: 23px 0 0;
  border-top: 1px solid var(--media-ink);
  color: var(--media-ink);
  font-weight: 600;
}

.article-content .article-h2::before { display: none; }
.article-content .article-h3 { color: var(--media-charcoal); }
.article-content .article-quote {
  border: 0;
  border-left: 2px solid var(--media-charcoal);
  border-radius: 0;
  background: var(--media-pale);
}

.article-content .article-highlight,
.article-content .highlight-box,
.article-content .point-box,
.article-content .note-box { border-radius: 0 !important; }

.article-content .article-link { color: #373a38; text-decoration-color: #9b9d9a; }
.article-sidebar {
  top: 24px;
  padding: 25px 23px;
  border: 1px solid var(--media-line);
  border-radius: 0;
  background: var(--media-pale);
}

.sidebar-title,
.sidebar-profile-name { color: var(--media-ink); }
.sidebar-profile img { filter: grayscale(.18) saturate(.66); }

.series-nav a {
  border-color: var(--media-line) !important;
  border-radius: 0 !important;
  background: var(--media-pale) !important;
}

.series-nav a:hover { background: #e7e7e5 !important; }

/* Profile and information pages */
.page-hero {
  max-width: none;
  margin: 0;
  padding: 74px 32px 64px;
  border-bottom: 1px solid var(--media-line);
  background: var(--media-gray);
  color: #fff;
  text-align: left;
}

.page-hero-inner { max-width: 1180px; margin-inline: auto; }
.page-eyebrow { color: #f3f3f2; font: 500 10px/1 Inter, sans-serif; letter-spacing: .2em; }
.page-title {
  max-width: 900px;
  margin-top: 20px;
  color: #fff;
  font: 600 clamp(35px, 4.3vw, 58px)/1.4 "Noto Serif JP", serif;
}
.page-subtitle { max-width: 680px; color: #f0f0ef; }

.container { max-width: 1120px; }
.section { border-color: var(--media-line); }
.sec-eyebrow { color: var(--media-muted); font: 500 10px/1 Inter, sans-serif; letter-spacing: .18em; }
.sec-title { color: var(--media-ink); font-weight: 600; }

.profile-card {
  max-width: 1120px;
  border-bottom: 1px solid var(--media-line);
}
.profile-card-inner {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--media-pale);
}
.pc-avatar img { filter: grayscale(.15) saturate(.66); }
.pc-chip { border-radius: 0; border-color: var(--media-line); background: #fff; color: var(--media-charcoal); }
.pc-chip.primary { background: var(--media-charcoal); color: #fff; }
.power,
.value-card,
.like-card,
.cta-section,
.form-card { border-radius: 0 !important; box-shadow: none !important; }
.power,
.value-card,
.like-card { border-color: var(--media-line) !important; }
.value-num { color: var(--media-muted); }
.info-row { border-color: var(--media-line); }
.btn,
button,
input,
textarea { border-radius: 0 !important; }

/* Category pages */
.breadcrumb { max-width: 1180px; color: var(--media-muted); }
.cat-hero {
  max-width: none;
  padding: 72px 32px 62px;
  border-bottom: 1px solid var(--media-line);
  background: var(--media-pale);
  text-align: left;
}
.cat-hero > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.cat-eyebrow { color: var(--media-muted); font: 500 10px/1 Inter, sans-serif; letter-spacing: .2em; }
.cat-icon { justify-content: flex-start; margin-top: 26px; }
.cat-icon svg { stroke: var(--media-charcoal); }
.cat-title { font-size: clamp(35px, 4vw, 52px); font-weight: 600; }
.cat-description { max-width: 720px; margin-left: 0; color: var(--media-muted); }
.cat-hero .cat-description { margin-left: auto; margin-right: auto; }

.post-grid { max-width: 1180px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 25px; }
.post-card { border: 0; border-radius: 0; box-shadow: none; }
.post-card:hover { transform: none; box-shadow: none; }
.post-thumb { border-radius: 0; background: #e2e2df; }
.post-thumb img { filter: grayscale(.12) saturate(.74); }
.post-badge,
.post-newbadge { border-radius: 0; background: rgba(30, 30, 30, .9); }
.post-body { padding-left: 0; padding-right: 0; }
.post-card-title { color: var(--media-ink); }
.other-cat { border-radius: 0; background: var(--media-pale); }
.other-cat:hover { border-color: var(--media-charcoal); background: #e8e8e6; }

/* Shared footer */
footer {
  padding: 58px 32px 32px;
  border-top: 1px solid var(--media-line);
  background: #fff;
}
.wrap > a { border-radius: 0; background: var(--media-charcoal); }
.footer-inner { max-width: 1280px; }
.footer-nav a { color: var(--media-charcoal); }
.footer-copy { color: var(--media-muted); font: 400 10px/1 Inter, sans-serif; letter-spacing: .08em; }

@media (max-width: 960px) {
  .media-header .category-inner { justify-content: flex-start; overflow-x: auto; padding: 0 28px; }
  .article-body-inner { grid-template-columns: 1fr; gap: 48px; }
  .article-sidebar { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .media-header .masthead { height: 92px; }
  .media-header .masthead-inner { width: calc(100% - 30px); grid-template-columns: 42px 1fr 42px; }
  .media-header .mast-side { gap: 0; font-size: 0; }
  .media-header .mast-side > a:not(:first-child) { display: none; }
  .media-header .mast-side.right { justify-content: flex-end; }
  .media-header .search-link span { display: none; }
  .media-header .wordmark strong { font-size: 41px; }
  .media-header .wordmark span { margin-top: 11px; font-size: 7px; letter-spacing: .19em; }
  .media-header .category-inner { height: 50px; padding-inline: 15px; gap: 24px; }
  .media-header .category-inner a { font-size: 11px; }
  .article-hero { padding: 50px 20px 38px; }
  .article-hero .article-title { font-size: 29px; line-height: 1.5; }
  .article-body { padding: 38px 18px 76px; }
  .article-content > figure:first-of-type { margin-bottom: 34px !important; }
  .page-hero,
  .cat-hero { padding: 54px 20px 44px; }
  .page-title { font-size: 34px; }
  .post-grid { grid-template-columns: 1fr; gap: 42px; }
  footer { padding-inline: 20px; }
}
