﻿  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
  }

  .logo {
    position: static;
    top: auto;
    background: #fff; /* 背景色を指定し重なり防止 */
    padding: 0.5rem;
    text-align: left;
  }

  .logo img {
    display: block;
    max-width: 170px;
    height: auto;
  }

  header.navbar {
    position: static;
    top: auto; /* ロゴの高さ分ずらす */
  }

    .results-table-container {
      max-width: 1000px;
      width: 95%;
      margin: 20px auto;
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    h1 {
      margin-top: 0;
      font-size: 1.8rem;
      color: #004b8d;
      border-bottom: 2px solid #ddd;
      padding-bottom: 0.5rem;
    }

    .help-section {
      margin-bottom: 1.5rem;
    }

    .help-section h2 {
      font-size: 1.2rem;
      color: #333;
      margin-bottom: 0.5rem;
    }

    .help-section p {
      margin: 0.3rem 0;
      line-height: 1.6;
      color: #555;
    }

    .help-section ul {
      padding-left: 1.2rem;
      color: #555;
    }

    .help-section li {
      margin-bottom: 0.4rem;
    }

  @media (max-width: 768px) {
    .result-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .thumb-area img {
      margin-right: 0;
      margin-bottom: 0.5rem;
    }
  }

  @media (max-width: 768px) {
    .tab-bar {
      flex-direction: column;
      align-items: center;
    }
  }
    

  /* メニューバーのスタイル */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #BFC5CA;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
  }

  .nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }

  .nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    transition: background-color 0.3s;
  }

  .nav-menu li a:hover {
    background-color: rgba(255,255,255,0.3);
  }

  .footer {
    width: 100%;
    background-color: #BFC5CA;
    color: white;
    padding: 0.3rem 0;
    margin-top: 2rem;
    text-align: center;
  }
