/*
 * MIREAL テーマ メインスタイルシート
 * 元の mireal_preview.html から移植・WordPress用に整理
 */

/* ─── CSS変数 ─── */
:root {
  --gB: linear-gradient(135deg, #ee2a7b 0%, #6228d7 100%);
  --gT: linear-gradient(90deg, #ee2a7b 0%, #6228d7 55%, #4facfe 100%);
  --gF: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 35%, #6228d7 70%, #4facfe 100%);
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --sf: rgba(255, 255, 255, .04);
  --bd: rgba(255, 255, 255, .08);
  --tx: #f0f0f5;
  --mu: rgba(240, 240, 245, .52);
  --fn: 'Noto Sans JP', 'Inter', sans-serif;
  --sp: clamp(60px, 8vw, 108px);
  --W: min(1120px, 90vw);
}

/* ─── リセット ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--fn);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ─── グラデーションテキスト ─── */
.gt {
  background: var(--gT);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── CANVAS ─── */
#bgc { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ───────────────────────────────────────────
   NAV
─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(10, 10, 15, .88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
}
.nl img { height: 40px; width: auto; mix-blend-mode: lighten; filter: brightness(1.1); }
.nm { display: flex; gap: 24px; list-style: none; }
.nm a { font-size: .78rem; font-weight: 400; letter-spacing: .04em; color: var(--mu); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nm a:hover { color: var(--tx); }
.ns { display: flex; align-items: center; gap: 8px; }
.ns a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sf); border: 1px solid var(--bd); color: var(--mu); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.ns a:hover { background: var(--gB); border-color: transparent; color: #fff; }
.ns svg { width: 14px; height: 14px; fill: currentColor; }
.nc { font-size: .76rem; font-weight: 600; color: #fff; text-decoration: none; padding: 8px 20px; border-radius: 40px; background: var(--gB); white-space: nowrap; transition: opacity .2s, transform .2s; box-shadow: 0 3px 16px rgba(238, 42, 123, .28); }
.nc:hover { opacity: .85; transform: translateY(-1px); }

/* ハンバーガー */
.hb { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hb span { display: block; width: 24px; height: 2px; background: var(--tx); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ドロワー */
.dr { display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: rgba(10, 10, 15, .97); backdrop-filter: blur(16px); z-index: 190; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.dr.open { display: flex; }
.dr a { font-size: 1.1rem; font-weight: 400; color: var(--tx); text-decoration: none; letter-spacing: .06em; }
.dr .nc { font-size: .9rem; padding: 12px 36px; }
.ds { display: flex; gap: 14px; margin-top: 8px; }
.ds a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sf); border: 1px solid var(--bd); color: var(--tx); text-decoration: none; transition: background .2s; }
.ds a:hover { background: var(--gB); border-color: transparent; }
.ds svg { width: 18px; height: 18px; fill: currentColor; }

/* ───────────────────────────────────────────
   HERO
─────────────────────────────────────────── */
#hero { position: relative; width: 100%; height: 100svh; min-height: 580px; overflow: hidden; display: flex; align-items: center; }
.hvw { position: absolute; inset: 0; z-index: 1; }
.hvw video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hvw::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,10,15,.85) 0%, rgba(10,10,15,.48) 55%, rgba(10,10,15,.1) 100%); }
.hfb { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 50%, #0a1a2e 100%); }
.hg1 { position: absolute; z-index: 1; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(98,40,215,.3) 0%, transparent 65%); top: -150px; right: -100px; filter: blur(50px); animation: of1 16s ease-in-out infinite; pointer-events: none; }
.hg2 { position: absolute; z-index: 1; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(238,42,123,.22) 0%, transparent 65%); bottom: -100px; left: 10%; filter: blur(60px); animation: of2 20s ease-in-out infinite; pointer-events: none; }
.hg3 { position: absolute; z-index: 1; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(79,172,254,.18) 0%, transparent 65%); top: 25%; right: 8%; filter: blur(45px); animation: of1 24s ease-in-out infinite 5s; pointer-events: none; }
.hc { position: relative; z-index: 2; padding: 0 6% 0 8%; max-width: 640px; }
.he { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--gB); padding: 5px 16px; border-radius: 40px; margin-bottom: 28px; opacity: 0; animation: fu .7s .2s forwards; }
.ht { font-size: clamp(2.4rem, 5.2vw, 5.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: #fff; opacity: 0; animation: fu .7s .35s forwards; }
.ht span.ln { display: block; }
.hd { margin-top: 24px; font-size: clamp(.84rem, 1.2vw, .92rem); line-height: 2; color: rgba(255,255,255,.65); max-width: 440px; opacity: 0; animation: fu .7s .5s forwards; }
.ha { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; opacity: 0; animation: fu .7s .65s forwards; }
.bp { font-size: .84rem; font-weight: 600; letter-spacing: .05em; color: #fff; background: var(--gB); text-decoration: none; padding: 13px 30px; border-radius: 40px; box-shadow: 0 4px 20px rgba(238,42,123,.35); transition: opacity .2s, transform .2s; display: inline-block; white-space: nowrap; }
.bp:hover { opacity: .85; transform: translateY(-2px); }
.bg { font-size: .84rem; font-weight: 400; color: rgba(255,255,255,.65); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .2s; }
.bg::after { content: '→'; transition: transform .2s; }
.bg:hover { color: #fff; }
.bg:hover::after { transform: translateX(4px); }
.hsc { position: absolute; bottom: 28px; left: 8%; z-index: 2; font-size: .56rem; font-weight: 500; letter-spacing: .26em; color: rgba(255,255,255,.38); writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; }
.hsc::before { content: ''; width: 1px; height: 44px; background: var(--gB); animation: ld 1s 1.2s both; }
.hmb { position: absolute; bottom: 24px; right: 5%; z-index: 2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); font-family: var(--fn); font-size: .62rem; letter-spacing: .1em; padding: 7px 14px; border-radius: 40px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.hmb:hover { background: rgba(238,42,123,.22); color: #fff; }

/* ───────────────────────────────────────────
   MARQUEE
─────────────────────────────────────────── */
.mw { position: relative; z-index: 1; overflow: hidden; padding: 14px 0; background: rgba(15,15,24,.94); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.mi { display: flex; animation: mq 24s linear infinite; white-space: nowrap; }
.mit { font-size: .86rem; font-weight: 400; letter-spacing: .06em; padding: 0 36px; flex-shrink: 0; color: var(--tx); }
.mit.gt { background: var(--gT); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ms { color: rgba(255,255,255,.18); padding: 0 6px; }

/* ───────────────────────────────────────────
   SECTION 共通
─────────────────────────────────────────── */
section { position: relative; z-index: 1; padding: 0 5%; }
.si { max-width: var(--W); margin: 0 auto; padding: var(--sp) 0; }
.sl { display: inline-flex; align-items: center; gap: 10px; font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; background: var(--gT); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sl::before { content: ''; display: block; width: 26px; height: 2px; background: var(--gB); border-radius: 2px; flex-shrink: 0; }
.st { font-size: clamp(1.6rem, 2.8vw, 2.8rem); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--tx); }

/* セクション背景 */
#about, #news, #philosophy, #sns-section, #contact { background: rgba(10, 10, 15, .84); }
#services, #cases, #company { background: rgba(15, 15, 24, .9); }

/* ─── グローオーブ ─── */
.orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
#about .oa    { width:480px; height:480px; background:radial-gradient(circle,rgba(98,40,215,.2) 0%,transparent 70%); top:-80px; right:-60px; animation:of1 13s ease-in-out infinite; }
#about .ob    { width:300px; height:300px; background:radial-gradient(circle,rgba(238,42,123,.14) 0%,transparent 70%); bottom:-50px; left:-40px; animation:of2 17s ease-in-out infinite; }
#services .oa { width:440px; height:440px; background:radial-gradient(circle,rgba(79,172,254,.14) 0%,transparent 70%); top:-60px; left:5%; animation:of2 15s ease-in-out infinite; }
#news .oa     { width:460px; height:460px; background:radial-gradient(circle,rgba(238,42,123,.15) 0%,transparent 70%); bottom:-80px; right:-40px; animation:of1 19s ease-in-out infinite; }
#philosophy .oa { width:560px; height:560px; background:radial-gradient(circle,rgba(98,40,215,.18) 0%,transparent 70%); top:50%; left:50%; transform:translate(-50%,-50%); animation:of2 21s ease-in-out infinite; }
#cases .oa    { width:380px; height:380px; background:radial-gradient(circle,rgba(249,206,52,.1) 0%,transparent 70%); top:-50px; right:8%; animation:of1 16s ease-in-out infinite; }
#sns-section .oa { width:420px; height:420px; background:radial-gradient(circle,rgba(79,172,254,.13) 0%,transparent 70%); bottom:-70px; left:3%; animation:of2 14s ease-in-out infinite; }
#company .oa  { width:380px; height:380px; background:radial-gradient(circle,rgba(238,42,123,.12) 0%,transparent 70%); top:-60px; right:3%; animation:of1 18s ease-in-out infinite; }
#contact .oa  { width:540px; height:540px; background:radial-gradient(circle,rgba(98,40,215,.2) 0%,transparent 70%); top:50%; left:50%; transform:translate(-50%,-50%); animation:of2 23s ease-in-out infinite; }

/* ───────────────────────────────────────────
   ABOUT
─────────────────────────────────────────── */
#about .si { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.at p { margin-top: 20px; font-size: .88rem; color: var(--mu); line-height: 2; }
.at p + p { margin-top: 14px; }
.ac { background: var(--sf); border: 1px solid var(--bd); border-radius: 16px; padding: 44px 36px; position: relative; overflow: hidden; }
.ac::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gF); }
.as { font-size: 3.6rem; font-weight: 700; line-height: 1; background: var(--gT); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.asl { font-size: .72rem; letter-spacing: .1em; color: var(--mu); margin-top: 6px; }
.ad { width: 1px; height: 28px; background: var(--bd); margin: 24px 0; }

/* ───────────────────────────────────────────
   SERVICES
─────────────────────────────────────────── */
.sg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.sc { background: var(--sf); border: 1px solid var(--bd); border-radius: 16px; padding: 36px 28px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.sc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gF); opacity: 0; transition: opacity .3s; }
.sc::after { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(238,42,123,.06), rgba(98,40,215,.06)); opacity: 0; transition: opacity .3s; }
.sc:hover { border-color: rgba(238,42,123,.38); transform: translateY(-4px); }
.sc:hover::before, .sc:hover::after { opacity: 1; }
.sn { font-size: 2.2rem; font-weight: 700; line-height: 1; margin-bottom: 18px; background: var(--gT); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: .45; }
.stl { font-size: .96rem; font-weight: 600; line-height: 1.6; color: var(--tx); margin-bottom: 12px; position: relative; z-index: 1; }
.sd { font-size: .82rem; color: var(--mu); line-height: 1.9; position: relative; z-index: 1; }

/* ───────────────────────────────────────────
   NEWS
─────────────────────────────────────────── */
.ng { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.ncard { background: var(--sf); border: 1px solid var(--bd); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; position: relative; }
.ncard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gF); opacity: 0; transition: opacity .3s; }
.ncard:hover { border-color: rgba(238,42,123,.38); transform: translateY(-4px); }
.ncard:hover::before { opacity: 1; }
.np { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #111118, #1a1a2e); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.np img { width: 100%; height: 100%; object-fit: cover; }
.nb { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.nm2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nd { font-size: .68rem; color: var(--mu); letter-spacing: .06em; }
.ncat { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 40px; background: var(--gB); color: #fff; }
.ntt { font-size: .9rem; font-weight: 500; line-height: 1.55; color: var(--tx); }
.nmw { text-align: center; margin-top: 40px; }
.bo { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--tx); border: 1px solid var(--bd); padding: 12px 36px; border-radius: 40px; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.bo:hover { border-color: rgba(238,42,123,.6); background: rgba(238,42,123,.08); color: #fff; }

/* ───────────────────────────────────────────
   PHILOSOPHY
─────────────────────────────────────────── */
#philosophy .si { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pq { font-size: clamp(1.9rem, 3.2vw, 3.2rem); font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.pc p { font-size: .88rem; color: var(--mu); line-height: 2.1; margin-top: 18px; }
.pc p:first-of-type { margin-top: 24px; }

/* ───────────────────────────────────────────
   CASES
─────────────────────────────────────────── */
.cb { margin-top: 48px; background: var(--sf); border: 1px solid var(--bd); border-radius: 20px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.cb::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gF); }
.cli { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.ct { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.35; margin-bottom: 14px; }
.cd { font-size: .88rem; color: var(--mu); line-height: 1.9; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.bcas { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: #fff; background: var(--gB); text-decoration: none; padding: 14px 36px; border-radius: 40px; box-shadow: 0 4px 20px rgba(238,42,123,.32); transition: opacity .2s, transform .2s; }
.bcas:hover { opacity: .85; transform: translateY(-2px); }

/* ───────────────────────────────────────────
   SNS
─────────────────────────────────────────── */
.snsg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.snsc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 52px 28px; border-radius: 20px; text-decoration: none; color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .06em; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.snsc:hover { transform: translateY(-6px); }

/* Instagram */
.snsc.ig { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); box-shadow: 0 8px 32px rgba(238,42,123,.32); }
.snsc.ig:hover { box-shadow: 0 16px 48px rgba(238,42,123,.5); }
.snsc.ig::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); top: -60px; right: -60px; pointer-events: none; }
.snsc.ig::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); top: -20px; right: -20px; pointer-events: none; }

/* X (Twitter) */
.snsc.xw { background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 32px rgba(0,0,0,.6); }
.snsc.xw:hover { box-shadow: 0 16px 48px rgba(255,255,255,.08); }
.snsc.xw::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(255,255,255,.018) 18px, rgba(255,255,255,.018) 19px); pointer-events: none; }
.snsc.xw::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.06) 0%, transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.snsc.xw:hover::after { opacity: 1; }
.snsc.xw .sni svg { filter: drop-shadow(0 0 8px rgba(255,255,255,.4)); }

/* TikTok */
.snsc.tt { background: #000; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 32px rgba(0,0,0,.6); }
.snsc.tt:hover { box-shadow: 0 16px 48px rgba(105,201,208,.25), 0 0 0 1px rgba(105,201,208,.3); }
.snsc.tt::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #69c9d0, #ee1d52); box-shadow: 0 0 12px rgba(105,201,208,.6), 0 0 24px rgba(238,29,82,.4); }
.snsc.tt::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(238,29,82,.08) 0%, transparent 50%), radial-gradient(ellipse at 20% 80%, rgba(105,201,208,.08) 0%, transparent 50%); pointer-events: none; }
.snsc.tt .sni svg { filter: drop-shadow(0 0 6px rgba(105,201,208,.7)) drop-shadow(2px 2px 0 rgba(238,29,82,.5)); }
.snsc.tt:hover .sni svg { filter: drop-shadow(0 0 12px rgba(105,201,208,.9)) drop-shadow(3px 3px 0 rgba(238,29,82,.7)); }

