/* --- シャベリーマン非公式ファンサイト「ソウゾウ控室」 / 共通スタイル / テーマ: ポップで騒々しいコミック調 --- */

:root {
  --bg: #ffffff;
  --purple: #8B52A1;
  --crimson: #e63946;
  --gold: #ffc145;
  --cyan: #00b8d9;
  --pink: #ff4fa3;
  --ink: #222222;
  --text-muted: #6b6b6b;
  --line: #222222;
  --radius: 10px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

a {
  color: var(--crimson);
  text-decoration: none;
}

a:visited {
  color: var(--crimson);
}

a:hover, a:focus-visible {
  text-decoration: underline;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 64px);
}

/* --- 固定ヘッダー(紫の帯・ロゴは常に右上) --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 32px);
  border-bottom: 3px solid var(--ink);
  transform: translateZ(0);
}

/* --- ハンバーガーメニュー(左上・スクロール追従) --- */

.menu-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 3px solid var(--ink);
  z-index: 99;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
}

.menu-panel.is-open {
  transform: translateY(0);
}

.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 20px clamp(20px, 6vw, 64px) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-panel a {
  display: block;
  padding: 10px 4px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px dashed #e5e5e5;
}

.menu-panel a:visited {
  color: var(--ink);
}

.menu-panel a:hover {
  color: var(--purple);
  text-decoration: none;
}

.logo-slot {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-slot .placeholder-text {
  font-size: 0.55rem;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

/* --- uraページ: 表へ戻るロゴ(下) --- */

.ura-back-link-wrap {
  text-align: center;
  margin: 48px 0 20px;
}

.ura-back-link {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 3px solid var(--purple);
  background: #1f1224;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.ura-back-link:hover {
  background: var(--purple);
  text-decoration: none;
}

.ura-back-link:visited {
  color: #ffffff;
}

/* --- uraページ: 表へ戻るボタン(右上・固定表示) --- */

.ura-back-link-top-wrap {
  text-align: right;
  padding: 20px clamp(20px, 6vw, 64px) 0;
}

.ura-back-link-top {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 3px solid var(--purple);
  background: #1f1224;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.ura-back-link-top:hover {
  background: var(--purple);
  text-decoration: none;
}

.ura-back-link-top:visited {
  color: #ffffff;
}

/* --- タイトル(サイト名)セクション --- */

/* --- TOP TITLE --- */

.title-hero {
  position: relative;
  overflow: hidden;
  background:
  /* ドット */
  radial-gradient(circle, rgba(139, 82, 161, 0.13) 2px, transparent 2px),
  /* ベース */
  linear-gradient(135deg, #fff 0%, #fff7fc 48%, #f1edff 100%);
  background-size: 22px 22px, auto;
}

/* --- 背景 --- */

.title-hero::before {
  content: "♥";
  position: absolute;
  left: 7%;
  top: 18%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(55px, 9vw, 100px);
  font-weight: 800;
  color: #ff4fa3;
  transform: rotate(-18deg);
  opacity: 0.75;
  text-shadow: 5px 5px 0 #ffc145;
}

/* 右下の吹き出し的な装飾 */

.title-hero::after {
  content: "!?";
  position: absolute;
  right: 7%;
  bottom: 16%;
  font-family: "RocknRoll One", sans-serif;
  font-size: clamp(55px, 8vw, 90px);
  font-weight: 900;
  color: #add5ff;
  transform: rotate(12deg);
  text-shadow: 5px 5px 0 #ffc145;
}

/* --- タイトル全体 --- */

.title-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "RocknRoll One", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.02em;
  /* 既存の紫＋ぼかし影をリセット */
  color: #222;
  text-shadow: none;
}

.title-hero h1 .mobile-break {
  display: none;
}

/* --- 「シャベリーマン」 --- */

.title-hero h1 .title-line:first-child {
  display: inline-block;
  position: relative;
  padding: 5px 18px 8px;
  font-size: 0.7em;
  vertical-align: middle;
  color: #aa47de;
  /* 白フチ → 黒フチ */
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  /* 漫画っぽい黒いベタ影 */
  text-shadow: 4px 4px 0 #add4ff;
  letter-spacing: 0.04em;
}

/* --- 「非公式ファンサイト」 --- */

.title-hero h1 .title-line:nth-of-type(2) {
  display: inline-block;
  margin-left: 0px;
  vertical-align: middle;
  padding: 4px 16px 6px;
  background: #40e6b9;
  color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.35em;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 4px solid #222;
  border-radius: 8px;
  box-shadow: 6px 6px 0 #fab5fe;
}

/* --- 「ソウゾウ控室」 --- */

.title-hero h1 .sub {
  display: block;
  position: relative;
  margin-top: 22px;
}

/* 「ソウゾウ控室」ロゴ画像 */

.title-hero h1 .sub img {
  display: block;
  margin: 0 auto;
  width: min(90%, 520px);
  height: auto;
}

/* --- キャッチコピー --- */

.title-hero .tagline {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  color: #222;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.8;
  white-space: nowrap;
  text-align: center;
}

/* キャッチコピーの上に小さなステッカー */

.title-hero .tagline::before {
  content: "★ FAN MADE ★";
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 3px 12px;
  background: #ff4fa3;
  color: #fff;
  border: 2px solid #222;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  box-shadow: 3px 3px 0 #222;
}

/* --- UNOFFICIAL FAN SITE --- */

.title-hero .eyebrow {
  position: relative;
  z-index: 3;
  background: #ffc145;
  color: #222;
  border: 3px solid #222;
  padding: 7px 20px;
  border-radius: 6px;
  font-family: "RocknRoll One", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 5px 5px 0 #222;
}

/* --- SCROLL --- */

.title-hero .scroll-hint {
  position: relative;
  z-index: 3;
  margin-top: 42px;
  color: #222;
  font-family: "RocknRoll One", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* --- メインビジュアル(写真スライダー) --- */

.photo-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.slide .placeholder-box {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  padding: 20px;
}

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.slide-dots button.is-active {
  background: var(--crimson);
}

/* --- 各セクション共通 --- */

.section {
  padding: 64px 0;
  border-bottom: 4px solid var(--ink);
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}

.section h2 .en {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --- News --- */

.news-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.news-list li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 2px dashed #cccccc;
  align-items: baseline;
}

.news-list time {
  color: #ffffff;
  background: var(--crimson);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.news-list a {
  color: var(--ink);
  font-weight: 700;
}

.news-list a:visited {
  color: var(--ink);
}

.news-list a:hover {
  color: var(--purple);
}

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--ink);
}

.view-more:visited {
  color: var(--ink);
}

.view-more .arrow {
  transition: transform 0.2s ease;
}

.view-more:hover {
  color: var(--purple);
  text-decoration: none;
}

.view-more:hover .arrow {
  transform: translateX(4px);
}

/* --- Profile --- */

#profile {
  background: var(--purple);
  color: #ffffff;
  margin: 0 calc(-1 * clamp(20px, 6vw, 64px));
  padding: 64px clamp(20px, 6vw, 64px);
}

#profile h2,
#profile .profile-data dd {
  color: #ffffff;
}

