.common-title-left {
    padding: 54px 0;
}

#lift-b1-g1-gate .parts-title-roller-outer {
  background-image: url("/assets/images/works/lift-b1-g1-gate/section-title-roller.png");
}

#lift-slide-b1-g2 .parts-title-roller-outer {
  background-image: url("/assets/images/works/lift-slide-b1-g2/section-title-roller.png");
}

#flat-steel-plate .parts-title-roller-outer {
  background-image: url("/assets/images/works/flat-steel-plate/section-title-roller.png");
}

.image-area-flow {
  padding: 0;
}

.image-area-flow li {
  flex: 1;
}

.image-area-flow.second-line {
  justify-content: center;
  padding-top: 30px;
}

.image-area-flow.second-line li {
  flex: none;
}

.image-area-flow li img {
  width: 100%;
}

.flow-inner {
  padding-top: 60px;
}

.caption {
  font-size: 1.8rem;
  font-weight: bold;
  padding-bottom: 5px;
}

.button-works {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 60px 0;
  width: 95%;
  margin: 0 auto;
}

/* プルダウンメニュー */
.works-dropdown {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  flex: 1;
}

.works-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background-color: #fff;
  color: #007acc;
  border: 2px solid #007acc;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.works-dropdown-toggle:hover {
  background-color: #f0f7ff;
}

.works-dropdown-toggle .dropdown-icon {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

.works-dropdown-toggle .dropdown-icon::before {
  content: "＋";
}

/* 展開時のスタイル */
.works-dropdown.open .works-dropdown-toggle {
  background-color: #007acc;
  color: #fff;
  border-color: #007acc;
}

.works-dropdown.open .works-dropdown-toggle .dropdown-icon::before {
  content: "－";
}

.works-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.works-dropdown.open .works-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.works-dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.works-dropdown-menu li:last-child {
  border-bottom: none;
}

.works-dropdown-menu li a {
  display: block;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.works-dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .button-works {
    flex-direction: column;
    padding: 40px 0;
  }

  .works-dropdown {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .button-works {
    gap: 15px;
    padding: 30px 0;
  }

  .works-dropdown-toggle {
    padding: 14px 20px;
    font-size: 15px;
  }

  .works-dropdown-menu li a {
    padding: 12px 16px;
    font-size: 14px;
  }
}