/* SNS 共通 */
.sni { position: relative; z-index: 1; }
.sni svg { width: 44px; height: 44px; fill: #fff; transition: filter .3s; }
.snl { position: relative; z-index: 1; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
.snh { font-size: .78rem; font-weight: 300; opacity: .65; position: relative; z-index: 1; }

/* ───────────────────────────────────────────
   COMPANY
─────────────────────────────────────────── */
.co { margin-top: 48px; }
.ct2 { width: 100%; border-collapse: collapse; }
.ct2 tr { border-bottom: 1px solid var(--bd); }
.ct2 th { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .1em; padding: 18px 16px 18px 0; width: 36%; vertical-align: top; background: var(--gT); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ct2 td { font-size: .85rem; font-weight: 300; color: var(--mu); padding: 18px 0; line-height: 1.85; }
.ct2 td a { color: var(--mu); text-decoration: none; transition: color .2s; }
.ct2 td a:hover { color: var(--tx); }

/* ───────────────────────────────────────────
   CONTACT
─────────────────────────────────────────── */
#contact .si { text-align: center; position: relative; z-index: 1; }
.cg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 680px; margin: 48px auto 0; text-align: left; }
.ci { display: flex; align-items: flex-start; gap: 16px; background: var(--sf); border: 1px solid var(--bd); border-radius: 16px; padding: 24px 22px; }
.cil { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.cit { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); margin-bottom: 4px; }
.civ { font-size: .88rem; color: var(--tx); text-decoration: none; line-height: 1.6; display: block; word-break: break-all; }
a.civ:hover { color: #ee2a7b; }

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
footer { position: relative; z-index: 1; background: rgba(6,6,9,.97); border-top: 1px solid var(--bd); padding: 48px 5% 24px; }
.fi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--bd); margin-bottom: 24px; }
.fl { display: flex; flex-direction: column; gap: 8px; }
.fl img { height: 34px; width: auto; mix-blend-mode: lighten; filter: brightness(1.1); }
.fln { display: flex; flex-wrap: wrap; gap: 8px; }
.fln span { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: .04em; }
.ft { font-size: .68rem; color: var(--mu); letter-spacing: .04em; }
.fnv {}
.fml { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.fml a { font-size: .78rem; color: var(--mu); text-decoration: none; transition: color .2s; }
.fml a:hover { color: var(--tx); }
.fss { display: flex; gap: 10px; }
.fss a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sf); border: 1px solid var(--bd); color: var(--mu); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.fss a:hover { background: var(--gB); border-color: transparent; color: #fff; }
.fss svg { width: 15px; height: 15px; fill: currentColor; }
.fc { text-align: center; }
.fcp { font-size: .7rem; color: rgba(240,240,245,.28); letter-spacing: .04em; }

/* ───────────────────────────────────────────
   ANIMATIONS
─────────────────────────────────────────── */
@keyframes fu { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ld { from { transform: scaleY(0); transform-origin: top; } to { transform: scaleY(1); transform-origin: top; } }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes of1 { 0%,100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-25px, 20px) scale(.95); } }
@keyframes of2 { 0%,100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 35px) scale(1.08); } }

