/* ==========================================================
   Blue Home — Top Page Prototype
   ========================================================== */

:root {
  /* base palette */
  --bg: #060b1e;
  --bg-2: #16212C;
  --bg-3: #0d1638;
  --text: #d6dde8;
  --text-soft: #c5cdde;
  --text-dim: #707d92;
  --text-faint: #3c465a;
  --rule: rgba(255, 255, 255, 0.08);

  /* blue family */
  --blue: #3b6bd8;
  --blue-light: #82a8ff;
  --blue-accent: #9ad0ff;
  --quest: #4a9eff;
  --quest-soft: #6cb2ff;

  /* warm accents */
  --wanted: #ff7a3a;
  --wanted-soft: #ffa070;

  /* guild trio */
  --guild-red: #e94e63;
  --guild-red-bg: rgba(233, 78, 99, 0.12);
  --guild-blue: #4a8fff;
  --guild-blue-bg: rgba(74, 143, 255, 0.12);
  --guild-gold: #e6a839;
  --guild-gold-bg: rgba(230, 168, 57, 0.12);

  /* layout */
  --max-w: 1500px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg) !important; }

body {
  color: var(--text);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ==========================================================
   GLOBAL HEADER — fixed, centered, max 1500px
   ========================================================== */

.home-header.bh-header {
	position:fixed;
	z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}
.globalHeader {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  pointer-events: none;
}
.globalHeader__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  pointer-events: auto;
}

.header-logo__img {
  height: 100px;
  line-height: 100px;
}

.gnav {
    display: flex;
    gap: 36px;
    list-style: none;
    width: 500px;
    align-items: center;
    justify-content: center;
}
.gnav a {
  color: var(--text);
  text-decoration: none;
  font-family: 'DM Mono', serif;
  font-style: italic;
  font-size: 1.4em;
  font-weight: bold;
  letter-spacing: 0.04em;
  transition: color 0.2s, text-shadow 0.2s;
}
.gnav a:hover {
  color: var(--blue-accent);
  text-shadow: 0 0 12px rgba(154, 208, 255, 0.6);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: 56px;
  height: 56px;
}
.brand__name {
  color: var(--blue-light);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ==========================================================
   HERO — Cosmic slider
   ========================================================== */

.mainImage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.starfield {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 13% 17%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 27% 53%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(2px 2px at 41% 31%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(1px 1px at 53% 79%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 71% 11%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(2px 2px at 89% 67%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 7%  87%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 19% 39%, rgba(154,208,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 33% 71%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(2px 2px at 49% 23%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 61% 91%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 77% 47%, rgba(154,208,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 93% 13%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 3%  43%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(2px 2px at 17% 67%, rgba(255,255,255,0.8), transparent 60%);
  z-index: 1;
  pointer-events: none;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.75; }
  to   { opacity: 1; }
}

.sideLabel-left, .sideLabel-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  writing-mode: vertical-rl;
  text-orientation: sideways;
}
.sideLabel-left {
  left: 36px;
  color: rgba(255, 227, 69, 0.9);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1em;
  letter-spacing: 0.18em;
}
.sideLabel-right {
    position: fixed;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.3em;
    text-shadow: 0 0 18px rgba(154, 208, 255, 0.35);

    /* 縦書きを確実にするための追加・修正 */
    -webkit-writing-mode: vertical-rl; /* Safari対応 */
    writing-mode: vertical-rl;
    text-orientation: upright; /* 文字を横倒しにせず立たせる */
}

.slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s ease, visibility 1.4s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.00);
  opacity: 0.95;
}
.slide.is-active .slide__bg {
  animation: kenBurns 9s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.03); }
}

.top-slide-1 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2026/05/d0458b2d467811bf63e2cc698a7dae9f.jpg') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-2 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2026/05/20260401_ev_yofukashi_KV.jpg') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-3 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2026/05/09dc9f06810fc7afaf73ca5cb941d910.webp') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-4 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2026/05/dace412c0cd0ec14d5adffcc04640047.webp') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-5 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2025/11/Toshiyuki-Aoyama-2025-wide.webp') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-6 { 
  background: url('https://www.turetiru.com/wp-content/uploads/2025/11/911eb45b84ef997792ab8a12a3b8e976.webp') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.top-slide-7 { 
  background: url('') center / cover no-repeat;
  width: 100%;
  height: 100%;
}
.slide__bg.top-slide-1::after, .slide__bg.top-slide-2::after, .slide__bg.top-slide-3::after, .slide__bg.top-slide-4::after, .slide__bg.top-slide-5::after, .slide__bg.top-slide-6::after, .slide__bg.top-slide-7::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3) !important; /* ここで黒の濃さを調整 */
}

