/* ==========================================================
   渋谷新洗組 - style.css
   ソフトなデザイン / 紺・白・グレー基調
   ========================================================== */

:root {
  --navy: #1e3a5f;
  --navy-dark: #142942;
  --navy-light: #2f5075;
  --navy-soft: #eef2f7;
  --white: #ffffff;
  --gray: #8a94a3;
  --gray-light: #f4f6f8;
  --gray-border: #e3e7ed;
  --text-main: #2b3542;
  --text-sub: #6b7482;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px rgba(30, 58, 95, 0.08);
  --shadow-soft-hover: 0 14px 36px rgba(30, 58, 95, 0.14);

  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  margin: 0;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-hover);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.2s ease;
}
.site-nav ul a:hover::after { width: 100%; }

.nav-cta { padding: 10px 24px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー（トップ画像） ---------- */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 41, 66, 0.82) 0%, rgba(30, 58, 95, 0.88) 60%, rgba(30, 58, 95, 0.94) 100%),
    url("images/hero-meeting-spot.jpg");
  background-size: cover;
  background-position: center 40%;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-eyebrow {
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero-lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- セクション見出し 共通 ---------- */
section { padding: 90px 0; }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-sub);
  margin: 0;
}

/* ---------- 団体の概要 ---------- */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 70px;
}

.about-text p {
  color: var(--text-sub);
  margin: 0 0 20px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border: 1px solid var(--gray-border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.about-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.about-card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.about-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.92rem;
}

.about-link {
  font-size: 0.9rem;
}
.about-link a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--navy-light);
}
.about-link a:hover { color: var(--navy-light); }

/* ---------- 過去の活動実績 ---------- */
.history { background: var(--gray-light); }

.history-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  margin-bottom: 40px;
}

.history-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-align: center;
}

.history-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
}

.history-stat-unit {
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 2px;
}

.history-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
}

.history-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.history-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.history-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.history-photo figcaption {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 12px 20px;
  text-align: center;
}

.history-note {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.history-note p {
  margin: 0 0 24px;
  color: var(--text-sub);
}

.history-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- イベント日程表 ---------- */
.schedule { background: var(--white); }

.schedule-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--navy-dark);
  font-weight: 500;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.schedule-table thead th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 18px 24px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.schedule-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s ease;
}
.schedule-table tbody tr:last-child { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--navy-soft); }

.schedule-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
  color: var(--text-main);
  vertical-align: middle;
}

.date-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 700;
  color: var(--navy-dark);
  font-family: var(--font-heading);
}
.date-badge small {
  font-weight: 500;
  color: var(--text-sub);
  font-size: 0.75rem;
}

.schedule-cta {
  margin-top: 40px;
  text-align: center;
  color: var(--text-sub);
}
.schedule-cta p { margin: 0 0 16px; }

/* ---------- お問い合わせフォーム ---------- */
.contact { background: var(--white); }

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.form-row {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.required {
  background: var(--navy-light);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--text-main);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
}
.form-checkbox label {
  font-weight: 500;
  color: var(--text-sub);
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { width: 100%; max-width: 280px; }

.contact-direct {
  text-align: center;
  margin: 28px auto 0;
  max-width: 640px;
  color: var(--text-sub);
  font-size: 0.9rem;
}
.contact-direct a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--navy-light);
}
.contact-direct a:hover { color: var(--navy-light); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a { font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ==========================================================
   レスポンシブ対応
   ========================================================== */

/* タブレット */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-body {
    grid-template-columns: 1fr;
  }
  .history-photo img { min-height: 220px; }
}

/* モバイル */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav ul li a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--gray-border);
  }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero { padding: 72px 0 60px; }

  .history-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }

  .history-note { padding: 28px 22px; }

  .schedule-info {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
    display: block;
    width: 100%;
  }
  .schedule-table { min-width: 0; }
  .schedule-table tbody tr {
    padding: 20px 24px;
  }
  .schedule-table td {
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .schedule-table td::before {
    content: attr(data-label);
    font-size: 0.78rem;
    color: var(--text-sub);
    font-weight: 700;
  }
  .schedule-table td[data-label="申込"] {
    justify-content: flex-end;
    margin-top: 8px;
  }
  .schedule-table td[data-label="申込"]::before { display: none; }

  .contact-form { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
