/*
Theme Name: 病み (Yamii)
Theme URI: https://example.com
Author: Yamii Project
Description: Discord Mental Community「病み (Yamii)」のランディングページテーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yamii
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --deep-navy:    #0d0b26;
  --midnight:     #050414;
  --purple-dark:  #140a2e;
  --purple-mid:   #3d2080;
  --purple-light: #7c5cbf;
  --lavender:     #b99fe0;
  --gold:         #f5d66e;
  --gold-light:   #ffe89a;
  --pink-soft:    #f0b8d0;
  --pink-light:   #fdd8e8;
  --teal:         #7ecfcf;
  --white:        #ffffff;
  --text-light:   rgba(255,255,255,0.9);
  --text-dim:     rgba(255,255,255,0.6);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--midnight);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   STARFIELD BACKGROUND (fixed)
============================================================ */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 20%, #130a3a 0%, #050414 40%, #02020a 100%);
  pointer-events: none;
}

.starfield::before,
.starfield::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 55% 25%, rgba(255,255,255,.6), transparent),
    radial-gradient(2px 2px at 70% 5%, rgba(255,220,100,.9), transparent),
    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 15% 60%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 35% 75%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 60% 55%, rgba(255,255,255,.6), transparent),
    radial-gradient(2px 2px at 75% 70%, rgba(180,150,255,.8), transparent),
    radial-gradient(1px 1px at 85% 85%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at  5% 90%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 45% 90%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 92% 50%, rgba(255,255,255,.7), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}

.starfield::after {
  background-image:
    radial-gradient(1px 1px at  8% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 18% 50%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 32% 20%, rgba(255,220,180,.7), transparent),
    radial-gradient(1px 1px at 48% 45%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 62% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 78% 55%, rgba(150,200,255,.7), transparent),
    radial-gradient(1px 1px at 88% 25%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 22% 80%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 50% 65%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 68% 80%, rgba(255,255,255,.8), transparent);
  animation-delay: 2s;
  animation-duration: 6s;
}

@keyframes twinkle {
  from { opacity: .6; }
  to   { opacity: 1;  }
}

/* Nebulae */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.nebula-1 { width:600px;height:400px;background:radial-gradient(ellipse,rgba(80,30,180,.3),transparent 70%);top:-10%;right:-10%; }
.nebula-2 { width:400px;height:300px;background:radial-gradient(ellipse,rgba(30,100,180,.2),transparent 70%);bottom:20%;left:-5%; }
.nebula-3 { width:500px;height:200px;background:radial-gradient(ellipse,rgba(120,60,200,.15),transparent 70%);top:50%;right:20%; }

/* Shooting stars */
.shooting-star {
  position: fixed;
  top: 15%; left: -5%;
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  border-radius: 2px;
  animation: shoot 6s ease-in-out infinite;
  z-index: 1; opacity: 0;
}
.shooting-star:nth-child(2) { top:30%; animation-delay:3s; width:150px; }
.shooting-star:nth-child(3) { top:8%; left:20%; animation-delay:8s; width:120px; }

@keyframes shoot {
  0%   { transform:translateX(0) translateY(0) rotate(-20deg); opacity:0; }
  5%   { opacity:1; }
  30%  { transform:translateX(120vw) translateY(30px) rotate(-20deg); opacity:0; }
  100% { opacity:0; }
}

/* ============================================================
   PAGE WRAPPER
============================================================ */
.site-wrapper { position: relative; z-index: 10; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,4,20,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(120,80,200,.2);
}

.site-branding { display:flex; align-items:center; gap:10px; }
.site-branding .logo-icon { font-size:28px; filter:drop-shadow(0 0 8px var(--gold)); }

.site-branding .brand-text { display:flex; flex-direction:column; line-height:1.1; }
.brand-name-jp { font-family:'Noto Serif JP',serif; font-size:18px; font-weight:700; color:var(--gold-light); text-shadow:0 0 12px rgba(245,214,110,.6); }
.brand-name-en { font-size:10px; color:var(--lavender); letter-spacing:2px; text-transform:uppercase; }