#profile h2 .en {
  color: rgba(255, 255, 255, 0.75);
}

#profile .profile-data dt {
  color: var(--gold);
}

.profile-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-photo .placeholder-text {
  color: #ffffff;
  font-size: 0.85rem;
  text-align: center;
  padding: 12px;
}

.profile-intro {
  margin: 0 0 20px;
  line-height: 1.8;
}

.profile-data dt {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 14px;
  font-weight: 700;
}

.profile-data dt:first-child {
  margin-top: 0;
}

.profile-data dd {
  margin: 2px 0 0;
}

/* --- Schedule(カレンダー) --- */

.calendar-embed {
  margin-top: 28px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.calendar-scale {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.calendar-scale iframe {
  display: block;
  border: 0;
  transform-origin: 0 0;
}

/* --- Schedule: 次回の出演 --- */

.next-event {
  margin-top: 24px;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 4px 4px 0 var(--cyan);
}

.next-event h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.next-event .ne-date {
  display: inline-block;
  background: var(--crimson);
  color: #ffffff;
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.next-event .ne-title {
  font-weight: 700;
  margin: 4px 0;
}

.next-event .ne-place {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Recommend --- */

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.recommend-card {
  display: block;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 4px 4px 0 var(--gold);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.recommend-card:visited {
  color: var(--ink);
}

.recommend-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.recommend-card:hover .recommend-title {
  color: var(--purple);
}

.recommend-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 12px;
  background: #f7f7f7;
}

.recommend-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommend-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Official Links --- */

.official-links {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.official-links a {
  display: inline-block;
  width: 250px;
  text-align: center;
  padding: 10px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--gold);
}

.official-links a:visited {
  color: var(--ink);
}

.official-links a:hover {
  background: var(--crimson);
  color: #ffffff;
  text-decoration: none;
}

/* --- フッター(紫背景・白文字) --- */

.site-footer {
  padding: 40px clamp(20px, 6vw, 64px) 60px;
  position: relative;
  background: var(--purple);
}

.hidden-link {
  position: absolute;
  left: clamp(20px, 6vw, 64px);
  top: 20px;
  width: 80px;
  height: 80px;
  transition: opacity 0.3s ease;
}

.hidden-link:hover {
  opacity: 0.5;
}

.hidden-link svg {
  width: 100%;
  height: 100%;
}

.hidden-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-text {
  text-align: center;
  color: #ffffff;
  font-size: 0.8rem;
  margin: 0;
}

.footer-text a {
  color: #ffffff;
}

.footer-text a:visited {
  color: #ffffff;
}

.footer-text a:hover {
  color: var(--gold);
}

/* --- トップへ戻るボタン --- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px dashed var(--ink);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
  box-shadow: 3px 3px 0 var(--gold);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top .arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.back-to-top .label {
  font-size: 0.6rem;
  font-weight: 700;
}

.ura-page .back-to-top {
  background: var(--purple);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  color: #ffffff;
}

/* --- 警告ページ --- */

body.purple-page {
  background: #140b17;
  color: #ffffff;
  min-height: 100vh;
}

.purple-page main {
  max-width: 640px;
  padding-top: 60px;
  text-align: center;
}

.speech-bubble {
  position: relative;
  background: #1f1224;
  color: #ffffff;
  border: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 40px;
  text-align: left;
  font-weight: 500;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 40px;
  border-width: 0 12px 16px;
  border-style: solid;
  border-color: transparent transparent #1f1224 transparent;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 37px;
  border-width: 0 14px 18px;
  border-style: solid;
  border-color: transparent transparent var(--purple) transparent;
}

.attention-word {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: #ED1A3D;
  font-size: calc(1em + 2pt);
}

.attention-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--purple);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 82, 161, 0.15);
}

.attention-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attention-photo .placeholder-text {
  font-size: 0.8rem;
  padding: 8px;
}

.password-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.password-form input {
  width: 120px;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  border: none;
}

.password-form button {
  padding: 10px 24px;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  background: var(--purple);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.password-form button:hover {
  background: var(--gold);
  color: var(--ink);
}

.password-error {
  color: #ffe082;
  font-size: 0.9rem;
  margin-top: 14px;
  min-height: 1.2em;
}

/* --- uraテーマ --- */

body.ura-page {
  background: #140b17;
  color: #f1eaf4;
  min-height: 100vh;
}

.ura-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 64px) 80px;
}

