/* 移転スケジュールと管理項目のフロー
======================================== */
div#pb_schedule{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}

#pb_schedule .CB_ {
  position: relative;
  display:flex;
  flex-direction:column;
  align-items: stretch;

  flex:1 1 calc(25% - 24px);
  border-radius:12px;
  margin: 0;
  padding: 10px 24px 24px;
  background-color: var(--gray);
  overflow: visible !important;

  @media (max-width: 767px){
    flex-basis: 100%;
  }
}

#pb_schedule .HeadingBox_ {
  @media (max-width: 767px){
    margin-bottom: 20px;
  }
}
#pb_schedule .HeadingBox_ h3 {
  text-align: center;
  width: 100%;
}
#pb_schedule .HeadingBox_ h3 span {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 40px;
  font-weight: bold;
  color: var(--main-color);
}

#pb_schedule .ImageBox_ {
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:auto;
}
#pb_schedule .ImageBox_ img {
  width: 150px;
}

/* 三角矢印
------------------------------- */
:root{
  --arrow-base: 24px; /* 底辺 */
  --arrow-h:    64px; /* 高さ */
}
#pb_schedule .CB_:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:-24px;
  transform:translateY(-50%);
  width:var(--arrow-base);
  height:var(--arrow-h);
  background-color:var(--main-color);
  clip-path: polygon(100% 50%, 0 0, 0 100%); /* 左向きの三角 */
  pointer-events:none;

  @media (max-width: 767px){
    top: auto;
    bottom: -24px;
    left: 50%;
    transform:translateX(-50%);
    width:var(--arrow-h);
    height:var(--arrow-base);
    clip-path: polygon(0 0, 100% 0, 50% 100%); /* 下向きの三角 */
  }
}

