/* style.css */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding: 20px;
  }
  
  /* ヘッダー */
  .site-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .site-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .site-header p {
    font-size: 1rem;
    color: #666;
  }
  
  /* ランキング */
  .ranking {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .app-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
  }
  
  .app-card:hover {
    transform: translateY(-5px);
  }
  
  .app-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }
  
  .app-card h2 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
  }
  
  .app-card p {
    font-size: 0.9rem;
    color: #555;
    padding: 0 10px 10px;
  }
  
  /* フッター */
  .site-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 40px;
  }

  header h1 a {
    text-decoration: none;
    color: inherit;
  }
  
  header h1 a:hover {
    opacity: 0.7;
  }
  
  
  /* PC用レイアウト */
  @media (min-width: 768px) {
    .ranking {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .app-card img {
      height: 180px;
    }
  }
  