@charset "UTF-8";

/* =========================================
   Variables (共通設定・テーマカラー)
========================================= */
:root {
  /* Colors - Theme & Accent */
  --theme-blue: #e0faff;
  --theme-pink: #ffe6f2;
  --theme-purple: #e8ebff;
  --theme-yellow: #fff8e0;

  /* Gray Scale */
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #F2F2F7;
  --gray-200: #E5E5ED;
  --gray-400: #ADADBD;
  --gray-600: #6E6E82;
  --gray-800: #54545f;
  --gray-1000: #333348;
  
  --bg-alt: #f5f6fb;

  /* Neutrals */    
  --accent-gold: #ddaa88;
  --accent-gold-dark: #f39473;
  --accent-gold-light: #f6dac6;
  
  /* Gradients */
  --grad-rainbow: linear-gradient(-45deg, var(--theme-blue), var(--theme-pink), var(--theme-purple), var(--theme-yellow));
  --grad-hero: linear-gradient(-45deg, var(--theme-blue), var(--theme-pink), var(--theme-purple), #fdfbfb);
  --grad-stained-glass: linear-gradient(135deg, var(--theme-blue), var(--theme-pink), var(--theme-purple), var(--theme-yellow));

  --grad-soft: linear-gradient(120deg, var(--theme-pink) 0%, var(--theme-purple) 100%);
  --grad-warm: linear-gradient(120deg, var(--theme-yellow) 0%, var(--theme-pink) 100%);
  --grad-cool: linear-gradient(120deg, var(--theme-blue) 0%, var(--theme-purple) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);

  /* Shadows (ニューモフィズムなどの影を統一) */
  --shadow-dark: rgba(160, 170, 190, 0.3);
  --shadow-inset-dark: rgba(160, 170, 190, 0.08);
  
  /* Fonts */
  --font-jp: fot-tsukubrdgothic-std, sans-serif;
  --font-en: cinzel, serif;
  --font-sans: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;

    /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Transitions (アニメーション速度の統一) */
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  
}

/* =========================================
   Base Styles (基礎のふるまい)
========================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--gray-50);
  color: var(--gray-600);
  font-family: var(--font-jp);
  overflow-x: hidden;
  letter-spacing: 0.08em; 
  line-height: 1.65;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { 
  color: inherit; 
  text-decoration: none;
  transition: opacity var(--transition-base), color var(--transition-base);
}

a:hover { 
  opacity: 0.7; 
}

p { 
  font-family: var(--font-sans);
  margin-bottom: 1.5em; 
  font-size: 1rem;
}

p:last-child { 
  margin-bottom: 0; 
}

img, svg, picture, video { 
  max-width: 100%; 
  height: auto; 
  vertical-align: middle;
}

ul, ol { 
  list-style: none; 
  font-family: var(--font-sans);
}

button, input, textarea, select {
  font-family: inherit; 
  color: inherit;
  border: none; 
  background: none; 
  appearance: none;
}

.sp-only {
  display: none;
}

/* =========================================
   Buttons (ボタン類)
========================================= */
/* --- 1. ニューモフィズムボタン（押し込みデザイン） --- */
.view-more-btn, 
.contact-btn,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  background: var(--gray-50);
  color: var(--gray-800);
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--white);
  transition: all var(--transition-smooth);
}

.view-more-btn:hover, 
.contact-btn:hover,
.link-btn:hover {
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--white);
  transform: translateY(2px);
  background: var(--gray-50);
  color: var(--accent-gold);
}

/* 個別サイズ調整 */
.view-more-btn { padding: 14px 40px; border-radius: 99px; }
.contact-btn, .link-btn { padding: 16px 32px; border-radius: 99px; }
.contact-btn { padding: 20px 48px; margin-top: 30px; }


/* --- 2. バナー（GUIDELINE, FANCLUBなど） --- */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-top: 15px;
  text-decoration: none;
  color: var(--gray-800);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  border: 0.5px solid transparent;
  transition: all var(--transition-smooth);
}

.banner .fc-text {
  margin-left: 12px;
  margin-top: 1px;
  transition: all var(--transition-smooth);
}

.banner:hover .fc-text { 
  letter-spacing: 0.25em; 
}
.banner:hover .feather-icon {
  opacity: 1;
  animation: featherFlutter 1.6s ease-in-out infinite; 
}

/* --- 3. Read More リンク --- */
.more-link {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--gray-800);
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 6px; 
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.more-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-link .feather-icon { margin-right: 8px; }
.more-link:hover { opacity: 0.8; }
.more-link:hover::after { width: 100%; }
.more-link:hover .feather-icon {
  opacity: 1;
  animation: featherFlutter 1.6s ease-in-out infinite;
}

/* ▼ ゴールド (.theme-gold) */
.banner.theme-gold {
  background: #fcfbf9;
  border-color: rgba(224, 188, 168, 0.3);
  box-shadow: inset 1px 1px 3px rgba(224, 188, 168, 0.15), inset -1px -1px 3px var(--white);
}
.banner.theme-gold:hover { box-shadow: inset 2px 2px 5px rgba(224, 188, 168, 0.25); }
.banner.theme-gold:hover .fc-text { color: var(--accent-gold); }

.theme-gold .feather-icon { color: var(--accent-gold); }
.more-link.theme-gold::after { background: #CCC; } 

/* ▼ ピンク (.theme-pink) */
.banner.theme-pink {
  background: #fdf0f1;
  border-color: rgba(218, 112, 121, 0.2);
  box-shadow: inset 1px 1px 3px rgba(218, 112, 121, 0.15), inset -1px -1px 3px var(--white);
}
.banner.theme-pink:hover { box-shadow: inset 2px 2px 5px rgba(218, 112, 121, 0.25); }
.banner.theme-pink:hover .fc-text { color: var(--theme-pink); }

.theme-pink .feather-icon { color: var(--theme-pink); }
.more-link.theme-pink::after { background: var(--theme-pink); }

/* ▼ ブルー (.theme-blue) */
.banner.theme-blue {
  background: #f2fbfc;
  border-color: rgba(142, 203, 214, 0.3);
  box-shadow: inset 1px 1px 3px rgba(142, 203, 214, 0.2), inset -1px -1px 3px var(--white);
}
.banner.theme-blue:hover { box-shadow: inset 2px 2px 5px rgba(142, 203, 214, 0.3); }
.banner.theme-blue:hover .fc-text { color: var(--theme-blue); }

.theme-blue .feather-icon { color: var(--theme-blue); }
.more-link.theme-blue::after { background: var(--theme-blue); }

/* ▼ パープル (.theme-purple) */
.banner.theme-purple {
  background: var(--theme-purple);
  border-color: rgba(180, 185, 230, 0.4);
  box-shadow: inset 1px 1px 3px rgba(180, 185, 230, 0.2), inset -1px -1px 3px var(--white);
}
.banner.theme-purple:hover { box-shadow: inset 2px 2px 5px rgba(180, 185, 230, 0.3); }
.banner.theme-purple:hover .fc-text { color: #888cc2; } /* 視認性確保のため少し濃いめ */

.theme-purple .feather-icon { color: #888cc2; }
.more-link.theme-purple::after { background: #888cc2; }

/* =========================================
   Hero Section
========================================= */
.hero {
  z-index: 10; height: 100vh; width: 100%; position: relative; overflow: hidden;
  background: var(--grad-hero); background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

.hero-character {
  position: absolute; height: 180vh; width: auto; bottom: -15vh; left: 25%;
  rotate: 20deg; object-fit: contain; z-index: 2; pointer-events: none; 
}
.breathe { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* Wave Animations */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 12vh;
  min-height: 80px; max-height: 150px; overflow: hidden; line-height: 0; z-index: 5; pointer-events: none;
}
.wave-svg { display: block; width: 100%; height: 100%; }
.wave-parallax > use { animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite; fill: var(--gray-50); }
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 12s; opacity: 0.3; }
.wave-parallax > use:nth-child(2) { animation-delay: -4s; animation-duration: 18s; opacity: 0.6; }
.wave-parallax > use:nth-child(3) { animation-delay: -6s; animation-duration: 24s; opacity: 1.0; }
@keyframes move-forever { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }

.hero-ui { position: absolute; top: 3vw; left: 4vw; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.logo-box { display: inline-block; position: relative; display: none; }
.logo { width: 420px; display: block; animation: logoJellyfish 10s ease-in-out infinite alternate; }
@media (max-width: 768px) { .logo { width: 260px; } }

/* Voice Menu */
.voice-menu { position: absolute; right: 4vw; top: calc(50% + 120px); transform: translateY(-50%); display: flex; flex-direction: column; gap: 24px; z-index: 20; isolation: isolate; }
.voice-circle-btn {
  position: relative; width: 160px; height: 160px; border-radius: 50%; border: none;
  background: linear-gradient(-45deg, var(--theme-blue), var(--theme-pink), var(--theme-purple)); background-size: 200% 200%;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 1;
  animation: popInRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) both, gradientMove 5s ease infinite;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.voice-circle-btn:nth-of-type(1) { animation-delay: 0.6s; }
.voice-circle-btn:nth-of-type(2) { animation-delay: 0.8s; }
.voice-circle-btn:nth-of-type(3) { animation-delay: 1.0s; }
.voice-circle-btn::before { content: ""; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; background: linear-gradient(-45deg, var(--theme-blue), var(--theme-pink), var(--theme-purple)); background-size: 200% 200%; z-index: -1; filter: blur(12px); opacity: 0.7; transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); animation: gradientMove 5s ease infinite; }
.voice-circle-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--white); opacity: 1; z-index: 1; transition: opacity 0.6s ease-in-out; }
.voice-circle-btn:hover { transform: scale(1.01); transition: all 0.1s ease-in-out; }
.voice-circle-btn:hover::after { opacity: 0.25; }
.voice-circle-btn:hover::before { opacity: 1; filter: blur(16px); transform: scale(1.05); }
.mic-icon { width: 40px; height: 40px; opacity: 0.6; position: relative; z-index: 2; transition: all 0.6s ease; }
.voice-circle-btn span { font-size: 14px; font-weight: bold; color: var(--gray-600); position: relative; z-index: 2; transition: all 0.6s ease; }
.voice-circle-btn:hover .mic-icon { opacity: 1; filter: invert(53%) sepia(0%) saturate(0%) hue-rotate(189deg) brightness(98%) contrast(89%); }

/* News Section */
.youtube-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.05); background: #000; }
.youtube-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.floating-news { position: absolute; top: auto; bottom: calc(50vh - 384px); left: 0; transform: translateX(-120%); z-index: 20; animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards; }
@keyframes popIn { to { transform: translateX(4vw); } }
.news-content { display: flex; align-items: center; background: var(--white); padding: 24px; border-radius: 20px; width: 500px; height: auto; box-sizing: border-box; box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05), 4px 4px 10px rgba(0, 0, 0, 0.02); }
.news-banners { display: flex; flex-direction: column; gap: 12px; width: 100%; flex: 1; min-width: 0; }
.news-label-pc, .news-label-sp { writing-mode: vertical-rl; font-size: 14px; color: var(--gray-400); font-weight: bold; letter-spacing: 0.2em; }
.news-label-pc { transform: rotate(180deg); margin-right: 20px; }
.news-label-sp { display: none; }
.news-body { display: flex; align-items: center; gap: 20px; background: var(--gray-50); padding: 16px; border-radius: 12px; text-decoration: none; transition: 0.3s; box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--white); }
.news-body:hover { background: var(--white); }
.news-img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.news-text p { margin: 0; white-space: nowrap; }
.news-subtitle { font-size: 11px; color: var(--gray-600); margin-bottom: 6px; }
.news-title { font-size: 16px; font-weight: bold; color: var(--gray-800); }
.news-carousel { width: 100%; overflow: hidden; position: relative; border-radius: 12px; touch-action: pan-y; }
.news-track { display: flex; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); cursor: grab; }
.news-slide { flex: 0 0 100%; width: 100%; box-sizing: border-box; padding-bottom: 20px; }
.news-text-box { padding: 16px 12px 0; text-align: left; }
.news-slide-title { font-size: 18px; font-weight: bold; color: var(--gray-800); margin: 0 0 8px 0; }
.news-slide-desc { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.6; }
.news-nav { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 15px; }
.nav-star { width: 14px; height: 14px; cursor: pointer; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; -webkit-mask-image: url('../img/star.svg'); mask-image: url('../img/star.svg'); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; background-color: #d0d0d0; }
.nav-star.active { transform: scale(1.5); background: var(--grad-rainbow); background-size: 200% 200%; animation: gradientMove 3s ease infinite; filter: drop-shadow(0 0 4px rgba(232, 235, 255, 0.8)); }

.hero-foreground { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.hero-foreground::before { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; bottom: -120px; background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 70%); filter: blur(60px); opacity: 0.6; }
.hero-foreground::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(2px); mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%); }

