
/* ==========================================================
   客層別ページ（/for/*）とトップの「どちらの施設の方ですか？」
   ========================================================== */
.seg-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: #333;
  line-height: 1.8;
}

.seg-page .pc-only { display: inline; }

.seg-breadcrumb {
  font-size: 0.85rem;
  color: #667;
  padding: 20px 0 0;
}
.seg-breadcrumb a { color: #1a3d7c; }

.seg-hero {
  background: #f0f7ff;
  border: 1px solid #cce0ff;
  border-radius: 12px;
  padding: 48px 40px;
  margin: 16px 0 48px;
}
.seg-eyebrow {
  color: #1a73e8;
  font-weight: 700;
  margin-bottom: 8px;
}
.seg-hero h1 {
  color: #1a3d7c;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.seg-lead {
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 24px;
}
.seg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seg-section { margin: 0 0 56px; }
.seg-h2 {
  color: #1a3d7c;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0 0 0.8rem;
  margin-bottom: 36px;
}
.seg-h2-small { font-size: 1.25rem; }
.seg-h3 {
  color: #1a3d7c;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 8px;
}
.seg-section-lead { margin-bottom: 20px; }
.seg-note { font-size: 0.85rem; color: #666; margin-top: 12px; }

.seg-pains {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.seg-pains li {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  padding: 14px 16px 14px 44px;
  position: relative;
}
.seg-pains li::before {
  content: '!';
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f5a623;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 20px;
  text-align: center;
}

.seg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seg-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 46, 95, 0.1);
  padding: 24px;
  border-top: 4px solid #1a73e8;
}
.seg-cards-2 { grid-template-columns: repeat(2, 1fr); }
.seg-card h3 { font-size: 1.1rem; font-weight: 700; color: #1a3d7c; margin-bottom: 8px; }
.seg-card p { margin: 0; font-size: 0.95rem; }

.seg-flow {
  list-style: none;
  padding: 0;
  counter-reset: none;
  display: grid;
  gap: 12px;
}
.seg-flow li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8fafd;
  border-radius: 8px;
  padding: 16px 20px;
}
.seg-flow-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a3d7c;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seg-flow h3 { font-size: 1.05rem; font-weight: 700; color: #1a3d7c; margin: 4px 0; }
.seg-flow p { margin: 0; font-size: 0.95rem; }

.seg-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.seg-plan {
  position: relative;
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
}
.seg-plan.is-featured { border: 2px solid #1a73e8; box-shadow: 0 5px 20px rgba(0, 46, 95, 0.15); }
.seg-plan-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #1a73e8;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 12px;
}
.seg-plan h3 { font-size: 1.15rem; font-weight: 700; color: #1a3d7c; margin-bottom: 6px; }
.seg-plan-fit { font-size: 0.9rem; color: #555; min-height: 3.2em; }
.seg-plan-price { margin: 8px 0 16px; padding: 12px 0; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.seg-plan-price div { display: flex; justify-content: space-between; align-items: baseline; }
.seg-plan-price dt { font-weight: 400; font-size: 0.85rem; color: #666; }
.seg-plan-price dd { margin: 0; font-size: 1.35rem; font-weight: 700; color: #1a3d7c; }
.seg-plan-features { list-style: none; padding: 0; margin: 0 0 12px; font-size: 0.9rem; flex: 1; }
.seg-plan-features li { margin-bottom: 6px; padding-left: 4px; }
.seg-plan-features li.is-ng { color: #888; }
.seg-plan-features i { margin-right: 6px; }
.seg-plan-link { font-weight: 700; color: #1a73e8; font-size: 0.9rem; }

.seg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seg-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.seg-table th,
.seg-table td { border-bottom: 1px solid #e3e8f0; padding: 10px 12px; text-align: left; vertical-align: top; }
.seg-table thead th { background: #1a3d7c; color: #fff; font-weight: 700; }
.seg-table tbody th { color: #1a3d7c; font-weight: 700; white-space: nowrap; }
.seg-table .num { text-align: right; white-space: nowrap; }

.seg-scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.seg-scope-col { border-radius: 10px; padding: 20px 22px; }
.seg-scope-col h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.seg-scope-col ul { padding-left: 1.2em; margin: 0; font-size: 0.92rem; }
.seg-scope-col li { margin-bottom: 6px; }
.seg-scope-col.is-standard { background: #eef8f1; }
.seg-scope-col.is-standard h3 { color: #1e7a3c; }
.seg-scope-col.is-option { background: #f0f7ff; }
.seg-scope-col.is-option h3 { color: #1a3d7c; }
.seg-scope-col.is-extra { background: #f6f6f6; }
.seg-scope-col.is-extra h3 { color: #555; }
.seg-option-list { list-style: none; padding-left: 0 !important; }
.seg-option-list li { display: flex; flex-direction: column; border-bottom: 1px dashed #cfdcef; padding-bottom: 6px; }
.seg-option-price { font-size: 0.82rem; color: #1a3d7c; font-weight: 700; }

.seg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.seg-checks { padding-left: 1.2em; }
.seg-checks li { margin-bottom: 6px; }

.seg-faq details {
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
}
.seg-faq summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: #1a3d7c;
}
.seg-faq summary::before { content: 'Q. '; color: #1a73e8; }
.seg-faq details p { padding: 0 18px 14px; margin: 0; }
.seg-more { text-align: right; }
.seg-more a { color: #1a73e8; font-weight: 700; }

.seg-cta {
  text-align: center;
  background: #1a3d7c;
  color: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  margin: 0 0 56px;
}
.seg-cta h2 { font-size: 1.5rem; font-weight: 700; padding: 0 0 0.8rem; margin-bottom: 24px; }
.seg-cta p { margin-bottom: 20px; }

.seg-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg-other {
  display: block;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 16px 20px;
  color: #333;
  text-decoration: none;
}
.seg-other:hover { border-color: #1a73e8; background: #f8fbff; }
.seg-other strong { display: block; color: #1a3d7c; }
.seg-other span { font-size: 0.9rem; }

/* トップの入口 */
.seg-selector {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 20px;
  text-align: center;
}
.seg-selector h2 { color: #1a3d7c; font-size: 1.8rem; font-weight: 700; padding: 0 0 0.8rem; margin-bottom: 24px; }
.seg-selector-lead { color: #555; margin-bottom: 24px; }
.seg-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}
.seg-selector-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #dde5f0;
  border-radius: 12px;
  padding: 24px;
  color: #333;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.seg-selector-card:hover { border-color: #1a73e8; transform: translateY(-3px); color: #333; }
.seg-selector-label { font-size: 1.25rem; font-weight: 700; color: #1a3d7c; }
.seg-selector-sub { font-size: 0.85rem; color: #667; margin-bottom: 12px; }
.seg-selector-text { flex: 1; margin-bottom: 12px; }
.seg-selector-go { color: #1a73e8; font-weight: 700; }

@media (max-width: 900px) {
  .seg-cards,
  .seg-cards-2,
  .seg-others,
  .seg-selector-grid { grid-template-columns: 1fr; }
  .seg-two { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 768px) {
  .seg-page { padding: 0 16px 32px; }
  .seg-page .pc-only { display: none; }
  .seg-hero { padding: 32px 20px; }
  .seg-hero h1 { font-size: 1.4rem; }
  .seg-pains,
  .seg-others { grid-template-columns: 1fr; }
  .seg-h2 { font-size: 1.3rem; }
  .seg-selector h2 { font-size: 1.4rem; }
  .seg-plan-fit { min-height: 0; }
}

.seg-cross { margin: -8px 0 20px; font-size: 0.95rem; }
.seg-cross a { color: #1a73e8; font-weight: 700; }
.seg-plan-year { border-top: 1px dashed #dde5f0; margin-top: 6px; padding-top: 6px; }
.seg-plan-year dd { font-size: 1rem !important; color: #555 !important; }
