/* ========================================================
   飯能まつり 山車曳き募集 - 明るく楽しい秋祭りスタイル
   ======================================================== */

:root {
  --sky-blue: #0288D1;
  --sky-light: #E1F5FE;
  --autumn-red: #D32F2F;
  --autumn-orange: #EF6C00;
  --autumn-gold: #F57F17;
  --autumn-yellow: #FFF9C4;
  --bg-gradient: linear-gradient(180deg, #81D4FA 0%, #B3E5FC 350px, #FFF9C4 700px, #FAFAFA 1100px);
  --text-main: #263238;
  --text-sub: #546E7A;
  --card-bg: #FFFFFF;
  --border-radius: 16px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.u-nowrap {
  white-space: nowrap !important;
  display: inline-block;
}

body {
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Canvas背景（舞い散る紅葉＆イチョウ） */
#autumn-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ナビゲーションバー */
.top-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #FFE082;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-badge {
  background: linear-gradient(135deg, var(--autumn-red), var(--autumn-orange));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.nav-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-admin-btn {
  background: #ECEFF1;
  color: #455A64;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #CFD8DC;
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-admin-btn:hover {
  background: #CFD8DC;
  color: #263238;
}
.nav-cta-btn {
  background: linear-gradient(135deg, #FF6F00, #E65100);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(230, 81, 0, 0.3);
  transition: all 0.2s;
}
.nav-cta-btn:hover {
  transform: scale(1.05);
}

/* ヒーローセクション */
.hero-section {
  padding: 24px 16px 36px;
}
.hero-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(2, 136, 209, 0.25);
  border: 4px solid #FFFFFF;
  height: 330px;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-tag-11years {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #FF1744, #D50000);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(213, 0, 0, 0.4);
  border: 2px solid #FFFFFF;
}

.hero-catch-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(183, 28, 28, 0.75) 30%, rgba(120, 10, 10, 0.94) 100%);
  padding: 24px 16px 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-catch-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFF9C4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.5px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.96);
  padding: 24px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  border: 2px solid #FFE082;
}
.hero-subtag {
  color: var(--autumn-orange);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.hero-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.3;
  color: #B71C1C;
  margin-bottom: 12px;
}
.highlight-orange {
  color: #E65100;
  background: linear-gradient(transparent 60%, #FFE082 60%);
}
.hero-desc {
  font-size: 1rem;
  color: #37474F;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* リアルタイム募集状況バナー */
.status-banner {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border: 2px dashed #FFA000;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-icon {
  font-size: 1.8rem;
}
.status-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E65100;
  display: block;
}
.status-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.count-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #D32F2F;
}
.count-total {
  font-size: 1rem;
  font-weight: 700;
  color: #5D4037;
}
.status-badge {
  background: #2E7D32;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
}

/* メインコンテンツ */
.main-content {
  flex: 1;
  padding: 0 16px 40px;
}
.content-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* カード共通 */
.info-card, .form-card, .modify-card, .message-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid #ECEFF1;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #BF360C;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #FFE082;
  padding-bottom: 8px;
}

/* 要項グリッド */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.summary-item {
  background: #F9FBE7;
  border: 1px solid #E6EE9C;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.summary-item.full-width {
  grid-column: 1 / -1;
  background: #E1F5FE;
  border-color: #B3E5FC;
}
.item-icon {
  width: 32px;
  height: 32px;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}
.item-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #E65100;
  margin-bottom: 2px;
}
.item-val {
  font-size: 1rem;
  color: #263238;
}
.item-sub {
  font-size: 0.85rem;
  color: #546E7A;
  margin-top: 4px;
}
.font-strong {
  font-weight: 700;
  color: #C2185B;
}

/* タイムライン */
.timeline-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 10px;
}
.timeline-step {
  display: flex;
  gap: 16px;
  background: #FFFDE7;
  border-left: 4px solid #FFA000;
  border-radius: 8px;
  padding: 12px 16px;
}
.step-time {
  font-weight: 900;
  color: #E65100;
  font-size: 1.15rem;
  min-width: 60px;
}
.step-content h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #263238;
  margin-bottom: 2px;
}
.step-content p {
  font-size: 0.85rem;
  color: #546E7A;
}