.ura-title {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 40px;
}

.ura-heading {
  font-family: "RocknRoll One", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.4rem, 5.5vw, 2.4rem);
  line-height: 1.5;
  margin: 0;
  color: var(--purple);
}

.ura-heading .sub {
  display: block;
  font-size: clamp(1.8rem, 7vw, 3.2rem);
  margin-top: 6px;
}

.ura-desc {
  margin-top: 18px;
  color: #c9b8d1;
  font-size: 0.95rem;
}

.ura-photo-hero {
  width: 100%;
  aspect-ratio: 16 / 9; /* JS読み込み前・失敗時のフォールバック */
  max-height: 520px;
  border-top: 3px solid var(--purple);
  border-bottom: 3px solid var(--purple);
  position: relative;
  overflow: hidden;
  background: #140b17;
  margin-bottom: 56px;
  transition: height 0.4s ease;
}

.ura-photo-hero .slide-dots button {
  border-color: var(--purple);
  background: #1f1224;
}

.ura-photo-hero .slide-dots button.is-active {
  background: var(--purple);
}

.ura-section {
  padding: 48px 0;
  border-bottom: 1px solid rgba(139, 82, 161, 0.35);
}

.ura-section:last-child {
  border-bottom: none;
}

.ura-section h2 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.4rem;
  color: var(--purple);
  margin: 0 0 24px;
}

