/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* カスタムアプリバー */
.custom-app-bar {
  background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #03a9f4 100%);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

/* メインコンテンツ */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ヘッダー部分 */
.header-section {
  background: linear-gradient(
    135deg,
    rgba(79, 195, 247, 0.1) 0%,
    rgba(41, 182, 246, 0.05) 100%
  );
  padding: 2rem 1.5rem;
}

.header-content {
  text-align: center;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.update-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #03a9f4 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* コンテンツ部分 */
.content-section {
  padding: 1.5rem;
  flex: 1;
}

.policy-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.section-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  color: #29b6f6;
}

.section-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.policy-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.policy-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
}

.policy-item p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.policy-item ul {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-item li {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .custom-app-bar {
    padding: 1rem;
  }

  .app-title {
    font-size: 1.3rem;
  }

  .header-section {
    padding: 1.5rem 1rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .content-section {
    padding: 1rem;
  }

  .policy-card {
    padding: 1rem;
  }

  .drawer-menu {
    width: 280px;
    right: -280px;
  }
}

@media (max-width: 480px) {
  .custom-app-bar {
    padding: 0.75rem;
  }

  .app-title {
    font-size: 1.2rem;
  }

  .header-section {
    padding: 1rem 0.75rem;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .content-section {
    padding: 0.75rem;
  }

  .policy-card {
    padding: 0.75rem;
  }

  .drawer-menu {
    width: 100%;
    right: -100%;
  }

  .policy-item h4 {
    font-size: 1rem;
  }

  .policy-item p,
  .policy-item li {
    font-size: 0.9rem;
  }
}

/* アニメーション */
.policy-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ホバー効果 */
.policy-item h4 {
  transition: color 0.2s ease;
}

.policy-item:hover h4 {
  color: #29b6f6;
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