.theme-rebirth   { background: radial-gradient(ellipse at 75% 25%, rgba(168,85,247,0.45) 0%, transparent 55%), radial-gradient(ellipse at 20% 80%, rgba(236,72,153,0.3) 0%, transparent 50%), linear-gradient(180deg, var(--bg) 0%, #1a0f3d 100%); }
.theme-night     { background: radial-gradient(ellipse at 30% 30%, rgba(96,165,250,0.35) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(30,58,138,0.5) 0%, transparent 55%), linear-gradient(180deg, var(--bg) 0%, #0a1747 100%); }
.theme-ai        { background: radial-gradient(ellipse at 50% 50%, rgba(34,211,238,0.25) 0%, transparent 60%), linear-gradient(135deg, #04143a 0%, #06283d 50%, #052a48 100%); }
.theme-language  { background: radial-gradient(ellipse at 20% 30%, rgba(251,146,60,0.3) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(167,139,250,0.35) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(52,211,153,0.15) 0%, transparent 60%), linear-gradient(180deg, var(--bg) 0%, #1a1235 100%); }
.theme-postwar   { background: radial-gradient(ellipse at 30% 40%, rgba(217,119,6,0.25) 0%, transparent 55%), radial-gradient(ellipse at 70% 60%, rgba(127,29,29,0.3) 0%, transparent 50%), linear-gradient(180deg, #0d0a0a 0%, #1f1208 100%); }
.theme-moonshot  { background: radial-gradient(circle at 75% 35%, rgba(229,231,235,0.4) 0%, rgba(148,163,184,0.15) 25%, transparent 45%), linear-gradient(180deg, #050a1f 0%, #0a1230 100%); }
.theme-flag      { background: radial-gradient(ellipse at 50% 45%, rgba(220,38,38,0.35) 0%, transparent 50%), linear-gradient(180deg, #0a0508 0%, #1a0606 100%); }

.slide__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.deco-planet {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  box-shadow: 0 0 60px rgba(154,208,255,0.15);
}

.slide__copy {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  width: min(85%, var(--max-w));
  text-align: center;
  color: #fff;
  z-index: 5;
}
.slide__num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4em;
  letter-spacing: 0.2em;
  color: var(--blue-accent);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(12px);
}
.slide__num::before, .slide__num::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--blue-accent);
  vertical-align: middle;
  margin: 0 14px;
  opacity: 0.6;
}
.slide__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.65;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 0 40px rgba(60,107,216,0.25);
  opacity: 0;
  transform: translateY(20px);
}
.slide.is-active .slide__num   { animation: fadeUp 1s ease 0.4s forwards; }
.slide.is-active .slide__title { animation: fadeUp 1.2s ease 0.6s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.slide.is-active .slide__copy { animation: fadeUpCopy 1.2s ease 0.6s forwards; }
@keyframes fadeUpCopy { to { transform: translateX(-50%); } }

/* スライド全面をクリッカブルに */
.slide__link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  z-index: 3;          /* 背景より上、コントロールバー(z:10)より下 */
  cursor: pointer;
  transition: transform 0.6s ease;
}

/* ホバー時のさりげない反応（任意） */
.slide__link:hover .slide__title {
  text-shadow: 0 2px 24px rgba(0,0,0,0.6),
               0 0 60px rgba(154, 208, 255, 0.5);
}
.slide__link:hover .slide__num {
  letter-spacing: 0.3em;
  transition: letter-spacing 0.4s ease;
}

/* フォーカスリング（キーボード操作用） */
.slide__link:focus-visible {
  outline: 2px solid var(--bh-accent);
  outline-offset: -8px;
}

/* === Control bar — max 1500px, floating above hero content === */
.controler {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 10;
  width: calc(100% - 80px);
  max-width: var(--max-w);
  height: 56px;
  background: rgba(6,11,30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #fff;
}

.bar-title {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

.scrollHint {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 28px;
  border: 1.2px solid #fff;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scrollHint::before {
  content: "";
  width: 2px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.arrows {
  display: flex;
  align-items: center;
  gap: 14px;
}
.arrows button {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: color 0.2s;
}
.arrows button:hover { color: var(--blue-accent); }
.arrows svg { width: 24px; height: 24px; fill: currentColor; }

.counter {
  font-size: 19px;
  letter-spacing: 0.1em;
  min-width: 56px;
  text-align: right;
  margin-left: 6px;
}
.counter .current { display: inline-block; min-width: 18px; text-align: right; }
.counter .total { opacity: 0.7; }
.counter .sep { margin: 0 6px; opacity: 0.7; }

/* ==========================================================
   COMMON SECTION FRAME
   ========================================================== */

.section {
  padding: 100px 40px;
  position: relative;
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* corner accents (shared) */
.corner { position: absolute; width: 9px; height: 9px; border-style: solid; border-color: var(--text-faint); border-width: 0; }
.corner.tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

/* ==========================================================
   SECTION — MISSION & QUEST
   ========================================================== */

.mq-section { padding-top: 120px; }

.mq-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr; /* 右側（凡例）のスペースを広くとる */
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}

.mq-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #f1f4fb;
  margin-bottom: 22px;
}
.mq-title .amp {
  color: #a8b4c8;
  padding: 0 4px;
  font-weight: 300;
}
.mq-title .quest-word {
  color: #c8d5ee;
  font-weight: 500;
}

.mq-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--text-soft);
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

.mq-lead {
  font-size: 0.85em;
  line-height: 2;
  color: var(--text-dim);
  max-width: 520px;
  letter-spacing: 0.05em;
}

/*
.legend {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 40px;
  min-width: 280px;
}
.legend-item { display: flex; gap: 16px; align-items: flex-start; }
.legend-text h4 {
  font-family: 'DM Mono', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1;
}
.legend-text.blue h4 { color: var(--quest); }
.legend-text.orange h4 {
  color: var(--wanted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 17px;
}
.legend-text p {
  font-size: 0.85em;
  line-height: 1.75;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  max-width: 300px;
}
*/

/* 2x2のグリッドレイアウト */
.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "quest wanted"
    "mission extra";
  gap: 32px 40px;
  padding-top: 10px;
  width: 100%;
}

.legend-item { 
  display: flex; 
  gap: 16px; 
  align-items: flex-start; 
}

.legend-icon { 
  width: 32px; 
  height: 32px; 
  flex-shrink: 0; 
}

.legend-text h4 {
  font-family: 'DM Mono', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  line-height: 1.2;
}

.legend-feature {
  font-size: 0.75em;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.legend-text p {
  font-size: 0.8em;
  line-height: 1.7;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

/* 各クエストごとのテーマカラー */
.legend-text.quest h4, 
.legend-text.quest .legend-feature { color: var(--quest); }

.legend-text.mission h4, 
.legend-text.mission .legend-feature { color: #a855f7; } /* 紫系 */

.legend-text.wanted h4, 
.legend-text.wanted .legend-feature { color: var(--wanted); }

.legend-text.extra h4, 
.legend-text.extra .legend-feature { color: #facc15; } /* 黄色系 */

.mq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.mq-card {
  position: relative;
  padding: 24px 26px 22px;
  border: 1px solid;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* --- カードの背景と初期枠線 --- */
.mq-card.quest {
  background: linear-gradient(155deg, rgba(20,50,110,0.55), rgba(8,18,50,0.30) 75%);
  border-color: #1c3a6e;
}
.mq-card.mission {
  background: linear-gradient(155deg, rgba(60,20,100,0.55), rgba(25,8,50,0.30) 75%);
  border-color: #3b1c5e;
}
.mq-card.wanted {
  background: linear-gradient(155deg, rgba(80,25,12,0.50), rgba(35,12,6,0.30) 75%);
  border-color: #6e2a18;
}
.mq-card.extra {
  background: linear-gradient(155deg, rgba(80,60,10,0.45), rgba(30,20,5,0.25) 75%);
  border-color: #5e4a18;
}

/* --- クエストカード：ストレッチリンク（全体クリックラブル化） --- */
.mq-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  text-decoration: none;
}

/* --- ホバー時のアニメーション（浮遊＋発光） --- */
.mq-card:hover { transform: translateY(-4px); }
.mq-card.quest:hover   { box-shadow: 0 12px 36px -8px rgba(74,158,255,0.25); border-color: var(--quest); }
.mq-card.mission:hover { box-shadow: 0 12px 36px -8px rgba(168,85,247,0.25); border-color: #a855f7; }
.mq-card.wanted:hover  { box-shadow: 0 12px 36px -8px rgba(255,122,58,0.25); border-color: var(--wanted); }
.mq-card.extra:hover   { box-shadow: 0 12px 36px -8px rgba(250,204,21,0.20); border-color: #facc15; }

/* --- 四隅の装飾（コーナー） --- */
.mq-card .corner { width: 10px; height: 10px; }
.mq-card.quest .corner   { border-color: var(--quest); }
.mq-card.mission .corner { border-color: #a855f7; }
.mq-card.wanted .corner  { border-color: var(--wanted); }
.mq-card.extra .corner   { border-color: #facc15; }

.mq-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

/* --- 左上のラベル（QUEST 01など） --- */
.mq-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 1.1em;
  letter-spacing: 0.3em;
  font-weight: 500;
}
.mq-card.quest .mq-card-label   { color: var(--quest); }
.mq-card.mission .mq-card-label { color: #a855f7; }
.mq-card.wanted .mq-card-label  { color: var(--wanted); }
.mq-card.extra .mq-card-label   { color: #facc15; }

.mq-card-icon { width: 30px; height: 30px; flex-shrink: 0; }

.mq-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  line-height: 1.6;
  color: #e8eef8;
  letter-spacing: 0.02em;
}
.mq-card-bottom { margin-top: auto; }

/* --- タグ（組織/マネジメントなど） --- */
.mq-tag {
  font-size: 0.75em;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.mq-card.quest .mq-tag   { color: var(--quest); opacity: 0.85; }
.mq-card.mission .mq-tag { color: #a855f7; opacity: 0.85; }
.mq-card.wanted .mq-tag  { color: var(--wanted); opacity: 0.85; }
.mq-card.extra .mq-tag   { color: #facc15; opacity: 0.85; }
.mq-tag .sep { opacity: 0.45; padding: 0 8px; font-weight: 300; }

/* --- 右下のリンクテキスト --- */
.mq-more {
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-decoration: none;
  transition: gap 0.3s ease;
}
.mq-card.quest .mq-more   { color: var(--quest-soft); }
.mq-card.mission .mq-more { color: #c084fc; } /* 少し明るめの紫 */
.mq-card.wanted .mq-more  { color: var(--wanted-soft); }
.mq-card.extra .mq-more   { color: #fde047; } /* 少し明るめの黄色 */

.mq-more .arrow { transition: transform 0.3s ease; display: inline-block; }
.mq-card:hover .mq-more { gap: 16px; }
.mq-card:hover .mq-more .arrow { transform: translateX(-3px); }

/* ==========================================================
   WANTED（高難度クエスト）：手配書・張り紙スタイル
   ========================================================== */
.mq-card.wanted {
  background: linear-gradient(155deg, rgba(115, 35, 17, 0.5), rgba(58, 19, 9, 0.3) 75%);
  border: 1px solid rgba(255, 97, 40, 0.35);
  /* 四角いグローがはみ出さないよう、右上が欠けた形にカード自体を切り取る */
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  /* hover時のbox-shadowの代わりに、切り取った形に沿って影が出るdrop-shadowを使用 */
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.35s ease, filter 0.35s ease;
}

/* WANTEDはコーナー装飾を非表示にする */
.mq-card.wanted .corner { 
  display: none; 
}

/* 右上の折り目（ドッグイヤー） */
.mq-card.wanted::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: rgba(255, 97, 40, 0.3);
  /* 削った部分にピッタリはまる折り目の三角形（左下半分） */
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  /* 折り目らしい立体感を出すための枠線と内側の影 */
  border-left: 1px solid rgba(255, 97, 40, 0.5);
  border-bottom: 1px solid rgba(255, 97, 40, 0.5);
  box-shadow: inset 1px -1px 3px rgba(0,0,0,0.5);
  transition: background 0.35s ease, border-color 0.35s ease;
  z-index: 10;
}

/* ホバー時の赤い発光と折り目の強調 */
.mq-card.wanted:hover {
  border-color: #ff0d0d;
  /* 外側の四角い発光（box-shadow）を消し、内側の赤みだけ残す */
  box-shadow: inset 0 0 15px rgba(255, 97, 40, 0.15);
  /* 形に沿って外側に広がるdrop-shadowを追加 */
  filter: drop-shadow(0 6px 16px rgba(255, 97, 40, 0.3));
  transform: translateY(-4px);
}

.mq-card.wanted:hover::before {
  background: #ff0d0d;
  border-left-color: #ff0d0d;
  border-bottom-color: #ff0d0d;
}

/* ==========================================================
   EXTRA（エンタメクエスト）：ドット・レトロゲームスタイル
   ========================================================== */
.mq-card.extra {
  background: linear-gradient(155deg, rgba(80,60,10,0.45), rgba(30,20,5,0.25) 75%);
  border: 3px dotted rgba(250, 204, 21, 0.4); /* 縁をドットに */
}

/* EXTRAもコーナー装飾を非表示にする */
.mq-card.extra .corner { 
  display: none; 
}

.mq-card.extra:hover { 
  border-color: #facc15;
  box-shadow: 0 12px 36px -8px rgba(250, 204, 21, 0.3); 
  transform: translateY(-4px);
}

/* テキストをドットフォントに変更 */
.mq-card.extra .mq-card-label,
.mq-card.extra .mq-card-title,
.mq-card.extra .mq-tag,
.mq-card.extra .mq-more {
  font-family: 'DotGothic16', sans-serif;
  letter-spacing: 0.08em; /* ドットフォントは少し詰まるので間隔を広げる */
}

.mq-card.extra .mq-card-title {
  font-size: 1.05em; /* DotGothicは少し小さく見えるため微調整 */
  line-height: 1.5;
}

/* 右下の矢印もドットフォントの雰囲気に合わせる */
.mq-card.extra .mq-more .arrow {
  font-family: 'DotGothic16', sans-serif;
}

.mq-cta {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr auto;
  gap: 36px;
  align-items: center;
  padding: 28px 40px;
  border: 1px solid var(--text-faint);
  position: relative;
  /* ホバー時の背景変化を滑らかにする */
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mq-cta__excl {
  width: 42px; height: 42px;
  border: 1px solid var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--text-dim);
}
.mq-cta__heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 17px;
  color: #dde3ee;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.mq-cta__desc {
  font-size: 0.9em;
  color: var(--text-dim);
  line-height: 1.85;
  letter-spacing: 0.05em;
}
.mq-cta__btn {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #e8eef8;
  padding: 14px 30px;
  border: 1px solid var(--text-dim);
  background: transparent;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mq-cta__btn:hover { background: rgba(255,255,255,0.04); border-color: #d6dde8; color: #fff; }

/* ==========================================================
   MQ-CTA（クエスト提案エリア）全体クリックラブル化
   ========================================================== */

/* 全体を覆う透明なリンク */
.mq-cta__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  text-decoration: none;
}

/* ボタン風の装飾（元の.mq-cta__btnのスタイルを移行） */
.mq-cta__btn-mock {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #e8eef8;
  padding: 14px 30px;
  border: 1px solid var(--text-dim);
  background: transparent;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

/* --- エリア全体がホバーされたときの連動エフェクト --- */
.mq-cta:hover {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02); /* 全体がうっすら明るくなる */
  border-color: var(--text-dim);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 親がホバーされたら、中のボタン風パーツを発光させ、矢印を少し右に動かす */
.mq-cta:hover .mq-cta__btn-mock {
  background: rgba(250, 204, 21, 0.05);
  border-color: #facc15;
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), inset 0 0 8px rgba(250, 204, 21, 0.1);
}

.mq-cta:hover .mq-cta__btn-mock span {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 0.2s ease;
}

/* 矢印の初期アニメーション用スタイル */
.mq-cta__btn-mock span {
  transition: transform 0.2s ease;
  display: inline-block;
}

/* ==========================================================
   EXPLORATION SECTION (Masonry Layout)
   ========================================================== */
.exp-section {
  padding: 80px 40px;
}

/* KVのプレースホルダー（実際の画像に差し替えてください） */
.exp-kv-placeholder {
  width: 100%;
  margin-bottom: 60px;
  border-radius: 8px;
}
.exp-kv-placeholder img {
  max-width: 1500px;
}

/* Masonry（ジグザグ）レイアウトのコンテナ */
.exp-masonry {
  column-count: 4;
  column-gap: 24px;
}

@media (max-width: 1300px) { .exp-masonry { column-count: 3; } }
@media (max-width: 940px) { .exp-masonry { column-count: 2; } }
@media (max-width: 640px) { .exp-masonry { column-count: 1; } }

@media (max-width: 1500px) { .exp-kv-placeholder img { width: 100%; } }

/* --- レスポンシブ対応（4列に合わせてブレイクポイントを追加・調整） --- */

/* カード共通設定 */
.exp-card {
  break-inside: avoid; /* 段組みをまたがないようにする */
  margin-bottom: 32px;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
}

/* ホバー時のマイクロインタラクション（ふわっと浮き上がり、まっすぐになる） */
.exp-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  box-shadow: 0 16px 40px rgba(154, 208, 255, 0.15);
  z-index: 10;
}

/* ストレッチリンク（カード全体をクリック可能にする） */
.exp-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* テープや画像より前面に出す */
  text-decoration: none;
}

/* ホバー時のカーソルをポインターにする（念のため） */
.exp-card:hover .exp-card-link {
  cursor: pointer;
}

/* --------------------------------------
   デザインA：ポラロイド風（画像メイン）
   -------------------------------------- */
.exp-card.polaroid {
  background: #fdfcf9; /* 古い写真のフチの色 */
  padding: 16px 16px 48px 16px;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #1a1a1a;
}
.exp-card.polaroid .exp-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #333;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  filter: sepia(0.2) contrast(1.1); /* 少しヴィンテージ感を足す */
}
.exp-card.polaroid .exp-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.exp-card.polaroid .exp-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* --------------------------------------
   デザインB：切れ端風（テキストメイン）
   -------------------------------------- */
.exp-card.scrap {
  background: #eaddcf; /* わら半紙や古いノートのような色 */
  padding: 32px 24px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: #2c241b;
  /* CSSのclip-pathを使って、下部をギザギザに切り取られたような形にする */
  clip-path: polygon(0% 0%, 100% 0%, 100% 98%, 95% 100%, 90% 97%, 85% 100%, 80% 98%, 75% 100%, 70% 97%, 65% 100%, 60% 98%, 55% 100%, 50% 97%, 45% 100%, 40% 98%, 35% 100%, 30% 97%, 25% 100%, 20% 98%, 15% 100%, 10% 97%, 5% 100%, 0% 98%);
}
.exp-card.scrap .exp-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 14px;
}
.exp-card.scrap .exp-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #4a3f35;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --------------------------------------
   共通：新しいマスキングテープ（YouTube用・赤）
   -------------------------------------- */
.tape-red { 
  background: rgba(220, 80, 80, 0.85); 
  transform: translateX(-50%) rotate(3deg); 
}

/* --------------------------------------
   デザインC：VHS/ビデオテープ風（YouTube用）
   -------------------------------------- */
.exp-card.video {
  background: #262626; /* ビデオカセットのようなダークグレー */
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  /* カセットの溝やプラスチック感を出す微細なボーダー */
  border-top: 1px solid #3a3a3a;
  border-bottom: 2px solid #111;
}

/* 16:9の動画サムネイルコンテナ */
.exp-card.video .video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* YouTube動画の比率 */
  background-color: #000;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 2px;
}

.exp-card.video .exp-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(1.1) saturate(0.9); /* アナログ感を出すための色調補正 */
  transition: transform 0.5s ease;
}

/* ホバー時にサムネイル画像を少しズーム */
.exp-card.video:hover .exp-img {
  transform: scale(1.05);
}

/* 走査線（ブラウン管テレビ風のノイズオーバーレイ） */
.exp-card.video .video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* YouTube風の再生ボタン */
.exp-card.video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 40px;
  background: rgba(220, 38, 38, 0.85); /* 透過性のある赤 */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(.2,.7,.2,1);
  z-index: 2;
}

/* 再生ボタンの白い三角形 */
.exp-card.video .play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px; /* 三角形を視覚的な中央に寄せる */
}

.exp-card.video:hover .play-btn {
  background: rgba(239, 68, 68, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ビデオカセットに貼られた「ラベルシール」風のテキストエリア */
.exp-card.video .video-label {
  background: #fdfcf9; /* わら半紙やシールの色 */
  padding: 16px;
  border-radius: 2px;
  position: relative;
  /* シールが貼られているような微細な影（インナーシャドウ＋ドロップシャドウ） */
  box-shadow: inset 0 0 8px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.3);
}

.exp-card.video .exp-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.exp-card.video .exp-tag {
  color: #555;
}
.exp-card.video .exp-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* --------------------------------------
   共通：絵文字付きタグ ＆ マスキングテープ
   -------------------------------------- */
.exp-tag {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #666;
}

/* マスキングテープ装飾 */
.exp-tape {
  position: absolute;
  width: 90px;
  height: 26px;
  top: -12px;
  left: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  z-index: 2;
  mix-blend-mode: multiply; /* 下地と馴染ませる */
}
.tape-yellow { background: rgba(244, 234, 150, 0.85); transform: translateX(-50%) rotate(-3deg); }
.tape-blue { background: rgba(160, 210, 240, 0.85); transform: translateX(-50%) rotate(2deg); }
.tape-pink { background: rgba(240, 180, 190, 0.85); transform: translateX(-50%) rotate(-1deg); }

/* アナログなランダム傾き付与 */
.rot-left { transform: rotate(-2deg); }
.rot-right { transform: rotate(2deg); }
.rot-slight-left { transform: rotate(-1deg); }
.rot-slight-right { transform: rotate(1.5deg); }

/* ==========================================================
   SECTION — CRITIQUE & PRODUCE
   ========================================================== */

.cp-section { padding-top: 80px; }

.cp-divider {
  margin: 0 auto 80px;
  width: 100%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.cp-header {
  text-align: center;
  margin-bottom: 70px;
}
.cp-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.15;
  color: #f1f4fb;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-shadow:
    0 0 30px rgba(180, 200, 240, 0.25),
    0 0 60px rgba(120, 160, 230, 0.15);
}
.cp-title .amp {
  font-weight: 300;
  color: #c8d5ee;
  padding: 0 8px;
}
.cp-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 0.35em;
}

.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cp-card {
  position: relative;
  background: linear-gradient(170deg, rgba(18, 30, 58, 0.55), rgba(10, 18, 38, 0.4));
  border: 1px solid rgba(80, 110, 160, 0.18);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.cp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 160, 220, 0.4);
  box-shadow: 0 14px 38px -10px rgba(74, 158, 255, 0.22);
}

/* ==========================================================
   Critique & Produce カード：全体クリックラブル化
   ========================================================== */
/* 全体を覆う透明なリンク */
.cp-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  text-decoration: none;
}

/* カード全体がホバーされたとき、右下の関連記事タイトルも連動して青発光させる */
.cp-card:hover { cursor: pointer; }
.cp-card:hover .cp-related-link { color: var(--quest-soft); }
.cp-card:hover .cp-related-link .arrow { transform: translateX(4px); }

.cp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.cp-title-block { display: flex; flex-direction: column; gap: 4px; }
.cp-jp {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  color: #f1f4fb;
  letter-spacing: 0.06em;
}
.cp-en {
  font-family: 'DM Mono', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--quest-soft);
  letter-spacing: 0.06em;
  padding-left: 2px;
}
.cp-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75em;
  color: var(--text-faint);
  letter-spacing: 0.25em;
  padding-top: 10px;
}
.cp-desc {
  font-size: 0.9em;
  line-height: 1.95;
  color: #9aa6bb;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.cp-image {
  width: 100%;
  height: 105px;
  background:
    radial-gradient(ellipse 70% 80% at 30% 35%, rgba(150, 180, 230, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 70% 80%, rgba(60, 90, 150, 0.4) 0%, transparent 70%),
    linear-gradient(135deg, rgba(40, 60, 100, 0.6), rgba(20, 30, 60, 0.7));
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.cp-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));
}
.cp-related {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cp-related-label {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  color: var(--text-faint);
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.cp-related-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #dde3ee;
  text-decoration: none;
  line-height: 1.5;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: color 0.25s ease;
}

.cp-related-link:hover { color: var(--quest-soft); }
.cp-related-link .arrow { display: inline-block; transition: transform 0.3s ease; }

/* ==========================================================
   SECTION — GUILD & NETWORK
   ========================================================== */

.gn-section { padding-top: 80px; padding-bottom: 120px; }

.page-title {
  text-align: center;
  margin-bottom: 50px;
}
.neon-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(154, 208, 255, 0.5),
    0 0 40px rgba(74, 143, 255, 0.4);
}
.neon-title .flicker { animation: flicker 5s infinite; display: inline-block; }
.neon-title .flicker.slow { animation-duration: 7.5s; animation-delay: 1.2s; }
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; text-shadow: 0 0 6px rgba(255,255,255,0.4), 0 0 18px rgba(154,208,255,0.5), 0 0 40px rgba(74,143,255,0.4); }
  93% { opacity: 0.3; text-shadow: none; }
  93.5% { opacity: 1; }
  94.5% { opacity: 0.4; text-shadow: none; }
  95% { opacity: 1; }
}
.neon-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 0.35em;
}

.guild-manifesto {
  position: relative;
  text-align: center;
  margin-bottom: 80px;
  padding: 20px 0;
}
.guild-manifesto::before,
.guild-manifesto::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154,208,255,0.4), transparent);
}
.guild-manifesto::before { left: 10%; }
.guild-manifesto::after { right: 10%; }
.guild-manifesto p {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 1.1em;
  line-height: 2.1;
  color: var(--text);
  letter-spacing: 0.08em;
}
.guild-manifesto .emphasis {
  color: var(--blue-accent);
  font-weight: 500;
  text-shadow: 0 0 12px rgba(154, 208, 255, 0.35);
}

/* Guild cards — alternating split layout */
.guild-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.guild-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.guild-card.reverse { direction: rtl; }
.guild-card.reverse > * { direction: ltr; }

.guild-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.guild-image::before {
  content: '';
  position: absolute;
  inset: 0;
}
.guild-image::after {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  width: 24px; height: 24px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}

.guild-red .guild-image::before {
  background:
    radial-gradient(ellipse 60% 70% at 60% 50%, rgba(233, 78, 99, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 30% 70%, rgba(120, 30, 50, 0.6) 0%, transparent 70%),
    linear-gradient(135deg, #1a0e14, #2a1418);
}
.guild-red .guild-image::after { color: var(--guild-red); }

.guild-blue .guild-image::before {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(74, 143, 255, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 70% 80%, rgba(30, 60, 130, 0.6) 0%, transparent 70%),
    linear-gradient(135deg, #0a1530, #0e1f48);
}
.guild-blue .guild-image::after { color: var(--guild-blue); }

.guild-gold .guild-image::before {
  background:
    radial-gradient(ellipse 60% 70% at 40% 55%, rgba(230, 168, 57, 0.32) 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(120, 80, 30, 0.55) 0%, transparent 70%),
    linear-gradient(135deg, #1a1408, #2a200e);
}
.guild-gold .guild-image::after { color: var(--guild-gold); }

.guild-content { display: flex; flex-direction: column; }

.guild-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.guild-faction {
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
}
.guild-status {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 3px 10px;
  border: 1px solid;
  position: relative;
}
.guild-status::before, .guild-status::after {
  content: ''; position: absolute; top: 50%;
  width: 4px; height: 1px;
}
.guild-red   .guild-faction, .guild-red   .guild-status { color: var(--guild-red); }
.guild-red   .guild-status { border-color: var(--guild-red); }
.guild-blue  .guild-faction, .guild-blue  .guild-status { color: var(--guild-blue); }
.guild-blue  .guild-status { border-color: var(--guild-blue); }
.guild-gold  .guild-faction, .guild-gold  .guild-status { color: var(--guild-gold); }
.guild-gold  .guild-status { border-color: var(--guild-gold); }

.guild-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #f1f4fb;
  margin-bottom: 18px;
}

.guild-thesis {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  line-height: 1.85;
  color: var(--text);
  letter-spacing: 0.04em;
  padding: 6px 0 6px 14px;
  border-left: 2px solid;
  margin-bottom: 20px;
}
.guild-red  .guild-thesis { border-left-color: var(--guild-red); }
.guild-blue .guild-thesis { border-left-color: var(--guild-blue); }
.guild-gold .guild-thesis { border-left-color: var(--guild-gold); }

.guild-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1em;
  line-height: 2;
  color: #9aa6bb;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}

.guild-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guild-cta:hover { transform: translateY(-2px); }
.guild-red  .guild-cta {
  background: var(--guild-red);
  color: #fff;
  box-shadow: 0 4px 20px -4px rgba(233, 78, 99, 0.5);
}
.guild-red  .guild-cta:hover { box-shadow: 0 8px 28px -4px rgba(233, 78, 99, 0.65); }
.guild-blue .guild-cta {
  background: var(--guild-blue);
  color: #fff;
  box-shadow: 0 4px 20px -4px rgba(74, 143, 255, 0.5);
}
.guild-blue .guild-cta:hover { box-shadow: 0 8px 28px -4px rgba(74, 143, 255, 0.65); }
.guild-gold .guild-cta {
  background: var(--guild-gold);
  color: #1a1408;
  box-shadow: 0 4px 20px -4px rgba(230, 168, 57, 0.5);
}
.guild-gold .guild-cta:hover { box-shadow: 0 8px 28px -4px rgba(230, 168, 57, 0.65); }

/* ==========================================================
   FOOTER
   ========================================================== */

.siteFooter {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 60px 40px;
}
.siteFooter__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.siteFooter__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.siteFooter__brand svg {
  width: 56px;
  height: 56px;
}
.siteFooter__brandName {
  color: var(--blue);
  font-family: 'DM Mono', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.siteFooter__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.siteFooter__nav a {
  font-family: 'DM Mono', serif;
  font-style: italic;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.siteFooter__nav a:hover { color: var(--blue-accent); }
.siteFooter__copyright {
  font-family: 'JetBrains Mono', monospace;
  font-style: italic;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.08em;
}

/* ==========================================================
   ADDITION
   ========================================================== */
	#content.page-forfront .entry-content { max-width: 900px }
	.sidelong__article { background-color: transparent !important; }
	.sidelong__article { border: solid 0px transparent !important; }
	.sidelong__link, .sidelong .sidelong__title, .sidelong h2 { color: #ffffff !important; }

	.zakki-box { background: #001f3870 !important; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {
  .section { padding: 80px 28px; }
  .mq-header { grid-template-columns: 1fr; gap: 36px; }
  .mq-title { font-size: 56px; }
  .cp-title { font-size: 46px; }
  .neon-title { font-size: 42px; }
  .mq-grid, .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .mq-cta { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .guild-card { grid-template-columns: 1fr; gap: 28px; }
  .guild-name { font-size: 22px; }
  .gnav { display: none; }
  .sideLabel-left, .sideLabel-right { display: none; }
}
@media (max-width: 900px) {
  .globalHeader__inner { padding: 0 20px; gap: 20px; }
  .slide__copy { width: 92%; bottom: 22%; }
  .controler { bottom: 0px; height: 48px; width: calc(100% - 32px); }
  .siteFooter__inner { grid-template-columns: 1fr; text-align: center; }
  .siteFooter__nav { gap: 18px; }
}
@media (max-width: 640px) {
	.home-header.bh-header {
		position: relative;
	}
  .header-logo__img {
    height: 50px;
    line-height: 50px;
	}
	.mainImage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 100dvh;
    overflow: hidden;
    background: var(--bg);
	}
  .slide__title {
    font-size: clamp(14px, 4vw, 17px);
    letter-spacing: 0.01em;
  }
  .slide__copy { bottom: 60px; padding: 0 16px; }
  .slide__num {
    font-size: 1em;
    margin-bottom: 12px;
  }
	.section { padding: 20px 28px; }
	.legend-grid { gap: 20px }
	.legend-icon {
    width: 24px;
    height: 24px;
	}
	.guild-manifesto::before, .guild-manifesto::after { display: none; }
	.guild-manifesto p { font-size: 0.95em; }
	.guild-cta { font-size: 1em; }
  .mq-grid, .cp-grid { grid-template-columns: 1fr; }
  .mq-title { font-size: 42px; }
  .cp-title { font-size: 30px; }
  .neon-title { font-size: 32px; }
.bar-title { display: none; }
.scrollHint { display: none; }
.controler {
    display: flex;
    align-items: center;
    justify-content: center;
}
}
/* ---------- Landscape phones (横向き対策) ---------- */
@media (max-width: 900px) and (orientation: landscape) {
  .mainImage {
    aspect-ratio: auto;
    height: 100dvh;
    min-height: 360px;
  }
  .slide__bg { background-position: center center !important; }
  .slide__copy { bottom: 70px; }
}