/* =========================================
   Sections Common 
========================================= */
.links, .about, .activity, .guideline, .contact { padding: 0 6vw; }
.links { text-align: center; }
.links-container { max-width: 800px; margin: 0 auto; }
.link-items { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.contact { margin-top: -12vh; position: relative; z-index: 10; }

/* =========================================
   1. Common Components & UI Parts
========================================= */
.about, .skills, .activity, .guideline { width: 100%; max-width: 100%; box-sizing: border-box; }
h2 { margin: 0 0 5px 0; font-size: 5.5rem; font-family: var(--font-en); color: var(--gray-800); font-weight: 100; letter-spacing: 0; display: flex; gap: 10px; }
h3 { font-size: 24px; color: var(--gray-800); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
h4 { font-size: 16px; font-weight: bold; color: var(--gray-800); text-transform: uppercase; margin: 10px 5px; }

.styled-card { width: 100%; max-width: 1440px; box-sizing: border-box; margin: 0 auto; padding: 60px; border-radius: 24px; position: relative; text-align: left; transition: all 0.4s ease; }
.styled-card.is-full { max-width: 100%; padding: 0; background-color: transparent; border-radius: 0; box-shadow: none; margin-top: -8vh; }

.link-btn, .slider-btn, .view-more-btn, .contact-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; letter-spacing: 0.05em; cursor: pointer; border: none; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: var(--gray-50); color: var(--gray-800); box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--white);
}
.link-btn:hover, .slider-btn:hover, .view-more-btn:hover, .contact-btn:hover {
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--white); transform: translateY(2px); background: var(--gray-50); color: var(--accent-gold);
}
.link-btn { padding: 16px 32px; border-radius: 99px; border: 1px solid var(--gray-50); }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; }
.view-more-btn { padding: 14px 40px; border-radius: 99px; }
.contact-btn { padding: 20px 48px; border-radius: 99px; margin-top: 30px; }

/* =========================================
   2. Frame & Background Effects
========================================= */
.frame-scroll-zone { position: relative; height: 600vh; margin-top: -10vh; }
.frame-sticky-wrapper { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: visible; }
.frame-moving-body { position: absolute; top: 0; left: 0; width: 100%; margin-top: 120px; padding: 0 0 150px 0; }

.frame-nuri {
  position: absolute; width: 92vw; max-width: 1600px; height: 82vh; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; 
  background-image: url('https://www.transparenttextures.com/patterns/white-marble.png'), linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(247, 249, 252, 0.85) 100%); backdrop-filter: blur(12px);
  -webkit-mask-image: url('../img/main_frame_nuri.svg'); mask-image: url('../img/main_frame_nuri.svg'); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(74, 64, 63, 0.15));
}
.frame-line { position: absolute; width: 92vw; max-width: 1600px; height: 82vh; top: 50%; left: 50%; transform: translate(-50%, -50%); background: url('../img/main_frame.svg') no-repeat center/100% 100%; z-index: 20; pointer-events: none; }
.frame-viewport { position: relative; width: 92vw; max-width: 1600px; height: 82vh; z-index: 5; -webkit-mask-image: url('../img/main_frame_nuri.svg'); mask-image: url('../img/main_frame_nuri.svg'); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; overflow: hidden; }

/* 星の装飾コンテナ */
.frame-stars-container { position: absolute; width: 92vw; max-width: 1600px; height: 82vh; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 25; }
.star-deco {
  position: absolute; display: block;
  filter: brightness(0) invert(1) drop-shadow(1px 0 0 #ead5cd) drop-shadow(-1px 0 0 #ead5cd) drop-shadow(0 1px 0 #ead5cd) drop-shadow(0 -1px 0 #ead5cd);
}
.star-tl-1 { top: 4%; left: 0%; height: 120px; } .star-tl-2 { top: 18%; left: -4%; height: 60px; } .star-tr-1 { top: 14%; right: -1%; height: 100px; } .star-bl-1 { bottom: 9%; left: -1%; height: 140px; } .star-bl-2 { bottom: 24%; left: -4%; height: 80px; } .star-bl-3 { bottom: 10%; left: 10%; height: 40px; } .star-br-1 { bottom: 6%; right: 3%; height: 65px; } .star-br-2 { bottom: 16%; right: -5%; height: 120px; } .star-flip { transform: scaleX(-1); }

.hero-glass-slider { position: absolute; top: 50%; left: 0; width: 100%; height: 95vh; transform: translateY(-50%); overflow: hidden; opacity: 0.2; pointer-events: none; }
.hero-glass-track { display: flex; width: max-content; height: 100%; animation: slideGlassLoop 60s linear infinite; will-change: transform; }
.hero-stained-glass-set { position: relative; height: 100%; width: auto; margin-right: 90px; }

/* =========================================
   Hero スライダー
========================================= */
.hero-glass-slider {
  position: absolute; 
  top: 50%; 
  left: 0; 
  width: 100%; 
  height: 95vh;
  transform: translateY(-50%); 
  overflow: hidden; 
  opacity: 0.2; 
  pointer-events: none;
}

.hero-glass-track {
  display: flex; 
  width: max-content; 
  height: 100%;
  animation: slideGlassLoop 60s linear infinite; 
  will-change: transform;
}

.hero-stained-glass-set { 
  position: relative; 
  height: 100%; 
  width: auto; 
  margin-right: 90px; 
}

@keyframes slideGlassLoop { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

/* =========================================
   3. Stained Glass Animations (ステンドグラス・ぴょん演出)
========================================= */
.stained-glass-deco {
  position: fixed; 
  top: 50%; 
  height: 88vh; 
  width: auto;
  pointer-events: none; 
  opacity: 0; 
  visibility: hidden; 
  z-index: 0; 
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.stained-glass-deco.is-active { 
  opacity: 0.85; 
  visibility: visible; 
}

.stained-glass-deco.is-leaving { 
  opacity: 0; 
  visibility: visible; 
}

.glass-left { 
  left: 50%; 
  margin-left: -40vw; 
  transform: translate(-110%, -50%); 
}

.glass-right { 
  right: 50%; 
  margin-right: -40vw; 
  transform: translate(110%, -50%) scaleX(-1); 
}

.is-active.glass-left { 
  animation: pyonJumpLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
}

.is-active.glass-right { 
  animation: pyonJumpRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
}

.glass-spacer { 
  height: 100%; 
  width: auto; 
  visibility: hidden; 
  display: block; 
}

.glass-nuri, .glass-frame {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  -webkit-mask-size: 100% 100%; 
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; 
  mask-repeat: no-repeat;
}

.glass-nuri {
  background: linear-gradient(90deg, var(--theme-blue) 0%, var(--theme-pink) 25%, var(--theme-purple) 50%, var(--theme-yellow) 75%, var(--theme-blue) 100%); 
  background-size: 200% 100%; 
  animation: nuriGradientMove 10s linear infinite; 
  -webkit-mask-image: url('../img/glass_nuri.svg'); 
  mask-image: url('../img/glass_nuri.svg');
}

.glass-frame {
  background: var(--gray-400); 
  -webkit-mask-image: url('../img/glass_frame.svg'); 
  mask-image: url('../img/glass_frame.svg');
  filter: drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.4)) 
          drop-shadow(1px -1px 0px rgba(0, 0, 0, 0.4)) 
          drop-shadow(-1px 1px 0px rgba(0, 0, 0, 0.4)) 
          drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.4));
}

.glass-frame-glow {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: var(--gray-400); 
  -webkit-mask-image: url('../img/glass_frame.svg'); 
  mask-image: url('../img/glass_frame.svg');
  -webkit-mask-size: 100% 100%; 
  mask-size: 100% 100%; 
  -webkit-mask-repeat: no-repeat; 
  mask-repeat: no-repeat;
  filter: blur(3px); 
  opacity: 0.6; 
  z-index: 1; 
  pointer-events: none;
}

