/* キニナルノートのサイトスタイル。部品ごとの基本指定と画面幅別の指定を近くに置き、変更は元の定義へ反映します。 */ /* ── 基本設定・共通要素 ── */
:root {
  --ink: #171717;
  --text: #262626;
  --muted: #737373;
  --accent: #dc174b;
  --line: #e5e5e5;
  --paper: #f5f5f5;
  --radius-thumb: 8px;
  --radius-card: 16px;
  --radius-pill: 100px;
  --sans: "Gen Interface JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  --display: "Gen Interface JP Display", "Gen Interface JP", sans-serif;
  --serif: var(--display);
  --hero-blue: #12cbe4;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--sans);
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--radius-pill);
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  border-radius: var(--radius-pill);
  color: inherit;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

input {
  font: inherit;
  border-radius: var(--radius-pill);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

p {
  margin-top: 0;
}

body:has(dialog[open]) {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *::before {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ── アイコン ── */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: var(--icon) center / contain no-repeat;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.i-search {
  --icon: url("../icons/search.svg");
}

.i-arrow-right {
  --icon: url("../icons/arrow-right.svg");
}

.i-arrow-up-right {
  --icon: url("../icons/arrow-up-right.svg");
}

.i-arrow-up {
  --icon: url("../icons/arrow-up.svg");
}

.i-arrow-down {
  --icon: url("../icons/arrow-up.svg");
  transform: rotate(180deg);
}

.i-clock {
  --icon: url("../icons/clock-3.svg");
}

.i-x {
  --icon: url("../icons/x.svg");
}

.i-rss {
  --icon: url("../icons/rss.svg");
}

.i-instagram {
  --icon: url("../icons/instagram.svg");
}

.i-play {
  --icon: url("../icons/play.svg");
}

.i-mail {
  --icon: url("../icons/mail.svg");
}

.icon-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: var(--paper);
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover {
    background: #ededed;
    color: var(--ink);
  }
}

.i-category-tech {
  --icon: url("../icons/category-tech.svg");
  --category-icon-color: #005ce6;
}

.i-category-film {
  --icon: url("../icons/category-film.svg");
  --category-icon-color: #cc1452;
}

.i-category-music {
  --icon: url("../icons/category-music.svg");
  --category-icon-color: #886000;
}

.i-category-game {
  --icon: url("../icons/category-game.svg");
  --category-icon-color: #7437d5;
}

.i-category-life {
  --icon: url("../icons/category-life.svg");
  --category-icon-color: #b44400;
}

.i-category-net {
  --icon: url("../icons/category-net.svg");
  --category-icon-color: #006580;
}

.icon[class*="i-category-"] {
  background: var(--category-icon-color);
  mask: var(--icon) center / contain no-repeat;
}

/* ── 共通レイアウト・見出し・画像 ── */
.page-frame {
  width: min(1320px, 100% - 112px);
  margin-inline: auto;
}

@media (max-width: 1270px) {
  .page-frame {
    width: calc(100% - 80px);
  }
}

@media (max-width: 760px) {
  .page-frame {
    width: calc(100% - 40px);
  }
}

@media (max-width: 370px) {
  .page-frame {
    width: calc(100% - 32px);
  }
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  margin-bottom: 27px;
}

@media (max-width: 760px) {
  .section-heading {
    margin-bottom: 22px;
  }
}

.section-title {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 760px) {
  .section-title {
    font-size: 25px;
  }
}

.section-english {
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 400;
  white-space: nowrap;
  font-size: 12px;
}

.section-all {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  font-size: 15px;
  min-height: 44px;
}

@media (max-width: 760px) {
  .section-all {
    gap: 5px;
    font-size: 14px;
  }
}

.section-all .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .section-all .icon {
    width: 15px;
    height: 15px;
  }
}

.thumb-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-thumb);
  background: #f0f0f0;
}

.thumb-frame img {
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  object-fit: cover;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  align-items: start;
  column-gap: 60px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1270px) {
  .content-grid {
    column-gap: 40px;
    grid-template-columns: minmax(0, 1fr) 282px;
  }
}

@media (max-width: 1060px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 254px;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .content-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
    padding-top: 35px;
    gap: 42px;
  }
}

.main-column {
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .section-all:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .section-all:hover .icon {
    transform: translate(2px, -2px);
  }
}

.thumb-frame picture {
  display: block;
  height: 100%;
}

/* ── ヘッダー・ナビゲーション ── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  padding: 10px 20px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 80px;
}

@media (max-width: 1270px) {
  .header-inner {
    gap: 22px;
  }
}

@media (max-width: 1060px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0 22px;
    padding-top: 20px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 0 12px;
    min-height: 0;
    padding-top: 14px;
  }
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 1060px) {
  .site-brand {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .site-brand {
    gap: 8px;
    margin-bottom: 14px;
  }
}

.brand-text {
  font-size: 28px;
  line-height: 1.2;
  color: #000;
  font-family: "WDXL Lubrifont JP N", var(--display);
  font-weight: 400;
}

@media (max-width: 760px) {
  .brand-text {
    font-size: 23px;
  }
}

@media (max-width: 370px) {
  .brand-text {
    font-size: 21px;
  }
}

.brand-symbol {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 0;
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 32px;
  border: 2px solid;
  border-radius: 3px 8px 8px 3px;
  color: var(--ink);
  transform: rotate(-8deg);
}

@media (max-width: 760px) {
  .brand-mark {
    width: 23px;
    height: 28px;
  }
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  left: 5px;
  top: 8px;
  background: currentcolor;
  box-shadow: currentcolor 0 6px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -5px;
  bottom: -4px;
  border: 2px solid white;
  background: var(--accent);
  border-radius: 50%;
}

.brand-note {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

@media (max-width: 1270px) {
  .brand-note {
    display: none;
  }
}

.global-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  gap: 28px;
}

@media (max-width: 1200px) {
  .global-nav {
    gap: 20px;
    font-size: 14px;
  }
}

@media (max-width: 1060px) {
  .global-nav {
    order: 4;
    width: 100%;
    justify-content: center;
    margin: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .global-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 24px;
  }
}

.global-nav a {
  position: relative;
  display: block;
  padding: 29px 0;
  border-radius: 100px;
}

@media (max-width: 1060px) {
  .global-nav a {
    padding: 12px 0 15px;
  }
}

@media (max-width: 760px) {
  .global-nav a {
    flex-shrink: 0;
    padding: 11px 0 14px;
    min-height: 48px;
    padding-block: 12px;
  }
}

.global-nav a::after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

@media (max-width: 1060px) {
  .global-nav a::after {
    bottom: 7px;
  }
}

.global-nav .is-current::after {
  opacity: 1;
}

.global-nav .is-current {
  color: var(--ink);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .contact-button {
    margin: 0 0 20px auto;
  }
}

@media (max-width: 760px) {
  .contact-button {
    margin: 0 0 16px auto;
    padding: 6px 12px;
    font-size: 9px;
    gap: 5px;
  }
}

@media (max-width: 370px) {
  .contact-button {
    padding-inline: 9px;
  }
}

.contact-button .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 760px) {
  .contact-button .icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 370px) {
  .contact-button .icon {
    display: none;
  }
}

.search-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  margin-left: 0;
}

@media (max-width: 1060px) {
  .search-button {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .search-button {
    width: 32px;
    height: 32px;
    margin-left: auto;
    margin-bottom: 14px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .global-nav a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .global-nav a:hover::after {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-button:hover {
    background: #005ce6;
    color: #fff;
    border-color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-button:hover .icon {
    filter: brightness(0) invert(1);
    transform: translate(2px, -2px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .search-button:hover {
    background: #ededed;
    color: var(--ink);
  }
}

@media (max-width: 760px) {
  .search-button .icon {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 760px) {
  .global-nav::-webkit-scrollbar {
    display: none;
  }
}

.site-brand .brand-symbol {
  width: 40px;
  height: 40px;
}

@media (max-width: 760px) {
  .site-brand .brand-symbol {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* ── メインビジュアル・話題ナビ・ニュース・最新記事の背景 ── */