.main-navigation ul { display:flex; gap:32px; align-items:center; }
.main-navigation a {
  color: var(--text-light); font-size:14px; letter-spacing:.5px;
  transition: color .3s; position:relative;
}
.main-navigation a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1px; background:var(--gold); transition:width .3s;
}
.main-navigation a:hover { color:var(--gold-light); }
.main-navigation a:hover::after { width:100%; }

.nav-join {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  color: var(--white) !important;
  padding: 8px 20px; border-radius:20px;
  border: 1px solid rgba(180,140,255,.4);
  transition: all .3s !important;
  box-shadow: 0 0 12px rgba(100,60,200,.3);
}
.nav-join:hover {
  background: linear-gradient(135deg, var(--purple-light), #9b7ae8) !important;
  box-shadow: 0 0 20px rgba(120,80,220,.5) !important;
  transform: translateY(-1px);
}
.nav-join::after { display:none !important; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center; padding:80px 40px 60px;
  position:relative; overflow:hidden;
}

.moon-glow {
  position:absolute; top:-80px; left:50%;
  transform:translateX(-50%);
  width:500px; height:400px;
  background:radial-gradient(ellipse at center top, rgba(245,214,110,.15) 0%, rgba(245,214,110,.05) 40%, transparent 70%);
  pointer-events:none;
}

.castle-left, .castle-right {
  position:absolute; bottom:0;
  width:380px; height:450px;
  pointer-events:none; z-index:2; opacity:.85;
}
.castle-left  { left:-30px; }
.castle-right { right:-30px; }

.hero-content { position:relative; z-index:5; max-width:700px; }

.hero-moon {
  font-size:80px; line-height:1; margin-bottom:16px;
  filter:drop-shadow(0 0 30px rgba(245,214,110,.6));
  animation:floatMoon 6s ease-in-out infinite;
}
@keyframes floatMoon {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-12px); }
}

.hero-badge {
  display:inline-block; font-size:11px;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--lavender);
  background:rgba(100,60,180,.3);
  border:1px solid rgba(150,100,220,.4);
  padding:6px 20px; border-radius:20px; margin-bottom:24px;
}

.hero-title {
  font-family:'Noto Serif JP',serif;
  font-size:clamp(36px,5vw,58px);
  font-weight:700; line-height:1.4; margin-bottom:20px;
  text-shadow:0 0 40px rgba(180,140,255,.4);
}
.hero-title .gold { color:var(--gold-light); }

.hero-subtitle {
  font-size:15px; color:var(--text-dim);
  line-height:1.8; margin-bottom:40px; font-weight:300;
}
.hero-subtitle strong { color:var(--lavender); font-weight:400; }

.hero-cta {
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg, var(--gold) 0%, #e8b840 100%);
  color:var(--deep-navy); font-family:'Noto Serif JP',serif;
  font-size:16px; font-weight:700; padding:16px 40px; border-radius:50px;
  box-shadow:0 0 30px rgba(245,214,110,.5),0 4px 20px rgba(0,0,0,.4);
  transition:all .3s; animation:pulseGold 3s ease-in-out infinite;
}
.hero-cta:hover {
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 0 50px rgba(245,214,110,.7),0 8px 30px rgba(0,0,0,.4);
}
@keyframes pulseGold {
  0%,100% { box-shadow:0 0 20px rgba(245,214,110,.4),0 4px 20px rgba(0,0,0,.4); }
  50%      { box-shadow:0 0 40px rgba(245,214,110,.7),0 4px 20px rgba(0,0,0,.4); }
}

.cta-sub { display:block; font-size:11px; color:var(--text-dim); margin-top:10px; font-weight:300; }

.star-deco {
  position:absolute; animation:floatStar 4s ease-in-out infinite;
  opacity:.7; pointer-events:none; font-size:18px;
}
.star-deco:nth-child(1) { top:20%; left:12%; animation-delay:0s;   font-size:14px; }
.star-deco:nth-child(2) { top:35%; right:15%; animation-delay:1.5s; font-size:22px; }
.star-deco:nth-child(3) { top:60%; left:8%;  animation-delay:.8s;  font-size:12px; }
.star-deco:nth-child(4) { top:70%; right:10%;animation-delay:2.5s; font-size:16px; }
.star-deco:nth-child(5) { top:15%; right:30%;animation-delay:1s;   font-size:10px; }
@keyframes floatStar {
  0%,100% { transform:translateY(0) rotate(0deg); }
  50%      { transform:translateY(-10px) rotate(20deg); }
}

