html.with-fancybox {
  overflow: auto !important;
}

.p-detour {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .p-detour {
    padding: 8rem 0;
  }
}
.p-detour .hline01 {
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .p-detour .hline01 {
    margin-top: 7.5rem;
  }
}
.p-detour__img {
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .p-detour__img {
    margin-bottom: 8rem;
  }
}
.p-detour__traffic {
  position: relative;
}
.p-detour__traffic .tab {
  display: flex;
  position: relative;
  gap: 0.9rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .p-detour__traffic .tab {
    gap: 2.8rem;
    margin-top: 0;
  }
}
.p-detour__traffic .tab:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: var(--keycolor);
  content: "";
}
@media (min-width: 768px) {
  .p-detour__traffic .tab:after {
    height: 0.4rem;
  }
}
.p-detour__traffic .tab li {
  flex: 1 1;
}
.p-detour__traffic .tab li.active a {
  background: var(--keycolor);
  color: #fff;
}
.p-detour__traffic .tab li.active a:after {
  display: block;
}
.p-detour__traffic .tab li a {
  height: 100%;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  border: 2px solid var(--keycolor);
  font-size: 1.2rem;
  min-height: 4.4rem;
  border-radius: 0.5rem 0.5rem 0 0;
  position: relative;
  background: #fff;
  padding: 1.8rem 1rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .p-detour__traffic .tab li a {
    font-size: 1.6rem;
    border: 0.4rem solid var(--keycolor);
    min-height: 8.6rem;
    border-radius: 0.8rem 0.8rem 0 0;
  }
}
.p-detour__traffic .tab li a:after {
  content: "";
  display: none;
  position: absolute;
  background-color: var(--keycolor);
  width: 4.6rem;
  aspect-ratio: 46/20;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  top: calc(100% - 3px);
}
@media (min-width: 768px) {
  .p-detour__traffic .tab li a:after {
    top: calc(100% - 1px);
  }
}
.p-detour__traffic .tab-content {
  display: none;
  margin-top: 4rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .p-detour__traffic .tab-content {
    margin-top: 7.2rem;
    margin-bottom: 7rem;
  }
}
.p-detour__traffic .tab-content.active {
  display: block;
}
.p-detour__area {
  background-color: var(--keycolor);
  color: #fff;
  text-align: center;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .p-detour__area {
    padding-block: 8rem;
  }
}
.p-detour__area-txt {
  line-height: 2;
  font-size: 1.6rem;
  margin-bottom: 2.1rem;
}
@media (min-width: 768px) {
  .p-detour__area-txt {
    font-size: 2.8rem;
    line-height: 1.8571428571;
    margin-bottom: 4.8rem;
  }
}
.p-detour__area-btn {
  max-width: 61.3rem;
}
.p-detour__area-btn img {
  border-radius: 0.8rem;
}