/* スクロールリビール */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: .12s; }
.rv.d2 { transition-delay: .24s; }

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nm, .nc, .ns { display: none; }
  .hb { display: flex; }
  #about .si { grid-template-columns: 1fr; gap: 36px; }
  .sg { grid-template-columns: 1fr; gap: 14px; }
  #philosophy .si { grid-template-columns: 1fr; gap: 36px; }
  .cg { grid-template-columns: 1fr; gap: 14px; }
  .ng { grid-template-columns: repeat(2, 1fr); }
  .snsg { grid-template-columns: 1fr; gap: 14px; }
  .cb { padding: 40px 28px; }
}

@media (max-width: 600px) {
  nav { padding: 0 4%; }
  .hc { padding: 0 5%; max-width: 100%; }
  .ht { font-size: clamp(1.85rem, 8vw, 2.8rem); line-height: 1.25; }
  .hd { font-size: .84rem; max-width: 100%; }
  .ha { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hsc { display: none; }
  .hmb { bottom: 14px; right: 4%; font-size: .6rem; padding: 6px 12px; }
  section { padding: 0 4%; }
  .st { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
  .ac { padding: 28px 22px; }
  .as { font-size: 2.8rem; }
  .sc { padding: 26px 20px; }
  .ng { grid-template-columns: 1fr; }
  .snsg { grid-template-columns: 1fr; }
  .snsc { padding: 36px 24px; }
  .cb { padding: 32px 20px; }
  .pq { font-size: clamp(1.55rem, 6vw, 2.1rem); }
  .cg { grid-template-columns: 1fr; }
  .ct2 th { width: 34%; font-size: .66rem; }
  .ct2 td { font-size: .8rem; }
  footer { padding: 32px 4% 20px; }
  .fi { flex-direction: column; align-items: center; text-align: center; }
  .fc { flex-direction: column; align-items: center; text-align: center; }
}

/* ───────────────────────────────────────────
   WordPress ページネーション
─────────────────────────────────────────── */
.nav-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.nav-links a,
.nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 40px; font-size: .8rem; font-weight: 600; text-decoration: none; border: 1px solid var(--bd); color: var(--mu); background: var(--sf); transition: border-color .2s, background .2s, color .2s; }
.nav-links a:hover { border-color: rgba(238,42,123,.5); background: rgba(238,42,123,.08); color: #fff; }
.nav-links .current { background: var(--gB); border-color: transparent; color: #fff; }
