/* グローバルスタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #00f3ff;
  --secondary-color: #ff00ff;
  --background-dark: #0a0a0a;
  --background-darker: #000000;
  --text-color: #ffffff;
  --card-background: rgba(255, 255, 255, 0.05);
  --hover-color: rgba(0, 243, 255, 0.2);
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-dark);
}

section {
  padding: 80px 0;
  position: relative;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* ナビゲーション */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 60px; /* ナビゲーションの高さ分 */
}

.hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.1);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.dot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 0
  );
  background-size: 3px 3px;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-color);
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
  }
  to {
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8),
      0 0 30px rgba(0, 243, 255, 0.6);
  }
}

/* パララックス効果のためのスクロールアニメーション */
@keyframes parallax {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50px);
  }
}

/* ボタンスタイル */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: var(--primary-color);
  color: var(--background-darker);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

/* 特徴セクション */
.features {
  background: var(--background-darker);
  position: relative;
  padding: 80px 0 0;
}

.features h2 {
  margin-bottom: 80px;
}

.feature-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  margin-bottom: 0;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.feature-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.6s ease;
}

.feature-item:hover .feature-image img {
  transform: scale(1);
}

.feature-content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 60px;
  color: var(--text-color);
}

.feature-left .feature-content {
  margin-left: auto;
  margin-right: 10%;
}

.feature-right .feature-content {
  margin-right: auto;
  margin-left: 10%;
}