/* ============================================================
   SECTION SHARED
============================================================ */
.section-pad { padding:80px 40px; position:relative; }
.section-inner { max-width:1100px; margin:0 auto; }

.section-label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:3px; text-transform:uppercase;
  color:var(--lavender);
}
.section-label::before,
.section-label::after { content:''; width:30px; height:1px; background:var(--lavender); opacity:.5; }

.section-title {
  font-family:'Noto Serif JP',serif;
  font-size:clamp(24px,3vw,32px); font-weight:700;
  margin-bottom:40px; text-align:center;
}

.section-header { text-align:center; margin-bottom:40px; }

.star-divider {
  text-align:center; color:var(--gold); font-size:12px;
  letter-spacing:12px; opacity:.5; padding:10px 0;
  position:relative; z-index:10;
}

/* ============================================================
   FEATURES
============================================================ */
.features-section {
  background:rgba(10,5,30,.6);
  border-top:1px solid rgba(100,60,180,.15);
  border-bottom:1px solid rgba(100,60,180,.15);
}

.features-banner {
  display:inline-block;
  background:linear-gradient(135deg, rgba(80,40,160,.6), rgba(120,80,200,.4));
  border:1px solid rgba(150,110,230,.4);
  border-radius:30px; padding:10px 30px;
  font-family:'Noto Serif JP',serif; font-size:18px; color:var(--gold-light);
  margin-bottom:8px;
}

.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }

.feature-card {
  background:rgba(20,10,50,.5);
  border:1px solid rgba(120,80,200,.2);
  border-radius:20px; padding:36px 28px;
  text-align:center; transition:all .4s; position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 0%, rgba(120,80,200,.12), transparent 70%);
  opacity:0; transition:opacity .4s;
}
.feature-card:hover { border-color:rgba(180,140,255,.5); transform:translateY(-6px); box-shadow:0 16px 40px rgba(80,40,160,.3); }
.feature-card:hover::before { opacity:1; }

.feature-icon { font-size:42px; margin-bottom:16px; display:block; filter:drop-shadow(0 0 8px rgba(180,140,255,.5)); }
.feature-title { font-family:'Noto Serif JP',serif; font-size:16px; color:var(--gold-light); margin-bottom:10px; }
.feature-desc { font-size:13px; color:var(--text-dim); line-height:1.7; }

/* ============================================================
   CHANNELS
============================================================ */
.channels-section { background:linear-gradient(180deg,rgba(5,4,20,.8) 0%,rgba(15,10,40,.8) 100%); }

.channels-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; max-width:700px; margin:0 auto; }

.channel-item {
  display:flex; align-items:center; gap:14px;
  padding:16px 20px;
  background:rgba(30,20,70,.5);
  border:1px solid rgba(120,80,200,.25);
  border-radius:14px; transition:all .3s; cursor:pointer;
}
.channel-item:hover { background:rgba(50,30,110,.6); border-color:rgba(180,140,255,.5); transform:translateX(4px); }
.channel-icon { font-size:22px; flex-shrink:0; }
.channel-name { font-family:'Noto Serif JP',serif; font-size:14px; color:var(--lavender); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section { background:rgba(5,4,20,.7); }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }

.testimonial-card {
  background:rgba(20,15,60,.5);
  border:1px solid rgba(120,80,200,.2);
  border-radius:16px; padding:24px; transition:all .3s; position:relative;
}
.testimonial-card::before {
  content:'✦'; position:absolute; top:-8px; left:20px;
  background:var(--midnight); padding:0 6px; color:var(--gold); font-size:12px;
}
.testimonial-card:hover { border-color:rgba(180,140,255,.4); transform:translateY(-4px); }
.testimonial-text { font-size:13px; color:var(--text-light); line-height:1.8; margin-bottom:16px; }
.testimonial-tag {
  display:inline-block; font-size:11px; color:var(--lavender);
  background:rgba(80,50,160,.3); border:1px solid rgba(120,80,200,.3);
  padding:4px 12px; border-radius:10px;
}

