
.case__desc-text span {
    font-weight: bold;
}

.case__desc-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

h1.entry-title.traffic-title {
  left: -20vw !important;
  text-align: center !important;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid;
  width: 70%;
}

.traffic-text {
  position: absolute;
  top: 38vh;
  left: 0;
  text-align: left;
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  margin: 0 auto;
  z-index: 2;
}

.traffic-case-ttl {
  border-bottom: 2px solid #F4AC00;
}

.traffic-case-ttl-text {
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
}

.traffic-case-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.traffic-list-item {
  width: 50%;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding-left: 1rem;
  text-indent: -1.6rem;
  line-height: 0.5;
}

.traffic-list-item::before {
  content: "・";
  color: #F4AC00;
  font-weight: bold;
  font-size: 25px;
  vertical-align: sub;
  line-height: 1.5;
}

.traffic-case__why {
  margin-top: 50px;
  font-size: 16px;
}

.traffic-case__why h4 {
  background: #F4AC00;
  width: 52%;
  padding: 5px;
  font-size: 22px;
  display: block;
  margin: 0;
}

.traffic-case-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 30px;
}

.traffic-case__desc {
  width: 52%;
}

.traffic-case-img {
  width: 40%;
}

.traffic-case-02 {
  margin-top: 80px;
}

.traffic-case-02 h4 {
  font-size: 22px;
  border-left: 8px solid #F4AC00;
  padding: 10px;
  margin: 0;
  margin-bottom: 20px;
}

.traffic-case-02__desc {
  margin-bottom: 40px;
}

.traffic-step-wrap {
  margin-top: 7rem;
  text-align: center;
}

.traffic-step-img {
  width: 60%;
}

.traffic-step02-wrap {
  margin-bottom: 5rem;
}

@media screen and (max-width: 800px) {
  h1.entry-title.traffic-title {
    left: -14vw;
  }

  .traffic-text {
    left: -1vw;
    top: 12vh;
  }

  .traffic-list-item {
    font-size: 15px;
  }

  .traffic-list-item::before {
    font-size: 20px;
  }

  .traffic-case__why h4 {
    font-size: 20px;
  }

  .traffic-case__desc {
    width: 56%;
  }

  .traffic-case-02 {
    margin-top: 50px;
  }

  .traffic-case-02 h4 {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .traffic-step-wrap {
    margin-top: 5rem;
  }

  .traffic-step-img {
    width: 75%;
  }
}


@media screen and (max-width: 450px) {
   h1.entry-title.traffic-title {
      left: -15vw !important;
  }
  
    .case__desc-text {
    font-size: 14px;
   }
  
  .traffic-text {
    font-size: 12px;
    left: 8vw;
    top: 3.5vh;
  }

  .zdo_drawer_menu .zdo_drawer_nav_wrapper {
    width: 64%;
  }

  .traffic-list-item {
    width: 100%;
    font-size: 14px;
  }

  .traffic-case__why {
    margin-top: 30px;
    font-size: 13px;
  }

  .traffic-case__why h4 {
    width: 100%;
    font-size: 16px;
  }

  .traffic-case-flex {
    margin-top: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .traffic-case__desc {
    width: 100%;
    margin-top: 10px;
  }

  .traffic-case-img {
    width: 100%;
  }

  .traffic-case-02 {
    margin-top: 40px;
  }

  .traffic-case-02 h4 {
    font-size: 16px;
    border-left: 5px solid #F4AC00;
  }

  .traffic-step-wrap {
    margin-top: 3rem;
  }

  .traffic-step-img {
    width: 90%;
  }

  .traffic-case-02__desc {
    margin-bottom: 20px;
  }

  .traffic-step02-wrap {
    margin-bottom: 3rem;
  }

  .zdo_drawer_menu .zdo_drawer_nav_wrapper {
        width: 65% !important;
    }
      .movie_on .movie_text .mv-txt-middle {
        margin-bottom: 20px !important;
    }

}


@media screen and (max-width: 399px) {
  .traffic-text {
    top: 4.5vh;
  }
}
.onepress-menu ul {
    max-height: 80vh;
    overflow-y: auto !important;
}
.onepress-menu ul li a {
    line-height: 2;
}

/* サブメニュー全体をスクロール可能に */
.sub-menu {
    display: none; /* 初期状態は非表示 */
    margin-left: 1rem;
    padding-left: 0;
    list-style: none;
    max-height: 50vh; /* サブメニューの高さを画面の50%に制限 */
    overflow-y: auto; /* 縦スクロールを有効化 */
    background-color: #fff; /* 背景色を設定 */
    z-index: 1000; /* サブメニューを手前に表示 */
    position: relative; /* 必要に応じて調整 */
}

/* 背後のスクロールを防止 */
body.no-scroll {
    overflow: hidden; /* 背後のスクロールを無効化 */
}

@media screen and (max-width: 1159px) {
/* 矢印を擬似要素で表示 */
.menu-item-has-children > a::after {
    content: '▼';
    display: inline-block;
    position: absolute;
    right: 20px;
    font-size: 0.8rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* サブメニューが展開されたときの矢印 */
.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
  pointer-events: none;
}
  
}
