/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', 'Arial', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

html,
body {
  overflow: auto;
  /* または overflow: visible; */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f9fa;
  border-bottom: 2px solid #eaeaea;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

.navbar .logo {
  font-size: 1.5rem;
  color: #ff6b6b;
  text-decoration: none;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.navbar ul li a {
  color: #555555;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.navbar ul li a:hover {
  background-color: #4a90e2;
  color: white;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: url('hero-image.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  color: #333333;
}

.hero p {
  font-size: 1.2rem;
  color: #666666;
  margin-bottom: 20px;
}

.cta-button {
  padding: 10px 30px;
  background: #ff6b6b;
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.6);
}

/* Game Cards */
.game-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.card {
  background: #fdfdfd;
  border: 1px solid #eaeaea;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  color: #333333;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #4a90e2;
}

.card p {
  font-size: 1rem;
  color: #555555;
}

/* Section */
.section {
  padding: 50px 20px;
  border-bottom: 1px solid #eaeaea;
  text-align: center;
  color: #333333;
}

.section h2 {
  font-size: 2rem;
  color: #4a90e2;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 20px;
}

/* privacy_policy */
.privacy_policy-item {
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.privacy_policy-item h3 {
  font-size: 1.2rem;
  color: #ff6b6b;
}

.privacy_policy-item p {
  font-size: 1rem;
  color: #666666;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 50px auto;
  max-width: 600px;
  background: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
  font-size: 1rem;
  color: #333333;
  align-self: flex-start;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #eaeaea;
  border-radius: 5px;
}

form button {
  padding: 10px 30px;
  background: #4a90e2;
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

form button:hover {
  background: #357ab7;
}

/* ベーススタイル */
body {
  font-family: 'Helvetica', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

header {
  background-color: #f8f9fa;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #eaeaea;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #4a90e2;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #555555;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #4a90e2;
  color: #ffffff;
}

/* メインコンテンツ */
main {
  padding: 40px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

main h2 {
  font-size: 2rem;
  color: #ff6b6b;
  margin-bottom: 20px;
}

main p {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 20px;
}

/* フォームスタイル */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 20px auto;
  max-width: 500px;
  background-color: #fdfdfd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
  font-size: 1rem;
  color: #333333;
  align-self: flex-start;
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #cccccc;
  border-radius: 5px;
  outline: none;
}

form input:focus,
form textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

form button {
  background-color: #4a90e2;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #357ab7;
}

/* privacy_policyアイテム */
.privacy_policy-item {
  margin-bottom: 20px;
  text-align: left;
}

.privacy_policy-item h3 {
  font-size: 1.2rem;
  color: #ff6b6b;
  margin-bottom: 5px;
}

.privacy_policy-item p {
  font-size: 1rem;
  color: #666666;
}

/* リンクボタン */
.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4a90e2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #357ab7;
}

/* イラスト配置 */
.illustration-container {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  /* コンテンツより下に配置 */
}

.floating-illustration {
  width: 150px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(10px);
  }
}

.animated-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

.animated-section.visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  background: white;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow: hidden;
  position: relative;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  animation: floatUp 10s infinite ease-in-out;
}

.bubble:nth-child(1) {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 200, 255, 0.6);
  /* Light blue */
  left: 10%;
  animation-duration: 12s;
  animation-delay: -2s;
}

.bubble:nth-child(2) {
  width: 120px;
  height: 120px;
  background-color: rgba(255, 165, 0, 0.6);
  /* Orange */
  left: 30%;
  animation-duration: 15s;
  animation-delay: -4s;
}

.bubble:nth-child(3) {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 200, 255, 0.4);
  /* Lighter blue */
  left: 50%;
  animation-duration: 10s;
  animation-delay: -6s;
}

.bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  background-color: rgba(255, 165, 0, 0.4);
  /* Lighter orange */
  left: 70%;
  animation-duration: 14s;
  animation-delay: -8s;
}

.bubble:nth-child(5) {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 200, 255, 0.8);
  /* Brighter blue */
  left: 90%;
  animation-duration: 11s;
  animation-delay: -10s;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-200px) scale(1.2);
    opacity: 0;
  }
}

.company-profile {
  background: linear-gradient(135deg, #ffffff 50%, #f0f8ff 100%);
  padding: 50px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.profile-content {
  margin-top: 30px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1em;
}

.profile-table th,
.profile-table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}

.profile-table th {
  background-color: #f4f4f4;
  font-weight: bold;
  color: #555;
  width: 30%;
}

.profile-table td {
  background-color: #fff;
  color: #333;
}

.profile-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.profile-table tr:hover td {
  background-color: rgba(0, 200, 255, 0.1);
  transition: background-color 0.3s ease;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  padding: 20px;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #444;
}

#comic-container {
  position: relative;
  width: 100%;
  height: 600px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.comic-panel {
  position: absolute;
  border: 2px solid #555;
  background-color: rgba(100, 150, 255, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.comic-panel:hover {
  box-shadow: 10px 10px 0px #808080;
  background-color: #ffcccb;
  transform: rotate(5deg) scale(1.1);
}

@media (max-width: 768px) {
  #comic-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  #comic-container {
    height: 300px;
  }
}