.feature-icon {
  display: inline-block;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.feature-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 活用シーンセクション */
.use-cases {
  padding: 80px 20px;
  background: var(--background-darker);
}

.use-cases h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.section-description {
  text-align: center;
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 60px;
  opacity: 0.8;
}

.use-cases-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.use-case-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.use-case-card:hover {
  transform: translateY(-5px);
}

.use-case-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-image img {
  transform: scale(1.1);
}

.use-case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-overlay i {
  font-size: 3rem;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
}

.use-case-content {
  padding: 30px;
}

.use-case-content h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.use-case-content p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.use-case-examples {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.use-case-examples li {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
  position: relative;
  padding-left: 20px;
}

.use-case-examples li::before {
  content: "▸";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.use-case-cta {
  text-align: center;
  margin-top: 60px;
}

.use-case-cta p {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* 実績例セクション */
.case-studies {
  padding: 80px 20px;
  background: var(--background-darker);
}

.case-studies h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.case-study {
  max-width: 1200px;
  margin: 0 auto 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.case-images {
  display: grid;
  gap: 20px;
}

.main-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sub-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sub-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.sub-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-color);
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-details h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.case-details h4::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  margin-right: 10px;
  border-radius: 2px;
}

.case-details ul {
  list-style: none;
  padding: 0;
}

.case-details ul li {
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.case-details ul li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.price-example {
  grid-column: span 2;
  background: rgba(0, 243, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.price {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

/* プロジェクトセクション */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-card {
  background: var(--card-background);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.project-card:hover img {
  filter: brightness(1);
}

.project-card h3 {
  padding: 20px;
  color: var(--primary-color);
}

.project-card p {
  padding: 0 20px 20px;
  color: var(--text-color);
}

/* チームセクション */
.team {
  background: var(--background-darker);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-member {
  text-align: center;
  background: var(--card-background);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* ギャラリーセクション */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

/* ポップアップの背景 */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 画像を囲むコンテナ */
.popup-content-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw; /* 画面幅の90%まで */
  max-height: 90vh; /* 画面高さの90%まで */
  overflow: hidden;
}

/* ポップアップ画像 */
.popup-content {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 8px;
}

/* 閉じるボタン（修正後） */
.popup-close {
  position: absolute;
  top: 5px; /* 画像の右上に配置 */
  right: 5px;
  width: 35px;
  height: 35px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

/* ホバー時のエフェクト */
.popup-close:hover {
  background: #ff0000;
  transform: scale(1.1);
}

/* お問い合わせセクション */
.contact {
  padding: 80px 20px;
  background: var(--background-darker);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  color: #ff4b4b;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.2);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-notice {
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.privacy-policy {
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.privacy-policy p {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-color);
  transition: opacity 0.3s ease;
}

.privacy-link:hover {
  opacity: 0.8;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-button {
  background: var(--primary-color);
  color: var(--background-darker);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

/* メッセージ表示スタイル */
.success-message,
.error-message {
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.success-message {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.error-message {
  background: rgba(255, 75, 75, 0.1);
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.2);
}

.error-message ul {
  margin: 0;
  padding-left: 20px;
}

.error-message li {
  margin-bottom: 5px;
}

.error-message li:last-child {
  margin-bottom: 0;
}

/* 重要事項セクション */
.important-info {
  background: var(--background-darker);
  position: relative;
  overflow: hidden;
}

.important-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.info-card {
  background: var(--card-background);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
}

.info-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.info-card.power i {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.info-card.safety i {
  color: #ff4444;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.info-card.environment i {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.info-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.info-content ul li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: var(--text-color);
}

.info-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.notice {
  background: rgba(255, 68, 68, 0.1);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #ff4444;
  margin-top: 15px;
}

.notice p {
  color: #ff4444;
  margin: 0;
  font-size: 0.9rem;
}

.additional-notes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.additional-notes h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.notes-content {
  background: var(--card-background);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notes-content p {
  color: var(--text-color);
  margin-bottom: 20px;
}

.notes-content ol {
  padding-left: 20px;
  color: var(--text-color);
}

.notes-content ol li {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* フッター */
footer {
  background: var(--background-darker);
  color: var(--text-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .use-cases h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .use-case-content h3 {
    font-size: 1.5rem;
  }

  .use-case-examples {
    grid-template-columns: 1fr;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* ナビゲーション */
  .nav-container {
    padding: 10px 15px;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  /* ヒーローセクション */
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding: 0 20px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  /* 特徴セクション */
  .features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .feature-item {
    flex-direction: column;
    min-height: auto;
  }

  .feature-image {
    position: relative;
    height: 250px;
    order: 1;
  }

  .feature-content {
    width: 100%;
    padding: 30px 20px;
    margin: 0 !important;
    order: 2;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 15px;
  }

  .feature-icon i {
    font-size: 2.5rem;
  }

  .feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .feature-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* 重要事項セクション */
  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-content ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .notice p {
    font-size: 0.8rem;
  }

  .additional-notes h3 {
    font-size: 1.5rem;
  }

  .notes-content {
    padding: 20px;
  }

  .notes-content ol li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* プロジェクトセクション */
  .project-card h3 {
    font-size: 1.3rem;
  }

  .project-card p {
    font-size: 0.9rem;
  }

  /* チームセクション */
  .team-member img {
    width: 150px;
    height: 150px;
  }

  .team-member h3 {
    font-size: 1.3rem;
  }

  .team-member p {
    font-size: 0.9rem;
  }

  /* お問い合わせセクション */
  .contact h2 {
    font-size: 2rem;
  }

  input,
  textarea,
  select {
    font-size: 0.9rem;
    padding: 10px;
  }

  .submit-button {
    font-size: 1rem;
    padding: 12px 30px;
  }
}

/* 小さいスマートフォン向け */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .feature-content h3 {
    font-size: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* お問い合わせフォーム */
.contact {
  padding: 80px 20px;
  background: var(--background-darker);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  color: #ff4b4b;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.2);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-notice {
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.privacy-policy {
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.privacy-policy p {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-color);
  transition: opacity 0.3s ease;
}

.privacy-link:hover {
  opacity: 0.8;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-button {
  background: var(--primary-color);
  color: var(--background-darker);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

/* メッセージ表示スタイル */
.success-message,
.error-message {
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.success-message {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.error-message {
  background: rgba(255, 75, 75, 0.1);
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.2);
}

.error-message ul {
  margin: 0;
  padding-left: 20px;
}

.error-message li {
  margin-bottom: 5px;
}

.error-message li:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px; /* モバイルでのズームを防ぐ */
  }

  .submit-button {
    width: 100%;
    padding: 12px 20px;
  }
}
