/* assets/css/style.css */
:root{
    --header-height: 64px; /* 必要に応じて調整 */
    }

/* widthやheightにはpaddingとborderの幅も含めて計算する */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    padding-top: var(--header-height); /* 固定ヘッダー分だけ余白を確保 */
  }

  /* ===== Top セクション ===== */
    
  header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: rgba(17, 17, 17, 0.85);
    color: #fff; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  }

  header .logo {
    flex: 0 1 auto;     /* 縮まない */
    text-align: center;
    margin: 0 10px;     /* 左右に余白 */
  }
  
  header .logo a {
    font-size: 1.4rem;
    color: #f8b500;
    font-weight: bold;
    text-decoration: none;
  }

  .nav-left,
  .nav-right {
    flex: 1; /* ← これを追加 */
    display: flex;
    gap: 15px;
  }


  .nav-left {
    justify-content: flex-start; /* 左のナビゲーションを左寄せに */
  }
  
  .nav-right {
    justify-content: flex-end;  /* 右のナビゲーションを右寄せに */
  }

  .nav-left ul,
  .nav-right ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;      /* 折り返さない */
    margin: 0;
    padding: 0;
  }
  
  .nav-left a,
  .nav-right a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }

  header a:hover {
    color: #0073e6; 
  }
  
  /* スクロール時のフェード用クラス */
  header.hide {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  /* ページトップでの完全表示 */
  header.top {
    transform: translateY(0);
    opacity: 1;
    background-color: rgba(17, 17, 17, 1); 
  }


  /* ===== 全体レイアウト ===== */
  .hero {
    text-align: center;
  }
  
  /* スライダー全体ラッパー */
  .slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
  }
  
  /* ===== スライダー本体 ===== */
  .slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    flex: 1 0 100%;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  /* ===== インジケーター（●●●） ===== */
  .indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .dot.active {
    background: #fff;
  }
  
    /* ===== hero-text ===== */
  .hero-text {
    background: #111;
    color: #fff;
    padding: 40px 20px;
    line-height: 1.8;
  }
  .hero-text h2,
  .hero-text h3 {
    color: #f8b500;
  }

  /* hero-text内でリンクやボタンだけ有効にしたい場合 */
  .hero-text a,
  .hero-text button {
    pointer-events: auto;
  }
  
  section {
    padding: 60px 10%;
  }
  
  .index_report, .invite {
    text-align: center;
  }
  
  .btn {
    display: inline-block;
    background: #f8b500;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
  }
  
  footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  footer a {
    color: #f8b500; /* 黄色 */
    text-decoration: none; /* 必要に応じて下線を消す */
  }
  
  footer a:hover {
    color: #0073e6; /* ホバー時に色を変えたい場合 */
  }










  /* ===== report セクション ===== */
  .report-hero {
    background: linear-gradient(120deg, #333, #555);
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
  }
  
  .report-section {
    padding: 60px 10%;
    background-color: #f9f9f9;
    transition: background 0.3s ease;
  }
  
  .report-section:nth-child(even) {
    background-color: #f0f0f0;
  }
  
  .report-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 8px;
  }
  
  .report-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #333;
  }
  
  .report-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
  }
  
  /* ===== スマホ対応 ===== */
  @media (max-width: 768px) {
    .report-section {
      padding: 40px 8%;
    }
  
    .report-title {
      font-size: 1.4rem;
    }
  }



  /* ===== Aboutページ ===== */
  .about-hero {
    background: linear-gradient(120deg, #333, #555); /* 黒っぽい背景 */
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
  }

  .about-hero .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .about-hero .page-lead {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
  }
  
  .about-purpose {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
  }
  
  .purpose-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
  }
  
  .about-team {
    background: #f5f7fa;
    padding: 100px 20px;
    text-align: center;
  }
  
  .section-description {
    color: #666;
    margin-bottom: 50px;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .team-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }
  
  .team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .team-role {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
  }
  
  .team-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
  }



  /* ===== joinページ ===== */

  .join-hero {
    background: linear-gradient(120deg, #333, #555); /* 黒っぽい背景 */
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
  }
  
  .join-hero .page-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .join-hero .page-lead {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.8;
  }
  
  .join-info {
    background: #fff;
    text-align: center;
    padding: 80px 20px;
  }
  
  .join-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    color: #444;
    font-size: 1.05rem;
  }
  
  .join-steps {
    background: #f5f7fa;
    padding: 100px 20px;
    text-align: center;
  }
  
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 50px auto 0;
  }
  
  .step-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 30px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.1rem;
  }
  
  .step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .step-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  /* LINEセクション */
  .join-line {
    background: #fff;
    text-align: center;
    padding: 100px 20px;
  }
  
  .line-description {
    color: #666;
    margin-bottom: 40px;
  }
  
  .line-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .line-qr {
    width: 180px;
    height: 180px;
  }
  
  .line-button {
    display: inline-block;
    background: #06c755;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .line-button:hover {
    background: #05b84f;
  }
  

  



  /* ===== 協賛企業ページ ===== */
  .sponsor-hero {
    background: linear-gradient(120deg, #333, #555);
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
  }
  
  .sponsor-intro, .support-types, .sponsor-contact {
    padding: 80px 10%;
    text-align: center;
  }
  
  .sponsor-intro h2,
  .support-types h2,
  .sponsor-contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }
  
  .support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .support-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  .support-card:hover {
    transform: translateY(-5px);
  }
  
  .support-card h3 {
    color: #222;
    margin-bottom: 10px;
    font-size: 1.3rem;
  }
  
  .contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .sponsor-btn {
    background-color: #ffcc00;
    color: #222;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  .sponsor-btn:hover {
    background-color: #ffd633;
  }
  
  .sponsor-contact .line-btn {
    background-color: #06C755;
    color: #fff;
  }
  .sponsor-contact .line-btn:hover {
    background-color: #08a84a;
  }
  


  




  /* ===== 重機操縦ページ ===== */
  .driver-page .hero {
    background: linear-gradient(120deg, #333, #555);
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
  }
  
  .driver-page .hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }
  
  .driver-page .hero p {
    font-size: 1.2rem;
    opacity: 0.9;
  }
  
  .driver-page .container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
    text-align: center;
  }
  
  .driver-page h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }
  
  .driver-page p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .driver-photo img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .driver-page .btn {
    background-color: #ffcc00;
    color: #222;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  .driver-page .btn:hover {
    background-color: #ffd633;
  }
  
  .driver-page .line-btn {
    background-color: #06C755;
    color: #fff;
  }
  .driver-page .line-btn:hover {
    background-color: #08a84a;
  }
  