/* ===== Editorial / Poster theme =====
   style.css の上に重ねて読み込む見た目の上書き。
   レイアウト・JSが参照するクラスはそのまま、角丸/影/グラデ/ぼかしを排して
   太い罫線・大きな文字・左寄せで構成する（2026-09-29 リデザイン）。 */

:root {
  --orange: #ff6a00;
  --orange-light: #ff6a00;
  --orange-dark: #d95a00;
  --bg: #f6f4f0;
  --bg-card: #f6f4f0;
  --bg-card-hover: #efebe4;
  --text: #141414;
  --text-dim: #6b6660;
  --border: #141414;
  --rule-soft: #d6d0c6;
  --shadow: transparent;
  --display: 'Anton', 'Zen Kaku Gothic New', sans-serif;
  --jp: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--jp);
  font-weight: 500;
  background: var(--bg);
  animation: none;
}

::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar-thumb { background: var(--text); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* 見出し系フォントを一括で差し替え */
.section-title, .page-title, .live-section-title, .card h3, .sns-tab, .sns-panel h3,
.link-info h3, .costume-name, .gallery-credits-title, .gallery-credit-role,
.profile-card-label, .profile-birthday, .profile-goal strong, .cal-nav-label, .cal-header,
.schedule-item-date, .modal-title, .project-card-tag, .project-card-title, .project-card-link,
.project-card-badge, .fanart-notice-title, .fanart-admin-title, .fanart-pending-title,
.expression-bubble-label {
  font-family: var(--display);
  font-weight: 400;
}

/* 角丸・影・浮き上がりを全体で撤去 */
.card, .sns-panel, .link-card, .link-icon, .costume-stage, .costume-toggle-btn, .costume-arrow,
.gallery-credits-panel, .gallery-credit-card, .profile-bio, .profile-card, .video-thumb,
.live-featured .video-thumb, .cal-day, .cal-event, .schedule-item, .schedule-item-tag,
.admin-input, .modal-content, .project-card, .project-card-tag, .project-card-badge,
.fanart-card, .fanart-notice, .fanart-pending-card, .fanart-pending-images img, .btn,
.back-to-top, .lang-toggle, .video-live-badge, .fanart-multi, .costume-image .img-skeleton {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.card:hover, .link-card:hover, .profile-card:hover, .project-card:hover, .project-card-soon:hover,
.fanart-card:hover, .video-card:hover, .btn:hover, .btn-primary:hover, .btn-outline:hover,
.btn-discord:hover, .btn-danger:hover, .back-to-top:hover {
  transform: none;
}

.hero::before, .hero::after, .card::before, .profile-card::before,
.hero-glow-line, .section-divider { display: none; }

/* ===== Header ===== */
header {
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 2px solid var(--text);
}
header.scrolled { box-shadow: none; }
nav { height: 56px; max-width: 1280px; padding: 0 32px; }

.nav-logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
}
.nav-logo img { display: block; height: 48px; width: auto; transition: transform 0.4s var(--ease-out); }
.nav-logo:hover img { transform: scale(1.06); }
.nav-logo .o, .nav-logo span { color: var(--orange); }

.nav-links { gap: 0; align-self: stretch; }
.nav-links li { display: flex; }
.nav-links a {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--text);
}
.nav-links a::after { display: none; }
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { background: var(--text); color: var(--bg); }
.nav-links a.active:hover { color: var(--orange); }

