Copy/* ========================================
   リセット・基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   ヘッダーナビゲーション
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.header.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: #f1d007;
}

/* ========================================
   メインコンテンツ
======================================== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 30px 60px;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
  text-align: center;
  padding: 80px 0 100px;
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   セクション共通
======================================== */
.section {
  margin-bottom: 120px;
}

.section-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
  text-align: center;
}

/* ========================================
   アプリグリッド（タップ誘導UI追加）
======================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #f1d007;
}

.app-icon-wrapper {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.app-icon {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.app-name {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.app-tagline {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* タップ誘導UI（新規追加） */
.app-tap-hint {
  margin-top: auto;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.app-card:hover .app-tap-hint {
  color: #f1d007;
  transform: translateY(-2px);
}

.tap-arrow {
  transition: transform 0.2s ease;
}

.app-card:hover .tap-arrow {
  transform: translateX(3px);
}

/* ========================================
   モーダル（PNG透過対応）
======================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 2001;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { 
    opacity: 0; 
    transform: scale(0.9) translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0); 
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 5px;
  width: 35px;
  height: 35px;
}

.modal-close:hover {
  color: #000;
}

.modal-app-name {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

/* スクリーンショット横並びグリッド */
.modal-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 25px;
}

/* PNG透過対応（重要な修正） */
.modal-screenshot-wrapper {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.modal-screenshot {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.modal-release-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.modal-store-btn {
  display: inline-block;
  background-color: #f1d007;
  color: #000;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-store-btn:hover {
  background-color: #d9bb06;
  transform: translateY(-2px);
}

/* ========================================
   サポートセクション
======================================== */
.support-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.support-text {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 25px;
}

.contact-btn {
  display: inline-block;
  background-color: #f1d007;
  color: #000;
  padding: 15px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background-color: #d9bb06;
  transform: translateY(-2px);
}

/* ========================================
   フッター（簡素化）
======================================== */
.footer {
  border-top: 1px solid #e5e5e5;
  padding: 50px 30px;
  text-align: center;
}

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

.social-link {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #f1d007;
}

.footer-copyright {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.05em;
}

/* ========================================
   規約ページ
======================================== */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 30px 60px;
}

.policy-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-align: center;
}

.policy-updated {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-bottom: 60px;
}

.policy-section {
  margin-bottom: 50px;
}

.policy-heading {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.policy-subheading {
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-subheading-small {
  font-size: 16px;
  font-weight: 500;
  margin-top: 25px;
  margin-bottom: 12px;
}

.policy-text {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 20px;
}

.policy-list {
  margin: 15px 0 20px 25px;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}

.policy-list li {
  margin-bottom: 10px;
}

.policy-link {
  color: #c7a005;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

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

.app-specific {
  background-color: #fafafa;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #f1d007;
}

/* ========================================
   404エラーページ
======================================== */
.error-container {
  text-align: center;
  padding: 100px 30px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 120px;
  font-weight: 300;
  color: #e5e5e5;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.error-title {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.error-description {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 40px;
}

.error-btn {
  display: inline-block;
  background-color: #f1d007;
  color: #000;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-btn:hover {
  background-color: #d9bb06;
  transform: translateY(-2px);
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
  .nav-container {
    gap: 25px;
    padding: 15px 20px;
  }

  .nav-link {
    font-size: 13px;
  }

  .main-content {
    padding: 80px 20px 40px;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 14px;
  }

  .section {
    margin-bottom: 80px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

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

  .app-card {
    padding: 30px 20px;
    aspect-ratio: auto;
  }

  .modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .policy-container {
    padding: 100px 20px 40px;
  }

  .policy-title {
    font-size: 28px;
  }

  .policy-heading {
    font-size: 20px;
  }

  .policy-subheading {
    font-size: 17px;
  }

  .app-specific {
    padding: 20px;
  }

  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .nav-container {
    gap: 15px;
    padding: 12px 15px;
  }

  .nav-link {
    font-size: 12px;
  }

  /* スマホではスクリーンショットを縦並びに */
  .modal-screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}