.column-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}

.column-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.column-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.column-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.column-title a {
  color: #333;
  text-decoration: none;
}

.column-title a:hover {
  color: #d32f2f;
}
.column-meta {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.event-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.event-label.upcoming {
  background: #fff5f5;
  color: #b71c1c;
}

.event-label.past {
  background: #eeeeee;
  color: #666;
}
.column-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-top: auto; /* 下揃え */
}
.column-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.past-event {
  opacity: 0.75;
}
@media (max-width:768px) {
  .column-list {
    gap: 16px;
  }
}


/* =====================
   イベント参加フォーム
===================== */
.event-register-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: block !important;
  float: none !important;
  width: 100%;
}
.event-participant {
  display: inline-block;
  padding: 6px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;

  /* 折り返し対策 */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;

  max-width: 100%;
  box-sizing: border-box;

  /* ★ Safari対策（最重要） */
  min-width: 0;
}
/* 参加者同士の間にだけ余白 */
.event-participant + .event-participant {
  margin-top: 0.4em;   /* ← 少しだけ。0.3〜0.6emで調整可 */
}

.form-buttons {
  margin-top: 18px;
  text-align: center;
}
.form-buttons button {
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* ボタン色 */
/* 共通ボタン強化 */
.btn-cancel,
.btn-delete {
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 
    background-color .2s ease,
    box-shadow .2s ease,
    transform .1s ease;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234,88,12,.6); }
  70% { box-shadow: 0 0 0 12px rgba(234,88,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,88,12,0); }
}

.btn-submit {
  animation: pulse 2.2s infinite;
  outline: 3px solid rgba(255,255,255,0.6);
  outline-offset: -6px;

  font-size: 18px;
  padding: 16px 32px;        /* ← これだけ残す */
  letter-spacing: 0.05em;

  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(234,88,12,.4);
  cursor: pointer;
  transition: all .2s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  box-shadow: 0 14px 30px rgba(234,88,12,.5);
  transform: translateY(-2px);
  animation: none;
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(234,88,12,.4) inset;
}

.btn-cancel,
.btn-delete {
  background: #ffffff;
  color: #555555;               /* 文字：濃すぎないグレー */
  border: 2px solid #cccccc;    /* 枠：薄グレー */
  font-weight: 600;
}


/* 押せそう感（ホバー） */
.btn-cancel:hover,
.btn-delete:hover {
  background: #f5f5f5;
  border-color: #999999;
  color: #333333;
}