.hero-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  min-height: 0;
  background: var(--hero-blue);
}

@media (max-width: 960px) {
  .hero-section {
    display: flex;
    flex-direction: column;
  }
}

.hero-image {
  inset: 0;
  z-index: -1;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 960px) {
  .hero-image {
    width: 150%;
    max-width: none;
    margin-left: -50%;
    object-fit: cover;
    object-position: right center;
  }
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 380px;
}

@media (max-width: 960px) {
  .hero-inner {
    order: 0;
    min-height: 0;
    display: none;
  }
}

.hero-copy {
  max-width: none;
  padding: 40px 0;
  text-shadow:
    rgba(0, 0, 0, 0.5) 0 0 8px,
    rgba(0, 0, 0, 0.3) 0 0 20px;
  transform: translateY(-20px);
}

@media (max-width: 960px) {
  .hero-copy {
    max-width: none;
    padding: 28px 0 20px;
  }
}

.hero-intro {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .hero-intro {
    font-size: 11px;
  }
}

.hero-copy h1:not(.hero-description) {
  margin: 0 0 20px;
  line-height: 1.25;
  font-family: "WDXL Lubrifont JP N", var(--display);
  font-weight: 400;
  font-size: 52px;
  color: #fff;
}

@media (max-width: 960px) {
  .hero-copy h1:not(.hero-description) {
    margin: 0 0 12px;
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  .hero-copy h1:not(.hero-description) {
    font-size: clamp(28px, 8.2vw, 40px);
  }
}

.hero-period {
  display: inline-block;
  margin-left: -16px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .hero-period {
    margin-left: -12px;
  }
}

.hero-description {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.45;
  font-size: 44.2px;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hero-description {
    margin: 0 0 12px;
    font-size: 30px;
  }
}

@media (max-width: 760px) {
  .hero-description {
    font-size: 28px;
  }
}

.hero-detail {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 0;
  color: var(--ink);
  white-space: nowrap;
  text-shadow: none;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 43px;
  padding: 9px 21px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .hero-link {
    font-size: 10px;
    min-height: 40px;
    padding-inline: 18px;
  }
}

.hero-link .icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.hero-caption {
  position: absolute;
  bottom: 21px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #525252;
  font-family: var(--sans);
  font-size: 9px;
}

@media (max-width: 760px) {
  .hero-caption {
    right: 20px;
    bottom: 14px;
    font-size: 7px;
  }
}

.caption-line {
  width: 36px;
  height: 1px;
  background: currentcolor;
}

.topic-nav {
  border-bottom: 1px solid var(--line);
}

.topic-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 82px;
  gap: 22px;
}

@media (max-width: 760px) {
  .topic-nav-inner {
    min-height: 76px;
  }
}

.topic-nav-inner::-webkit-scrollbar {
  display: none;
}

.topic-nav-label {
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding-right: 22px;
}

@media (max-width: 760px) {
  .topic-nav-label {
    padding-right: 20px;
  }
}

.topic-nav a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: 12px;
  font-weight: 600;
  font-size: 16px;
  min-height: 48px;
  gap: 10px;
}

.topic-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--category, #00b8e8);
}

.dot-tech {
  --category: #0066ff;
}

.dot-film {
  --category: #ff2373;
}

.dot-music {
  --category: #ffcc00;
}

.dot-game {
  --category: #9747ff;
}

.dot-life {
  --category: #ff7800;
}

.dot-net {
  --category: #00b8e8;
}

@media (hover: hover) and (pointer: fine) {
  .topic-nav a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-link:hover {
    background: #005ce6;
    color: #fff;
    border-color: #005ce6;
  }
}

.topic-nav .icon {
  width: 22px;
  height: 22px;
}

.hero-artwork {
  position: absolute;
  inset: 0 0 auto;
  height: 380px;
  z-index: -1;
  overflow: hidden;
}

@media (max-width: 960px) {
  .hero-artwork {
    position: relative;
    inset: auto;
    order: 1;
    z-index: 0;
    height: min(50vw, 280px);
    width: 100%;
  }
}

.news-ticker {
  position: relative;
  padding-top: 0;
  background: var(--hero-blue);
  border-block: 0;
}

.ticker-heading {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  z-index: 1;
  display: flex;
  align-items: end;
  margin-bottom: 0;
}

.ticker-heading h2 {
  margin: 0;
  padding: 10px 26px 8px;
  border-radius: 12px 12px 0 0;
  background: var(--hero-blue);
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
}