.lang-toggle {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border: none;
  border-left: 1px solid var(--text);
  border-right: 1px solid var(--text);
  color: var(--text);
  padding: 0 18px;
  height: 100%;
  min-width: 104px;   /* 「日本語」⇔「English」で幅が変わってナビがずれないよう固定 */
  text-align: center;
}
.lang-toggle:hover { background: var(--orange); color: #fff; }

.scroll-progress { top: 56px; height: 3px; background: var(--orange); }

/* ===== Buttons ===== */
.btn {
  font-family: var(--jp);
  font-weight: 700;
  border: 2px solid var(--text);
  padding: 0.7rem 1.6rem;
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-discord { border-color: #5865F2; }
.btn-danger { border-color: #e53935; }

/* ===== Section / page headings ===== */
body { counter-reset: sec; }

section { max-width: 1280px; padding: 88px 32px; }

.section-title {
  counter-increment: sec;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--text);
  border-bottom: 6px solid var(--text);
  padding-bottom: 12px;
  margin-bottom: 0;
}
.section-title::before {
  content: counter(sec, decimal-leading-zero);
  font-size: 1.6em;
  line-height: 0.8;
  color: var(--orange);
}
.section-title::after { display: none; }

/* 下層ページのタイトル：ポスターの見出し */
.link-page, .live-page, .fanart-page, .projects-page, .schedule-page {
  max-width: 1280px;
  padding: 104px 32px 88px;
}
.page-title {
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
  color: var(--text);
  text-align: left;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 6px solid var(--text);
}
.page-subtitle {
  text-align: left;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  padding: 12px 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--text);
}

/* ===== Profile（カードをやめて表組み） ===== */
.profile-bio {
  background: none;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 28px 0;
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.5;
}
.profile-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.profile-card {
  background: none;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  overflow: visible;
}
.profile-card:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--text); }
.profile-card:nth-child(even) { padding-left: 40px; }
.profile-card:hover { background: none; border-color: var(--text); }
.profile-card-label {
  background: none;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  padding: 4px 0 0;
  margin: 0;
}
.profile-list { counter-reset: act; gap: 4px; }
.profile-list li { counter-increment: act; padding-left: 0; font-size: 1.05rem; font-weight: 700; }
.profile-list li::before {
  content: counter(act, decimal-leading-zero);
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-family: var(--display);
  color: var(--orange);
  margin-right: 14px;
}
.profile-goal { font-size: 0.9rem; font-weight: 700; }
.profile-sub-now {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-align: left;
  margin-top: 4px;
}
.profile-sub-now.loaded {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  color: var(--text);
  text-align: left;
  margin-top: 4px;
}
.profile-sub-now.achieved { color: var(--orange); animation: none; }
.profile-birthday {
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  color: var(--text);
}
.profile-date-sep { margin: 0; }
.profile-fanname { font-weight: 900; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; display: inline; }
.profile-fanname-reading { display: inline; margin-left: 14px; font-weight: 700; letter-spacing: 0.2em; }

/* ===== Gallery ===== */
.gallery-layout { align-items: stretch; gap: 0; border-bottom: 1px solid var(--text); }
.gallery-main { padding: 32px 32px 24px 0; }
.costume-stage { background: none; border: 1px solid var(--text); }
.costume-display { min-height: 560px; }
.costume-image img { filter: none; }
.costume-image .img-skeleton, .costume-image .img-skeleton.loaded { background: transparent; }
.costume-toggle-btn {
  background: var(--bg);
  backdrop-filter: none;
  border: 1px solid var(--text);
  color: var(--text);
  font-weight: 700;
}
.costume-toggle-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.costume-toggle-btn:hover { border-color: var(--orange); color: var(--orange); }
.costume-toggle-btn.active:hover { color: var(--orange); }
.costume-arrow { border: 2px solid var(--text); color: var(--text); transform: none; font-family: var(--display); }
.costume-arrow:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.costume-name { text-align: left; font-size: 1.6rem; letter-spacing: 0.04em; margin-top: 12px; }
.costume-dots { justify-content: flex-start; }
.costume-dot { width: 24px; height: 4px; border-radius: 0; background: var(--rule-soft); }
.costume-dot.active { background: var(--orange); transform: none; }

/* 表情差分：丸バブル＋ふよふよをやめて四角の差分コマ */
.expression-bubble {
  border-radius: 0;
  border: 1px solid var(--text);
  box-shadow: none;
  animation: none !important;
  transform: none !important;
  background: var(--bg);
}
.expression-bubble:hover { box-shadow: none; }
.expression-bubble-label { background: var(--text); color: var(--bg); font-size: 0.7rem; letter-spacing: 0.12em; }