/* ============================================================
   HOW TO JOIN
============================================================ */
.howto-section { background:linear-gradient(180deg,rgba(5,4,20,.8),rgba(2,2,15,.9)); }

/* 修正：list-styleとpaddingを調整してブラウザの自動番号を消去 */
.steps {
  display:flex;
  justify-content:center;
  gap:0;
  align-items:flex-start;
  max-width:800px;
  margin:0 auto;
  list-style: none; /* 自動番号を消去 */
  padding-left: 0;  /* 余白をリセット */
}

.step { flex:1; text-align:center; padding:0 20px; position:relative; }
.step:not(:last-child)::after {
  content:'›'; position:absolute; right:-10px; top:30px;
  color:var(--gold); font-size:24px; opacity:.6;
}
.step-num {
  width:60px; height:60px; border-radius:50%;
  background:linear-gradient(135deg,var(--purple-mid),var(--purple-light));
  border:2px solid rgba(180,140,255,.5);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  font-family:'Cinzel Decorative',serif; font-size:18px; color:var(--gold-light);
  box-shadow:0 0 20px rgba(100,60,200,.4);
}
.step-icon { font-size:32px; margin-bottom:12px; }
.step-title { font-family:'Noto Serif JP',serif; font-size:14px; color:var(--gold-light); margin-bottom:8px; }
.step-desc { font-size:12px; color:var(--text-dim); line-height:1.6; }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-section {
  text-align:center; padding:100px 40px;
  background:linear-gradient(180deg,rgba(2,2,15,.9) 0%,rgba(10,5,30,.95) 100%);
  position:relative; overflow:hidden;
}
.cta-section::before {
  content:''; position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:600px; height:300px;
  background:radial-gradient(ellipse,rgba(100,60,200,.2),transparent 70%);
  pointer-events:none;
}
.cta-title { font-family:'Noto Serif JP',serif; font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
.cta-desc { font-size:15px; color:var(--text-dim); margin-bottom:40px; line-height:1.8; }
.cta-btn {
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg,var(--gold),#d4a020);
  color:var(--deep-navy); font-family:'Noto Serif JP',serif;
  font-weight:700; font-size:18px; padding:18px 50px; border-radius:50px;
  box-shadow:0 0 40px rgba(245,214,110,.5); transition:all .3s;
  border:none; cursor:pointer;
}
.cta-btn:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 0 60px rgba(245,214,110,.7); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background:rgba(2,2,10,.95);
  border-top:1px solid rgba(80,50,150,.2);
  padding:40px; text-align:center;
  position:relative; z-index:10;
}
.footer-logo { font-family:'Noto Serif JP',serif; font-size:20px; color:var(--gold-light); margin-bottom:20px; }
.footer-nav { display:flex; justify-content:center; gap:32px; margin-bottom:24px; flex-wrap:wrap; }
.footer-nav a { color:var(--text-dim); font-size:13px; transition:color .3s; }
.footer-nav a:hover { color:var(--lavender); }
.footer-copy { font-size:12px; color:rgba(255,255,255,.3); }
.footer-discord {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  background:rgba(88,101,242,.3); border:1px solid rgba(88,101,242,.5);
  border-radius:50%; font-size:22px; margin-bottom:20px; transition:all .3s;
}
.footer-discord:hover { background:rgba(88,101,242,.5); box-shadow:0 0 20px rgba(88,101,242,.5); transform:scale(1.1); }

/* ============================================================
   FADE-IN ANIMATION
============================================================ */
.fade-up { opacity:0; transform:translateY(30px); transition:opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .site-header { padding:12px 20px; flex-direction:column; gap:12px; }
  .main-navigation ul { gap:16px; flex-wrap:wrap; justify-content:center; }
  .features-grid,
  .testimonials-grid { grid-template-columns:1fr; }
  .channels-grid { grid-template-columns:1fr; }
  .steps { flex-direction:column; align-items:center; gap:30px; }
  .step:not(:last-child)::after { display:none; }
  .section-pad { padding:60px 20px; }
  .castle-left, .castle-right { width:200px; height:250px; opacity:.4; }
}

