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

body {
  font-family: "Hachi Maru Pop", cursive;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* キャンバスコンテナ */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 1000;
  background: transparent;
}

/* ナビゲーションメニュー（デスクトップ） */
.nav-menu {
  display: none;
  justify-content: center;
}

.menu-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu-item a {
  text-decoration: none;
  color: #ff6b9d;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: block;
  border: 2px solid transparent;
}

.menu-item a:hover {
  background: #feca57;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 202, 87, 0.4);
  border-color: #ff6b9d;
}

/* モバイルメニューボタン */
.mobile-menu-btn {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ff6b9d;
  margin: 5px auto;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: #feca57;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #feca57 0%, #feca57 100%);
  padding: 80px 30px;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-list {
  list-style: none;
}

.mobile-menu-item {
  margin-bottom: 20px;
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}

.mobile-menu.active .mobile-menu-item {
  opacity: 1;
}

.mobile-menu-item:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-menu-item:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-menu-item:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-menu-item:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu-item a {
  color: #ff6b9d;
  text-decoration: none;
  font-size: 22px;
  display: block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-menu-item a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-10px);
}

/* プロフィールコンテンツ */
.profile-container {
  position: relative;
  z-index: 100;
  padding: 100px 20px 50px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fffb01;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8), -2px -2px 0 rgba(0, 0, 0, 0.9),
    2px -2px 0 rgba(0, 0, 0, 0.9), -2px 2px 0 rgba(0, 0, 0, 0.9),
    2px 2px 0 rgba(0, 0, 0, 0.9);
  -webkit-text-stroke: 3px #ff7bde;
  font-weight: 700;
  margin-bottom: 40px;
  animation: float 4s ease-in-out infinite;
}

.profile-card {
  /* background: rgba(255, 255, 255, 0); */
  border-radius: 30px;
  padding: 40px;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); */
  display: flex;
  gap: 40px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease;
}

.profile-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff6b9d;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.image-decoration {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 3px dashed #feca57;
  animation: rotate 20s linear infinite;
}

.profile-content {
  flex: 1;
}

.profile-name {
  font-size: 2rem;
  color: #ff6b9d;
  margin-bottom: 20px;
  font-weight: 700;
}

.intro-text {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.1),
    rgba(254, 202, 87, 0.1)
  );
  border-radius: 15px;
  border-left: 4px solid #ff6b9d;
}

.profile-detail {
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 251, 1, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.profile-detail:hover {
  transform: translateX(5px);
}

.profile-detail h3 {
  color: #ff6b9d;
  font-size: 1.3rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.profile-detail h3::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #feca57;
}

.profile-detail p {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;

  
}

.profile-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.profile-link {
  padding: 12px 30px;
  background: linear-gradient(135deg, #ff6b9d, #ff7bde);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.profile-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
}

/* アニメーション */
@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* タブレット対応 */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    padding: 30px;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .image-decoration {
    width: 220px;
    height: 220px;
  }

  .profile-name {
    text-align: center;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  .mobile-menu {
    width: 320px;
  }

  .mobile-menu-item a {
    font-size: 20px;
  }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
  .header {
    padding: 15px;
  }

  .mobile-menu-btn {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }

  .mobile-menu {
    width: 250px;
    padding: 70px 20px;
  }

  .mobile-menu-item a {
    font-size: 18px;
    padding: 12px;
  }

  .profile-container {
    padding: 80px 15px 30px;
  }

  .page-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .profile-card {
    padding: 20px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .image-decoration {
    width: 170px;
    height: 170px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
    padding: 15px;
  }

  .profile-detail h3 {
    font-size: 1.1rem;
  }

  .profile-detail p {
    font-size: 0.9rem;
  }

  .profile-links {
    flex-direction: column;
  }

  .profile-link {
    font-size: 1rem;
  }
}