.gallery-credits-panel {
  background: none;
  border: none;
  border-left: 1px solid var(--text);
  width: 240px;
  padding: 32px 0 32px 32px;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}
.gallery-credits-title {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.14em;
  padding-bottom: 10px;
  border-bottom: 6px solid var(--text);
}
.gallery-credit-card {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 14px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--text);
}
.gallery-credit-card:hover { background: none; }
.gallery-credit-avatar { width: 56px; height: 56px; border-radius: 0; border: 1px solid var(--text); }
.gallery-credit-role { color: var(--orange); opacity: 1; font-size: 0.85rem; min-width: 44px; }
.gallery-credit-name { color: var(--text); font-weight: 700; }
.gallery-credits-divider { display: none; }

/* ===== Link ===== */
.link-list { gap: 0; counter-reset: lnk; border-top: 6px solid var(--text); }
.link-card {
  counter-increment: lnk;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 22px 0;
  gap: 24px;
  /* ホバー時は黒帯が左からゆっくり伸びる（ease-out系で最後がふわっと止まる） */
  background: linear-gradient(var(--text), var(--text)) left / 0% 100% no-repeat;
}
/* .fade-in の transition に負けないよう .link-list を前置 */
.link-list .link-card { transition: background-size 0.6s var(--ease-out), padding 0.6s var(--ease-out), color 0.4s ease, opacity 0.5s ease; }
.link-card::before {
  content: counter(lnk, decimal-leading-zero);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--orange);
  width: 64px;
  flex-shrink: 0;
}
.link-card:hover { background-size: 100% 100%; color: var(--bg); padding-left: 16px; padding-right: 16px; }
.link-info p { transition: color 0.4s ease; }
.link-card:hover .link-info p { color: var(--rule-soft); }
.link-card .link-arrow { transition: transform 0.6s var(--ease-out); }
.link-card:hover .link-arrow { transform: translateX(6px); }
.link-info h3 { font-size: 1.9rem; letter-spacing: 0.02em; line-height: 1.1; }
.link-info p { font-weight: 700; }
.link-arrow { font-family: var(--display); font-size: 2rem; }

/* ===== Live ===== */
.live-section { margin-bottom: 64px; }
.live-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  border-bottom: 6px solid var(--text);
  padding-bottom: 8px;
}
.video-thumb { border: 1px solid var(--text); }
.video-title { font-weight: 700; }
.video-date { font-family: var(--display); font-weight: 400; letter-spacing: 0.06em; }
.video-live-badge { font-family: var(--display); font-weight: 400; letter-spacing: 0.12em; }

/* live/index.html 内のインラインstyleより後勝ちさせるため html を前置 */
html .cal-nav-btn { border: 2px solid var(--text); color: var(--text); border-radius: 0; font-family: var(--display); }
html .cal-nav-btn:hover { background: var(--text); color: var(--bg); }
html .cal-nav-label { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: 0.04em; }
html .cal-grid { gap: 0; border-top: 2px solid var(--text); border-left: 1px solid var(--text); }
html .cal-header { font-family: var(--display); font-weight: 400; color: var(--text); letter-spacing: 0.12em; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); }
html .cal-day { background: none; border: none; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); border-radius: 0; }
html .cal-day:hover { background: var(--bg-card-hover); }
html .cal-day-empty { border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); min-height: 90px; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--rule-soft) 6px 7px); }
html .cal-day-today { box-shadow: inset 0 0 0 3px var(--orange); }
html .cal-day-num { font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: var(--text); }
html .cal-day-today .cal-day-num { color: var(--orange); }
html .cal-event { border-radius: 0; }
html .admin-input { border: 1px solid var(--text); border-radius: 0; font-family: var(--jp); }
html .modal-content { border-radius: 0; box-shadow: none; border: 2px solid var(--text); background: var(--bg); }
html .modal-title { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--text); }
html .detail-thumb, html .detail-thumb-empty { border-radius: 0; }
html .detail-tag { border-radius: 0; background: var(--text); color: var(--bg); }