@media (max-width: 480px) {
  .hero-section { padding:60px 20px 40px; }
  .castle-left  { left:-60px; }
  .castle-right { right:-60px; }
}

.footer-sns-item.x-twitter { 
  background: #000; 
  border-color: #fff; 
  font-family: sans-serif; 
  font-weight: 900; 
}

.footer-sns-item.note { 
  background: #2bb883; 
  border-color: #fff; 
  font-family: serif; 
  font-weight: bold; 
}

/* アイコン内の文字サイズ調整 */
.footer-sns-item .icon {
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   BGM TOGGLE BUTTON
============================================================ */
.bgm-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(61, 32, 128, 0.8); /* テーマに合わせた少し透けた紫 */
  border: 2px solid var(--purple-light);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(124, 92, 191, 0.5);
  transition: all 0.3s ease;
}

.bgm-button:hover {
  transform: scale(1.1);
  background-color: var(--purple-mid);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(185, 159, 224, 0.6);
}

/* ============================================================
   SNS LINKS - YUME KAWAII ROUND STYLE
============================================================ */
.footer-sns-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px; /* 少し広めにとってゆったりと */
  margin-bottom: 30px;
  perspective: 1000px;
}

.footer-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;  /* 少し大きくして存在感を */
  height: 54px;
  border-radius: 50%; /* 正円 */
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* ぷるんと動く */
  
  /* ぷっくり感を出すグラデーションとシャドウ */
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* リンクの上にキラキラしたハイライトを追加 */
.footer-sns-link::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

/* ホバー時の共通アニメーション */
.footer-sns-link:hover {
  transform: translateY(-8px) rotate(8deg); /* ぴょこっと跳ねて少し傾く */
  border-color: rgba(255, 255, 255, 0.8);
}

/* 各SNSのゆめかわパステルカラー */
.footer-sns-link.discord:hover {
  background: #7289da;
  box-shadow: 0 0 25px rgba(114, 137, 218, 0.7);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 各SNSのゆめかわパステルカラー */
.footer-sns-link.discord:hover {
  background: #7289da;
  box-shadow: 0 0 25px rgba(114, 137, 218, 0.7);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.footer-sns-link.x-twitter:hover {
  background: #71767B; /* Xだけどあえて少し明るいブルーで可愛く */
  box-shadow: 0 0 25px rgba(29, 161, 242, 0.6);
}

.footer-sns-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 0 25px rgba(220, 39, 67, 0.6);
}

.footer-sns-link.youtube:hover {
  background: #ff4d4d; /* 少しソフトな赤 */
  box-shadow: 0 0 25px rgba(255, 77, 77, 0.7);
}

/* note - 爽やかなパステルミントグリーン */
.footer-sns-link.note:hover {
  background: #2bb883;
  box-shadow: 0 0 25px rgba(43, 184, 131, 0.6);
}

/* Ko-fi - ぬくもりのあるパステルスカイブルー */
.footer-sns-link.kofi:hover {
  background: #29abe0;
  box-shadow: 0 0 25px rgba(41, 171, 224, 0.6);
}

.footer-sns-link.x-twitter:hover {
  background: #71767B; /* Xだけどあえて少し明るいブルーで可愛く */
  box-shadow: 0 0 25px rgba(29, 161, 242, 0.6);
}

.footer-sns-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 0 25px rgba(220, 39, 67, 0.6);
}

.footer-sns-link.youtube:hover {
  background: #ff4d4d; /* 少しソフトな赤 */
  box-shadow: 0 0 25px rgba(255, 77, 77, 0.7);
}



/* スマホ対応 */
@media (max-width: 480px) {
  .footer-sns-link {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON
============================================================ */
.scroll-top-button {
  position: fixed;
  bottom: 30px;
  right: 30px; /* 右側に配置 */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(61, 32, 128, 0.8);
  border: 2px solid var(--purple-light);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(124, 92, 191, 0.5);
  transition: all 0.3s ease;
  opacity: 0; /* 最初は透明にしておく */
  visibility: hidden; /* 最初はクリックできないようにする */
}

/* スクロールして表示される時のクラス */
.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-button:hover {
  transform: scale(1.1);
  background-color: var(--purple-mid);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(185, 159, 224, 0.6);
}