/* =========================================
   ベース設定 (全体共通)
========================================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #f0f2f5; /* ★背景を白から洗練されたライトグレーに変更 */
  color: #333;
  margin: 0;
  padding: 0;
}

/* =========================================
   共通ナビゲーション（大きめ・仕切りあり）
========================================= */
.site-tabs-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10000;
}
.site-tabs-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.site-tabs-list li {
  margin: 0;
  border-right: 1px solid #dcdcdc;
}
.site-tabs-list li:last-child {
  border-right: none;
}
.site-tabs-list a {
  display: block;
  padding: 20px 40px;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
}
.site-tabs-list a:hover {
  color: #007aff;
  background-color: #f8fbff;
}
.site-tabs-list a.current-page {
  color: #007aff;
  border-bottom: 4px solid #007aff;
  background-color: #f8fbff;
}
@media (max-width: 768px) {
  .site-tabs-list a { padding: 15px 20px; font-size: 14px; }
}

/* =========================================
   共通フッター（シンプル化）
========================================= */
.common-footer {
  background-color: transparent; /* 背景になじませる */
  padding: 60px 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}
.common-footer p { margin: 5px 0; }

/* =========================================
   メインページ (index.html) 用のおしゃれ装飾
========================================= */
.index-body { text-align: center; }

/* スライドショー（そのまま維持） */
.slideshow-container {
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 20px auto;
  overflow: hidden;
  background: #fff;
}
.slideshow { display: flex; transition: transform 1s ease-in-out; }
.slide { position: relative; width: 100%; flex-shrink: 0; }
.slide img { width: 100%; height: auto; display: block; }

main.container { padding: 40px 20px; }
.categories { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

/* ★見出しのおしゃれ化 */
.intro h2 {
  display: inline-block;
  font-size: 26px;
  letter-spacing: 2px;
  color: #2c3e50;
  border-bottom: 3px solid #007aff;
  padding-bottom: 8px;
  margin-bottom: 40px;
}

/* ★カードのおしゃれ化（影と丸み） */
.card {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 300px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* ★アプリアイコンの立体感 */
.card img.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 22.5%;
  margin-bottom: 15px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border: 1px solid #f0f0f0;
}

/* ★ボタンを今風の丸形に */
.btn {
  display: inline-block;
  background-color: #007aff;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.btn:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ★規約用の控えめなボタン */
.btn-sub {
  background-color: #f1f3f5;
  color: #555;
  box-shadow: none;
}
.btn-sub:hover { background-color: #e2e6ea; }

/* =========================================
   Creativeページ専用のギャラリースタイル
========================================= */
.creative-header {
  padding: 60px 20px 40px;
  background-color: transparent;
  text-align: center;
}
.creative-header h1 { font-size: 32px; color: #333; margin: 0 0 10px 0; letter-spacing: 2px; }
.creative-header p { color: #777; font-size: 16px; margin: 0; }

.gallery-container {
  max-width: 1100px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}
.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.gallery-img-box {
  width: 100%;
  height: 260px;
  background-color: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-img-box img { width: 100%; height: 100%; object-fit: cover; }
.gallery-info { padding: 24px; }
.gallery-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f4f7f9;
  color: #007aff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  margin-bottom: 12px;
}
.gallery-title { font-size: 20px; font-weight: bold; margin: 0 0 10px 0; color: #222; }
.gallery-desc { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

/* ★カード右下の日付 */
.release-date {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #a0aab5; /* 少し青みがかった上品なグレー */
  margin-top: 20px;
  letter-spacing: 1px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}