@charset "UTF-8";

/* =========================================================
   学踏 (GAKUTO) — 共通スタイル
   國學院大學メディア デザイン制作用 Figma をもとに再現
   ========================================================= */

:root {
  --primary:      #2758C4;  /* メインの青 */
  --primary-deep: #12224a;  /* 濃紺（ニュースレターなどの塗り面） */
  --secondary:    #549AAF;  /* サブの青緑 */
  --accent:       #C49227;  /* アクセントの金 */
  --tint:         #e9f5ff;  /* 青の薄い面（コールアウト背景など） */

  --ink:          #1a1a1a;
  --ink-soft:     #4a4a4a;
  --muted:        #7c7c7c;
  --line:         #e2e2df;
  --line-strong:  #cfcfc9;

  --yellow:       #f3e14b;

  --bg:           #ffffff;
  --bg-gray:      #f6f6f3;

  --serif: "Hiragino Mincho ProN", "HiraMinProN-W3", "Yu Mincho", "YuMincho",
           "Noto Serif JP", "Songti SC", serif;
  --sans:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
           "Noto Sans JP", system-ui, sans-serif;

  --wrap: 1200px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-wide { max-width: 1400px; margin-inline: auto; padding-inline: 24px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  max-width: 1400px;
  margin-inline: auto;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-family: var(--sans);
  font-size: 13px;
  background: transparent;
}
.search svg { flex: none; }

.brand { text-align: center; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-name {
  font-size: 32px;
  letter-spacing: .08em;
  line-height: 1;
}
.brand-sub {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  font-family: var(--sans);
}
.brand-sub .u { font-family: var(--serif); letter-spacing: .12em; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-family: var(--sans);
}
.header-actions a { display: inline-flex; align-items: center; gap: 6px; }

.nav-toggle { display: none; }

/* グローバルナビ */
.gnav { border-bottom: 1px solid var(--line); }
.gnav ul {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin-inline: auto;
  padding: 0 40px;
}
.gnav a {
  display: block;
  padding: 13px 4px;
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.gnav .is-active { color: var(--primary); }

/* パンくず */
.breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 0;
}
.breadcrumb span { margin: 0 8px; }

/* =========================================================
   見出し
   ========================================================= */
.sec-head { margin: 64px 0 28px; }
.sec-title {
  font-size: 27px;
  letter-spacing: .04em;
  color: var(--primary);
  margin: 0;
  display: inline-block;
}
.sec-title .mark { position: relative; display: inline-block; }
.sec-title .mark::after {           /* 手描き風の丸囲み */
  content: "";
  position: absolute;
  inset: -12px -14px -10px -14px;
  border: 1.4px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-4deg) scaleY(.92);
  pointer-events: none;
}
.sec-title.plain { color: var(--primary); }
.sec-title.underline { border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }

.side-title {
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 16px;
  letter-spacing: .04em;
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  border: 1px solid var(--primary);
  width: 100%;
}
.btn:hover { opacity: .88; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-inline { width: auto; }

/* =========================================================
   画像プレースホルダ
   ========================================================= */
.ph {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5) 0 2px, transparent 2px 22px),
    linear-gradient(45deg,  rgba(255,255,255,.5) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #b9c8d6, #8fa4b8 55%, #6f8598);
}
.ph.warm {
  background:
    linear-gradient(135deg, rgba(255,255,255,.4) 0 2px, transparent 2px 24px),
    linear-gradient(160deg, #d9cbbd, #b9a898 60%, #8f8375);
}
.ph.plain { background: #e6e6e2; }

/* Figmaデザインから取り込んだ実写真 */
.ph.p1      { background: url("img/article-01.jpg")   center 30% / cover no-repeat #dfe5ea; }
.ph.p2      { background: url("img/article-02.jpg")   center 30% / cover no-repeat #e6ded6; }
.ph.p-hero  { background: url("img/hero.jpg")         center 35% / cover no-repeat #dfe5ea; }
.ph.p-main  { background: url("img/article-main.jpg") center 30% / cover no-repeat #dfe5ea; }
.ph.p-event { background: url("img/event.jpg")        center      / cover no-repeat #16324a; }
.ph::after {                    /* 右上の黄色い三角 */
  content: "";
  position: absolute;
  right: 0; top: 0;
  border-top: 34px solid var(--yellow);
  border-left: 34px solid transparent;
}
.ph.no-flag::after { content: none; }

/* =========================================================
   記事カード
   ========================================================= */
.card-grid { display: grid; gap: 40px 30px; }
.card-grid.col2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.col3 { grid-template-columns: repeat(3, 1fr); }

.card-thumb { aspect-ratio: 16 / 10; }
.card-title {
  font-size: 17px;
  line-height: 1.65;
  margin: 14px 0 10px;
  letter-spacing: .02em;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.card-meta .n { font-size: 15px; font-family: var(--serif); }
.card-author {
  margin-top: 8px;
  font-size: 13px;
  color: var(--primary);
}
.card-author small { font-size: 11px; margin-left: 6px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.cat { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); }
.cat::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   トップ：ヒーロー
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
  padding: 54px 0 10px;
}
.hero-label { color: var(--primary); font-size: 15px; letter-spacing: .06em; }
.hero h1 {
  font-size: 37px;
  line-height: 1.55;
  letter-spacing: .02em;
  margin: 18px 0 22px;
  font-weight: 500;
}
.hero-img { aspect-ratio: 16 / 10; }

/* 2カラム（本文＋サイドバー） */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

/* サイドバー */
.side-block { margin-bottom: 44px; }
.side-list li { display: flex; gap: 12px; padding: 9px 0; }
.side-list .ph { width: 74px; aspect-ratio: 4/3; flex: none; }
.side-list p { margin: 0; font-size: 12.5px; line-height: 1.6; }

.pitch { margin-bottom: 40px; }
.pitch-inner { display: flex; gap: 14px; }
.pitch-copy { font-size: 12.5px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 18px; }
.pitch .btn { font-size: 12px; padding: 11px 8px; white-space: nowrap; }
.pitch-vertical {
  writing-mode: vertical-rl;
  font-size: 22px;
  letter-spacing: .12em;
  line-height: 1.45;
  margin: 0;
  flex: none;
}

.side-comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-comment:last-of-type { border-bottom: 0; }
.comment-who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e3e3df;
  flex: none;
}
.comment-who b { font-size: 13px; font-weight: 500; }
.comment-who small { display: block; font-size: 10.5px; color: var(--muted); }
.comment-text {
  margin: 10px 0 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.comment-stat {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--muted);
}

/* =========================================================
   盛り上がっているコメント
   ========================================================= */
.band-gray { background: var(--bg-gray); padding: 6px 0 70px; margin-top: 70px; }

.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px;
}
.ccard p { margin: 0; font-size: 13.5px; line-height: 1.85; }
.ccard .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.ccard .row .n { font-size: 15px; font-family: var(--serif); color: var(--ink); }
.ccard .who { font-size: 12px; color: var(--primary); }
.ccard .ref {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   カルーセル（新着記事を棚よみ）
   ========================================================= */
.shelf {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.shelf > * { flex: 0 0 300px; scroll-snap-align: start; }
.shelf::-webkit-scrollbar { height: 6px; }
.shelf::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.pager button {
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 3px;
  color: var(--ink-soft);
}

/* =========================================================
   分類ごとの人気記事（タブ）
   ========================================================= */
.tabs { display: flex; gap: 2px; }
.tabs button {
  flex: 1;
  padding: 11px 6px;
  background: var(--bg-gray);
  border: 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--serif);
}
.tabs button[aria-selected="true"] { background: #2f2f2f; color: #fff; }

.rank { display: grid; grid-template-columns: 150px 1fr; gap: 0 26px; }
.rank-thumbs { display: grid; gap: 2px; }
.rank-thumbs .ph { aspect-ratio: 4 / 3; }
.rank-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rank-list li:first-child { padding-top: 14px; }
.rank-list h3 { margin: 0 0 10px; font-size: 17px; font-weight: 500; line-height: 1.6; }

/* =========================================================
   イベント
   ========================================================= */
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event {
  display: flex;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.event .ph { width: 145px; aspect-ratio: 3/2; flex: none; }
.event h3 { margin: 0 0 10px; font-size: 14px; font-weight: 500; line-height: 1.65; }
.event dl { margin: 0; font-family: var(--sans); font-size: 11.5px; color: var(--ink-soft); }
.event dl div { display: flex; align-items: center; gap: 7px; margin-top: 5px; }

/* =========================================================
   ニュースレター
   ========================================================= */
.newsletter {
  background: var(--primary-deep);
  color: #fff;
  border-radius: 3px;
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 76px 0 90px;
}
.newsletter h2 { margin: 0 0 14px; font-size: 25px; font-weight: 500; letter-spacing: .04em; }
.newsletter p { margin: 0; font-size: 13px; line-height: 1.9; max-width: 640px; opacity: .92; }
.newsletter .btn { flex: none; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 60px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-nav { text-align: right; font-family: var(--sans); font-size: 13px; }
.footer-nav .actions { display: flex; gap: 24px; justify-content: flex-end; margin-bottom: 18px; }
.footer-nav .actions a { display: inline-flex; align-items: center; gap: 6px; }
.footer-links { display: flex; gap: 0; color: var(--ink-soft); }
.footer-links li + li::before { content: "｜"; color: var(--line-strong); margin: 0 12px; }
.copyright {
  margin-top: 34px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--muted);
}

/* =========================================================
   記事詳細
   ========================================================= */
.article-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 26px 0 44px;
}
.article-head .ph { aspect-ratio: 4 / 3; }
.article-date { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.article-head h1 {
  font-size: 33px;
  font-weight: 500;
  line-height: 1.55;
  margin: 16px 0 20px;
  letter-spacing: .02em;
}
.byline { font-size: 17px; color: var(--primary); }
.byline small { font-size: 11.5px; margin-left: 8px; }

.actions-row { display: flex; gap: 12px; margin: 26px 0 20px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  background: #fff;
}
.chip .n { font-family: var(--serif); font-size: 15px; }

.share { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0 0; }
.share a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 12px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 11px;
  color: #fff;
  background: #555;
}
.share .fb { background: #1877f2; }
.share .x  { background: #000; }
.share .hb { background: #00a4de; }
.share .nt { background: #41c9b4; }
.share .gray { background: #4b4b4b; width: 46px; justify-content: center; }

.prose { font-size: 16px; line-height: 2.15; letter-spacing: .02em; }
.prose p { margin: 0 0 30px; }
.prose figure { margin: 0 0 34px; }
.prose figure .ph { aspect-ratio: 16 / 9; }
.prose figcaption {
  text-align: center;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.prose h2 {
  font-size: 25px;
  font-weight: 500;
  margin: 54px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  border-image: none;
  position: relative;
}
.prose h2 { border-top: 0; }
.prose h2::before {
  content: "";
  display: block;
  width: 62px;
  height: 1px;
  background: var(--primary);
  margin-bottom: 24px;
}
.prose h3 { font-size: 20px; font-weight: 500; margin: 40px 0 18px; }
.prose h4 { font-size: 17px; font-weight: 500; margin: 32px 0 14px; }

.comment-panel { border-left: 1px solid var(--line); padding-left: 28px; }

/* =========================================================
   認証ページ（ログイン／新規会員登録）
   ========================================================= */
.auth { max-width: 420px; margin: 60px auto 110px; }
.auth h1 {
  text-align: center;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .06em;
  margin: 0 0 38px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 7px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
}
.field input::placeholder { color: #b5b5b0; }
.note { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 6px; }

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  margin: 26px 0 22px;
}
.auth .btn { margin-top: 6px; }
.auth-links {
  margin-top: 20px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 2.1;
}
.auth-links a { color: var(--primary); }
.legal {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.9;
}
.auth-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 22px 0 40px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--muted);
}

/* =========================================================
   規約・ポリシーページ
   ========================================================= */
.legal-page { max-width: 820px; margin: 0 auto 100px; }
.legal-page h1 {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary);
  margin: 18px 0 6px;
}
.legal-page .updated {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 40px;
}
.legal-page .lead { font-size: 15.5px; line-height: 2.1; margin: 0 0 44px; }
.legal-page h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-page h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 30px 0 12px;
  color: var(--ink-soft);
}
.legal-page p { font-size: 15px; line-height: 2.05; margin: 0 0 18px; }
.legal-page ol, .legal-page ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.legal-page li {
  font-size: 15px;
  line-height: 2.05;
  margin-bottom: 12px;
  padding-left: 2.6em;
  text-indent: -2.6em;
}
.legal-page .sign {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 2.05;
}
.legal-page .sign .end { text-align: right; letter-spacing: .3em; }
.legal-page .source {
  margin-top: 40px;
  padding: 16px 18px;
  background: var(--tint);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.legal-page .source a { color: var(--primary); word-break: break-all; }

@media (max-width: 900px) {
  .legal-page h1 { font-size: 22px; }
  .legal-page h2 { font-size: 17px; }
  .legal-page p, .legal-page li { font-size: 14.5px; line-height: 1.95; }
}

/* 記事一覧ページ */
.page-title { font-size: 30px; color: var(--primary); margin: 14px 0 30px; font-weight: 500; }
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 56px 0 0;
  font-family: var(--sans);
  font-size: 13px;
}
.pagination a, .pagination span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}
.pagination .now { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =========================================================
   マイページ（Figma「マイページ」フレーム準拠）
   ========================================================= */
.header-actions .me { gap: 10px; }
.avatar.lg { width: 44px; height: 44px; }

.mypage {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0 56px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 90px;
}

/* ---- 左サイド ---- */
.mp-side {
  position: relative;
  padding-right: 40px;
  text-align: left;
}
.mp-side::after {                 /* 右の縦罫 */
  content: "";
  position: absolute;
  right: 0; top: 118px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.mp-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: #e3e3df;
  margin-bottom: 14px;
}
.mp-avatar.sm { width: 78px; height: 78px; margin: 0; flex: none; }
.mp-name { margin: 0; font-size: 21px; letter-spacing: .04em; }
.mp-org  { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.mp-follow { margin: 18px 0 0; font-size: 13px; font-family: var(--sans); }
.mp-follow b { font-size: 15px; font-family: var(--serif); }

.mp-nav { margin-top: 26px; position: relative; }
.mp-nav li { position: relative; }
.mp-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 0;
  background: none;
  border: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
}
.mp-nav .is-current { font-weight: 600; }
.mp-nav .is-current::after {      /* 縦罫の上に重なる緑のマーカー */
  content: "";
  position: absolute;
  right: -40px; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--primary);
}

/* ---- 右本体 ---- */
.mp-panel { display: none; }
.mp-panel.is-open { display: block; }
.mp-sub { display: none; }
.mp-sub.is-open { display: block; }

.pills { display: flex; gap: 10px; margin-bottom: 30px; }
.pills button {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink);
}
.pills .is-on { background: #2f2f2f; border-color: #2f2f2f; color: #fff; }

.mp-h { font-size: 16px; font-weight: 500; letter-spacing: .1em; margin: 0 0 14px; }

/* フォロー／フォロワー */
.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.person .nm { margin: 0; font-size: 14px; }
.person .tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--bg-gray);
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink-soft);
  vertical-align: 2px;
}
.person .sub { margin: 3px 0 0; font-size: 11px; color: var(--muted); }
.more { text-align: center; margin: 26px 0 0; }
.more a { color: var(--primary); font-size: 14px; }

/* 記事一覧 */
.art-list li { display: flex; gap: 22px; padding: 0 0 34px; }
.art-list .ph { width: 300px; aspect-ratio: 3 / 2; flex: none; }
.art-list h3 { margin: 0 0 12px; font-size: 19px; font-weight: 500; line-height: 1.6; }
.art-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.art-meta .n { font-family: var(--serif); font-size: 14px; }
.bm {
  margin-left: 6px;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.bm.is-on { background: var(--bg-gray); }
.art-author { margin: 12px 0 0; font-size: 13px; color: var(--primary); }
.art-author small { margin-left: 8px; font-size: 11px; color: var(--muted); }
.art-cat { margin: 6px 0 0; font-family: var(--sans); font-size: 12px; }

/* 自分のコメント */
.cmt-list li { display: flex; gap: 22px; padding: 0 0 30px; }
.cmt-art {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 300px;
  flex: none;
}
.cmt-art .ph { display: block; width: 108px; aspect-ratio: 16 / 10; flex: none; }
.cmt-art .ttl {
  display: block;
  font-size: 12px;
  line-height: 1.65;
}
.cmt-main { flex: 1; }
.cmt-main p { margin: 0; font-size: 14px; line-height: 1.95; }
.cmt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.cmt-foot .del { color: #c0392b; }

/* アカウント設定 */
.mp-form { max-width: 760px; }
.mp-form .row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0 24px;
  align-items: start;
  margin-bottom: 26px;
}
.mp-form .row > label {
  padding-top: 10px;
  font-size: 15px;
  letter-spacing: .08em;
}
.mp-form input[type="text"],
.mp-form input[type="email"],
.mp-form input[type="password"],
.mp-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
}
.mp-form textarea { resize: vertical; min-height: 92px; }
.mp-form .note { font-family: var(--sans); font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.icon-row { display: flex; align-items: center; gap: 22px; }

.btn-line {
  padding: 10px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .06em;
}
.btn-line.wide {
  min-width: 280px;
  padding: 13px 26px;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.mp-save { text-align: center; margin: 46px 0 0; }

.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden; }
.seg button {
  padding: 11px 30px;
  border: 0;
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.seg .is-on { background: #2f2f2f; color: #fff; }

/* =========================================================
   レスポンシブ（SP）
   ========================================================= */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 14px 16px;
  }
  .search { display: none; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 9.5px; }
  .header-actions { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 0;
    padding: 6px;
    justify-self: end;
  }
  .icon-search-sp { justify-self: start; }

  .gnav { overflow-x: auto; }
  .gnav ul { justify-content: flex-start; gap: 22px; padding: 0 16px; }

  .hero { grid-template-columns: 1fr; gap: 22px; padding: 26px 0 0; }
  .hero h1 { font-size: 24px; }

  .two-col { grid-template-columns: 1fr; gap: 46px; }
  .card-grid.col2, .card-grid.col3 { grid-template-columns: 1fr; gap: 34px; }
  .event-grid { grid-template-columns: 1fr; }

  .pitch-inner { flex-direction: column-reverse; }
  .pitch-vertical { writing-mode: horizontal-tb; font-size: 20px; }

  .sec-head { margin: 44px 0 20px; }
  .sec-title { font-size: 21px; }

  .rank { grid-template-columns: 1fr; }
  .rank-thumbs { display: none; }
  .tabs { overflow-x: auto; }
  .tabs button { flex: 0 0 auto; padding: 10px 16px; }

  .newsletter { flex-direction: column; align-items: stretch; padding: 26px 22px; margin: 50px 0 60px; }
  .newsletter h2 { font-size: 20px; }

  .footer-inner { flex-direction: column; }
  .footer-nav { text-align: left; }
  .footer-nav .actions { justify-content: flex-start; }
  .footer-links { flex-wrap: wrap; }

  .article-head { grid-template-columns: 1fr; gap: 22px; }
  .article-head h1 { font-size: 24px; }
  .comment-panel { border-left: 0; padding-left: 0; }
  .prose { font-size: 15.5px; line-height: 2; }
  .prose h2 { font-size: 21px; }

  .auth { margin: 36px auto 70px; padding-inline: 20px; }

  .mypage { grid-template-columns: 1fr; gap: 0; padding-top: 28px; padding-bottom: 60px; }
  .mp-side { padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .mp-side::after { content: none; }
  .mp-avatar { width: 76px; height: 76px; }
  .mp-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 18px; }
  .mp-nav button { width: auto; padding: 6px 0; font-size: 14px; }
  .mp-nav .is-current::after { right: 0; left: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .mp-body { padding-top: 26px; }
  .pills { flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .pills button { padding: 7px 16px; font-size: 13px; }
  .person-grid { grid-template-columns: 1fr; }
  .art-list li { flex-direction: column; gap: 12px; padding-bottom: 28px; }
  .art-list .ph { width: 100%; }
  .art-list h3 { font-size: 17px; }
  .cmt-list li { flex-direction: column; gap: 12px; }
  .cmt-art { width: 100%; display: flex; gap: 12px; align-items: flex-start; }
  .cmt-art .ph { width: 110px; flex: none; }
  .cmt-art .ttl { margin-top: 0; }
  .mp-form .row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
  .mp-form .row > label { padding-top: 0; font-size: 14px; }
  .btn-line.wide { width: 100%; min-width: 0; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 11px 0; }
}