/* 押した感（クリック） */
.btn-cancel:active,
.btn-delete:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,.15) inset;
}
/* 性別バッジ */
.event-participant.male { background:#cce7ff; color:#003366; }
.event-participant.female { background:#ffe0ef; color:#660033; }
.event-participant.unknown { background:#e0e0e0; color:#333333; }

/* =====================
   ビアホイイベント全体
===================== */
/* ===== ページ全体の土台 ===== */
.biahoi-event {
  background: #fffdf2;              /* ほんのり黄 */
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Helvetica Neue",
    sans-serif;
}

.biahoi-catch {
  letter-spacing: 0.2em;
  background:#d32f2f;
  color:#fff;
  font-size:1.4rem;
  font-weight:bold;
  text-align:center;
  padding:1rem;
  border-radius:12px;
  margin-bottom:1.6rem;
}
.biahoi-round {
  margin-top: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-align:center;
  font-size:4.5rem;
  line-height:1;
  font-weight:bold;
  color:#d32f2f;
  margin-bottom:0.5rem;
}
.biahoi-title {
 text-align:center;
 margin-bottom: 3rem;
}
.biahoi-title h1 {
  font-size:clamp(32px,7vw,72px);
  margin:0.3rem 0;
  font-weight:700;
  letter-spacing:0.05em;
  font-family: inherit; /* ← 親を使う */
}

.biahoi-title h1:first-child { color:#d32f2f; }
.biahoi-title h1:last-child { color:#4a4a4a; }

.biahoi-policy {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.biahoi-policy h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.biahoi-policy h3 {
  color: #d32f2f;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6rem 0 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid #d32f2f;
}
.biahoi-policy h4 {
  color: #d32f2f;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6rem 0 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid #d32f2f;
}

.biahoi-policy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.biahoi-policy li {
  position: relative;
  padding-left: 1.6em;   /* ← これが決定打 */
  margin-bottom: 0.6rem;
  line-height: 1.7;
  font-size: 15px;
}

/* 目的：ポジティブ */
.biahoi-policy .purpose li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: #2e7d32;
  font-weight: bold;
}

/* ルール：注意 */
.biahoi-policy .rules li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.45em;
  color: #d32f2f;
  font-size: 0.75em;
}
.biahoi-policy .notice {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: #fff8f8;
  border-left: 4px solid #d32f2f;
  font-size: 14px;
  line-height: 1.6;
}

.section-header {
  background: #fff;
  color: #d32f2f;
  border: 2px solid #d32f2f;
  text-align: center;
  font-size: 1.35rem;
  font-weight: bold;
  padding: 0.7rem 0;
  margin: 2rem 0 1rem;
  letter-spacing: 0.12em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(211,47,47,0.15);
}

.section-box.gray-box {
  background:#f5f5f5;
  border-radius:18px;
  padding:2rem;
  margin-bottom:2rem;
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
}
.biahoi-details {
  display:flex;
  gap:2rem;
  background:#fffde7;
  padding:2rem;
  border-radius:18px;
  margin-bottom:2rem;
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
}
.biahoi-details-left table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fffdf8;
  border-radius: 12px;
  overflow: hidden;
}

.biahoi-details-left table tr td:first-child {
  background: #fff5f5;      /* 薄い赤 */
  color: #b71c1c;
  font-weight: 600;
}

.biahoi-details-left table tr td:last-child {
  background: #ffffff;
}

.biahoi-details-left table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f0dada;
  background: #fffdf8;
}
.biahoi-details-right img {
 max-width:100%;
 border-radius:8px; 
}

.map-wrapper iframe {
  width:100%;
  max-width:300px;
  height:200px;
  border-radius:8px;
  display:block;
  border:none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.custom-register-btn-wrapper { text-align:center; margin:1rem 0; }
.custom-register-btn {
  font-size: 18px;
  padding: 14px 40px;
  background: linear-gradient(135deg,#5c33ff,#3b1dd6);
  color:#fff;
  border:none;
  border-radius:999px;
  display:inline-block;
  text-decoration:none;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.custom-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

.event-apply-btn {
  display:inline-block;
  margin-bottom:12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color:#fff;
  padding:12px 26px;
  font-weight:700;
  border:none;
  border-radius:999px;
  box-shadow: 0 8px 20px rgba(34,197,94,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.event-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34,197,94,.45);
}

.register-rules {
  background: #fff;
  border-left: 6px solid #d32f2f;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.register-rules p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
}
.register-rules strong {
  color: #d32f2f;
}
.biahoi-register-form {
  margin-top: 15px;
  text-align: center;
}
.biahoi-register-form input[type="submit"] {
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #4a4a4a;
  color: #fff;
  cursor: pointer;
}

.deadline-text {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin: 1.2rem 0 0.8rem; /* 上に余裕、下はボタンに近づける */
}

#apply-deadline {
  width: 100%;
  text-align: center;
  margin-bottom: 0.8rem;
}


/* 会員登録ボタン */
.toggle-accordion[data-target="member-register"] {
  display: block;
  margin: 1rem auto;
}

.form-input {
  width: 100%;
  max-width: 400px;   /* 参加申込フォームと同じ幅に */
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

/* 会員登録フォームの幅を参加申込と揃える */
#member-register form {
  max-width: 600px;   /* ← event-register-wrapper と同じ */
  margin: 0 auto;
  padding: 0 12px;
}

#member-register input[type="email"],
#member-register input[type="text"] {
  width: 100%;
  max-width: 400px;     /* 参加申込と視覚的に一致 */
  margin: 0 auto;
  display: block;
  padding: 8px 10px;
  font-size: 16px;
  box-sizing: border-box;
}
/* 会員登録の注意書きをフォーム幅に合わせる */
#member-register .register-rules {
  max-width: 600px;
  margin: 0 auto 16px;
  padding: 16px 20px 16px 22px;
  box-sizing: border-box;
  background: #fff;
  border-left: 6px solid #d32f2f;
}


/* =====================
   幹事画像サイズ調整
===================== */
.organizer-image {
  flex-shrink: 0;          /* 横並び時に潰れない */
  text-align: center;
}

.organizer-image img {
  width: 120px !important;   /* ← ここが肝 */
  max-width: 120px !important;
  height: auto !important;
  border-radius: 8px;
}


/* =====================
   スマホ対応
===================== */
@media (max-width:768px) {
.event-register-wrapper { padding:0 12px; }
.event-register-wrapper p { font-size:15px; }
.event-participants { gap:6px; }
.event-participant { font-size:13px; padding:6px 10px; }
/* 参加者同士の間だけ余白を入れる */
.event-participant + .event-participant { margin-top: 0.4em;}
#event-register-form input[type="text"],
#event-register-form input[type="email"] { font-size:16px; padding:8px; }
#event-register-form label { font-size:14px; }
#event-register-form button { padding:10px 14px; font-size:15px; }
.event-register-wrapper input[type="checkbox"] { transform:scale(1.2); margin-right:6px; }
.form-buttons button { font-size:17px; padding:12px 26px; margin:6px 6px; }
.biahoi-event {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  }
.section-header {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0;
    border-width: 1.5px;
  }
.biahoi-details {
    flex-direction: column;
    padding: 1.2rem 1rem;
    background: #fffdf2;
  }
.biahoi-details, .section-box.gray-box { padding:1.25rem; }
  /* テーブル側はフル幅 */
.biahoi-details-left {
    width: 100%;
  }
.biahoi-details-left table td {
    padding: 0.65rem 0.75rem;
    font-size: 14px;
  }

  /* 写真は下・中央 */
  .biahoi-details-right {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
  }

.biahoi-details-right img {
  display: block;
  width: 100%;
  max-width: 360px;   /* ← PCで暴れない上限 */
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}


.biahoi-catch { font-size:1.1rem; }
.biahoi-round { font-size:2.2rem; }
.map-wrapper iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.biahoi-title h1 {margin: 0.8rem 0;}
.biahoi-event {padding: 1rem;}
#member-register .register-rules {
    padding: 14px 16px 14px 20px;
  }

.btn-submit,
.btn-cancel,
.btn-delete {
    width: 100%;
    font-size: 16px;
    animation: none;
  }
}


