/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(160deg, #d6f0ff 0%, #b8e4fa 40%, #e0f7ff 100%);
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Comic Sans MS', sans-serif;
  color: #2a5a7a;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== 背景の泡エフェクト ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.35) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(160,220,255,0.3) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(200,240,255,0.3) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ===== 浮かぶ星・泡のアニメーション ===== */
.bubble {
  position: fixed;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  animation: floatUp linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== wrapper ===== */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ===== Header ===== */
header {
  text-align: center;
  padding: 40px 20px 20px;
}

.site-title {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow:
    3px 3px 0 #5bbde4,
    6px 6px 0 #3aa0cc,
    0 0 30px rgba(90,200,255,0.7);
  animation: titleBounce 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes titleBounce {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

.site-subtitle {
  font-size: 1rem;
  color: #6ac4e8;
  letter-spacing: 0.15em;
  margin-top: 6px;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

/* ===== キャラクター大バナー ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 20px 24px;
}

/* CSS怪獣キャラ */
.kaiju-wrap {
  position: relative;
  width: 180px;
  height: 220px;
}

.kaiju-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 160px;
  background: linear-gradient(160deg, #4fc3f7 30%, #0288d1 100%);
  border-radius: 50% 50% 38% 38% / 40% 40% 60% 60%;
  box-shadow: 0 8px 20px rgba(3,136,209,0.35), inset 0 -10px 20px rgba(0,0,0,0.1);
  animation: kaijuWobble 3s ease-in-out infinite;
}
@keyframes kaijuWobble {
  0%, 100% { transform: translateX(-50%) scaleX(1) scaleY(1); }
  30%       { transform: translateX(-50%) scaleX(1.05) scaleY(0.97); }
  60%       { transform: translateX(-50%) scaleX(0.97) scaleY(1.03); }
}

/* 頭（着ぐるみ頭部） */
.kaiju-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 100px;
  background: linear-gradient(135deg, #29b6f6 20%, #0277bd 100%);
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 4px 16px rgba(2,119,189,0.4);
  animation: headNod 3s ease-in-out infinite;
}
@keyframes headNod {
  0%, 100% { transform: translateX(-50%) rotate(-2deg); }
  50%       { transform: translateX(-50%) rotate(2deg); }
}

/* 角 */
.kaiju-horn {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 34px solid #0288d1;
  filter: drop-shadow(2px -2px 4px rgba(0,0,0,0.2));
}
.kaiju-horn::before {
  content: '';
  position: absolute;
  top: 8px; left: -22px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 24px solid #0277bd;
  transform: rotate(-20deg);
}
.kaiju-horn::after {
  content: '';
  position: absolute;
  top: 8px; left: 4px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 24px solid #0277bd;
  transform: rotate(20deg);
}

/* 目 */
.kaiju-eyes {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  display: flex;
  justify-content: space-between;
}
.kaiju-eye {
  width: 22px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: blink 4s ease-in-out infinite;
}
.kaiju-eye::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 14px;
  background: #1a1a2e;
  border-radius: 50%;
}
.kaiju-eye::before {
  content: '';
  position: absolute;
  top: 4px; left: 6px;
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
}
@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* 口 */
.kaiju-mouth {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  border-bottom: 5px solid #fff;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  border-radius: 0 0 30px 30px;
}

/* 胴体の模様 */
.kaiju-belly {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 70px;
  background: linear-gradient(180deg, #b3e5fc 0%, #81d4fa 100%);
  border-radius: 50% 50% 40% 40%;
}

/* 手 */
.kaiju-arm {
  position: absolute;
  bottom: 60px;
  width: 30px;
  height: 55px;
  background: linear-gradient(160deg, #29b6f6 30%, #0288d1 100%);
  border-radius: 40% 60% 60% 40%;
}
.kaiju-arm.left  { left: 0; transform: rotate(20deg); animation: armSwingL 1.2s ease-in-out infinite; }
.kaiju-arm.right { right: 0; transform: rotate(-20deg) scaleX(-1); animation: armSwingR 1.2s ease-in-out infinite; }
@keyframes armSwingL {
  0%, 100% { transform: rotate(15deg); }
  50%       { transform: rotate(35deg); }
}
@keyframes armSwingR {
  0%, 100% { transform: rotate(-15deg) scaleX(-1); }
  50%       { transform: rotate(-35deg) scaleX(-1); }
}

/* 足 */
.kaiju-legs {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}
.kaiju-leg {
  width: 32px;
  height: 40px;
  background: linear-gradient(180deg, #039be5 0%, #0277bd 100%);
  border-radius: 10px 10px 16px 16px;
}
.kaiju-leg.left  { animation: legL 0.8s ease-in-out infinite; }
.kaiju-leg.right { animation: legR 0.8s ease-in-out infinite; }
@keyframes legL {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg); }
}
@keyframes legR {
  0%, 100% { transform: rotate(4deg); }
  50%       { transform: rotate(-4deg); }
}

/* 音符エフェクト */
.music-notes {
  position: absolute;
  top: -10px;
  right: -30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.3rem;
  animation: noteFloat 2s ease-in-out infinite;
}
@keyframes noteFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.8; }
  50%       { transform: translateY(-12px) rotate(5deg); opacity: 1; }
}

/* ===== セクション共通 ===== */
.section {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px 28px 24px;
  margin: 20px 0;
  box-shadow: 0 6px 24px rgba(100,180,230,0.2), 0 0 0 2px rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4fc3f7, #29b6f6, #81d4fa, #4fc3f7);
  background-size: 200% 100%;
  animation: rainbowSlide 3s linear infinite;
}
@keyframes rainbowSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0288d1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-icon {
  font-size: 1.8rem;
  animation: iconSpin 4s linear infinite;
  display: inline-block;
}
@keyframes iconSpin {
  0%, 80%, 100% { transform: rotate(0deg); }
  85%           { transform: rotate(-15deg); }
  95%           { transform: rotate(15deg); }
}

/* ===== プロフィール ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .profile-grid { grid-template-columns: 1fr; }
}

.profile-item {
  background: linear-gradient(135deg, #e1f5fe 0%, #f0faff 100%);
  border-radius: 14px;
  padding: 14px 16px;
  border: 2px solid rgba(79,195,247,0.3);
}
.profile-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #039be5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.profile-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #01579b;
}

/* ===== 好きなこと ===== */
.hobby-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 500px) {
  .hobby-list { grid-template-columns: 1fr; }
}

.hobby-card {
  background: linear-gradient(135deg, #e1f5fe 0%, #e8f8ff 100%);
  border-radius: 18px;
  padding: 18px 16px;
  border: 2px solid rgba(79,195,247,0.4);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.hobby-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.hobby-card:hover { transform: translateY(-6px) rotate(1deg); box-shadow: 0 10px 28px rgba(79,195,247,0.35); }
.hobby-card:hover::after { opacity: 1; }

.hobby-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 10px;
  animation: emojiWobble 2.5s ease-in-out infinite;
}
@keyframes emojiWobble {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50%       { transform: rotate(5deg) scale(1.1); }
}
.hobby-name {
  font-size: 1rem;
  font-weight: 900;
  color: #0277bd;
  display: block;
  margin-bottom: 6px;
}
.hobby-desc {
  font-size: 0.82rem;
  color: #4a8aaa;
  line-height: 1.5;
}

/* ===== SNS バナー ===== */
.sns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 500px) {
  .sns-grid { grid-template-columns: 1fr; }
}

.sns-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.sns-banner:hover { transform: translateY(-4px) scale(1.02); }

.sns-banner.x-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.sns-banner.x-banner:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.sns-banner.insta-banner {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(200,50,100,0.3);
}
.sns-banner.insta-banner:hover { box-shadow: 0 12px 32px rgba(200,50,100,0.45); }

.sns-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  font-weight: 900;
}
.x-banner .sns-icon {
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
}
.insta-banner .sns-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.sns-info {
  flex: 1;
}
.sns-platform {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.7;
  color: #fff;
  display: block;
}
.sns-handle {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin: 2px 0 4px;
  letter-spacing: 0.05em;
}
.sns-follow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 2px 12px;
  letter-spacing: 0.1em;
}

.sns-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}
.sns-badge::before {
  content: '✨';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
}

/* ===== ガラガラ吹き出し（コメント） ===== */
.speech-bubble {
  background: #fff;
  border: 3px solid #81d4fa;
  border-radius: 20px;
  padding: 16px 20px;
  position: relative;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0277bd;
  line-height: 1.7;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(79,195,247,0.2);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid #81d4fa;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid #fff;
  z-index: 1;
}

/* ===== フッター ===== */
footer {
  text-align: center;
  padding: 30px 20px 20px;
  font-size: 0.8rem;
  color: #78bad8;
  letter-spacing: 0.1em;
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: #4fc3f7;
  display: block;
  margin-bottom: 6px;
  text-shadow: 2px 2px 0 #0288d1;
}

/* ===== 流れる文字帯 ===== */
.ticker-wrap {
  background: linear-gradient(90deg, #0288d1 0%, #039be5 50%, #0288d1 100%);
  border-radius: 50px;
  padding: 10px 0;
  margin: 10px 0 24px;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-text {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0 40px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