/* Halo */
.halo-mask {
  position: absolute; 
  top: 2.25%; 
  width: 85.5%; 
  aspect-ratio: 1 / 1; 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 2; 
  border-radius: 50%; 
  overflow: hidden; 
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.glass-halo {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 188%; 
  aspect-ratio: 1 / 1; 
  z-index: 2; 
  background-color: var(--gray-600);
  -webkit-mask-image: url('../img/halo.svg'); 
  mask-image: url('../img/halo.svg');
  -webkit-mask-size: 100% 100%; 
  mask-size: 100% 100%;
  animation: spinHalo 40s linear infinite, haloRainbow 6s linear infinite;
}

.glass-right .glass-halo { 
  animation: spinHaloReverse 40s linear infinite, haloRainbow 6s linear infinite; 
}

.glass-halo-glow {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 188%; 
  aspect-ratio: 1 / 1; 
  background-color: var(--gray-400);
  -webkit-mask-image: url('../img/halo.svg'); 
  mask-image: url('../img/halo.svg'); 
  -webkit-mask-size: 100% 100%; 
  mask-size: 100% 100%;
  filter: blur(5px); 
  opacity: 0.3; 
  z-index: 3; 
  pointer-events: none; 
  animation: spinHalo 40s linear infinite;
}

.glass-right .glass-halo-glow { 
  animation: spinHaloReverse 40s linear infinite; 
}

/* =========================================
   Titles & Animations
========================================= */
/* 本来のセクション内のH2（PCでは非表示） */
.frame-moving-body h2 {
  display: none; 
}

/* フレーム右上に固定するH2 */
.fixed-section-title {
  position: absolute;
  top: 4vh;
  width: 100%;
  text-align: center;
  display: block;
  font-size: 5.5rem; 
  font-family: var(--font-en); 
  color: var(--gray-800); 
  font-weight: 100; 
  letter-spacing: 0;
  margin: 0; 
  float: none;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
}

/* 登場時のアニメーション */
.fixed-section-title.is-active {
  animation: slideInTitle 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ★追加：ステンドグラスの0.6sと同期させる退場アニメーション */
.fixed-section-title.is-leaving {
  animation: fadeOutTitle 0.6s ease forwards;
}

@keyframes slideInTitle {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* 退場：少し右にスライドしながら消える */
@keyframes fadeOutTitle {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(20px); }
}

/* =========================================
   4. Modals 
========================================= */
body.no-scroll { overflow: hidden; }
.image-modal-overlay, .modal-overlay { position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(244, 244, 244, 0.85); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.image-modal-overlay.active, .modal-overlay.active { display: flex; align-items: center; justify-content: center; opacity: 1; pointer-events: auto; }
.modal-image-container { width: 100%; height: 100%; overflow: auto; display: flex; padding: 5vh 5vw; box-sizing: border-box; }
#modalImg { margin: auto; display: block; max-height: 90vh; max-width: 90vw; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); cursor: zoom-in; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); transform: scale(0.95); }
.image-modal-overlay.active #modalImg { transform: scale(1); }
#modalImg.zoomed { max-height: none; max-width: none; width: auto; height: auto; border-radius: 0; cursor: zoom-out; }
.modal-box { background: var(--white); border-radius: 32px; box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px var(--white); width: calc(100% - 40px); max-width: 1280px; max-height: 85vh; overflow-y: auto; padding: 0; transform: translateY(30px); transition: 0.4s; position: relative; box-sizing: border-box; }
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-content-inner { color: var(--gray-800); line-height: 1.8; }
.modal-close-btn, .modal-close { position: absolute; top: 30px; right: 30px; width: 48px; height: 48px; background: var(--white); border: none; border-radius: 50%; font-size: 32px; color: var(--gray-600); cursor: pointer; box-shadow: 4px 4px 10px var(--shadow-dark); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.modal-close:hover { box-shadow: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--white); color: var(--gray-800); }

/* =========================================
   5. Sections (About / Profile)
========================================= */
#about { padding: 0; background: transparent; padding-top: 0; }
.profile-wrapper { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 50px; }
.profile-char { flex: 1; min-width: 320px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.profile-visual-area { width: 94%; display: flex; flex-direction: column; gap: 16px; }
.profile-visual { width: 100%; aspect-ratio: 3 / 4; position: relative; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reference-main-img { width: 100%; height: 100%; object-fit: cover; cursor: default; transition: 0.3s; z-index: 2; }
.magic-circle { position: absolute; width: 100%; max-width: 500px; animation: spin 40s linear infinite; opacity: 0.8; z-index: 1; pointer-events: none; filter: brightness(0) invert(1) drop-shadow(1px 0 0 #ead5cd) drop-shadow(-1px 0 0 #ead5cd) drop-shadow(0 1px 0 #ead5cd) drop-shadow(0 -1px 0 #ead5cd); }

.illustrator-credit { position: absolute; top: 24px; left: -2px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 16px 8px 20px; border-radius: 0 12px 12px 0; border: 1px solid rgba(255, 255, 255, 0.9); border-left: 4px solid var(--accent-gold); box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; z-index: 10; pointer-events: none; }
.credit-label { font-family: var(--font-en); font-size: 10px; color: var(--accent-gold); letter-spacing: 0.1em; line-height: 1.2; }
.credit-name { font-size: 13px; font-weight: bold; color: var(--gray-800); line-height: 1.2; transition: opacity 0.2s ease; }

.star-nav-wrapper { position: absolute; bottom: 20px; left: 20px; max-width: calc(100% - 85px); display: flex; flex-direction: column; align-items: flex-start; z-index: 10; }
.shared-tooltip { position: absolute; top: -38px; left: 0; background: var(--white); color: var(--accent-gold); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: bold; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-50%) translateY(5px); transition: opacity 0.3s ease, transform 0.3s ease, left 0.1s linear; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.shared-tooltip::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border-width: 4px 4px 0; border-style: solid; border-color: var(--white) transparent transparent transparent; }
.shared-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.star-nav-container { display: flex; gap: 16px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); padding: 8px 20px; margin-left: 20px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 2px 2px 12px rgba(0,0,0,0.05); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.star-nav-container::-webkit-scrollbar { display: none; }
.star-item { display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(200, 200, 200, 0.8); cursor: pointer; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); flex-shrink: 0; }
.star-item.active { color: var(--accent-gold); text-shadow: 0 0 8px rgba(224, 188, 168, 0.6); transform: scale(1.35); }
.star-item:hover:not(.active) { color: rgba(224, 188, 168, 0.7); }

.zoom-icon-btn { position: absolute; bottom: 26px; right: 26px; width: 50px; height: 50px; background: rgba(255, 255, 255, 0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: auto; cursor: zoom-in; z-index: 15; }
.zoom-icon-btn svg { width: 26px; height: 26px; fill: var(--gray-600); }
.zoom-icon-btn:hover { transform: scale(1.1); background: var(--white); box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15); }

.profile-details { flex: 1; min-width: 350px; display: flex; flex-direction: column; gap: 30px; justify-content: center; z-index: 2; }
.profile-card { display: flex; background: rgba(255, 255, 255, 0.75); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.9); }
.profile-card-content { flex: 1; padding: 20px 25px; }
.profile-row { padding: 12px 0; display: flex; align-items: flex-start; }
.profile-label { width: 70px; font-weight: bold; font-size: 14px; margin-top: 2px; padding-left: 20px; position: relative; }
.profile-label::before { content: "✦"; position: absolute; left: 0; color: var(--theme-pink); font-size: 14px; text-shadow: 0 0 5px rgba(255, 230, 242, 0.8); }
.name-jp { font-size: 1.2rem; font-weight: 600; line-height: 1.4; color: var(--gray-800); }
.name-en { font-size: 0.85rem; font-family: var(--font-en); color: var(--gray-400); letter-spacing: 0.05em; }
.profile-divider { height: 1px; background: rgba(0,0,0,0.05); }

.profile-more-trigger { position: relative; width: 150px; background: linear-gradient(to bottom, #ffffff, #f9f6f4); border-left: 1px dashed #ddd; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 30px; text-decoration: none; overflow: visible; cursor: pointer; transition: background 0.3s ease; }
.speech-bubble { position: relative; background: var(--white); color: var(--accent-gold); font-size: 16px; font-weight: bold; padding: 8px 12px; border-radius: 20px; box-shadow: 2px 2px 6px var(--shadow-dark); z-index: 5; text-align: center; animation: float-bubble 3s ease-in-out infinite; }
.speech-bubble::after { content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); border-width: 5px 5px 0; border-style: solid; border-color: var(--white) transparent transparent transparent; }
@keyframes float-bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.peeking-char { position: absolute; bottom: -1px; left: -56px; width: 200px; height: auto; z-index: 3; max-width: none; transform-origin: bottom left; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.profile-more-trigger:hover .peeking-char { transform: scale(1.01); }

.fanclub-banner { background: linear-gradient(135deg, rgba(253, 248, 245, 0.85) 0%, rgba(255,255,255,0.95) 100%); border: 1px solid #ead5cd; border-radius: 12px; padding: 30px; text-align: left; box-shadow: 4px 4px 10px rgba(0,0,0,0.02), -4px -4px 10px var(--white); position: relative; overflow: hidden; display: flex; align-items: center; text-decoration: none; transition: all 0.3s ease; }
.fanclub-banner:hover { box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--white); transform: translateY(2px); background: var(--bg-alt); border-color: transparent; opacity: 1; }
.fanclub-banner::after { content: '✦'; position: absolute; font-size: 10rem; color: rgba(212, 184, 134, 0.05); top: -40px; right: -30px; transform: rotate(15deg); pointer-events: none; }
.fanclub-text { flex: 1; position: relative; z-index: 2; max-width: 100%; }
.fanclub-banner h3 { color: var(--accent-gold); margin: 0 0 15px 0; letter-spacing: 0.1em; }
.fanclub-banner p { color: var(--gray-600); line-height: 1.7; margin: 0; }
.fanclub-img { position: absolute; right: -20px; bottom: -20px; width: 220px; z-index: 1; pointer-events: none; opacity: 0.3; transition: all 0.4s ease; }
.fanclub-banner:hover .fanclub-img { transform: scale(1.05) rotate(-3deg); opacity: 0.5; }
.fanclub-banner li { position: relative; padding-left: 1.5em; margin-bottom: 0.5em; line-height: 1.6; }
.fanclub-banner li::before { content: "✦"; position: absolute; left: 0; color: var(--accent-gold); font-size: 1.1em; font-family: serif; text-shadow: 0 0 5px #e0bca8cc; }

/* =========================================
   6. Sections (Skills, Activity)
========================================= */

/* =========================================
   Base Slider Component (汎用スライダー)
========================================= */
.slider-wrapper { position: relative; width: 100%; }
.slider-container { width: 100%; position: relative; background: rgba(224, 188, 168, 0.2); border: 1px solid rgba(224, 188, 168, 0.2); box-sizing: border-box; }

.swiper-wrapper { align-items: stretch; }
.swiper-slide { background: var(--white); box-sizing: border-box; transition: 0.4s; height: auto; }

.slide-inner { padding: 0; display: flex; flex-direction: column; height: 100%; }

.slide-item:hover .slide-thumb img { transform: scale(1.05); }
.slide-link-icon { position: absolute; bottom: 15px; right: 15px; width: 36px; height: 36px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-gold); box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; opacity: 0; transform: translateY(10px); }
.slide-link-icon svg { width: 18px; height: 18px; }
.slide-item:hover .slide-link-icon { opacity: 1; transform: translateY(0); }
.slide-link-icon:hover { background: var(--accent-gold); color: #fff; }

.slide-info { padding: 20px 15px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.slide-title { font-size: 16px; font-weight: 500; margin: 0 0 8px 0; color: var(--gray-800); line-height: 1.4; }
.slide-meta { font-size: 12px; color: var(--gray-600); margin: 0; }

.slider-wrapper .slider-dots { 
  position: static; 
  width: auto; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px; 
  margin: 0;
}

.slider-wrapper .slider-dots .swiper-pagination-bullet { 
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  background: transparent; 
  opacity: 0.3; 
  width: auto; 
  height: auto;
  margin: 0; 
  padding: 0; 
  color: var(--gray-800);
  font-size: 1.4rem; 
  line-height: 1; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  transform: translateY(-1.5px); 
}

/* ✦ マークを表示する設定（JS側で設定していない場合はこれが必要です） */
.slider-wrapper .slider-dots .swiper-pagination-bullet::before {
  content: "✦";
  display: block;
}

/* アクティブ（現在表示中）の星 */
.slider-wrapper .slider-dots .swiper-pagination-bullet-active { 
  opacity: 1; 
  color: var(--accent-gold); 
  transform: translateY(-1.5px) scale(1.3); 
}

/* -----------------------------------------
   Skills Slider System (アーチ窓スライダー)
----------------------------------------- */
#skills .styled-card.is-full { background: transparent; box-shadow: none; padding: 0; margin-top: 5vh; }
#skills .skills-slider { width: 100%; padding: 80px 0 120px; overflow: visible; }
#skills .skills-slider .swiper-wrapper { display: flex; flex-wrap: nowrap; }

#skills .swiper-slide { display: flex; justify-content: center; align-items: center; height: auto; background-color: transparent; opacity: 0.4; transition: opacity 0.5s ease; }
#skills .swiper-slide-active { opacity: 1; }

.skills-item-anchor { text-decoration: none; display: block; width: 100%; max-width: clamp(280px, 70vw, 420px); margin: 0 auto; }
.skills-item { display: flex; flex-direction: column; align-items: center; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.skills-item-anchor:hover .skills-item { transform: translateY(-10px); }
.skills-item-anchor:hover .feather-icon { animation: featherFlutter 1.6s ease-in-out infinite; opacity: 1; }
.skills-item-anchor:hover .skills-arch-mask img { transform: scale(1.05); }

.skills-arch-wrapper { position: relative; width: 100%; display: flex; justify-content: center; }
.skills-item .skills-arch-border { border: none; border-radius: 500px 500px 0 0; padding: clamp(8px, 2vw, 15px); position: relative; overflow: visible; }
.skills-arch-border::after {
  content: ""; position: absolute; inset: 0; border: 1.5px solid var(--gray-800); border-radius: 500px 500px 0 0; border-bottom: 1.5px solid var(--gray-800); pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(black, black), linear-gradient(black, black), linear-gradient(black, black);
  -webkit-mask-size: calc(50% - 20px) 40px, calc(50% - 20px) 40px, 100% calc(100% - 40px);
  -webkit-mask-position: top left, top right, bottom center; -webkit-mask-repeat: no-repeat;
}
.skills-arch-border::before { content: "✦"; position: absolute; top: -0.5%; left: 50%; transform: translate(-50%, -50%); background: transparent; padding: 0 8px; color: var(--gray-800); font-size: 20px; z-index: 2; }
.skills-item .skills-arch-top-star { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: transparent; padding: 0; display: flex; z-index: 5; }
.skills-arch-top-star svg { width: clamp(14px, 3vw, 22px); height: auto; color: var(--gray-800); }
.skills-arch-mask { z-index: 0; width: clamp(240px, 60vw, 400px); height: clamp(320px, 80vw, 540px); border-radius: 500px 500px 0 0; overflow: hidden; border: 1px solid var(--gray-800); }
.skills-arch-mask img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }

.skills-text-area { text-align: center; margin-top: clamp(15px, 3vw, 30px); width: 100%; }
.skills-en { font-family: var(--font-en); font-size: clamp(10px, 2vw, 12px); letter-spacing: 0.3em; color: var(--gray-400); margin-bottom: 8px; text-transform: uppercase; }
.skills-jp { position: relative; z-index: 1; font-size: clamp(1.2rem, 4vw, 1.75rem); font-weight: normal; color: var(--gray-800); margin-bottom: clamp(15px, 3vw, 25px); display: flex; align-items: center; justify-content: center; gap: 15px; }
.skills-jp::before, .skills-jp::after { content: ""; display: inline-block; width: 20px; height: 20px; background: url('../img/mainstar_02.svg') no-repeat center/contain; animation: skillsStarSpin 12s linear infinite; }
.skills-jp::before { margin-right: 15px; }
.skills-jp::after { margin-left: 15px; }

.side-star { position: relative; z-index: 2; width: clamp(16px, 3vw, 24px); height: auto; opacity: 0.8; }
.is-rotating { animation: skillsStarSpin 12s linear infinite; }
@keyframes skillsStarSpin { 100% { transform: rotate(360deg); } }

.kira-line { width: 100%; max-width: 360px; margin: -20px auto 15px; }


/* =========================================
   Unified Slider Navigation
========================================= */
.slider-nav { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 30px;
  margin-top: 30px; 
  width: 100%; 
  position: relative; 
  z-index: 10; 
}

/* 矢印ボタン */
.slider-btn {
  margin: 0; padding: 0;
  margin-top: -8px;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  color: var(--gray-600); font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn span {
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: 0.3s; 
}

.slider-btn .arrow-left {
  transform: scaleX(-1);
}

.slider-btn:hover { 
  color: var(--accent-gold); 
  box-shadow: none;
}

/* =========================================
   星（ドット）のラッパー
   ※親クラス(.skills-slider)をつけて詳細度を上げ、
     Swiperのデフォルト設定(width:100%, absolute)を自然に上書きします
========================================= */
.skills-slider .slider-dots { 
  position: static; 
  width: auto; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px; 
  margin: 0;
}

.skills-slider .slider-dots .swiper-pagination-bullet { 
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  background: transparent; 
  opacity: 0.3; 
  width: auto; 
  height: auto;
  margin: 0; 
  padding: 0; 
  color: var(--gray-800);
  font-size: 1.4rem; 
  line-height: 1; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  transform: translateY(-1.5px); 
}

/* アクティブ（現在表示中）の星 */
.skills-slider .slider-dots .swiper-pagination-bullet-active { 
  opacity: 1; 
  color: var(--accent-gold); 
  transform: translateY(-1.5px) scale(1.3); 
}

/* -----------------------------------------
   Activity
----------------------------------------- */
.activity-container { display: flex; gap: 60px; justify-content: center; flex-direction: row; max-width: 100%; margin: 0 auto; }
.record-disc-image { width: 455px; height: 455px; border-radius: 50%; position: sticky; top: 120px; border: 8px solid var(--white); box-shadow: 12px 12px 24px var(--shadow-dark); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.disc-bg { position: absolute; width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; }
.disc-hole { width: 110px; height: 110px; background: var(--gray-50); border-radius: 50%; position: relative; z-index: 2; border: 8px solid var(--white); box-shadow: inset 6px 6px 12px #d1d1d1; }
.activity-list-container { flex: 1; text-align: left; max-width: 800px; margin: 0 auto; }
.accordion-item { margin-bottom: 20px; border: none; }
.accordion-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px; cursor: pointer; background: transparent; border: none; outline: none; border-bottom: 1px solid rgba(224, 188, 168, 0.8); transition: opacity 0.3s ease; }
.accordion-header:hover { opacity: 0.7; }
.accordion-title { font-size: 28px; letter-spacing: 0.15em; color: var(--gray-800); font-family: var(--font-en); }
.accordion-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.accordion-icon::after { content: ""; display: block; width: 10px; height: 10px; border-right: 2px solid var(--accent-gold); border-bottom: 2px solid var(--accent-gold); transform: translateY(-2px) rotate(45deg); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.accordion-item.active .accordion-icon::after { transform: translateY(2px) rotate(-135deg); }
.accordion-content { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; }
.accordion-item.active .accordion-content { opacity: 1; max-height: 1000px; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li { display: block; padding: 0; border-bottom: 1px solid rgba(224, 188, 168, 0.3); }
.activity-list li:last-child { border-bottom: none; }
.activity-list-link { display: flex; align-items: center; padding: 16px 15px; gap: 20px; width: 100%; text-decoration: none; transition: all 0.3s ease; box-sizing: border-box; }
.activity-list-link:hover { background-color: rgba(224, 188, 168, 0.05); padding-left: 12px; padding-right: 12px; opacity: 1; }
.activity-list li.no-link-item { display: flex; align-items: center; padding: 16px 15px; gap: 20px; width: 100%; box-sizing: border-box; }
.activity-list .date { font-family: var(--font-en); color: var(--accent-gold); font-size: 1.1em; letter-spacing: 0.15em; min-width: 60px; }
.activity-list .title { flex: 1; line-height: 1.6; color: var(--gray-800); font-size: 0.95em; }
.activity-link-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--gray-400); transition: all 0.3s ease; pointer-events: none; }
.activity-list-link:hover .activity-link-btn { color: var(--accent-gold); }

/* =========================================
   7. Community Section 
========================================= */
.community-area { width: 100%; padding: 0; box-sizing: border-box; margin-bottom: 80px; }
.gc-layout { display: flex; align-items: stretch; position: relative; }
.gc-left { width: 45%; height: auto; z-index: 1; pointer-events: none; }
.gc-sticky-visual { width: 100%; display: flex; align-items: flex-start; justify-content: center; will-change: transform; }
.gc-char-img { width: 220%; height: auto; max-width: 1920px; margin-top: 60px; margin-left: -400px; object-fit: contain; transform: translateX(15%); animation: float-char 6s ease-in-out infinite; filter: drop-shadow(4px 10px 20px rgba(0,0,0,0.08)); }
@keyframes float-char { 0%, 100% { transform: translateX(15%) translateY(0); } 50% { transform: translateX(15%) translateY(-15px); } }
.gc-right { width: 55%; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 80px; padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 2; }
.gc-block { width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 50px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); }

.tag-heading { font-family: var(--font-jp); color: var(--gray-800); font-weight: 600; margin: 0 0 30px 0; border-bottom: 1px solid rgba(224, 188, 168, 0.4); padding-bottom: 15px; }
.clean-tag-list { list-style: none; padding: 0; margin: 0 0 40px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.clean-tag-list li { position: relative; display: flex; flex-direction: column; background: rgba(245, 246, 251, 0.5); padding: 16px 60px 16px 20px; border-radius: 16px; box-shadow: inset 4px 4px 8px var(--shadow-inset-dark), inset -4px -4px 8px rgba(255,255,255,0.8); border: 1px solid rgba(255, 255, 255, 0.5); }
.tag-meta { font-size: 12px; color: var(--accent-gold); letter-spacing: 0.2em; text-transform: uppercase; font-style: italic; }
.tag-main { display: flex; align-items: center; font-size: 16px; color: var(--gray-800); font-weight: 600; }
.copy-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid rgba(224, 188, 168, 0.4); outline: none; cursor: pointer; color: var(--accent-gold); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; padding: 0; box-shadow: 2px 2px 6px rgba(0,0,0,0.05); pointer-events: auto; z-index: 100; }
.copy-btn svg { width: 16px; height: 16px; pointer-events: none; }
.copy-btn:hover { background: var(--accent-gold); color: var(--white); transform: translateY(calc(-50% - 2px)); box-shadow: 2px 4px 8px rgba(224, 188, 168, 0.3); }
.guide-link-wrap { text-align: center; }

.icon-border-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; filter: drop-shadow(0.5px 0.5px 0px rgba(224, 188, 168, 0.5)) drop-shadow(0 0 4px rgba(224, 188, 168, 0.3)) drop-shadow(4px 4px 10px var(--shadow-dark)); }
.square-icon { filter: none !important; }
.square-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.square-grid.is-3col { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.square-btn { display: flex; flex-direction: column; align-items: center; text-decoration: none; width: 100%; transition: all 0.4s ease; opacity: 1 !important; }
.square-icon { position: relative; width: 100%; aspect-ratio: 1 / 1; filter: drop-shadow(4px 4px 8px var(--shadow-dark)) drop-shadow(-4px -4px 8px #ffffff); transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; transform: translateZ(0); backface-visibility: hidden; }
.square-icon::before { content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: var(--white); z-index: 0; }
.square-icon::after { content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; z-index: 2; transition: all 0.4s ease; pointer-events: none; }
.square-btn:nth-child(odd) .square-icon { -webkit-mask-image: url('../img/funya_frame.svg'); mask-image: url('../img/funya_frame.svg'); }
.square-btn:nth-child(even) .square-icon { -webkit-mask-image: url('../img/window_frame.svg'); mask-image: url('../img/window_frame.svg'); }
.square-btn:nth-child(4n+1) .square-icon::after { background-color: rgba(255, 230, 242, 0.5); }
.square-btn:nth-child(4n+2) .square-icon::after { background-color: rgba(255, 248, 224, 0.5); }
.square-btn:nth-child(4n+3) .square-icon::after { background-color: rgba(224, 250, 255, 0.5); }
.square-btn:nth-child(4n) .square-icon::after { background-color: rgba(232, 235, 255, 0.5); }

.square-btn.is-about .square-icon { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.square-btn.is-about .link-icon, .square-btn.is-about img { z-index: 1; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.square-btn.is-about .link-text { font-family: var(--font-en); font-size: 12px; font-weight: bold; color: var(--gray-800); margin-top: 5px; z-index: 3; transition: all 0.3s ease; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }

.square-btn:not(.is-about) .name { margin: 16px 0 8px 0; font-size: 15px; font-weight: bold; color: var(--gray-800); position: relative; opacity: 1; }
.square-btn:not(.is-about) .name::after { content: ""; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: var(--accent-gold); transform: scaleX(0); transition: transform 0.4s ease; }
.square-btn:hover .square-icon { transform: translateY(2px) scale(0.97); filter: drop-shadow(2px 2px 4px var(--shadow-dark)) drop-shadow(-2px -2px 4px #ffffff); }
.square-btn:hover .square-icon::after { background-color: rgba(255, 255, 255, 0.1); }
.square-btn:not(.is-about):hover .name::after { transform: scaleX(1); }
.square-btn .square-icon img { position: absolute; top: 0px; left: 0px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; z-index: 1; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.square-btn.is-about .mark-bg { position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; -webkit-mask-image: url('../img/mark.svg'); mask-image: url('../img/mark.svg'); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; z-index: 1; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.square-btn.is-about:hover .link-text, .square-btn.is-about:hover .clap-icon-wrapper, .square-btn.is-about:hover .svg-icon-wrapper { color: var(--accent-gold); }
.square-btn:nth-child(4n+1).is-about:hover .square-icon::after { background-color: rgba(255, 230, 242, 0.4); }
.square-btn:nth-child(4n+2).is-about:hover .square-icon::after { background-color: rgba(255, 248, 224, 0.4); }
.square-btn:nth-child(4n+3).is-about:hover .square-icon::after { background-color: rgba(224, 250, 255, 0.4); }
.square-btn:nth-child(4n).is-about:hover .square-icon::after { background-color: rgba(232, 235, 255, 0.4); }
.square-btn:nth-child(4n+1).is-about .mark-bg { background-color: var(--theme-pink); }
.square-btn:nth-child(4n+2).is-about .mark-bg { background-color: var(--theme-yellow); }
.square-btn:nth-child(4n+3).is-about .mark-bg { background-color: var(--theme-blue); }
.square-btn:nth-child(4n).is-about .mark-bg { background-color: var(--theme-purple); }
.square-btn.is-about:hover .mark-bg { transform: scale(1.1); }
.square-btn.is-about .link-icon-img { position: relative; width: 40px; height: auto; z-index: 3; margin-bottom: 5px; }

.clap-icon-wrapper, .svg-icon-wrapper { position: relative; z-index: 3; width: 34px; height: 34px; margin-bottom: 5px; display: inline-flex; align-items: center; justify-content: center; color: var(--gray-800); transition: color 0.3s ease, transform 0.3s ease; }
.clap-icon-wrapper svg, .svg-icon-wrapper svg { width: 100%; height: 100%; overflow: visible; }
.square-btn .sub { margin: 0; font-size: 11px; color: var(--gray-600); text-shadow: none; transition: color 0.4s ease; }

/* =========================================
   10. Master Template & Other Components
========================================= */
/* Nav Container */
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 30px 3vw; pointer-events: none; position: fixed; top: 0; left: 0; width: 100%; z-index: 100; box-sizing: border-box; }
.nav-glass-bg { display: none; }
.nav-logo { position: relative; pointer-events: auto; display: block; width: 240px; padding: 30px 15px; transition: opacity 0.3s ease, transform 0.3s ease; filter: drop-shadow(0px 0px 6px rgba(149, 148, 207, 0.25)) drop-shadow(-2px -2px 8px rgba(255, 255, 255, 0.8)); }
.nav-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(-45deg, var(--theme-pink), var(--white), var(--theme-purple)); background-size: 200% 200%; animation: gradientMove 5s ease infinite; -webkit-mask-image: url('../img/fuwa_frame.svg'); mask-image: url('../img/fuwa_frame.svg'); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; filter: blur(12px); opacity: 0.8; z-index: -2; transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease; }
.nav-logo::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -webkit-mask-image: url('../img/fuwa_frame.svg'); mask-image: url('../img/fuwa_frame.svg'); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; z-index: -1; }
.nav-logo:hover { opacity: 0.8; transform: translateY(2px); }
.nav-logo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; transition: filter 0.3s ease; filter: invert(35%) sepia(7%) saturate(735%) hue-rotate(201deg) brightness(94%) contrast(88%); }

.wave-hamburger { position: absolute; top: 30px; right: 3vw; width: 120px; height: 120px; cursor: pointer; outline: none; background: transparent; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: auto; z-index: 150; filter: drop-shadow(0px 0px 6px rgba(149, 148, 207, 0.25)) drop-shadow(-2px -2px 8px rgba(255, 255, 255, 0.8)); }
.wave-hamburger::after { content: ""; position: absolute; inset: 0; background: linear-gradient(-45deg, var(--theme-pink), var(--white), var(--theme-purple)); background-size: 200% 200%; animation: gradientMove 5s ease infinite; -webkit-mask-image: url('../img/funya_frame.svg'); mask-image: url('../img/funya_frame.svg'); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; filter: blur(12px); opacity: 0.8; z-index: -2; transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease; }
.wave-hamburger::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -webkit-mask-image: url('../img/funya_frame.svg'); mask-image: url('../img/funya_frame.svg'); -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; z-index: -1; }
.wave-hamburger .bar { display: block; width: 40px; height: 2px; background: var(--gray-800); transition: 0.3s; }
.wave-hamburger:hover { transform: translateY(2px); opacity: 0.85; }
.wave-hamburger:hover .bar { background: var(--gray-800); }
body:has(.menu-window.open) .wave-hamburger { opacity: 0; pointer-events: none; transform: scale(0.8); }

/* Menu Window */
.menu-window { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: row; pointer-events: none; overflow: hidden; background: transparent; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); transition: backdrop-filter 0.6s ease, -webkit-backdrop-filter 0.6s ease; }
.menu-window.open { pointer-events: auto; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.menu-prism-bg { position: absolute; inset: 0; background: var(--grad-rainbow); background-size: 400% 400%; animation: gradientMove 15s ease infinite; opacity: 0; transition: opacity 0.6s ease; z-index: 1; }
.menu-window.open .menu-prism-bg { opacity: 0.9; transition: opacity 0.8s ease; }
.menu-visual-area { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 2; }
.menu-window.open .menu-visual-area { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.menu-illust-img { --scale: 2.2; --x: 15%; --y: -15%; max-height: 95vh; max-width: 140%; object-fit: contain; opacity: 0.95; transform: scale(var(--scale)) translate(var(--x), var(--y)); transform-origin: center right; animation: floatMenuChar 5s ease-in-out infinite; }
@keyframes floatMenuChar { 0%, 100% { transform: scale(var(--scale)) translate(var(--x), calc(var(--y) + 0px)); } 50% { transform: scale(var(--scale)) translate(var(--x), calc(var(--y) - 15px)); } }
.menu-content-area { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.85); -webkit-mask-image: url('../img/menu_nuri.svg'); mask-image: url('../img/menu_nuri.svg'); -webkit-mask-size: cover; -webkit-mask-position: right center; -webkit-mask-repeat: no-repeat; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; overflow-y: auto; transform: translateX(100%); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 10; pointer-events: none; }
.menu-window.open .menu-content-area { transform: translateX(0); pointer-events: auto; }
.menu-close { position: absolute; top: 40px; right: 4vw; width: 100px; height: 100px; background: transparent; border: none; font-size: 50px; color: var(--gray-600); cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; z-index: 20; }
.menu-close:hover { color: var(--accent-gold); transform: rotate(90deg); }
.menu-inner { width: 40%; min-width: 400px; max-width: 600px; padding: 80px 40px; box-sizing: border-box; margin-right: 4vw; display: flex; flex-direction: column; align-items: flex-start; }
.menu-top-logo { grid-column: 1 / -1; justify-self: center; display: flex; justify-content: center; width: 90%; margin-bottom: 20px; transition: opacity 0.3s ease; }
.menu-top-logo img { width: 100%; height: auto; display: block; filter: invert(36%) sepia(8%) saturate(836%) hue-rotate(201deg) brightness(96%) contrast(89%); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 80px; width: 100%; margin-bottom: 60px; }
.menu-item { font-family: var(--font-en); font-size: 15px; color: var(--gray-800); letter-spacing: 0.15em; text-decoration: none; position: relative; display: flex; align-items: center; transition: color 0.3s ease; justify-content: flex-start; }
.mark { position: absolute; left: -20px; color: var(--theme-pink); font-size: 16px; opacity: 0; transition: 0.4s ease; display: inline-block; }
.menu-item:hover { color: var(--accent-gold); }
.menu-item:hover .mark { opacity: 1; }
.menu-sub { width: 100%; border-top: 1px solid rgba(224, 188, 168, 0.3); padding-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.sub-row { display: flex; align-items: center; gap: 20px; }
.sub-label { font-size: 13px; letter-spacing: 0; color: var(--gray-400); font-weight: 500; width: 100px; }
.sub-link { font-size: 14px; color: var(--gray-800); text-decoration: none; letter-spacing: 0.05em; transition: 0.3s; }
.sub-link:hover, .sub-link-main:hover { color: var(--accent-gold); }
.sub-link-main { font-size: 14px; color: var(--accent-gold); font-weight: bold; letter-spacing: 0.05em; text-decoration: none; transition: 0.3s; }

/* Sub Page Layouts */
.page-header { text-align: center; padding: 80px 4vw 80px; }
.page-sub-title { font-size: 11px; color: var(--accent-gold); letter-spacing: 0.3em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.page-main-title { font-family: var(--font-en); font-size: 4rem; font-weight: 100; margin: 0 0 20px 0; color: var(--gray-800); letter-spacing: 0.1em; }
.main-content { max-width: 1600px; margin: 0 auto 100px; padding: 0 4vw; }
.component-section { max-width: 100%; margin-bottom: 150px; }
.section-title { font-family: var(--font-en); font-size: 2rem; font-weight: 100; text-align: center; margin-bottom: 60px; color: var(--accent-gold); letter-spacing: 0.1em; border-bottom: 1px solid rgba(224, 188, 168, 0.3); padding-bottom: 20px; }
.frosted-overlay { position: absolute; inset: 0; opacity: 0; transition: 0.6s; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(0px); }
.star-node { font-size: 40px; color: white; filter: drop-shadow(0 0 10px rgba(255,255,255,0.8)); transform: scale(0.6); transition: 0.6s; }

/* 古い f- プレフィックスを削除し、aタグ用に display: block; を追加 */
.thumb-169, .card-thumb, .slide-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-gold); border: none; display: block; }
.thumb-169 img, .card-thumb img, .slide-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* スライダーアイテムをホバーした際のアニメーション連動 */
.slide-item:hover .slide-thumb img { transform: scale(1.1); }
.slide-item:hover .frosted-overlay { opacity: 1; backdrop-filter: blur(8px); }
.slide-item:hover .star-node { transform: scale(1); }

/* Components (Grid/Cards) */
.refined-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(224, 188, 168, 0.2); border: 1px solid rgba(224, 188, 168, 0.2); }
.grid-item { background: var(--white); display: flex; flex-direction: column; transition: 0.4s; aspect-ratio: auto; }
.grid-item.hero { grid-column: 1 / span 2; padding-bottom: 0px; height: auto; }
.item-inner { padding: 1.5rem; gap: 1rem; display: flex; flex-direction: column; height: auto; box-sizing: border-box; }
.grid-item:hover .thumb-169 img { transform: scale(1.1); }
.grid-item:hover .frosted-overlay { opacity: 1; backdrop-filter: blur(8px); }
.grid-item:hover .star-node { transform: scale(1); }
.item-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; text-align: left; }
.tags-row { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.meta-tag { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.1em; padding: 2px 10px; border-radius: 99px; text-transform: uppercase; }
.meta-tag.original { background: var(--accent-gold); color: white; }
.meta-tag.cover { border: 1px solid var(--accent-gold); color: var(--accent-gold); }
.meta-tag.movie { border: 1px solid var(--gray-400); color: var(--gray-400); }
.meta-tag.live { background: var(--white); color: var(--gray-600); border: 1px solid rgba(0,0,0,0.05); }
.mv-name { font-size: 20px; font-weight: 500; margin: 0 0 5px 0; color: var(--gray-800); line-height: 1.4; }
.mv-name-s { font-size: 16px; font-weight: 500; margin: 0 0 5px 0; color: var(--gray-800); line-height: 1.4; }
.mv-caption { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.6; }

.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(224, 188, 168, 0.2); border: 1px solid rgba(224, 188, 168, 0.2); }
.f-card { background: var(--white); display: flex; flex-direction: column; transition: 0.4s; aspect-ratio: auto; }
.f-card-inner { padding: 0; display: flex; flex-direction: column; height: 100%; }
.f-card-info { padding: 20px 15px 25px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; text-align: left; }
.f-card:hover .f-card-thumb img { transform: scale(1.05); }
.f-card:hover .frosted-overlay { opacity: 1; backdrop-filter: blur(8px); }
.f-card:hover .star-node { transform: scale(1); }
.f-card-title { font-size: 15px; font-weight: 500; margin: 0 0 5px 0; color: var(--gray-800); line-height: 1.4; }
.f-card-meta { font-size: 11px; color: var(--gray-600); margin: 0; }

.divider { border: none; border-top: 1px solid rgba(224, 188, 168, 0.3); margin: 80px 0; }
.text-layout-1col { text-align: center; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.poetic-title { font-size: 28px; font-weight: 400; letter-spacing: 0.15em; line-height: 1.8; margin-bottom: 40px; color: var(--gray-800); }
.poetic-desc { font-size: 16px; line-height: 2.2; color: var(--gray-600); letter-spacing: 0.08em; }
.text-layout-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }
.col-title { font-size: 24px; font-weight: 500; margin: 0 0 20px 0; color: var(--gray-800); border-bottom: 1px solid rgba(224, 188, 168, 0.3); padding-bottom: 10px; }
.col-text { font-size: 16px; line-height: 2; color: var(--gray-600); margin: 0; }
.text-layout-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.col-meta { font-family: var(--font-en); font-size: 12px; color: var(--accent-gold); letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.col-title-small { font-size: 20px; font-weight: 500; margin: 0 0 15px 0; color: var(--gray-800); }
.col-text-small { font-size: 14px; line-height: 1.8; color: var(--gray-600); margin: 0; }

/* =========================================
   Archives Section
========================================= */
.archive-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 30px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  color: #555;
  transition: all 0.3s ease;
}
.tab-btn:hover {
  background: rgba(0,0,0,0.05);
}
.tab-btn.active {
  background: #333; /* アクセントカラーに合わせて調整してください */
  color: #fff;
  border-color: #333;
}
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.unit-section {
  --unit-gray-100: #F2F2F7;
  --unit-gray-200: #E5E5ED;
  --unit-gray-400: #ADADBD;
  --unit-shadow: rgba(160, 170, 190, 0.2);
  
  position: relative; 
  width: 100%; 
  max-width: 1300px;
  padding: 80px 0 160px; 
  margin: 0 auto;
  display: flex; 
  flex-direction: column; 
  align-items: center;
}

/* --- 見出しエリア --- */
.unit-section .section-header {
  position: absolute;
  top: 80px; 
  right: 5%;  
  text-align: right;
  z-index: 2;
  pointer-events: none; 
}
.unit-section .title-main-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.unit-section .title-en { font-family: var(--font-en); font-size: 4.5rem; color: var(--gray-800); margin: 0; line-height: 1; }
.unit-section .title-jp { font-family: var(--font-jp); font-size: 0.95rem; color: var(--gray-600); margin: 12px 0 0; letter-spacing: 0.25em; display: flex; align-items: center; justify-content: flex-end; }
.unit-section .title-jp::before { content: ""; width: 30px; height: 1px; background: var(--accent-gold); margin-right: 15px; opacity: 0.6; }

/* 星の装飾 */
.unit-section .header-star { filter: invert(73%) sepia(13%) saturate(1412%) hue-rotate(342deg) brightness(88%) contrast(88%) drop-shadow(0 0 8px rgba(204, 153, 119, 0.4)); }
.unit-section .main-star { width: 40px; height: 40px; animation: headerStarRotate 6s linear infinite; }
.unit-section .sub-star { width: 20px; height: 20px; margin-top: -30px; opacity: 0.7; animation: headerStarPulse 3s ease-in-out infinite; }

/* --- レイアウト (CSS変数で段差を制御) --- */
.unit-staircase {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 80px 3%; width: 100%;
  align-items: flex-start;
}

.unit-card {
  /* 変数 --offset-y で段差をつける */
  margin-top: var(--offset-y, 0px);
  
  position: relative; width: 100%; background: var(--gray-50);
  border-radius: 24px; padding: 12px;
  box-shadow: 12px 12px 24px var(--unit-shadow), -12px -12px 24px var(--white);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  text-decoration: none; display: block;
}

/* PC：4列の階段設定 */
.unit-card:nth-child(4n+1) { --offset-y: 0px; }
.unit-card:nth-child(4n+2) { --offset-y: 80px; }
.unit-card:nth-child(4n+3) { --offset-y: 160px; }
.unit-card:nth-child(4n+4) { --offset-y: 240px; }

.unit-card:hover { 
  transform: translateY(-10px);
  box-shadow: 15px 15px 35px var(--unit-shadow), -15px -15px 35px var(--white);
}

/* --- 画像エリア --- */
.unit-thumb {
  position: relative; width: 100%; aspect-ratio: 1;
  border-radius: 14px; overflow: hidden; margin: 0 0 16px 0; 
}
.unit-img {
  width: 100%; height: 100%; object-fit: cover; 
  filter: sepia(5%) contrast(95%) opacity(0.9); 
  transition: transform 0.6s ease; 
}
.unit-card:hover .unit-img { transform: scale(1.05); }

/* --- 名前と説明 --- */
.unit-info { padding: 0 8px 8px; text-align: left; }
.unit-name { margin: 0 0 6px; font-family: var(--font-en); font-size: 1.4rem; color: var(--gray-800); letter-spacing: 0.1em; transition: color 0.3s ease; font-weight: normal; }
.unit-role { margin: 0; font-family: var(--font-jp); font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }
.unit-card:hover .unit-name { color: var(--accent-gold); }

/* --- 切り欠き (左上) --- */
.unit-cutout {
  position: absolute; top: 0; left: 0;
  width: 72px; height: 72px;
  background: var(--gray-50); 
  border-bottom-right-radius: 24px;
}
.unit-cutout::before, .unit-cutout::after {
  content: ""; position: absolute; background: transparent; 
  width: 20px; height: 20px; border-top-left-radius: 20px; 
  box-shadow: -6px -6px 0 6px var(--gray-50);
}
.unit-cutout::before { top: 0; right: -20px; }
.unit-cutout::after { bottom: -20px; left: 0; }

/* --- アイコンボタン --- */
.unit-btn {
  position: absolute; top: 8px; left: 8px;
  width: 50px; height: 50px; background: var(--unit-gray-100); 
  border-radius: 50%; display: flex; justify-content: center; align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.unit-card:hover .unit-btn {
  background: var(--accent-gold); 
  transform: rotate(90deg);
}

.unit-star {
  width: 32px; height: 32px; 
  filter: invert(75%) sepia(9%) saturate(464%) hue-rotate(202deg) brightness(92%) contrast(87%);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.unit-card:hover .unit-star {
  filter: brightness(0) invert(1); 
  animation: sparklePulse 2s linear infinite 0.4s;
}

@keyframes sparklePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.9; } }
@keyframes headerStarRotate { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes headerStarPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 0.9; } }


/* --- スマホ・タブレット対応 --- */
@media (max-width: 1024px) {
  .unit-section { padding-top: 40px; padding-bottom: 120px; }
  
  .unit-section .section-header { position: relative; top: auto; right: auto; text-align: center; margin-bottom: 60px; }
  .unit-section .title-main-wrap { justify-content: center; }
  .unit-section .title-jp { justify-content: center; }
  .unit-section .title-jp::before { display: none; }
  .unit-section .title-en { font-size: 3.2rem; }
  .unit-section .main-star { width: 30px; height: 30px; }
  .unit-section .sub-star { width: 16px; height: 16px; margin-top: -20px; }

  /* Gridを2列に変更し、段差の変数を上書き (!important不要) */
  .unit-staircase {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 4%; max-width: 600px; margin: 0 auto;
  }
  .unit-card:nth-child(odd) { --offset-y: 0px; }
  .unit-card:nth-child(even) { --offset-y: 40px; }

  .unit-cutout { width: 60px; height: 60px; border-bottom-right-radius: 20px; }
  .unit-cutout::before, .unit-cutout::after { width: 16px; height: 16px; border-top-left-radius: 16px; box-shadow: -5px -5px 0 5px var(--gray-50); }
  .unit-cutout::before { right: -16px; }
  .unit-cutout::after { bottom: -16px; }
  .unit-btn { width: 40px; height: 40px; top: 6px; left: 6px; }
  .unit-star { width: 24px; height: 24px; }
}

/* =========================================
   11. Footer
========================================= */
.footer-wrapper { max-width: 1600px; width: 90%; margin: 0 auto; position: relative; }
.footer { max-width: 100%; margin: 0 auto; background: var(--white); padding: 80px 4vw 40px; border-top: 1px solid rgba(224, 188, 168, 0.2); }
.footer-liquid { position: relative; height: 120px; background: transparent; overflow: visible; z-index: 3; }
.cage { position: absolute; top: 0; left: 0; width: 100%; }
.cage.two .box { filter: url("#goo2"); }
.box { width: 100%; height: 120px; top: 10px; margin: auto; position: relative; filter: url("#goo"); }
.surface { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: var(--white); }
.drop-one, .drop-two, .drop-three, .drop-four, .ripple { background: var(--white); position: absolute; border-radius: 50%; }
.drop-one   { width: 50px; height: 50px; left: 50%; animation: bigDrop 2s ease infinite; }
.drop-two   { width: 40px; height: 40px; left: 51%; animation: bigDrop 2s ease infinite 0.075s; }
.drop-three { width: 20px; height: 20px; left: 51%; animation: smallDrop 2s ease infinite 1s; }
.drop-four  { width: 20px; height: 20px; left: 51%; animation: smallDrop 2s ease infinite 1.075s; }
.ripple { width: 25px; height: 25px; }
.l-side { left: 50%; animation: lRipple 2s ease infinite 1.2s; }
.r-side { left: 53%; animation: rRipple 2s ease infinite 1.2s;}
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.footer-logo { display: flex; flex-direction: column; gap: 5px; }
.logo-text { font-family: var(--font-en); font-size: 2rem; color: var(--gray-800); letter-spacing: 0.05em; }
.logo-sub { font-size: 10px; color: var(--accent-gold); letter-spacing: 0.3em; text-align: center; }
.footer-nav { display: flex; flex-direction: column; gap: 15px; }
.nav-row { display: flex; gap: 30px; flex-wrap: wrap; }
.nav-row a { font-family: var(--font-en); font-size: 12px; color: var(--gray-800); text-decoration: none; letter-spacing: 0.15em; transition: 0.3s; }
.nav-row a:hover { color: var(--accent-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; padding-top: 40px; border-top: 1px solid rgba(224, 188, 168, 0.2); }
.footer-sns { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.sns-label { font-size: 11px; color: var(--gray-400); font-weight: 500; }
.sns-icon { color: var(--gray-600); transition: 0.3s; display: flex; align-items: center; }
.sns-icon svg { width: 18px; height: 18px; }
.sns-icon:hover { color: var(--accent-gold); transform: translateY(-2px); }
.footer-copy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-copy a { font-size: 11px; color: var(--gray-600); text-decoration: none; transition: 0.3s; }
.footer-copy a:hover { color: var(--accent-gold); }
.footer-copy span { font-family: var(--font-en); font-size: 11px; color: var(--gray-400); letter-spacing: 0.1em; }


/* =========================================
   12. Utilities & Keyframes (構造に必要なアニメーション)
========================================= */
.scroll-pop { opacity: 0; transform: translateY(20px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.scroll-pop.show { opacity: 1; transform: translateY(0); }

.text-accent-pink { color: #f5a3c7; } 
.text-accent-blue { color: #8ecbd6; }

@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes pyonJumpLeft { 0% { transform: translate(-150%, -50%); } 100% { transform: translate(-110%, -50%); } }
@keyframes pyonJumpRight { 0% { transform: translate(150%, -50%) scaleX(-1); } 100% { transform: translate(110%, -50%) scaleX(-1); } }
@keyframes nuriGradientMove { 0% { background-position: 0% 0%; } 100% { background-position: 200% 0%; } }
@keyframes spinHalo { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinHaloReverse { 0% { transform: translate(-50%, -50%) scaleX(-1) rotate(0deg); } 100% { transform: translate(-50%, -50%) scaleX(-1) rotate(-360deg); } }
@keyframes haloRainbow { 0% { filter: drop-shadow(0 0 10px var(--theme-blue)); } 33% { filter: drop-shadow(0 0 10px var(--theme-pink)); } 66% { filter: drop-shadow(0 0 10px var(--theme-yellow)); } 100% { filter: drop-shadow(0 0 10px var(--theme-blue)); } }
@keyframes popInRight { 0% { opacity: 0; transform: translateX(80px); } 60% { opacity: 1; transform: translateX(-15px); } 100% { transform: translateX(0); } }
@keyframes popInUp { 0% { opacity: 0; transform: translateY(80px); } 60% { opacity: 1; transform: translateY(-15px); } 100% { transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes bigDrop { 0% { top: 80px; } 50% { top: -40px; } 100% { top: 80px; } }
@keyframes smallDrop { 0% { top: 80px; } 50% { top: 11px; } 100% { top: 80px; } }
@keyframes lRipple { 0% { left: 51%; top: 50px; } 25% { left: 25%; top: 80px; } 49% { top: 80px; } 50% { left: 51%; top: 55px; } 75% { left: 35%; top: 80px; } 99% { left: 35%; top: 80px; } 100% { left: 51%; top: 50px; } }
@keyframes rRipple { 0% { left: 53%; top: 50px; } 25% { left: 75%; top: 80px; } 49% { top: 80px; } 50% { left: 53%; top: 55px; } 75% { left: 65%; top: 80px; } 99% { top: 80px; } 100% { left: 53%; top: 50px; } }

/* =========================================
   Responsive (Smartphone & Tablet Optimized)
   ※1400px版を廃止し、スマホ版の設計に一本化
========================================= */

@media (min-width: 1025px) {
  .more-link.sp-only {display: none;}
}

@media (max-width: 1024px) {

  /* 共通の余白・基本設定 */
  .page-header { padding: 100px 5vw 40px; }
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
  .text-layout-2col, .text-layout-3col { grid-template-columns: repeat(1, 1fr); }
  .footer-wrapper { width: 100%; margin: 0; }
  .sp-only { display: block; }
  
  /* =========================================
     スクロール二重防止
  ========================================= */
  html, body { width: 100%; } /* 絶対変えない */
  body { overflow-x: hidden; } /* 絶対変えない */

  h2, .section-title-small {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
  }
  .styled-card, .gc-block, .contact-container {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .gc-block {
    padding: 30px 20px !important;
  }
  .skills-slider {
    overflow: hidden !important; 
  }

  /* =========================================
     装飾・特殊スクロールの完全解除
  ========================================= */
  .frame-stars-container, 
  .frame-line, 
  .frame-nuri, 
  .hero-glass-slider, 
  .stained-glass-deco {
    display: none !important;
  }

  /* 額縁（main_frame）のマスクと固定挙動を解除 */
  .frame-viewport {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .frame-scroll-zone {
    height: auto !important;
    margin-top: 0 !important;
  }

  .frame-sticky-wrapper {
    position: static !important;
    height: auto !important;
    display: block !important;
  }

  .frame-moving-body {
    position: relative !important;
    margin-top: 0 !important;
    padding-bottom: 80px !important;
    transform: none !important; /* JavaScriptによる強制移動を無効化 */
  }

  /* セクションの背景と余白をクリーンに */
  .links, .about, .skills, .community-area, .contact { 
    padding: 60px 6vw; 
    width: 100%;
    box-sizing: border-box;
  }
  .styled-card { 
    padding: 30px 20px; 
    box-shadow: none; 
    background: transparent;
  }
  .styled-card.is-full { margin-top: 0; }

  /* =========================================
     各パーツのスマホ最適化
  ========================================= */
  
  /* Hero */
  .hero { height: 100svh; max-width: 100%; }
  .hero-character { max-width: 250%; height: 160svh; left: 5svw; bottom: -25svh; rotate: 45deg; object-fit: contain; }
  .hero-character.breathe { animation: breatheMobile 6s ease-in-out infinite; }
  @keyframes breatheMobile { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
  .hero-light { left: 50%; }
  .hero-ui { top: auto; bottom: 200px; left: 10vw; transform: translateY(50%); align-items: center; }
  .logo-box { display: inline-block; position: relative;}
  .logo { width: 80vw; }

  .voice-menu { top: auto; bottom: 112px; left: 0; right: 0; width: 100%; transform: none; flex-direction: row; justify-content: center; gap: 16px; }
  .voice-circle-btn { width: 84px; height: 84px; animation-name: popInUp; }
  .mic-icon { width: 24px; height: 24px; }
  .voice-circle-btn span { font-family: var(--font-en); font-size: 10px; }

  .floating-news {
    position: relative; top: auto; bottom: auto; left: 50%; right: auto; transform: translateX(-50%);
    margin: 30px 0 20px 0; width: calc(100% - 5vw); max-width: none; animation: none; z-index: 20;
  }
  .news-content { width: 100%; padding: 20px; flex-direction: column; align-items: center; }
  .news-label-pc { display: none; }
  .news-label-sp {
    display: block; writing-mode: horizontal-tb; transform: none;
    font-size: 1em; font-weight: bold; color: var(--gray-600); letter-spacing: 0.1em;
    text-align: center; margin: 4px 0;
  }
  .frame-scroll-zone { margin-top: 0px; }
  .news-slide-desc { font-size: 1em; }
  .news-slide-title { font-size: 16px; }
  .news-slide-desc { font-size: 15px; }

  /* プロフィール */
  .profile-wrapper, .profile-details, .fanclub-banner, .fanclub-text { height: auto !important; min-height: min-content !important; }
  .fanclub-banner { flex-direction: column; align-items: flex-start; padding: 30px; }
  .profile-visual { height: auto; max-width: 100%; aspect-ratio: 3/4; }
  .profile-details { padding: 20px; gap: 30px; }
  .profile-card { flex-direction: column; }
  .profile-more-trigger { display: none; }
  .profile-more-btn-sp { display: flex; margin: 0 auto; }
  .fanclub-img { width: 240px; right: -10px; bottom: -10px; }

  /* Square Grid (SNSアイコン等) */
  .square-grid { grid-template-columns: repeat(2, 1fr); gap: 5vw; justify-items: center; }
  .square-grid.is-3col { grid-template-columns: repeat(2, 1fr); }
  .square-btn { width: 100%; max-width: 40vw; }
  .square-btn.is-about .link-text { font-size: 20px; margin-top: 8px; }

  /* Activity / Guideline */
  .activity-container { flex-direction: column; align-items: center; gap: 50px; }
  .record-disc-image { width: 70vw; height: auto; aspect-ratio: 1/1; position: static; }
  .activity-list .date { grid-column: 1 / 2; grid-row: 1 / 2; font-size: 0.95em; margin-bottom: 0; }
  .activity-list .title { grid-column: 1 / 2; grid-row: 2 / 3; font-size: 1em; }
  .activity-link-btn { grid-column: 2 / 3; grid-row: 1 / 3; justify-self: end; opacity: 1; }
  .activity-list { padding: 0 15px; }
  .activity-list-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .activity-list li.no-link-item { padding: 16px 0; }
  .activity-list-link:hover { padding-left: 0; padding-right: 0; background-color: transparent; }
  .disc-hole { width: 15vw; height: auto; aspect-ratio: 1/1; }

  .community-area .styled-card { padding: 0; }
  .community-area .gc-layout { flex-direction: column; }
  .gc-left, .gc-right { grid-area: 1 / 1; }
  .gc-left { width: 100%; height: 100%; position: absolute; opacity: 0.25; pointer-events: none; }
  .gc-char-img { height: 80svh; left: -30%; }
  .gc-right { width: 100%; padding: 0; }
  .gc-block { background: transparent; box-shadow: none; padding: 30px; border-radius: 20px; }
  .clean-tag-list { grid-template-columns: 1fr; }

  /* 3. Skillsセクションの広すぎる余白をカット */
  .skills { padding: 0 6vw 90px; }
  #skills .styled-card { padding: 0; margin: 0; height: auto !important; min-height: min-content; overflow: visible !important; }
  #skills .skills-slider { padding: 10px 0; }
  .skills-arch-mask { height: clamp(280px, 75vw, 420px); }
  .skills-text-area { margin-top: 15px; }
  .skills-arch-border::before { top: -0.5%; padding: 0 8px; font-size: 18px; }

  /* ナビゲーション（ヘッダー）と波型ガラス */
  .nav-logo {
    width: 200px; height: auto;
    margin-top: -10px; 
    margin-left: -10px;
    left: auto;
    background: transparent; 
    border: none; 
    box-shadow: none; 
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    filter: none;
  }
  .nav-logo::before, .nav-logo::after { display: none; }
  .nav-logo:hover img { filter: invert(81%) sepia(21%) saturate(350%) hue-rotate(338deg) brightness(96%) contrast(89%); }
  .nav-glass-bg {
    display: block;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
    
    -webkit-mask-image: linear-gradient(black, black), url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 H1000 V50 Q750,100 500,50 T0,50 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: linear-gradient(black, black), url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 H1000 V50 Q750,100 500,50 T0,50 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 70px, 300px 25px; 
    mask-size: 100% 70px, 300px 25px;
    -webkit-mask-position: 0 0, 0 70px; 
    mask-position: 0 0, 0 70px;
    -webkit-mask-repeat: no-repeat, repeat-x; 
    mask-repeat: no-repeat, repeat-x;
    animation: seamlessWave 4s linear infinite;
  }
  @keyframes seamlessWave {
    0%   { -webkit-mask-position: 0 0, 0 70px; mask-position: 0 0, 0 70px; }
    100% { -webkit-mask-position: 0 0, -300px 70px; mask-position: 0 0, -300px 70px; }
  }

  /* フッター */
  .footer-main { flex-direction: column; gap: 30px; text-align: center; }
  .nav-row { justify-content: center; gap: 15px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }

  /* =========================================
     全画面すりガラスメニュー
  ========================================= */
  .nav-logo {
    width: 200px; height: auto;
    margin-top: -25px; margin-left: 0;
    background: transparent; 
    border: none; 
    box-shadow: none; 
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    filter: none;
  }
  .nav-logo::before, .nav-logo::after { display: none; }
  .nav-logo:hover img { filter: invert(81%) sepia(21%) saturate(350%) hue-rotate(338deg) brightness(96%) contrast(89%); }
  
  /* ★ハンバーガーの白い丸背景とガラス質感を解除 */
  .wave-hamburger {
    position: absolute !important;
    top: 15px; right: 15px;
    margin-top: 0; 
    width: 40px; height: 40px;
    background: transparent; 
    border: none; 
    box-shadow: none; 
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0; gap: 6px;
    filter: none;
    z-index: 1000;
  }
  /* ★ 追加：PC版のすりガラスフレーム（::before）を非表示にする */
  .wave-hamburger::before, .wave-hamburger::after { display: none; }
  
  .wave-hamburger:hover {
    background: transparent; 
  }
  .wave-hamburger .bar { width: 28px; height: 2px; }
  .wave-hamburger:hover .bar { background: var(--accent-gold); }

  .menu-window { 
    flex-direction: column; 
    background: transparent;
    backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.6s ease, backdrop-filter 0.6s ease, -webkit-backdrop-filter 0.6s ease;
  }
  .menu-window.open {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  }
  
  .menu-prism-bg, .menu-visual-area { display: none; }

  .menu-content-area {
    position: relative; width: 100%; height: 100%;
    -webkit-mask-image: none; mask-image: none;
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(20px); opacity: 0;
    align-items: center; 
    transition: transform 0.6s ease, opacity 0.6s ease;
  }
  .menu-window.open .menu-content-area { transform: translateY(0); opacity: 1; }

  .menu-inner { 
    width: 100%; 
    padding: 80px 8vw 60px; /* 左右の余白を8vwに増やし、下にもゆとりを */
    margin: 0; 
    align-items: center; 
    box-sizing: border-box; /* 確実にはみ出しを防止 */
  }
  .menu-close { top: 20px; right: 4vw; width: 50px; height: 50px; font-size: 36px; }
  .sub-row { gap: 15px; }
  .sub-label, .sub-link, .sub-link-main { font-size: 13px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; }
  .menu-item { font-size: 16px; justify-content: flex-start; }
  .mark { display: inline-block; }

  /* スマホ用タイトル（固定表示の代わり） */
  .fixed-section-title {display: none;}
}