.ticker-viewport {
  overflow: hidden;
  padding-block: 20px;
  background: var(--hero-blue);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-viewport {
    overflow: auto hidden;
  }
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: 45s linear 0s infinite normal none running news-stream;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: none;
  }
}

.ticker-group {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0 18px 0 0;
}

.ticker-group li {
  flex: 0 0 auto;
}

.ticker-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 340px;
  padding: 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 760px) {
  .ticker-card {
    width: 340px;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
}

.ticker-card .thumb-frame {
  width: 144px;
  aspect-ratio: 16 / 9;
}

.ticker-card .thumb-frame img {
  height: auto;
}

.ticker-card-body {
  min-width: 0;
}

.ticker-category {
  display: block;
  color: #666;
  font-size: 13px;
  margin-bottom: 5px;
}

.ticker-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.news-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.news-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  .ticker-card:hover .thumb-frame img {
    transform: scale(1.045);
  }
}

.featured-band {
  background: #fff030;
  border-block: 0;
  margin-top: 48px;
}

@media (max-width: 760px) {
  .featured-band {
    margin-top: 32px;
  }
}

.featured-band .featured-section {
  margin-top: 0;
  padding-block: 56px;
}

@media (max-width: 760px) {
  .featured-band .featured-section {
    padding-block: 36px;
    gap: 28px;
  }
}

.featured-band .featured-card {
  background: #fff;
}

.featured-band .featured-thumb {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.featured-band .featured-body {
  padding: 24px;
}

.featured-band .read-more {
  justify-self: end;
}

.featured-band + .content-grid {
  margin-top: 0;
  padding-top: 56px;
  border-top: 0;
}

@media (max-width: 760px) {
  .featured-band + .content-grid {
    padding-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-group[aria-hidden="true"] {
    display: none;
  }
}

/* ── メンバー紹介 ── */
.character-intro {
  margin-top: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

@media (max-width: 760px) {
  .character-intro {
    margin-top: 30px;
    padding-bottom: 28px;
  }
}

.character-intro .section-heading {
  margin-bottom: 12px;
}

.character-intro-lead {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.character-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1200px) {
  .character-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .character-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.character-tech {
  --character-color: #005ce6;
  --character-bg: #e8f1ff;
}

.character-film {
  --character-color: #cc1452;
  --character-bg: #ffe5ee;
}

.character-music {
  --character-color: #886000;
  --character-bg: #fff2b3;
}

.character-game {
  --character-color: #7437d5;
  --character-bg: #efe4ff;
}

.character-profile {
  display: flex;
  align-items: start;
  gap: 14px;
  min-width: 0;
}

.character-profile > img {
  flex: 0 0 120px;
  aspect-ratio: 1 / 1;
  width: 120px;
  height: 120px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 760px) {
  .character-profile > img {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
  }
}

.character-profile h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 20px;
}

.character-role {
  margin: 0 0 8px;
  color: var(--character-color);
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 760px) {
  .character-role {
    font-size: 14px;
  }
}

.character-description {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.85;
}

.character-intro .section-title {
  font-size: 28px;
}

@media (max-width: 760px) {
  .character-intro .section-title {
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 25px;
  }
}

/* ── 記事カード・一覧・共通ボタン ── */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.featured-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  margin-top: 58px;
}

@media (max-width: 1060px) {
  .featured-section {
    column-gap: 22px;
  }
}

@media (max-width: 760px) {
  .featured-section {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 30px;
  }
}

.featured-section > .section-heading {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .featured-section > .section-heading {
    margin-bottom: -7px;
  }
}

.featured-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-card);
}

.featured-body {
  display: grid;
  align-items: start;
  flex: 1 1 0%;
  column-gap: 8px;
  padding-top: 21px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
}

@media (max-width: 760px) {
  .featured-body {
    padding-top: 16px;
  }
}

