:root {
    --green: #4CAF50;
    --green-light: #2ecc71;
    --accent: #00b894;
    --danger: #d63031;
    --blue: #0984e3;
    --gray: #f9f9f9;
    --white: #fff;
    --text: #333;
  }
  
  body {
    font-family: "Helvetica Neue", sans-serif;
    margin: 0;
    background: var(--gray);
    color: var(--text);
    scroll-behavior: smooth;
  }
  
  main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
  }
  
  h2 {
    color: var(--green);
    margin-top: 3rem;
    font-size: 1.8rem;
  }
  
  h1 i, h2 i {
    margin-right: 0.5rem;
    color: var(--green);
  }
  
  .hero-video {
    position: relative;
    height: 90vh;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
  }
  
  .hero-video video.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
  }
  
  .hero-video .hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem;
  }
  
  .hero-video h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-video p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-video .cta-main {
    background: #fff;
    color: #4CAF50;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
  }
  
  .hero-video .cta-main:hover {
    background: #f1f1f1;
  }
  
  .cta-main {
    background-color: var(--white);
    color: var(--green);
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2rem;
  }
  .cta-main:hover {
    background-color: #f1f1f1;
  }
  
  /* ジャンル表示 */
  .category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0;
  }
  .category-item {
    background: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  }
  
  /* 使い方ステップ */
  .steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .step {
    text-align: center;
  }
  .step span i {
    font-size: 2rem;
    color: var(--accent);
  }
  
  /* ランキング */
  .ranking-list {
    list-style: none;
    padding: 0;
  }
  .ranking-list li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .ranking-list .gold {
    color: gold;
  }
  
  /* サポートカード */
  .support-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .support-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 280px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  }
  .support-card i {
    font-size: 2rem;
    color: var(--green);
  }
  
  /* 利用者の声 */
  .voice-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .voice {
    background: #f5f5f5;
    padding: 1rem;
    border-left: 5px solid var(--green);
  }
  
  /* スクリーンショット */
  .screenshot-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .screenshot-list img {
    max-width: 300px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  
  /* マイル制度 */
  .mile-subsection {
    margin-top: 2rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
  }
  
  .mile-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
  }
  
  .mile-list li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mile-list i {
    color: #4CAF50;
  }
  
  .rank-table-wrapper {
    overflow-x: auto;
  }
  
  .rank-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
  }
  
  .rank-table th,
  .rank-table td {
    border: 1px solid #ddd;
    padding: 0.7rem;
    text-align: left;
  }
  
  .rank-table th {
    background: #4CAF50;
    color: #fff;
  }
  
  .note {
    font-size: 0.85rem;
    color: #888;
  }
  
  .highlight {
    color: #e17055;
    font-weight: bold;
  }
  .fullwidth-bg {
    background: #f6fff6;
    padding: 4rem 0;
  }
  
  .mile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  }
  
  .rank-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 0.5rem;
  }
  
  .rank-table td:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  @media (max-width: 768px) {
    .rank-icon {
      width: 20px;
      height: 20px;
    }
  }
  
  
  /* 悩みリスト */
  .problems {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-top: 2rem;
    text-align: center;
  }
  .problems h2 {
    font-size: 1.6rem;
    color: var(--danger);
  }
  .problem-list {
    list-style: none;
    margin: 2rem 0 1.5rem 0;
    padding: 0;
  }
  .problem-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-size: 1rem;
    color: #444;
  }
  .solution-message {
    font-size: 1.1rem;
  }
  .solution-message .highlight {
    font-weight: bold;
    background: linear-gradient(to right, var(--green), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* よくある質問 */
  .faq {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
  }
  .faq h2 {
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .faq-list dt {
    font-weight: bold;
    margin-top: 1rem;
  }
  .faq-list dd {
    margin-left: 1rem;
    color: #555;
  }
  
  /* スクロール可能ジャンル */
  .scroll-x {
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
  }
  .category-scroll-list {
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
  }
  .category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f1f1;
    border-radius: 20px;
    scroll-snap-align: start;
    font-weight: bold;
    white-space: nowrap;
  }
  .scroll-x::-webkit-scrollbar {
    display: none;
  }
  
  .cta-final {
    background: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    margin-top: 3rem;
  }
  
  .cta-final h2 {
    color: #fff; /* ←ここを修正！ */
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .cta-buttons .btn {
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
  }
  
  .btn-register {
    background: #ffffff;
    color: #4CAF50;
    border: 2px solid #ffffff;
  }
  
  .btn-register:hover {
    background: #f1f1f1;
  }
  
  .btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
  }
  
  .btn-login:hover {
    background: #ffffff;
    color: #4CAF50;
  }
  

  .flow-list {
    padding-left: 1rem;
    line-height: 2;
    font-weight: bold;
    list-style: none;
    counter-reset: step;
  }
  
  .flow-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .flow-list li i {
    font-size: 1.2rem;
    color: #6c5ce7;
  }
  

  .features-grid {
    margin-top: 3rem;
    text-align: center;
  }
  
  .features-grid h2 {
    font-size: 1.8rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .feature-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  .feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
  }
  .feature-card:hover {
    transform: translateY(-5px);
  }
  .feature-card img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
  }
  .feature-card p {
    font-size: 0.95rem;
    color: #555;
  }
  