.ura-profile-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.ura-profile-photo {
  width: 100%;
  aspect-ratio: 3 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ura-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ura-profile-photo .placeholder-text {
  color: #c9b8d1;
  font-size: 0.85rem;
  text-align: center;
}

.ura-profile-data dt {
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 14px;
}

.ura-profile-data dt:first-child {
  margin-top: 0;
}

.ura-profile-data dd {
  margin: 2px 0 0;
  color: #f1eaf4;
}

.ura-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ura-list li {
  margin: 0;
}

.ura-list a {
  display: block;
  background: #1f1224;
  border: 1px solid rgba(139, 82, 161, 0.5);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #f1eaf4;
  font-weight: 700;
  text-decoration: none;
}

.ura-list a:visited {
  color: #f1eaf4;
}

.ura-list a:hover {
  color: var(--purple);
  text-decoration: none;
}

.ura-activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ura-activity-card {
  background: #1f1224;
  border: 1px solid rgba(139, 82, 161, 0.5);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.ura-activity-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #c9b8d1;
  font-size: 0.8rem;
  margin-bottom: 12px;
  padding: 8px;
}

.ura-activity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.ura-activity-title {
  font-weight: 700;
  margin: 0 0 4px;
  color: #f1eaf4;
}

.ura-activity-date {
  color: #c9b8d1;
  font-size: 0.85rem;
  margin: 0;
}

.ura-activity-desc {
  color: #e4d7e8;
  font-size: 0.85rem;
  margin: 8px 0 0;
  text-align: left;
  line-height: 1.7;
}

/* --- 汎用ページ(プライバシーポリシー・サイトマップ) --- */

.page-simple {
  padding: 56px 0 80px;
}

.page-simple h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.page-simple ul {
  padding-left: 1.4em;
}

/* --- レスポンシブ(スマホ表示・画面幅560px以下) --- */

.pc-break br {
  display: none;
}

@media (max-width: 560px) {
  .title-hero {
    
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 40px; 
    padding-bottom: 40px;
  }

  .title-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }

  .title-hero .eyebrow {
    padding: 5px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .title-hero .tagline::before {
    font-size: 0.3rem;
  }

  .title-hero h1 .title-line:first-child {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.75em;
    -webkit-text-stroke: 4px #fff;
    text-shadow: 2px 2px 0 #222;
  }

  .title-hero h1 .title-line:nth-of-type(2) {
    font-size: 0.4em;
    margin-left: 8px;
    border-width: 3px;
    box-shadow: 4px 4px 0 #fab5fe;
  }

  .title-hero h1 .sub {
    margin-top: 18px;
  }

  .title-hero h1 .sub img {
    width: min(95%, 340px);
  }

  .title-hero .tagline {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .title-hero::before {
    left: 2%;
    top: 14%;
    font-size: 55px;
  }

  .title-hero::after {
    right: 2%;
    bottom: 8%;
    font-size: 55px;
  }

  .profile-block {
    grid-template-columns: 1fr;
  }

  .ura-profile-block {
    grid-template-columns: 1fr;
  }

  .news-list li {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .noise-sticker {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .official-links a {
    width: 190px;
    font-size: 0.7rem;
    padding: 8px 14px;
  }
  
 .back-to-top {
    width: 50px;
    height: 50px;
  }

  .ura-section h2 {
    font-size: 1.3rem;
  }

  .ura-list a {
    font-size: 0.85rem;
  }

  .ura-back-link-top-wrap {
    padding: 12px 12px 0;
  }

  .ura-back-link-top {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  
    .logo-slot {
    width: 180px;
    height: 180px;
  }
  
  .hidden-link {
   top: 60px;
  }
}

/* --- 動きを抑えたい人向け(prefers-reduced-motion) --- */

@media (prefers-reduced-motion: reduce) {
  .scroll-hint {
    animation: none;
  }
  .slide {
    transition: none;
  }

  .lightbox,
  .lightbox img {
    transition: none;
  }
}

/* --- 404ページ --- */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-image: radial-gradient(rgba(139, 82, 161, 0.15) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
}

.error-title {
  font-family: "DotGothic16", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.2rem);
  color: var(--purple);
  margin: 0;
}

.error-photo {
  width: 100%;
  max-width: 496px;
  aspect-ratio: 16 / 9;
  margin: 32px auto;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
}

.error-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-photo .placeholder-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 12px;
}

.error-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  max-width: 42ch;
  margin: 0 0 40px;
  line-height: 1.9;
}

.error-back {
  display: inline-block;
  padding: 12px 28px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-weight: 700;
}

.error-back:visited {
  color: #ffffff;
}

.error-back:hover {
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
}

/* --- ライトボックス(写真クリックで拡大表示) --- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 200;
  padding: 20px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.25s ease;
  cursor: default;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 201;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(0, 0, 0, 0.6);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 201;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* --- お知らせ記事内の写真 --- */

.article-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  margin: 20px 0 28px;
}