/* メッセージカード */
.message-card {
  background: linear-gradient(135deg, #FFF8E1, #FFFFFF);
  border: 2px solid #FFE082;
}
.message-header {
  margin-bottom: 12px;
}
.message-badge {
  background: #FF6F00;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 4px;
}
.message-header h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #B71C1C;
}
.message-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #37474F;
  margin-bottom: 16px;
}
.message-sign {
  font-size: 0.85rem;
  color: #546E7A;
  font-weight: 700;
  line-height: 1.5;
  border-top: 1px dashed #CFD8DC;
  padding-top: 10px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #F5F5F5;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid #0288D1;
}
.faq-q {
  font-weight: 800;
  color: #01579B;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.faq-a {
  font-size: 0.9rem;
  color: #37474F;
  line-height: 1.6;
}

/* フォームセクション */
.form-card {
  border: 3px solid #FFE082;
}
.form-header {
  text-align: center;
  margin-bottom: 24px;
}
.form-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #D84315;
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.95rem;
  color: #546E7A;
}

.form-group-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #CFD8DC;
}
.group-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #37474F;
  margin-bottom: 12px;
}
.group-header-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-add-child {
  background: #FFF3E0;
  color: #E65100;
  border: 1.5px solid #FFB74D;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-add-child:hover {
  background: #FFE0B2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  margin-bottom: 12px;
}
.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #37474F;
}
.req {
  background: #FF5252;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #B0BEC5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #FFFFFF;
  color: #263238;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #FF9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.field-hint {
  font-size: 0.8rem;
  color: #78909C;
}
.mb-3 { margin-bottom: 12px; }

/* お子様1行入力行 */
.child-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.child-num {
  font-weight: 900;
  font-size: 0.85rem;
  color: #E65100;
  min-width: 50px;
}
.child-inputs {
  display: flex;
  gap: 10px;
  flex: 1;
}
.child-inputs input {
  flex: 2;
}
.child-inputs select {
  flex: 1;
}
.btn-remove-child {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
}

/* 注意事項 */
.notice-box {
  background: #ECEFF1;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.notice-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #37474F;
  margin-bottom: 6px;
}
.notice-list {
  padding-left: 20px;
  font-size: 0.85rem;
  color: #455A64;
  line-height: 1.5;
}

/* 送信ボタン */
.form-submit-wrap {
  text-align: center;
}
.btn-primary-matsuri {
  background: linear-gradient(135deg, #FF6F00, #E65100);
  color: #FFFFFF;
  border: none;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 16px 48px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(230, 81, 0, 0.4);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 400px;
}
.btn-primary-matsuri:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 81, 0, 0.5);
  background: linear-gradient(135deg, #FFA000, #F57C00);
}

