/* =============================================
   chylim_volunteer — ページ固有スタイル
   @import 'style.css' を別途読み込むこと
============================================= */

/* ===== HERO ===== */
  .vol-hero {
    margin-top: 64px;
    height: 65vh; min-height: 440px;
    position: relative; display: flex; align-items: flex-end;
    overflow: hidden;
  }
  .vol-hero-bg {
    position: absolute; inset: 0;
    background:
      linear-gradient(to top, rgba(26,58,42,0.96) 0%, rgba(26,58,42,0.45) 55%, rgba(0,0,0,0.15) 100%),
      url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1600&q=80') center/cover no-repeat;
    animation: heroZoom 14s ease-in-out infinite alternate;
  }
  @keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }

  /* テクスチャライン */
  .vol-hero-lines {
    position: absolute; inset: 0; opacity: 0.05;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(116,198,157,1) 60px, rgba(116,198,157,1) 62px);
  }

  .vol-hero-content {
    position: relative; z-index: 2;
    max-width: 1100px; margin: 0 auto; padding: 0 32px 52px; width: 100%;
  }
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 18px; flex-wrap: wrap; }
  .breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--green-light); }
  .breadcrumb span { opacity: 0.4; }

  .vol-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(244,162,97,0.2); border: 1px solid var(--accent);
    color: var(--accent); padding: 5px 16px; border-radius: 100px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 18px;
    animation: fadeInUp 0.5s ease both;
  }
  .vol-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)} }

  .vol-hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 10vw, 110px);
    color: white; line-height: 0.92; letter-spacing: 4px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s 0.1s ease both;
  }
  .vol-hero-title span { color: var(--green-light); display: block; }

  .vol-hero-sub {
    font-size: 15px; color: rgba(255,255,255,0.75);
    max-width: 500px; line-height: 1.8;
    animation: fadeInUp 0.7s 0.2s ease both;
  }

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

  /* ===== INTRO STRIP ===== */
  .intro-strip {
    background: var(--green-mid);
    padding: 28px 32px;
  }
  .intro-strip-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  }
  .intro-strip-text { font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.7; }
  .intro-strip-text strong { color: var(--green-light); }
  .btn-accent {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 14px 28px;
    border-radius: 8px; font-weight: 700; font-size: 15px;
    text-decoration: none; transition: all 0.25s; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(244,162,97,0.4); flex-shrink: 0;
  }
  .btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ===== ROLES ===== */
  .roles-section { padding: 80px 24px; background: var(--gray-light); }
  .roles-inner { max-width: 1100px; margin: 0 auto; }
  .roles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 48px;
  }
  .role-card {
    background: white; border-radius: 18px; padding: 28px 20px 24px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    border-top: 4px solid transparent;
    transition: all 0.3s; cursor: default;
  }
  .role-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(45,106,79,0.15); border-top-color: var(--green-main); }
  .role-icon { font-size: 36px; margin-bottom: 14px; }
  .role-name { font-family: var(--font-sub); font-size: 17px; color: var(--green-dark); font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; }
  .role-tasks { list-style: none; display: flex; flex-direction: column; gap: 6px; width: 100%; }
  .role-task { font-size: 12px; color: #555; background: var(--gray-light); padding: 5px 10px; border-radius: 6px; line-height: 1.5; }

  /* ===== ROLE DETAIL ===== */
  .role-detail-section {
    padding: 88px 24px;
    background: white;
  }
  .role-detail-inner {
    max-width: 1100px; margin: 0 auto;
  }
  .role-detail-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 64px;
  }

  /* 各役割アイテム（左右交互） */
  .role-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .role-detail-item:nth-child(even) .role-detail-img { order: 2; }
  .role-detail-item:nth-child(even) .role-detail-body { order: 1; }

  /* 写真ブロック */
  .role-detail-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--green-dark);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  }
  .role-detail-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .role-detail-item:hover .role-detail-img img { transform: scale(1.04); }
  .role-detail-img-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--green-dark);
    color: white;
    font-family: var(--font-display);
    font-size: 22px; letter-spacing: 3px;
    padding: 6px 16px; border-radius: 8px;
    z-index: 1;
  }
  .role-detail-img-num {
    position: absolute; bottom: 16px; right: 16px;
    font-family: var(--font-display);
    font-size: 72px; line-height: 1;
    color: rgba(255,255,255,0.12);
    z-index: 1; user-select: none;
  }

  /* テキストブロック */
  .role-detail-body {}
  .role-detail-num {
    font-family: var(--font-display);
    font-size: 13px; color: var(--green-main);
    letter-spacing: 4px; margin-bottom: 8px;
  }
  .role-detail-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    color: var(--green-dark);
    letter-spacing: 3px; line-height: 1;
    margin-bottom: 6px;
  }
  .role-detail-title-ja {
    font-size: 14px; font-weight: 700;
    color: var(--green-main); margin-bottom: 16px;
    letter-spacing: 1px;
  }
  .role-detail-desc {
    font-size: 14px; line-height: 1.9;
    color: #444; margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
  }

  /* 業務内容 */
  .role-detail-tasks-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 3px; color: var(--gray-mid);
    text-transform: uppercase; margin-bottom: 10px;
  }
  .role-detail-tasks {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
  }
  .role-detail-task {
    display: flex; align-items: center; gap: 6px;
    background: var(--gray-light);
    border-radius: 8px; padding: 7px 14px;
    font-size: 12px; font-weight: 500; color: var(--green-dark);
  }
  .role-detail-task::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green-main); flex-shrink: 0;
  }

  /* 向いている人 */
  .role-detail-fit {
    background: var(--green-pale);
    border-radius: 12px; padding: 16px 18px;
    border-left: 4px solid var(--green-main);
  }
  .role-detail-fit-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; color: var(--green-main);
    text-transform: uppercase; margin-bottom: 8px;
  }
  .role-detail-fit-list {
    list-style: none; display: flex; flex-direction: column; gap: 5px;
  }
  .role-detail-fit-list li {
    font-size: 12px; color: var(--green-dark);
    display: flex; align-items: flex-start; gap: 6px; line-height: 1.6;
  }
  .role-detail-fit-list li::before {
    content: '✓';
    color: var(--green-main); font-weight: 700;
    flex-shrink: 0; font-size: 11px; margin-top: 1px;
  }

  /* アクセントライン（番号別カラー） */
  .role-detail-item[data-role="start"]  .role-detail-img-badge { background: #2d6a4f; }
  .role-detail-item[data-role="aid"]    .role-detail-img-badge { background: #f4a261; color: #1a1a1a; }
  .role-detail-item[data-role="sweeper"].role-detail-img-badge { background: #4a90d9; }
  .role-detail-item[data-role="driver"] .role-detail-img-badge { background: #e76f51; }
  .role-detail-item[data-role="goal"]   .role-detail-img-badge { background: var(--green-dark); }

  @media (max-width: 900px) {
    .role-detail-item {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .role-detail-item:nth-child(even) .role-detail-img { order: 0; }
    .role-detail-item:nth-child(even) .role-detail-body { order: 0; }
    .role-detail-list { gap: 56px; }
  }
  @media (max-width: 600px) {
    .role-detail-section { padding: 56px 16px; }
    .role-detail-title { font-size: 40px; }
    .role-detail-list { gap: 48px; margin-top: 40px; }
  }

  /* ===== BENEFITS ===== */
  .benefits-section { padding: 80px 24px; background: var(--green-dark); position: relative; overflow: hidden; }
  .benefits-section::before {
    content: 'JOIN US'; position: absolute;
    font-family: var(--font-display); font-size: 200px; letter-spacing: 10px;
    color: rgba(255,255,255,0.03); top: 50%; left: 50%;
    transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none;
  }
  .benefits-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
  .benefits-section .section-title { color: white; }
  .benefits-section .section-label { color: var(--green-light); }
  .benefits-section .section-desc { color: rgba(255,255,255,0.6); }

  .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .benefit-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px; padding: 32px 24px;
    transition: all 0.3s;
  }
  .benefit-card:hover { background: rgba(116,198,157,0.12); border-color: rgba(116,198,157,0.3); transform: translateY(-4px); }
  .benefit-num { font-family: var(--font-display); font-size: 48px; color: rgba(116,198,157,0.3); line-height: 1; margin-bottom: 8px; letter-spacing: 2px; }
  .benefit-icon { font-size: 28px; margin-bottom: 12px; }
  .benefit-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 8px; }
  .benefit-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }

  /* ===== NOTES ===== */
  .notes-section { padding: 72px 24px; background: white; }
  .notes-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .notes-block { background: var(--gray-light); border-radius: 18px; padding: 28px 28px; }
  .notes-block-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
  .notes-block-icon { font-size: 22px; }
  .notes-block-title { font-family: var(--font-sub); font-size: 17px; color: var(--green-dark); font-weight: 700; letter-spacing: 1px; }
  .notes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .notes-list li { /*display: flex;*/ align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.7; color: #444; }
  .notes-list li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-main); flex-shrink: 0; margin-top: 7px; }

  .caution-block { background: #fff8f0; border: 2px solid var(--accent); border-radius: 18px; padding: 28px 28px; }
  .caution-block .notes-block-title { color: var(--accent-dark); }
  .caution-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .caution-list li { /*display: flex;*/ align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.7; color: #555; }
  .caution-list li::before { content: ''; flex-shrink: 0; font-size: 14px; }

  /* ===== EVENT SCHEDULE ===== */
  .schedule-section { padding: 80px 24px; background: var(--gray-light); }
  .schedule-inner { max-width: 1100px; margin: 0 auto; }

  .event-schedule-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08); margin-top: 48px;
  }
  .event-schedule-header {
    background: var(--green-dark); padding: 28px 36px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  }
  .event-schedule-name { font-family: var(--font-display); font-size: 28px; color: white; letter-spacing: 2px; }
  .event-schedule-meta { display: flex; gap: 20px; flex-wrap: wrap; }
  .event-meta-chip {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
  }

  .schedule-table-wrap { overflow-x: auto; }
  .schedule-table { width: 100%; border-collapse: collapse; min-width: 600px; }
  .schedule-table thead tr { background: var(--green-pale); }
  .schedule-table th { padding: 14px 20px; font-size: 12px; font-weight: 700; color: var(--green-dark); text-align: left; letter-spacing: 0.5px; white-space: nowrap; }
  .schedule-table td { padding: 14px 20px; font-size: 13px; border-bottom: 1px solid #f0f0f0; vertical-align: top; line-height: 1.6; }
  .schedule-table tr:last-child td { border-bottom: none; }
  .schedule-table tr:hover td { background: #fafaf8; }
  .row-start td:first-child { border-left: 4px solid var(--green-main); }
  .row-eid td:first-child { border-left: 4px solid var(--green-light); }
  .row-goal td:first-child { border-left: 4px solid var(--accent); }
  .row-goal td { font-weight: 700; color: var(--green-dark); }

  .schedule-tag {
    display: inline-block; padding: 3px 10px; border-radius: 100px;
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
  }
  .tag-start { background: var(--green-pale); color: var(--green-dark); }
  .tag-eid { background: rgba(116,198,157,0.2); color: var(--green-mid); }
  .tag-goal { background: rgba(244,162,97,0.2); color: var(--accent-dark); }

  .schedule-card-footer { padding: 24px 36px; border-top: 1px solid #f0f0f0; display: flex; gap: 12px; flex-wrap: wrap; }

  .btn-outline-green {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--green-main); color: var(--green-main);
    padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px;
    text-decoration: none; transition: all 0.25s;
  }
  .btn-outline-green:hover { background: var(--green-main); color: white; }

  /* ===== CTA ===== */
  .cta-section { padding: 96px 24px; background: var(--green-main); position: relative; overflow: hidden; }
  .cta-section::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 350px; height: 350px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
  }
  .cta-section::after {
    content: ''; position: absolute; bottom: -60px; left: -60px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }
  .cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
  .cta-label { font-family: var(--font-sub); font-size: 12px; letter-spacing: 4px; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 16px; }
  .cta-title { font-family: var(--font-display); font-size: clamp(44px, 8vw, 72px); color: white; letter-spacing: 3px; line-height: 1; margin-bottom: 20px; }
  .cta-desc { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.8; margin-bottom: 36px; }
  .btn-white {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--green-dark);
    padding: 18px 40px; border-radius: 10px; font-weight: 700; font-size: 16px;
    text-decoration: none; transition: all 0.25s;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  }
  .btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.2); }

/* ===== RESPONSIVE ===== */
  @media (max-width: 1000px) {
    .roles-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .notes-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .event-schedule-header { flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 640px) {
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .intro-strip-inner { flex-direction: column; }
    .vol-hero-title { font-size: 52px; }
    .footer-top { grid-template-columns: 1fr; }
    .schedule-card-footer { flex-direction: column; }
  }
  @media (max-width: 420px) {
    .roles-grid { grid-template-columns: 1fr; }
  }


  @media (max-width: 480px) {
    .role-cards { grid-template-columns: 1fr !important; }
    .benefit-cards { grid-template-columns: 1fr !important; }
  }


  /* Twemoji SVG画像スタイル */
  img.emoji {
    height: 1.1em;
    width: 1.1em;
    vertical-align: -0.15em;
    display: inline-block;
  }