.category-label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  margin: 0;
  border-radius: var(--radius-pill);
  color: var(--label-ink, #262626);
  background: var(--label-bg, #f0f0f0);
  font-weight: 600;
  line-height: 1.8;
  font-size: 13px;
  min-height: 28px;
  padding: 3px 12px;
}

.category-orange {
  --label-ink: #cc1452;
  --label-bg: #ffe5ee;
}

.category-blue {
  --label-ink: #005ce6;
  --label-bg: #e8f1ff;
}

.category-green {
  --label-ink: #886000;
  --label-bg: #fff2b3;
}

.category-red {
  --label-ink: #7437d5;
  --label-bg: #efe4ff;
}

.category-pink {
  --label-ink: #b44400;
  --label-bg: #ffe6cc;
}

.category-yellow {
  --label-ink: #006580;
  --label-bg: #d7f7ff;
}

.post-date {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.featured-body h3 {
  grid-column: 1 / -1;
  margin: 15px 0 11px;
  font-weight: 600;
  line-height: 1.65;
  font-size: 23px;
}

@media (max-width: 1200px) {
  .featured-body h3 {
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  .featured-body h3 {
    margin: 12px 0 11px;
  }
}

.featured-body > p:not(.category-label) {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.read-more {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 5px 0;
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
}

@media (max-width: 760px) {
  .read-more {
    margin-top: 12px;
  }
}

.read-more .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 100px;
}

.article-count {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.article-filters {
  display: flex;
  align-items: center;
  margin: 0 0 26px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 8px;
  padding-bottom: 4px;
}

@media (max-width: 760px) {
  .article-filters {
    margin: 0 0 23px;
  }
}

.article-filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #737373;
  line-height: 1.8;
  font-size: 15px;
  min-height: 44px;
  padding: 7px 18px;
}

@media (max-width: 760px) {
  .filter-button {
    padding: 7px 16px;
  }
}

.filter-button.is-active {
  background: var(--ink);
  color: #fff;
}

.post-row {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  column-gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-card);
  align-items: start;
}

@media (max-width: 1270px) {
  .post-row {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 1200px) {
  .post-row {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .post-row {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .post-row {
    padding: 23px 0;
  }
}

@media (max-width: 600px) {
  .post-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.post-row:first-child {
  padding-top: 0;
}

.post-thumb {
  width: 100%;
}

.post-row-body {
  min-width: 0;
}

.post-row h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.65;
  margin: 12px 0;
}

@media (max-width: 960px) {
  .post-row h3 {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .post-row h3 {
    margin-block: 12px;
  }
}

.article-title-link {
  border-radius: 100px;
}

.post-row-body > p:not(.category-label) {
  margin: 0;
  color: var(--muted);
  display: block;
  font-size: 16px;
  line-height: 1.9;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 14px;
  flex-wrap: wrap;
  color: #666;
}

@media (max-width: 760px) {
  .post-meta {
    margin-top: 9px;
    gap: 10px;
  }
}

.post-meta span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.post-meta .icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 760px) {
  .post-meta .icon {
    width: 10px;
    height: 10px;
  }
}

.more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  width: min(290px, 100%);
  margin: 36px auto 0;
  border: 1px solid #d4d4d4;
  background: #fff;
  font-weight: 600;
  min-height: 52px;
  font-size: 16px;
}

@media (max-width: 760px) {
  .more-button {
    margin: 27px auto 0;
  }
}

.more-button .icon {
  width: 20px;
  height: 20px;
}

.empty-message {
  padding: 36px 0;
  color: var(--muted);
  font-size: 16px;
}

.text-link {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: #525252;
  font-size: 15px;
  min-height: 44px;
}

.text-link .icon {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .read-more:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .featured-card:hover .thumb-frame img {
    transform: scale(1.045);
  }
}

@media (hover: hover) and (pointer: fine) {
  .post-row:hover .thumb-frame img {
    transform: scale(1.045);
  }
}

@media (hover: hover) and (pointer: fine) {
  .article-title-link:hover {
    color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .more-button:hover {
    background: #005ce6;
    color: #fff;
    border-color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .more-button:hover .icon {
    filter: brightness(0) invert(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .filter-button:not(.is-active):hover {
    background: #ededed;
    color: var(--ink);
  }
}

@media (hover: hover) and (pointer: fine) {
  .read-more:hover .icon {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 1060px) {
  .featured-body h3 br {
    display: none;
  }
}

@media (max-width: 760px) {
  .featured-body h3 br {
    display: initial;
  }
}

@media (max-width: 760px) {
  .post-row .category-label {
    font-size: 13px;
    min-height: 28px;
    padding: 3px 12px;
  }
}

@media (max-width: 760px) {
  .category-card {
    grid-column: 1 / -1;
  }
}

.post-meta time {
  font-variant-numeric: tabular-nums;
}

.featured-body .post-date {
  margin-top: 8px;
  justify-self: start;
}

/* ── サイドバー ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 760px) {
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
}

.side-card {
  padding: 25px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}

@media (max-width: 1060px) {
  .side-card {
    padding: 22px 18px;
  }
}

@media (max-width: 760px) {
  .side-card {
    padding: 22px;
  }
}

.side-card .section-title {
  display: block;
  margin-bottom: 22px;
  font-size: 23px;
}

@media (max-width: 760px) {
  .side-card .section-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
}

.side-card .section-english {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .side-card .section-english {
    margin: 0;
  }
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li + li {
  border-top: 1px solid var(--line);
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 2px;
  font-size: 15px;
  min-height: 52px;
  gap: 8px;
}

@media (max-width: 760px) {
  .category-list a {
    font-size: 16px;
    min-height: 54px;
  }
}

.category-list a > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.category-list b {
  color: #737373;
  font-family: var(--sans);
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
}

.popular-card {
  background: var(--paper);
  border-color: transparent;
}

@media (max-width: 760px) {
  .popular-card {
    grid-column: 1 / -1;
  }
}

.popular-list {
  list-style: none;
  counter-reset: ranking 0;
  margin: 0;
  padding: 0;
}

.popular-list li {
  counter-increment: ranking 1;
}

.popular-list li + li {
  margin-top: 24px;
}

.popular-list a {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 760px) {
  .popular-list a {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }
}

.popular-list a::before {
  content: counter(ranking, decimal-leading-zero);
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  top: -6px;
  left: -6px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 13px;
  width: 26px;
  height: 26px;
}

.popular-list li:first-child a::before {
  background: var(--accent);
}

.popular-thumb {
  width: 82px;
}

@media (max-width: 1060px) {
  .popular-thumb {
    width: 70px;
  }
}

@media (max-width: 760px) {
  .popular-thumb {
    width: 96px;
  }
}

.popular-list a > span:last-child {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.75;
}

@media (hover: hover) and (pointer: fine) {
  .popular-list a:hover .thumb-frame img {
    transform: scale(1.045);
  }
}

@media (hover: hover) and (pointer: fine) {
  .popular-list a:hover > span:last-child {
    color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .category-list a:hover {
    color: var(--accent);
  }
}

.category-list .icon {
  width: 20px;
  height: 20px;
}

.sidebar .popular-list a > span:last-child {
  font-size: 14px;
  line-height: 1.6;
}

.recommended-list a::before {
  content: none;
}

/* ── 検索・ダイアログ ── */
dialog {
  width: min(650px, 100% - 32px);
  max-height: calc(100dvh - 60px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.094) 0 24px 100px;
  overscroll-behavior: contain;
}

@media (max-width: 760px) {
  dialog {
    padding: 20px;
    max-height: calc(100dvh - 32px);
  }
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}

.dialog-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

@media (max-width: 760px) {
  .dialog-head h2 {
    font-size: 17px;
  }
}

.dialog-brand {
  color: var(--ink);
  font-weight: 700;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 18px;
  border: 1px solid #c4c4c4;
  border-radius: 100px;
}

.search-form > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  outline-offset: 0;
  font-size: 16px;
}

.pill-button {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
}

.search-count {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.search-result {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  text-align: left;
}

.search-result img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.search-result span {
  font-size: 16px;
}

.article-dialog {
  width: min(820px, 100% - 32px);
}

.article-dialog-content > img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.article-dialog h1 {
  margin: 16px 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .article-dialog h1 {
    font-size: 22px;
  }
}

.article-dialog h2 {
  margin: 30px 0 12px;
  font-size: 18px;
}

.article-dialog .article-lead {
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 760px) {
  .article-dialog .article-lead {
    font-size: 14px;
  }
}

.article-dialog-content > p {
  line-height: 2.1;
}

@media (max-width: 760px) {
  .article-dialog-content > p {
    font-size: 13px;
  }
}

.preview-note {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .pill-button:hover {
    background: #005ce6;
    color: #fff;
    border-color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .search-result:hover {
    color: var(--accent);
  }
}

/* ── 記事のレイアウト・本文・会話・引用・関連商品 ── */

.conversation-heading h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .conversation-heading h2 {
    font-size: 21px;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .breadcrumbs {
    gap: 8px;
    margin-top: 22px;
  }
}

.story-page {
  width: min(820px, 100% - 48px);
  margin: 48px auto 0;
}

@media (max-width: 760px) {
  .story-page {
    margin: 30px auto 0;
    width: calc(100% - 40px);
  }
}

.story-header {
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  .story-header {
    margin-bottom: 23px;
  }
}

.story-header h1 {
  margin: 20px 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .story-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 760px) {
  .story-header h1 {
    margin: 16px 0;
    line-height: 1.7;
    font-size: 25px;
  }
}

.story-header .post-meta {
  flex-wrap: wrap;
  margin-top: 0;
  font-size: 14px;
}

.sample-label {
  color: var(--muted);
  font-size: 13px;
}

.story-cover {
  margin: 0 0 40px;
}

@media (max-width: 760px) {
  .story-cover {
    margin: 0 0 28px;
  }
}

.story-content {
  max-width: 960px;
  margin-inline: auto;
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 2;
}

@media (max-width: 760px) {
  .story-content {
    font-size: 16px;
  }
}

.story-content p {margin: 0 0 24px;
}

.story-content .story-lead {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .story-content .story-lead {
    font-size: 16px;
  }
}

.story-content h2 {margin:56px 0 22px;padding:13px 18px;border:0;border-radius:6px;background:#222;color:#fff;font-size:22px;font-weight:700;line-height:1.65;letter-spacing:-.015em;
}

@media (max-width: 760px) {
  .story-content h2 {margin:44px 0 22px;font-size:20px;
  }
}

.story-content h3 {
  margin: 36px 0 18px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

.story-content h4 {
  margin: 28px 0 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #f3f3f3;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.story-content h5 {
  margin: 24px 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.story-content h5::before { content: "—"; margin-right: 10px; color: #595959; }

.story-content h6 {
  margin: 24px 0 12px;
  color: #595959;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.story-content :is(h2, h3, h4, h5, h6) { scroll-margin-top: 130px; }

.story-content hr { margin: 40px 0; border: 0; border-top: 1px solid #d0d0d0; }

.story-content strong { font-weight: 700; }

.story-content mark { padding: .12em .08em; color: inherit; background: #fff0a6; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.story-content blockquote { margin: 32px 0; padding: 22px 24px; border-left: 3px solid #aaa; background: #f6f6f6; color: #444; }

.story-content blockquote p:last-child { margin-bottom: 0; }

.story-content li { margin: 8px 0; padding-left: .25em; }

.story-content li::marker { color: #b81540; font-weight: 700; }

.story-content li p { margin-bottom: 0; }

.article-point { margin: 32px 0; padding: 22px 24px; border: 1px solid #e5e5e8; border-radius: 14px; background: #f7f7f8; color: #262626; }

.article-point-label { display: block; margin-bottom: 10px; color: #5c5e66; font-size: 12px; font-weight: 600; letter-spacing: .025em; }

.story-content .article-point p { white-space: pre-wrap; }

.story-content .article-point p:last-child { margin-bottom: 0; }

.story-side-column { min-width: 0; }

.article-toc { margin-bottom: 28px; padding: 22px 24px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; }

.article-toc h2 { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }

.article-toc ol, .article-toc-mobile ol { margin: 0; padding: 0; list-style: none; }

.article-toc li, .article-toc-mobile li { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 12px; line-height: 1.8; }

.article-toc li:last-child, .article-toc-mobile li:last-child { border-bottom: 0; }

.article-toc a, .article-toc-mobile a { display: block; border-radius: 0; text-decoration: none; }

.article-toc a:hover, .article-toc-mobile a:hover { color: var(--accent); }

.article-toc .article-toc-level-h3, .article-toc-mobile .article-toc-level-h3 { padding-left: 12px; font-size: 11px; }

.article-toc .article-toc-level-h4, .article-toc-mobile .article-toc-level-h4 { padding-left: 24px; font-size: 11px; }

.article-toc-mobile { display: none; max-width: 960px; margin: 0 auto 28px; border-block: 1px solid var(--line); padding: 14px 0; }

.article-toc-mobile summary { font-size: 14px; font-weight: 600; cursor: pointer; }

.article-toc-mobile[open] summary { margin-bottom: 14px; }

.article-toc[hidden], .article-toc-mobile[hidden] { display: none; }

@media (max-width: 960px) {
  .article-toc { display: none; }
  .article-toc-mobile:not([hidden]) { display: block; }
}

@media (max-width: 760px) {
  .story-content h3 { margin-top: 32px; font-size: 18px; }
  .article-point { padding: 18px; }
}

.story-back {
  margin-top: 45px;
}

.character-conversation {
  max-width: 960px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .character-conversation {
    margin: 38px auto 0;
    padding-top: 26px;
  }
}

.conversation-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
}

.conversation-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.conversation-turns {
  display: grid;
  gap: 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.conversation-turn {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 760px) {
  .conversation-turn {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
}

.conversation-avatar {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--avatar-bg);
}

@media (max-width: 760px) {
  .conversation-avatar {
    width: 40px;
    height: 40px;
  }
}

.conversation-avatar img {
  position: absolute;
  left: 50%;
  top: var(--avatar-y);
  width: var(--avatar-scale);
  height: var(--avatar-scale);
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.conversation-message {
  min-width: 0;
}

.conversation-speaker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 7px;
  color: var(--character-color);
  font-weight: 600;
  font-size: 16px;
}

.conversation-speaker span {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

.conversation-bubble {
  margin: 0;
  padding: 17px 20px;
  border-radius: 0 16px 16px;
  background: var(--character-bg);
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .conversation-bubble {
    padding: 13px 15px;
  }
}

.i-arrow-left {
  --icon: url("../icons/arrow-right.svg");
  transform: rotate(180deg);
}

.related-section {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .related-section {
    margin-top: 48px;
    padding-top: 30px;
  }
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

@media (max-width: 760px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  min-width: 0;
  border-radius: var(--radius-card);
}

.related-card .featured-body h3 {
  font-size: 21px;
}

@media (hover: hover) and (pointer: fine) {
  .related-card:hover .thumb-frame img {
    transform: scale(1.045);
  }
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumbs a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .related-card h3 a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .story-back:hover .icon {
    filter: brightness(0) invert(1);
  }
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 1270px) {
  .article-layout {
    gap: 36px;
  }
}

@media (max-width: 1060px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 254px;
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
}

@media (max-width: 760px) {
  .article-layout {
    margin-top: 28px;
  }
}

.article-layout .story-page {
  width: 100%;
  min-width: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .article-layout .story-page {
    max-width: 960px;
    margin-inline: auto;
  }
}

.article-layout .sidebar {
  min-width: 0;
}

.rss-quote {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 8px auto 0;
  padding: 24px 28px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-card);
  background: var(--paper);
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .rss-quote {
    padding: 20px;
  }
}

.rss-quote-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.rss-quote-label .icon {
  width: 18px;
  height: 18px;
}

.rss-quote-content {
  padding-left: 18px;
  border-left: 3px solid #bdbdbd;
}

.rss-quote-source {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 6px;
  color: #525252;
  font-size: 14px;
}

.rss-quote-source time {
  font-variant-numeric: tabular-nums;
}

.rss-quote-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.rss-quote-title a {
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rss-quote blockquote {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-thumb);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .rss-quote blockquote {
    padding: 12px 14px;
  }
}

.rss-quote blockquote p {
  margin: 0;
}

.rss-quote-link {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.rss-quote-link .icon {
  width: 18px;
  height: 18px;
}

.product-box {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 24px 28px 28px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-card);
  background: #fff;
}

@media (max-width: 760px) {
  .product-box {
    margin: 38px auto 0;
    padding: 20px 20px 24px;
  }
}

.product-box-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.product-box-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .product-box-heading h2 {
    font-size: 18px;
  }
}

.pr-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.product-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-item {
  display: grid;
  align-items: start;
  gap: 16px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 160px minmax(0, 1fr);
}

@media (max-width: 760px) {
  .product-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-name {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.product-note {
  margin: 4px 0 0;
  color: #525252;
  font-size: 14px;
  line-height: 1.8;
}

.product-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  grid-column: 2;
  justify-self: start;
}

@media (max-width: 760px) {
  .product-button {
    width: 100%;
  }
}

.product-button .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

@media (hover: hover) and (pointer: fine) {
  .rss-quote a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-button:hover {
    background: #fff;
    color: var(--ink);
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-button:hover .icon {
    filter: none;
  }
}

.story-content .embed-video {
  margin: 0 0 32px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.story-content .embed-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-content .twitter-tweet {
  max-width: 550px;
  margin: 0 auto 32px;
  padding: 18px 22px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-card);
  background: #fff;
  color: #525252;
  font-size: 14px;
  line-height: 1.9;
}

.story-content .twitter-tweet p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
}

.story-content .twitter-tweet a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story-content iframe.twitter-tweet {
  padding: 0;
  border: 0;
}

.quoted-image {
  margin: 0 0 32px;
  padding: 16px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-card);
  background: var(--paper);
}

@media (max-width: 760px) {
  .quoted-image {
    padding: 12px;
  }
}

.quoted-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.quoted-image figcaption {
  margin-top: 10px;
  color: #525252;
  font-size: 13px;
  line-height: 1.7;
}

.quoted-image figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-image {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
  grid-row: span 2;
}

@media (max-width: 760px) {
  .product-image {
    width: min(200px, 100%);
    height: auto;
    grid-row: auto;
    justify-self: center;
    aspect-ratio: 1;
  }
}

.product-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-search .icon {
  width: 16px;
  height: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .quoted-image figcaption a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-search:hover {
    color: var(--accent);
  }
}

@media (max-width: 760px) {
  .product-item > .product-text:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .product-item > .product-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .product-image + .product-text {
    grid-column: 1 / -1;
  }
}

.story-content ul {
  padding-left: 24px;
  margin: 22px 0 26px;
}

.story-content ol {
  padding-left: 24px;
  margin: 22px 0 26px;
}

.story-content a {
  color: #005ce6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-sources a {
  color: #005ce6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.editor-comment {
  max-width: 960px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.editor-comment h2 {
  font-family: var(--display);
  font-size: 25px;
}

.editor-comment p {
  white-space: pre-wrap;
}

.story-sources {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 20px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #f5f5f5;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.story-sources h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.6;
}

.story-sources ul {
  margin: 0;
  padding-left: 18px;
}

.story-sources li + li {
  margin-top: 6px;
}

.story-share {
  margin-top: 32px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.story-share h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.story-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.share-button:hover {
  background: var(--ink);
  color: #fff;
}

.story-share [hidden] {
  display: none;
}

.story-share-status {
  margin: 10px 0 0;
  font-size: 13px;
}

.story-share-status:empty {
  margin: 0;
}

.story-share-url {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 16px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 960px;
  margin: 32px auto;
}

.story-tags a {
  padding: 4px 14px;
  border: 1px solid var(--line);
}

.character-conversation .conversation-turns {
  margin-top: 0;
}

/* ── 記事内の表 ── */

.article-table {
  display: contents;
}

.story-content .article-table .emdash-table {
  table-layout: auto;
}

.story-content .article-table--balanced .emdash-table {
  overflow-wrap: anywhere;
}

.article-table--balanced .emdash-table tr > :nth-child(1) { width: var(--table-column-1); }
.article-table--balanced .emdash-table tr > :nth-child(2) { width: var(--table-column-2); }
.article-table--balanced .emdash-table tr > :nth-child(3) { width: var(--table-column-3); }
.article-table--balanced .emdash-table tr > :nth-child(4) { width: var(--table-column-4); }
.article-table--balanced .emdash-table tr > :nth-child(5) { width: var(--table-column-5); }
.article-table--balanced .emdash-table tr > :nth-child(6) { width: var(--table-column-6); }
.article-table--balanced .emdash-table tr > :nth-child(7) { width: var(--table-column-7); }
.article-table--balanced .emdash-table tr > :nth-child(8) { width: var(--table-column-8); }

.story-content .article-table .emdash-table .article-table-short-heading {
  white-space: nowrap;
}

.article-table--fit .emdash-table {
  min-width: 0 !important;
}

@media (max-width: 760px) {
  .story-content .article-table .emdash-table {
    font-size: 13.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
  }
  .story-page .story-content .article-table .emdash-table :is(th, td) {
    padding: 8px;
  }
  .story-content .article-table .emdash-table th {
    text-wrap: balance;
  }
  .article-table--keep-1 .emdash-table tr > :nth-child(1),
  .article-table--keep-2 .emdash-table tr > :nth-child(2),
  .article-table--keep-3 .emdash-table tr > :nth-child(3) {
    white-space: nowrap;
  }
  .article-table-token,
  .article-table-note {
    display: inline-block;
    max-inline-size: 100%;
    vertical-align: top;
    white-space: inherit;
    overflow-wrap: normal;
  }
  .article-table-note {
    text-wrap: balance;
  }
}

/* ── 一覧・固定ページ・プレビュー表示 ── */

.info-content {
  max-width: 840px;
  margin: 44px auto 0;
  font-size: 17px;
  line-height: 2.05;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .info-content {
    margin: 30px auto 0;
    font-size: 16px;
    line-height: 2;
  }
}

.member-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.member-row img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
}

.member-row p {
  margin: 0;
  font-size: 15px;
}

.member-row strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.page-shell {
  width: min(1320px, 100% - 40px);
  margin: 44px auto;
}

.page-shell h1 {
  font-family: var(--display);
  font-size: 34px;
}

.demo-notice {
  padding-block: 10px;
  background: #f1f1f1;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 760px) {
  .demo-notice {
    font-size: 12px;
  }
}

.demo-notice .page-frame {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.demo-notice a {
  color: #005ce6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-badge a {
  color: #005ce6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 16px;
  margin-bottom: 24px;
  background: #fff0a6;
  border-radius: 8px;
  font-size: 14px;
}

.listing-page {
  margin-top: 44px;
}

.listing-page .content-grid {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.page-heading {
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: 34px;
}

@media (max-width: 760px) {
  .page-heading {
    font-size: 28px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.pagination a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid var(--line);
}

.empty-state {
  padding-block: 48px;
}

.info-hero {
  background: #12cbe4;
  color: #171717;
  padding: 28px 0 48px;
}

@media (max-width: 760px) {
  .info-hero {
    padding: 22px 0 30px;
  }
}

.info-breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  margin-bottom: 34px;
}

@media (max-width: 760px) {
  .info-breadcrumb {
    font-size: 12px;
    margin-bottom: 24px;
    gap: 8px;
  }
}

.info-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info-eyebrow {
  font: 600 12px/1.5 var(--sans, sans-serif);
  letter-spacing: 0.09em;
  margin: 0 0 12px;
}

@media (max-width: 760px) {
  .info-eyebrow {
    font-size: 11px;
  }
}

.info-hero h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .info-hero h1 {
    font-size: 30px;
  }
}

.info-lead {
  font-size: 17px;
  max-width: 800px;
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 760px) {
  .info-lead {
    font-size: 16px;
  }
}

.info-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 24px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

@media (max-width: 760px) {
  .info-navigation {
    gap: 6px 18px;
    font-size: 13px;
    padding: 18px 0;
  }
}

.info-navigation a {
  padding: 6px 0;
  min-height: 36px;
  text-underline-offset: 6px;
}

.info-navigation a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline #005ce6;
}

.info-content h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #171717;
  font-weight: 700;
  scroll-margin-top: 140px;
}

@media (max-width: 760px) {
  .info-content h2 {
    margin: 34px 0 18px;
    font-size: 22px;
  }
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  margin: 0 0 22px;
}

.info-content ul {
  padding-left: 1.5em;
  margin: 0 0 24px;
}

.info-content ol {
  padding-left: 1.5em;
  margin: 0 0 24px;
}

.info-content li + li {
  margin-top: 8px;
}

.info-content a {
  color: #005ce6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info-content a:hover {
  color: #00399a;
}

.info-updated {
  display: block;
  font-size: 13px;
  color: #666;
  margin: 0 0 28px;
}

/* ── お問い合わせフォーム ── */

.contact-section {
  margin-top: 46px;
}

.contact-section .contact-field {
  margin: 0 0 27px;
}

.contact-section .contact-field label {
  display: block;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 10px;
}

.contact-section .contact-field label span {
  display: inline-block;
  font-size: 11px;
  vertical-align: middle;
  padding: 1px 8px;
  margin-left: 8px;
  background: #12cbe4;
  border-radius: 3px;
}

.contact-section .contact-field label .is-optional {
  background: #eee;
  color: #555;
}

.contact-section .contact-field input,
.contact-section .contact-field textarea,
.contact-section .contact-field select {
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  color: #171717;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  box-sizing: border-box;
}

.contact-section .contact-field textarea {
  resize: vertical;
  min-height: 210px;
}

.contact-section .contact-field :focus-visible {
  outline: 3px solid #005ce6;
  outline-offset: 3px;
}

.contact-section .contact-help {
  font-size: 13px;
  color: #666;
  margin: 6px 0 0 !important;
  line-height: 1.8;
}

.contact-section .contact-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  cursor: pointer;
}

.contact-section .contact-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 5px;
  accent-color: #005ce6;
}

.contact-section .contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-section .contact-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #171717;
  color: #fff;
  border: 2px solid #171717;
  border-radius: 100px;
  padding: 15px 28px;
  min-height: 58px;
  min-width: 260px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.contact-section .contact-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-section .contact-submit:hover:not(:disabled) {
  background: #005ce6;
  border-color: #005ce6;
}

.contact-section .contact-status {
  color: #a52320;
  font-size: 15px;
  margin: 16px 0 !important;
}

.contact-section .contact-status:empty {
  margin: 0 !important;
}

.contact-section .contact-status:focus {
  outline: 2px solid #005ce6;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .contact-section .contact-submit {
    width: 100%;
    min-width: 0;
  }
  .contact-section .contact-consent {
    font-size: 14px;
  }
}

/* ── フッター ── */
.site-footer {
  margin-top: 88px;
  background: #f5f5f5;
  padding-top: 0;
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 48px;
  }
}

.back-to-top {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid #c4c4c4;
}

@media (max-width: 760px) {
  .back-to-top {
    width: 40px;
    height: 40px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1.2fr;
  gap: 56px;
  padding: 44px 0 42px;
}

@media (max-width: 1270px) {
  .footer-grid {
    gap: 35px;
  }
}

@media (max-width: 1060px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    padding: 32px 0 30px;
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
}

.footer-brand .brand-text {
  font-size: 25px;
}

.footer-brand p {
  max-width: 270px;
  margin: 18px 0;
  color: #666;
  line-height: 2.1;
  font-size: 15px;
}

@media (max-width: 760px) {
  .footer-brand p {
    max-width: 330px;
    margin: 15px 0;
  }
}

.sns-links {
  display: flex;
  gap: 9px;
}

.sns-links a {
  display: grid;
  place-items: center;
  border: 1px solid #dedede;
  font-family: var(--sans);
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.sns-links .icon {
  width: 18px;
  height: 18px;
}

.footer-links h2 {
  margin: 0 0 18px;
  font-weight: 600;
  font-size: 16px;
}

.footer-tags h2 {
  margin: 0 0 18px;
  font-weight: 600;
  font-size: 16px;
}

.footer-links a {
  display: table;
  margin: 0 0 9px;
  color: #525252;
  font-size: 14px;
  min-height: 32px;
}

.footer-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1060px) {
  .footer-tags > div {
    max-width: 100%;
  }
}

.footer-tags a {
  border: 1px solid #d4d4d4;
  color: #525252;
  white-space: nowrap;
  font-size: 14px;
  padding: 5px 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100% - 112px);
  margin: 0 auto;
  padding: 19px 0;
  border-top: 1px solid #dedede;
  color: #737373;
  font-family: var(--sans);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px 24px;
}

@media (max-width: 1270px) {
  .footer-bottom {
    width: calc(100% - 80px);
  }
}

@media (max-width: 760px) {
  .footer-bottom {
    width: calc(100% - 40px);
    padding-block: 18px;
  }
}

.footer-bottom p {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--accent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: #005ce6;
    color: #fff;
    border-color: #005ce6;
  }
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover .icon {
    filter: brightness(0) invert(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-tags a:hover {
    background: #ededed;
    color: var(--ink);
  }
}

@media (hover: hover) and (pointer: fine) {
  .sns-links a:hover {
    background: #ededed;
    color: var(--ink);
  }
}

@media (max-width: 1060px) {
  .footer-tags {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-message {
    padding-bottom: 30px;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .footer-message p {
    font-size: 25px;
  }
}

@media (max-width: 370px) {
  .footer-message p {
    font-size: 23px;
  }
}

@media (max-width: 760px) {
  .back-to-top .icon {
    width: 18px;
    height: 18px;
  }
}

.footer-brand {
  grid-column: 1 / span 2;
}

@media (max-width: 760px) {
  .footer-brand .site-brand {
    margin-bottom: 0;
  }
}

.footer-bottom .back-to-top {
  margin-left: auto;
  order: 3;
  width: 38px;
  height: 38px;
}

.footer-links {
  grid-column: 3;
}

@media (max-width: 760px) {
  .footer-links {
    grid-column: 2;
  }
}

.affiliate-disclosure {
  color: #525252;
  font-size: 12px;
}

.footer-grid--with-site-menu {
  grid-template-columns: minmax(270px, 1fr) max-content max-content minmax(0, 1fr);
  column-gap: 40px;
}

@media (max-width: 1060px) {
  .footer-grid--with-site-menu {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    column-gap: 32px;
  }
}

@media (max-width: 760px) {
  .footer-grid--with-site-menu {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 24px 32px;
  }
}

.footer-grid--with-site-menu .footer-brand {
  grid-column: 1;
}

@media (max-width: 760px) {
  .footer-grid--with-site-menu .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-grid--with-site-menu .footer-main-menu {
  grid-column: 2;
}

@media (max-width: 760px) {
  .footer-grid--with-site-menu .footer-main-menu {
    grid-column: 1;
  }
}

.footer-site-menu {
  grid-column: 3;
  min-width: 0;
}

@media (max-width: 760px) {
  .footer-site-menu {
    grid-column: 2;
  }
}

.footer-site-menu a {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* ニュースの横スクロール */

@keyframes news-stream {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive article summaries and member tiles. */
.post-row-body > p.post-excerpt-mobile {
  display: none;
}

@media (max-width: 760px) {
  .character-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .character-profile {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .character-profile h3 {
    font-size: 18px;
  }

  .character-role {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.5;
  }

  .character-description {
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
  }

  .featured-body,
  .post-row-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: start;
  }

  .featured-body {
    grid-template-rows: auto auto 1fr auto;
  }

  .featured-body .category-label,
  .post-row-body .category-label {
    grid-column: 1;
    grid-row: 1;
  }

  .featured-body .post-date,
  .post-row-body .post-meta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    margin: 0;
    white-space: nowrap;
    font-size: 12px;
  }

  .featured-body h3,
  .post-row h3 {
    grid-column: 1 / -1;
    font-size: 19px;
    line-height: 1.5;
    margin: 12px 0 10px;
  }

  .featured-body > p:not(.category-label),
  .post-row-body > p:not(.category-label) {
    grid-column: 1 / -1;
    line-height: 1.65;
  }

  .post-row-body > p.post-excerpt-desktop {
    display: none;
  }

  .post-row-body > p.post-excerpt-mobile {
    display: block;
  }
}

.product-item > .product-text:first-child {
  grid-column: 1 / -1;
}

.product-item > .product-text:first-child + .product-button {
  grid-column: 1 / -1;
}

.search-form input:focus-visible {
  outline: none;
}

.search-form:focus-within {
  border-color: var(--ink);
}

/* グルメカテゴリとPeko */
.i-category-gourmet { --icon: url("../icons/category-gourmet.svg"); --category-icon-color: #b84438; }
.dot-gourmet { --category: #e66a58; }
.character-gourmet { --character-color: #b84438; --character-bg: #fff0e8; }
.category-coral { background: #fff0e8; color: #b84438; }