.form-message {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  display: none;
  padding: 12px;
  border-radius: 8px;
}
.form-message.success {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}
.form-message.error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* 変更・キャンセルカード */
.modify-card {
  background: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 2px solid #B0BEC5;
  margin-top: 24px;
}
.modify-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.modify-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modify-badge-icon {
  font-size: 1.4rem;
  background: #ECEFF1;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.modify-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #263238;
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.modify-desc {
  font-size: 0.9rem;
  color: #546E7A;
  line-height: 1.5;
  margin: 0;
}
.btn-toggle-modify {
  background: #ECEFF1;
  color: #37474F;
  border: 1.5px solid #B0BEC5;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-toggle-modify:hover {
  background: #CFD8DC;
  color: #212121;
}
.modify-form-container {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px dashed #CFD8DC;
}
.modify-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modify-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.btn-modify-lookup {
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  transition: all 0.2s;
  text-align: center;
  width: 100%;
}
.btn-modify-lookup:hover {
  background: linear-gradient(135deg, #2196F3, #1565C0);
  transform: translateY(-1px);
}
.btn-modify-cancel {
  background: #FFF;
  color: #C62828;
  border: 2px solid #EF5350;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
}
.btn-modify-cancel:hover {
  background: #FFEBEE;
}

/* フッター */
.site-footer {
  background: #263238;
  color: #ECEFF1;
  padding: 24px 16px;
  text-align: center;
  margin-top: auto;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer-contact-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 8px;
}
.footer-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF9C4;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.footer-name {
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
}
.footer-detail {
  color: #CFD8DC;
}
.footer-admin-wrap {
  margin-bottom: 14px;
}
.btn-footer-admin {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #CFD8DC;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}
.btn-footer-admin:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}
.footer-copy {
  font-size: 0.78rem;
  color: #90A4AE;
  white-space: nowrap;
}

/* お問い合わせ・主催カードの美しいレイアウト */
.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 2px solid #FFE082;
}
.contact-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #BF360C;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #FFE082;
  padding-bottom: 8px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-block {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #CFD8DC;
}
.contact-block.org-host {
  border-left: 5px solid #D32F2F;
}
.contact-block.org-guide {
  border-left: 5px solid #0288D1;
}
.block-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 6px;
}
.host-tag { background: #FFEBEE; color: #C62828; }
.guide-tag { background: #E1F5FE; color: #0277BD; }
.block-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: #263238;
  margin-bottom: 4px;
}
.block-lead {
  font-size: 0.95rem;
  color: #455A64;
}
.officer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.officer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ECEFF1;
}
.officer-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.officer-role {
  background: #ECEFF1;
  color: #37474F;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  width: 52px;
  text-align: left;
}
.officer-name {
  font-weight: 800;
  color: #263238;
  font-size: 0.95rem;
}
.officer-contact-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-link {
  color: #0D47A1;
  font-weight: 800;
  text-decoration: none;
  background: #E3F2FD;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.3px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.phone-link:hover {
  background: #BBDEFB;
  text-decoration: underline;
}
.sms-badge {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* スマホ完全対応レスポンシブ */
@media (max-width: 650px) {
  .nav-title {
    display: none;
  }
  .nav-container {
    padding: 8px 10px;
  }
  .nav-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  .nav-admin-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .nav-cta-btn {
    font-size: 0.78rem;
    padding: 5px 12px;
  }
  .hero-image-wrap {
    height: 215px;
  }
  .hero-tag-11years {
    font-size: 0.85rem;
    padding: 5px 12px;
    top: 8px;
    left: 8px;
  }
  .hero-catch-banner {
    padding: 16px 8px 6px 8px;
  }
  .hero-catch-text {
    font-size: 0.88rem;
    letter-spacing: 0px;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: -0.3px;
  }
  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: justify;
  }
  .status-banner {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .status-label {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .status-count-wrap {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
  }
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .summary-item {
    padding: 10px 12px;
    gap: 10px;
  }
  .item-label {
    font-size: 0.8rem;
  }
  .item-val {
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .item-sub {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .contact-card-title {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .officer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .officer-contact-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }
  .officer-contact-wrap .phone-link {
    flex: none;
    padding: 5px 12px;
    font-size: 0.9rem;
  }
  .officer-contact-wrap .sms-badge {
    flex: none;
    padding: 3px 8px;
    font-size: 0.75rem;
    line-height: 1.2;
    width: fit-content;
  }
  .form-card {
    padding: 18px 12px;
  }
  .form-title {
    font-size: 1.25rem;
    line-height: 1.35;
    word-break: keep-all;
  }
  .form-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .group-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .group-title {
    font-size: 1rem;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .btn-add-child {
    font-size: 0.78rem;
    padding: 4px 10px;
    white-space: nowrap;
  }
  .child-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
    background: #FFFDE7;
    border-radius: 8px;
  }
  .child-inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .child-name, .child-grade {
    width: 100% !important;
    box-sizing: border-box;
  }
  .notice-box {
    padding: 12px;
  }
  .notice-list li {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .footer-org {
    font-size: 0.78rem;
    line-height: 1.6;
    text-align: center;
  }
  .footer-org-line {
    margin-bottom: 4px;
  }
  .footer-copy {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}
