
@font-face {
  font-family: 'MaruMinyaM';
  src: url('../fonts/MaruMinyaM.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PixelMplus';
  src: url('../fonts/PixelMplus12-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PixelMplus';
  src: url('../fonts/PixelMplus12-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.playablehuman-page {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
}

.playablehuman-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.top-social-links {
  margin-bottom: 40px;
}

.top-social-links .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.top-social-links .social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.top-social-links .social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.top-social-links .social-link.instagram {
  border-color: #e4405f;
  color: #e4405f;
}

.top-social-links .social-link.instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.top-social-links .social-link.twitter {
  border-color: #1da1f2;
  color: #1da1f2;
}

.top-social-links .social-link.twitter::before {
  background: #1da1f2;
}

.top-social-links .social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

.top-social-links .social-link.instagram:hover {
  border-color: #e4405f;
  color: #fff;
}

.top-social-links .social-link.instagram:hover::before {
  opacity: 1;
}

.top-social-links .social-link.twitter:hover {
  border-color: #1da1f2;
  color: #fff;
}

.top-social-links .social-link.twitter:hover::before {
  opacity: 1;
}

.qa-form-section {
  margin: 40px 0;
  text-align: center;
}

.qa-form-container {
  display: inline-block;
}

.qa-form-link {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(0, 255, 0, 0.1);
  border: 2px solid #00ff00;
  border-radius: 8px;
  color: #00ff00;
  text-decoration: none;
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
}

.qa-form-link:hover {
  background: rgba(0, 255, 0, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-section {
  margin-bottom: 60px;
}

.pixel-title {
  font-family: 'MaruMinyaM', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: #ffffff;
}


.description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.title-image-container {
  margin-top: 30px;
  text-align: center;
}

.title-image {
  max-width: 100%;
  height: auto;
}

.title-image-container .video-container {
  display: inline-block;
  text-align: center;
}

.title-image-container .video-thumbnail img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.image-section {
  margin: 60px 0;
}

.main-image-container {
  display: inline-block;
}

.main-image-container:hover {
  transform: scale(1.02);
}

.main-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.video-section {
  margin: 60px 0;
  text-align: center;
}

.section-title {
  font-family: 'PixelMplus', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-container {
  display: inline-block;
  text-align: center;
}

.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.video-link:hover {
  transform: scale(1.05);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

.video-thumbnail img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00ff00;
  transition: all 0.3s ease;
}

.video-link:hover .play-button {
  background: rgba(0, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(1.1);
}

.faq-section {
  margin: 80px 0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-container {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #00ff00;
  margin-bottom: 15px;
}

.faq-answer {
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.playablehuman-footer {
  background: #111;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #333;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link.instagram {
  border-color: #e4405f;
  color: #e4405f;
}

.social-link.instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
  border-color: #1da1f2;
  color: #1da1f2;
}

.social-link.twitter::before {
  background: #1da1f2;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

.social-link.instagram:hover {
  border-color: #e4405f;
  color: #fff;
}

.social-link.instagram:hover::before {
  opacity: 1;
}

.social-link.twitter:hover {
  border-color: #1da1f2;
  color: #fff;
}

.social-link.twitter:hover::before {
  opacity: 1;
}

.content-section {
  margin: 60px 0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-text {
  margin-top: 30px;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.subsection-title {
  font-family: 'PixelMplus', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 30px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.phase-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.phase-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.phase-title {
  font-family: 'PixelMplus', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phase-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin: 0;
}

/* Rules Section Styles */
.rules-section {
  margin: 60px 0;
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.rules-container {
  margin-top: 30px;
}

.rule-section {
  margin-bottom: 50px;
  padding: 30px;
  border: 2px solid #333;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.rule-section:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #555;
}

.operator-section {
  border-color: #00ff00;
}

.operator-section:hover {
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.player-section {
  border-color: #ff6600;
}

.player-section:hover {
  border-color: #ff8833;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.1);
}

.rule-section-title {
  font-family: 'PixelMplus', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.operator-section .rule-section-title {
  color: #00ff00;
  border-bottom-color: #00ff00;
}

.player-section .rule-section-title {
  color: #ff6600;
  border-bottom-color: #ff6600;
}

.rule-item {
  margin-bottom: 25px;
}

.rule-subtitle {
  font-family: 'PixelMplus', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rule-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 15px;
}

.controls-grid {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.control-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border-left: 3px solid #666;
}

.operator-section .control-item {
  border-left-color: #00ff00;
}

.player-section .control-item {
  border-left-color: #ff6600;
}

.control-label {
  font-weight: bold;
  color: #ffffff;
  min-width: 120px;
  flex-shrink: 0;
}

.control-desc {
  color: #ccc;
  line-height: 1.5;
}

.rule-list {
  margin-top: 15px;
}

.rule-point {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 4px solid #666;
}

.operator-section .rule-point {
  border-left-color: #00ff00;
}

.player-section .rule-point {
  border-left-color: #ff6600;
}

.rule-point strong {
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
}

.rule-point br + span {
  color: #ccc;
  line-height: 1.6;
}

.green-text {
  color: #00ff00;
  font-weight: bold;
}

.red-text {
  color: #ff4444;
  font-weight: bold;
}

/* Image containers for rules section */
.controller-image-container {
  text-align: center;
  margin: 20px 0;
}

.controller-image {
  max-width: 300px;
  width: 50%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #333;
  transition: all 0.3s ease;
}

.operator-section .controller-image {
  border-color: #00ff00;
}

.controller-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-objects-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 15px 0;
  flex-wrap: wrap;
}

.game-object-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.operator-section .game-object-item {
  border-color: #00ff00;
}

.player-section .game-object-item {
  border-color: #ff6600;
}

.game-object-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.game-object-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.game-object-label {
  font-size: 0.8rem;
  color: #ccc;
  text-align: center;
  font-weight: bold;
}

.hmd-image-container {
  text-align: center;
  margin: 15px 0;
}

.hmd-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #ff6600;
  transition: all 0.3s ease;
}

.hmd-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

@media (max-width: 768px) {
  .pixel-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }
  
  .description {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .playablehuman-content {
    padding: 20px 15px;
  }
  
  .hero-section,
  .image-section,
  .video-section,
  .faq-section,
  .content-section,
  .qa-form-section {
    margin: 40px 0;
  }
  
  .qa-form-link {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .social-links {
    gap: 20px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .phase-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .phase-item {
    padding: 15px;
  }
  
  .subsection-title {
    font-size: 1.1rem;
  }
  
  .rules-section {
    margin: 40px 0;
  }
  
  .rule-section {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .rule-section-title {
    font-size: 1.2rem;
  }
  
  .control-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .control-label {
    min-width: auto;
  }
  
  .controller-image {
    max-width: 500px;
  }
  
  .game-objects-container {
    gap: 15px;
  }
  
  .game-object-image {
    width: 100px;
    height: 100px;
  }
  
  .game-object-label {
    font-size: 0.7rem;
  }
  
  .hmd-image {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .pixel-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .faq-item {
    padding: 15px;
  }
}
