/* 混み具合のグラフ [et_crowd]（2026-11-06） */
.et-crowd {
  margin: 24px 0;
  padding: 20px;
  background: var(--et-surface, #fff);
  border: 1px solid var(--et-border, #E3E1DA);
  border-radius: var(--et-radius-card, 12px);
}
.article .et-crowd p { margin: 0; }
.article .et-crowd .et-crowd__title {
  margin-bottom: 14px;
  font-family: var(--et-font-heading, sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--et-text, #1A1D23);
}
.et-crowd__days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--et-border, #E3E1DA);
}
.et-crowd .et-crowd__day {
  min-height: 44px;
  margin: 0 0 -1px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--et-subtext, #5B6270);
  cursor: pointer;
}
.et-crowd .et-crowd__day.is-active {
  color: var(--et-primary, #1F3A5F);
  border-bottom-color: var(--et-primary, #1F3A5F);
}
.et-crowd .et-crowd__day:focus-visible,
.et-crowd .et-crowd__bar:focus-visible {
  outline: 2px solid var(--et-primary, #1F3A5F);
  outline-offset: 2px;
}
.et-crowd__panel { margin-top: 14px; }
.et-crowd.is-ready .et-crowd__panel { display: none; }
.et-crowd.is-ready .et-crowd__panel.is-active { display: block; }
.article .et-crowd .et-crowd__note {
  min-height: 46px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--et-text, #1A1D23);
}
.et-crowd__bars {
  display: flex;
  gap: 6px;
  height: 170px;
}
.et-crowd .et-crowd__bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 0 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.et-crowd__bar::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 25px;
  border-bottom: 1px solid var(--et-input-border, #5B6270);
}
.et-crowd__fill {
  display: block;
  width: 100%;
  max-width: 26px;
  border-radius: 4px 4px 0 0;
}
.et-crowd__bar .et-crowd__fill--2 { height: 130px; }
.et-crowd__bar .et-crowd__fill--1 { height: 70px; }
.et-crowd__bar .et-crowd__fill--0 { height: 10px; }
.et-crowd__fill--2 { background: var(--et-primary, #1F3A5F); }
.et-crowd__fill--1 { background: #8FA6C2; }
.et-crowd__fill--0 { background: #C9C7BF; }
.et-crowd__time {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  text-align: center;
  color: var(--et-subtext, #5B6270);
}
.article .et-crowd .et-crowd__picked {
  min-height: 22px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--et-text, #1A1D23);
}
.et-crowd__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
}
.et-crowd__key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--et-subtext, #5B6270);
}
.et-crowd__swatch {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.article .et-crowd .et-crowd__closed-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--et-info-bg, #EEF2F7);
  border-radius: var(--et-radius, 8px);
  font-size: 14px;
  line-height: 1.5;
  color: var(--et-text, #1A1D23);
}
.article .et-crowd .et-crowd__source {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--et-subtext, #5B6270);
}
@media (max-width: 480px) {
  .et-crowd { padding: 16px; }
  .et-crowd__bars { gap: 3px; }
  .et-crowd__time { font-size: 11px; }
}
@media (max-width: 640px) {
  .et-crowd--many .et-crowd__mins { display: none; }
  .et-crowd--many .et-crowd__time { font-size: 12px; }
}
