@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --primary-color: #ff6600; /* 指定のオレンジ */
  --secondary-color: #fff3e0; /* 薄いオレンジ */
  --accent-color: #00bcd4; /* シアン */
  --text-color: #424242;
  --light-bg: #fafafa;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --border-radius: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08); /* 柔らかい影 */
}

/* リセットCSS */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: var(--light-bg);
  color: var(--text-color);
}

/* 共通コンテナ */
.container {
  max-width: 900px;
  margin: 40px auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* ヘッダーロゴ */
.site-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.site-logo {
  height: 50px;
  width: auto;
}

/* 見出し */
h1 {
  color: var(--text-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

h2 {
  color: var(--text-color); /* 黒に変更し、アクセントを左のボーダーで表現 */
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  padding-left: 15px;
  border-left: 5px solid var(--primary-color);
}

h3 {
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* リスト */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* 段落 */
p {
  margin-bottom: 1.5rem;
}

/* リンク */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

a:hover {
  color: #e65100;
  text-decoration: underline;
}

/* ボタン（アプリ一覧などへの戻るボタン） */
.btn, .back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}
.btn:hover, .back-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* フッター */
.footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* アプリセクション（トップページ用） */
.app-section {
  margin-bottom: 30px;
  padding: 25px;
  background-color: var(--white);
  border-radius: 12px;
  border-left: none; /* 元のスタイルを打ち消し */
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.app-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.app-section h2 {
  border-left: none;
  padding-left: 0;
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.3rem;
}

.app-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.app-links a {
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.app-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
}

/* サポートページ用ボタン */
.support-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-color), #ff9800);
  color: white !important;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  transition: var(--transition);
}

.support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.support-container {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  border: none;
}

/* コンタクト情報（個別ページ用） */
.contact {
  background-color: var(--secondary-color);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  border-radius: 8px;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .container {
    padding: 20px;
    margin: 20px 10px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}
  margin-bottom: 30px;
  text-align: center;
}

.nav a {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 16px;
  background-color: var(--primary-color, #007bff);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover {
  background-color: var(--primary-color-dark, #0056b3);
  text-decoration: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 20px;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .nav a {
    display: block;
    margin: 5px 0;
  }
}

/* アプリ別のカラーテーマ */
.theme-gohan {
  --primary-color: #ff6b35;
  --primary-color-dark: #e55527;
}

.theme-okoru {
  --primary-color: #6f42c1;
  --primary-color-dark: #5a359a;
}

.theme-areatta {
  --primary-color: #28a745;
  --primary-color-dark: #1e7e34;
}

.theme-golf {
  --primary-color: #00E676;
  --primary-color-dark: #00C853;
}

.theme-arealist {
  --primary-color: #2196F3;
  --primary-color-dark: #1976D2;
}
