/* ===== Breadcrumb ===== */
.breadcrumb {
  margin-top: 68px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-mid);
}

.breadcrumb br {
  display: none;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-sub);
}

.breadcrumb-inner a { color: var(--navy);}
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-mid); }
.breadcrumb-current { color: var(--slate); font-weight: 500; }

/* ===== Hero ===== */
.hero {
  height: 65vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,18,64,0.82) 0%, rgba(45,51,72,0.55) 45%, rgba(45,51,72,0.25) 72%, rgba(0,0,0,0.12) 100%),
    url('総会支援背景.jpg') center/cover no-repeat;
}

.hero-accent-line {
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--slate-light), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-service-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(45,51,72,0.40);
  border: 1px solid rgba(160,175,210,0.35);
  color: rgba(160,175,210,0.78);
  font-size: 12px;
  letter-spacing: 0.25em;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.45;
  margin-bottom: 16px;
  font-weight: bold;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-title .accent { color: #a0b0d8; }

.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 580px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== ボタン共通 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slate-light);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 20px rgba(112,128,168,0.45);
  cursor: pointer;
}

.btn-primary br {
  display: none;
}

.btn-primary:hover {
  background: #8494BC;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(112,128,168,0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--slate-light); color: var(--slate-light); background: rgba(196,122,58,0.08); }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slate);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 16px rgba(92,46,26,0.3);
  cursor: pointer;
}

.btn-primary-dark br {
  display: none;
}

.btn-primary-dark:hover { background: var(--slate-mid); transform: translateY(-2px); }

.btn-outline-slate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--slate);
  color: var(--slate);
  font-size: 15px;
  padding: 15px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
}
.btn-outline-slate:hover { background: var(--slate); color: var(--white); }

/* ===== Summary ===== */
.summary {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 48px 24px;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

.summary-inner { max-width: 1200px; margin: 0 auto; }

.summary-label {
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 32px;
  font-family: 'Noto Sans JP', sans-serif;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.summary-item {
  background: rgba(13,18,64,0.6);
  padding: 28px 16px;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}

.summary-item br {
  display: none;
}

.summary-item:hover { background: rgba(45,51,72,0.7); }

.summary-icon { font-size: 28px; margin-bottom: 12px; display: block; }

.summary-title {
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
  display: inline-block;
  line-height: 1.5;
}

.summary-break {
  display: block;
}

.summary-item:hover .summary-title { color: var(--slate-light); }

.summary-grid > *:not(.summary-item) { display: none; }

/* ===== Section Common ===== */
section { padding: 88px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-light);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--slate-light);
}

.section-title {
  font-size: 32px;
  color: var(--navy);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title-ja { font-size: 15px; color: var(--text-sub); }

/* ===== Flow Section ===== */
.flow { background: var(--slate); }

.flow .section-title { color: var(--white); }
.flow .section-title-ja { color: rgba(255,255,255,0.55); }
.flow .section-eyebrow { color: var(--gold); }
.flow .section-eyebrow::before,
.flow .section-eyebrow::after { background: var(--gold); }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--slate-light), var(--gold), var(--slate-light));
  z-index: 0;
}

.flow-item {
  padding: 0 16px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--slate-mid);
  border: 2px solid var(--slate-light);
  color: var(--white);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 0 auto 20px;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  z-index: 1;
}

.flow-item.gold .flow-step-num {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

.flow-title {
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 10px;
}

.flow-text {
  color: rgba(255,255,255,0.60);
  font-size: 13px;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.flow-tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 2px;
  background: rgba(112,128,168,0.25);
  border: 1px solid rgba(112,128,168,0.4);
  color: rgba(160,175,210,0.9);
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}

.flow-tag.gold-tag {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
  color: rgba(201,168,76,0.9);
}

/* ===== Feature Sections ===== */
.feature { background: var(--white); }
.feature.alt { background: var(--gray-bg); }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-label::before {
  content: '';
  display: block;
  width: 32px; height: 3px;
  background: var(--slate-light);
  border-radius: 2px;
}

.feature-title {
  font-size: 26px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: bold;
  padding-left: 16px;
  border-left: 4px solid var(--slate-light);
}

.feature-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 24px;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-points li::before {
  content: '✓';
  color: var(--slate-light);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.35);
}

.feature-visual-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--gray-bg), var(--gray-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-sub);
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-visual-placeholder .ph-icon { font-size: 36px; opacity: 0.4; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--slate-pale);
  border-top: 3px solid var(--slate-light);
  padding: 64px 24px;
  text-align: center;
}

.cta-banner h2 { color: var(--slate); font-size: 26px; margin-bottom: 12px; letter-spacing: 0.08em; }

.cta-banner p { color: var(--text-sub); font-size: 15px; margin-bottom: 36px; font-family: 'Noto Sans JP', sans-serif; }

.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slate);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 16px rgba(45,51,72,0.3);
}

.btn-primary-dark:hover { background: var(--slate-mid); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--slate);
  font-size: 15px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 4px;
  border: 2px solid var(--slate);
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-outline:hover { background: var(--slate); color: var(--white); transform: translateY(-2px); }

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
  /* breadcrumb */
  .breadcrumb {
    margin-top: 0;
    background: var(--gray-bg);
    border-bottom: 1px solid var(--gray-mid);
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: auto;
    padding: 96px 0 64px;
  }
  .hero-content { padding: 0 20px; }
  .hero-title   { font-size: 28px; }
  .hero-sub     { font-size: 14px; margin-bottom: 28px; }
  .hero-cta     { flex-direction: column; align-items: stretch; }

  /* ボタン: フル幅 */
  .btn-primary,
  .btn-ghost,
  .btn-primary-dark,
  .btn-outline-brown {
    width: 70%;
    margin: 0 auto;
    justify-content: center;
    padding: 11px 20px;
    font-size: 13px;
  }

  /* パンくず */
  .breadcrumb-inner {
    padding: 10px 16px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  /* Summary: 5列→2列 */
  .summary {
    padding: 32px 16px;
  }

  .summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: none;
    border: none;
  }

  .summary-item {
    flex: 0 0 calc(50% - 0.5px);
    padding: 20px 12px;
    box-sizing: border-box;

    background: rgba(13, 18, 64, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .summary-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .summary-title {
    font-size: 12px;
  }

  /* 最後の1件を中央表示 */
  .summary-item:last-child {
    margin: 0 auto;
  }

  /* Feature: 2列→1列 */
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block.reverse { direction: ltr; }
  .feature-title { font-size: 22px; padding-left: 12px; }
  .feature-visual-placeholder { height: 220px; }

  /* セクション見出し */
  .section-header { margin-bottom: 40px; }
  .section-title  { font-size: 24px; }

  /* CTAバナー */
  .cta-banner       { padding: 48px 20px; }
  .cta-banner h2    { font-size: 22px; }
  .cta-buttons      { flex-direction: column; }

  /* 総会業務の流れ: 4列→1列、横の繋ぎ線は非表示 */
  .flow-grid { grid-template-columns: 1fr; gap: 16px; }
  .flow-grid::before { display: none; }
  .flow-item { padding: 16px 12px; }

  /* 関連サービス: 3列→1列（soukaishien.css 独自ルールを上書き） */
  .related-grid { grid-template-columns: 1fr; }
}