.schedule-item { background: none; border: none; border-bottom: 1px solid var(--text); border-left: 6px solid var(--orange); }
.schedule-item-date { font-size: 1.1rem; letter-spacing: 0.04em; }
.schedule-item-tag { background: var(--text); color: var(--bg); }

/* ===== Projects ===== */
.projects-grid { gap: 32px; }
.project-card { background: none; border: 2px solid var(--text); }
.project-card:hover { border-color: var(--orange); }
.project-card-header { padding: 32px 24px 20px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.project-card-tag, .project-card-badge { background: var(--text); color: #fff; border: none; font-size: 0.8rem; letter-spacing: 0.14em; }
.project-card-badge { background: var(--orange); margin: 0 0 8px; }
.project-card-title { font-size: 3rem; line-height: 0.95; letter-spacing: 0.01em; text-shadow: none; }
.project-card-category { color: #fff; font-weight: 700; letter-spacing: 0.14em; }
.project-card-body { border-top: 2px solid var(--text); }
.project-card-link { font-size: 1.1rem; letter-spacing: 0.06em; color: var(--text); }
.project-card:hover .project-card-link { color: var(--orange); opacity: 1; }

/* ===== Fan Art ===== */
.fanart-post-wrap { justify-content: flex-start; }
.fanart-card { background: none; border: 1px solid var(--text); }
.fanart-card:hover { border-color: var(--orange); }
.fanart-card:hover .fanart-image img { transform: none; }
.fanart-info { border-top: 1px solid var(--text); }
.fanart-avatar { border-radius: 0; }
.fanart-notice { background: none; border: none; border-top: 6px solid var(--text); border-bottom: 1px solid var(--text); padding: 20px 0; }
.fanart-notice-title { color: var(--text); font-size: 1.2rem; letter-spacing: 0.1em; }
.fanart-notice-list li::before { border-radius: 0; background: var(--orange); }
.fanart-pending-card { background: none; border: 1px solid var(--text); }
.fanart-pending-images img { border-radius: 0; }

/* ===== Misc ===== */
.back-to-top { background: var(--text); color: var(--bg); }
.back-to-top:hover { background: var(--orange); }
.back-to-top.visible:hover { transform: none; }
.img-skeleton { background: var(--rule-soft); }
.img-skeleton::after { display: none; }

footer {
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
  border-top: 6px solid var(--text);
  padding: 20px 32px 40px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  color: var(--text);
}

/* スクロール演出は控えめに（下から大きく浮かせない） */
.fade-in, .fade-in-left, .fade-in-right { transform: none; transition: opacity 0.5s ease; }

/* ===== Responsive ===== */

@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links {
    top: 56px;
    background: var(--bg);
    border-bottom: 2px solid var(--text);
    padding: 0;
    gap: 0;
    align-self: auto;
  }
  .nav-links li { display: block; }
  .nav-links a { border-left: none; border-bottom: 1px solid var(--text); padding: 14px 16px; font-size: 1.2rem; }
  .lang-toggle { border: none; padding: 14px 16px; font-size: 1.2rem; width: 100%; text-align: left; }
  .nav-toggle span { background: var(--text); }

  section, .link-page, .live-page, .fanart-page, .projects-page, .schedule-page { padding-left: 16px; padding-right: 16px; }
  footer { padding-left: 16px; padding-right: 16px; }


  .section-title { gap: 14px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card, .profile-card:nth-child(odd), .profile-card:nth-child(even) {
    padding: 22px 0; border-right: none; grid-template-columns: 110px 1fr;
  }
  .profile-card-body { text-align: left; }
  .profile-list { align-items: flex-start; }

  .gallery-main { padding: 24px 0; }
  .gallery-credits-panel { width: 100%; max-width: none; border-left: none; padding: 0 0 24px; flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .gallery-credits-title { text-align: left; }

  .link-card::before { font-size: 1.8rem; width: 44px; }
  .link-info h3 { font-size: 1.4rem; }
  .link-card { gap: 14px; }
  .link-icon { width: 40px; height: 40px; }
}

/* タイトル直下にサブタイトルが無いページ（Live）は間を空ける */
.page-title + :not(.page-subtitle) { margin-top: 48px; }