.time-detail {
  position: relative;
  display: block;
  text-align: center;
}
@media (min-width: 768px) {
  .time-detail.icon-zoom {
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  .time-detail.icon-zoom:after {
    bottom: 0;
  }
}
@media (min-width: 768px) {
  .time-detail.icon-zoom:after {
    display: none;
  }
}
@media (min-width: 1025px) {
  .time-detail img {
    max-width: 80.2rem;
    margin-inline: auto;
  }
}

.kai-time {
  width: 17.5vw;
  padding: 1.2vw;
  height: 11.2vw;
  text-align: center;
  position: absolute;
}
@media (min-width: 1025px) {
  .kai-time {
    width: 140px;
    padding: 7px;
    height: 9.6rem;
  }
}
.kai-time.--pink {
  background: #d56796;
  height: 10.3vw;
}
@media (min-width: 1025px) {
  .kai-time.--pink {
    height: 9rem;
  }
}
.kai-time.--green {
  background: #7dbe2f;
}
.kai-time.--red {
  background: #e7141a;
}
.kai-time.--orange {
  background: #f59d17;
}
.kai-time.--pos-01 {
  left: 18%;
  top: 0;
}
@media (min-width: 1025px) {
  .kai-time.--pos-01 {
    left: 253px;
  }
}
.kai-time.--pos-02 {
  left: 19%;
  top: 25%;
}
@media (min-width: 1025px) {
  .kai-time.--pos-02 {
    left: 265px;
    top: 163px;
  }
}
.kai-time.--pos-03 {
  left: 54%;
  top: 56%;
}
@media (min-width: 1025px) {
  .kai-time.--pos-03 {
    left: 530px;
    top: 362px;
  }
}
.kai-time.--pos-04 {
  right: 27%;
  bottom: 0;
}
@media (min-width: 1025px) {
  .kai-time.--pos-04 {
    right: 328px;
  }
}
.kai-time.--pos-05 {
  left: 33%;
  bottom: 0;
}
@media (min-width: 1025px) {
  .kai-time.--pos-05 {
    left: 361px;
  }
}
.kai-time.--pos-06 {
  left: 3.6%;
  bottom: 0;
}
@media (min-width: 1025px) {
  .kai-time.--pos-06 {
    left: 129px;
  }
}
.kai-time.--pos-07 {
  left: 3.6%;
  top: 54.3%;
}
@media (min-width: 1025px) {
  .kai-time.--pos-07 {
    left: 129px;
    top: 349px;
  }
}
.kai-time__ttl {
  color: #fff;
  font-size: 1.4vw;
  margin-bottom: 2px;
}
@media (min-width: 1025px) {
  .kai-time__ttl {
    font-size: 12px;
  }
}
.kai-time__ttl.--ttl01 {
  margin-bottom: 0.8vw;
}
@media (min-width: 1025px) {
  .kai-time__ttl.--ttl01 {
    margin-bottom: 8px;
  }
}
.kai-time__main {
  display: flex;
  justify-content: center;
  gap: 0.8vw;
}
@media (min-width: 1025px) {
  .kai-time__main {
    gap: 8px;
  }
}
.kai-time .kai-box {
  text-align: center;
}
.kai-time .kai-box__ttl {
  color: #fff;
  font-size: 1vw;
}
@media (min-width: 1025px) {
  .kai-time .kai-box__ttl {
    font-size: 10px;
  }
}
.kai-time .kai-box.left .time_wrap {
  padding-left: 1vw;
  background: url(../images/detour/bg-left.png) no-repeat top center;
  background-size: contain;
}
@media (min-width: 1025px) {
  .kai-time .kai-box.left .time_wrap {
    padding-left: 10px;
  }
}
.kai-time .kai-box.left .time_wrap::after {
  content: "";
  background-color: var(--trafficColor, #fff);
  mask: url("../images/detour/bg-left.png") no-repeat center;
  mask-size: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.kai-time .kai-box.right .time_wrap {
  padding-right: 0.7vw;
  background: url(../images/detour/bg-right.png) no-repeat top center;
  background-size: contain;
}
@media (min-width: 1025px) {
  .kai-time .kai-box.right .time_wrap {
    padding-right: 7px;
  }
}
.kai-time .kai-box.right .time_wrap::after {
  content: "";
  background-color: var(--trafficColor, #fff);
  mask: url("../images/detour/bg-right.png") no-repeat center;
  mask-size: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.kai-time .kai-box .time_wrap {
  width: 6.4vw;
  height: 3.2vw;
  margin-top: 0.6vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1025px) {
  .kai-time .kai-box .time_wrap {
    width: 55px;
    height: 26px;
    margin-top: 6px;
  }
}
.kai-time .kai-box .time_wrap.over3 {
  --trafficColor: #ff7200;
  color: #fff;
}
.kai-time .kai-box .time_wrap.over2 {
  --trafficColor: #ff9797;
  color: #fff;
}
.kai-time .kai-box .time_wrap.over1 {
  --trafficColor: #fff46a;
}
.kai-time .kai-box .time_wrap.stop::after {
  content: "";
  background: url("../images/detour/icon_closed.png") no-repeat center/contain;
  aspect-ratio: 24/22;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5vw;
  top: 0.5vw;
  width: 2.2vw;
  margin: auto;
  mask: none;
}
@media (min-width: 1025px) {
  .kai-time .kai-box .time_wrap.stop::after {
    bottom: 5px;
    top: 5px;
    width: 22px;
  }
}
.kai-time .kai-box .time_wrap.stop * {
  display: none;
  opacity: 0;
}
.kai-time .kai-box .time_wrap .control_time {
  font-size: 2vw;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
@media (min-width: 1025px) {
  .kai-time .kai-box .time_wrap .control_time {
    font-size: 17px;
  }
}
.kai-time .kai-box .time_wrap small {
  font-size: 1.1vw;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
@media (min-width: 1025px) {
  .kai-time .kai-box .time_wrap small {
    font-size: 11px;
    margin-top: 4px;
  }
}

.c-modal-time {
  background-color: #fff;
}
.c-modal-time .kai-time {
  width: 17%;
  padding: 7px;
  height: 70px;
  text-align: center;
  position: absolute;
}
.c-modal-time .kai-time.--pink {
  background: #d56796;
}
.c-modal-time .kai-time.--green {
  background: #7dbe2f;
}
.c-modal-time .kai-time.--red {
  background: #e7141a;
}
.c-modal-time .kai-time.--orange {
  background: #f59d17;
}
.c-modal-time .kai-time.--pos-01 {
  left: 20%;
  top: 0;
}
.c-modal-time .kai-time.--pos-02 {
  left: 21%;
  top: 25%;
}
.c-modal-time .kai-time.--pos-03 {
  left: 54%;
  top: 56%;
}
.c-modal-time .kai-time.--pos-04 {
  right: 29%;
  bottom: 0;
}
.c-modal-time .kai-time.--pos-05 {
  left: 33%;
  bottom: 0;
}
.c-modal-time .kai-time.--pos-06 {
  left: 4%;
  bottom: 0;
}
.c-modal-time .kai-time.--pos-07 {
  left: 4%;
  top: 54%;
}
.c-modal-time .kai-time__ttl {
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 2px;
}
.c-modal-time .kai-time__ttl.--ttl01 {
  margin-bottom: 6px;
}
.c-modal-time .kai-time__main {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.c-modal-time .kai-time .kai-box {
  text-align: center;
}
.c-modal-time .kai-time .kai-box__ttl {
  color: #fff;
  font-size: 6px;
}
.c-modal-time .kai-time .kai-box .time_wrap.stop::after {
  bottom: 0;
  width: 1.2rem;
}
.c-modal-time .kai-time .kai-box .time_wrap {
  width: 38px;
  height: 19px;
  margin-top: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-modal-time .kai-time .kai-box .time_wrap.stop .ic_stop {
  opacity: 1;
}
.c-modal-time .kai-time .kai-box .time_wrap.stop .control_time,
.c-modal-time .kai-time .kai-box .time_wrap.stop small {
  display: none;
}
.c-modal-time .kai-time .kai-box .time_wrap.over3 {
  --trafficColor: #ff7200;
  color: #fff;
}
.c-modal-time .kai-time .kai-box .time_wrap.over2 {
  --trafficColor: #ff9797;
  color: #fff;
}
.c-modal-time .kai-time .kai-box .time_wrap.over1 {
  --trafficColor: #fff46a;
}
.c-modal-time .kai-time .kai-box .time_wrap .control_time {
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.c-modal-time .kai-time .kai-box .time_wrap small {
  font-size: 8px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.rt_m_example {
  margin-block: 2.5rem;
}
@media (min-width: 768px) {
  .rt_m_example {
    margin-block: 45px;
  }
}
.rt_m_example ul {
  --rtColor: #fff46a;
  display: flex;
  flex-wrap: wrap;
  gap: max(4.267vw, 16px) max(2.667vw, 10px);
  font-size: max(2.133vw, 8px);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .rt_m_example ul {
    font-size: 12px;
    flex-wrap: nowrap;
    gap: 30px;
  }
}
@media (min-width: 1025px) {
  .rt_m_example ul {
    font-size: 14px;
  }
}
.rt_m_example ul li {
  display: flex;
  align-items: center;
}
.rt_m_example ul li::before {
  content: "";
  background: var(--rtColor);
  flex-shrink: 0;
  height: max(3.2vw, 12px);
  width: max(3.2vw, 12px);
  margin-right: max(2.13vw, 8px);
}
@media (min-width: 768px) {
  .rt_m_example ul li::before {
    margin-right: 0.8rem;
    height: 16px;
    width: 16px;
  }
}
.rt_m_example ul li.over2 {
  --rtColor: #ff9797;
}
.rt_m_example ul li.over3 {
  --rtColor: #ff7200;
}
.rt_m_example ul li.closed {
  --rtColor: url("../images/detour/icon_closed.png") no-repeat center / contain;
}
.rt_m_example ul li.closed::before {
  width: max(3.2vw, 12px);
}
@media (min-width: 768px) {
  .rt_m_example ul li.closed::before {
    width: 19px;
  }
}

.update-time-display {
  text-align: center;
  font-weight: 700;
  color: #000;
  border: 2px solid #000;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  width: fit-content;
  font-size: 1.3rem;
  padding: 5px 10px;
}
@media (min-width: 768px) {
  .update-time-display {
    font-size: 14px;
    padding: 10px 15px;
  }
}

.update-time-phase {
  font-size: 12px;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

/*# sourceMappingURL=detour.css.map */
