/* 내용 */
.container {
  width: 100%;
  font-size: 1em;
  background: #fff;
  padding-top: 141px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container > .banner {
  width: 100%;
  height: 500px;
  background-image: url(../image/design_banner.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container > .banner > .title {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.container > .banner > .title > h2,
.sub_tit {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.container > .banner > .title > .sub_tit {
  font-size: 20px;
}

.container > .banner > .title > h2 {
  font-size: 40px;
}

/* 타이틀 */
.tit_box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 40px;
  width: 1200px;
  padding: 120px 0 40px 0;
  gap: 10px;
}
.tit_box > p {
  font-size: 20px;
}
.title_h2 {
  position: relative;
  font-size: 40px;
  font-weight: 700;
  padding-bottom: 20px; /* 밑줄 공간 */
  font-size: 40px;
}

.title_h2::after {
  content: '';
  position: absolute;
  right: 0; /* ← 핵심 */
  bottom: 0;
  width: 25%; /* 줄 길이 */
  height: 1px;
  background: #000;
}

/* 디자이너 리스트 */
.designer_wrap {
  width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* background-color: red; */
}

/* 지점 메뉴 */
.designer_wrap > .designer_control {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.designer_wrap > .designer_control > li {
  width: 100px;
  padding: 20px 25px;
  font-size: 16px;
  background-color: #b8cce2;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.designer_wrap > .designer_control > li.on {
  background-color: #000;
}

.designer_wrap > .designer_control > li:hover {
  background-color: #000;
}

/* 지점별 css */
.c_branchBox,
.b_branchBox,
.apgujeongBox {
  /* background-color: red; */
  display: none;
  flex-direction: column;
  gap: 30px;
  padding: 30px 0;
  box-sizing: border-box;
}

.c_branchBox .designer_list,
.b_branchBox .designer_list,
.apgujeongBox .designer_list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.c_branchBox.active,
.b_branchBox.active,
.apgujeongBox.active {
  display: flex;
}

.c_branchBox .designer_list > .ghost,
.b_branchBox .designer_list > .ghost,
.apgujeongBox .designer_list > .ghost {
  visibility: hidden;
}

.c_branchBox .designer_list > .designer_box,
.b_branchBox .designer_list > .designer_box,
.apgujeongBox .designer_list > .designer_box {
  width: 320px;
  height: 530px;
  background-color: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.c_branchBox .designer_list > .designer_box > img,
.b_branchBox .designer_list > .designer_box > img,
.apgujeongBox .designer_list > .designer_box > img {
  width: 100%;
  height: 400px;
  border-radius: 20px;
}

.c_branchBox .designer_list > .designer_box > img,
.b_branchBox .designer_list > .designer_box > img,
.apgujeongBox .designer_list > .designer_box > img {
  object-fit: cover;
  object-position: center;
}

.c_branchBox .designer_list > .designer_box > .intro,
.b_branchBox .designer_list > .designer_box > .intro,
.apgujeongBox .designer_list > .designer_box > .intro {
  padding: 10px;
  /* background-color: gray; */
  box-sizing: border-box;
  height: 120px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.c_branchBox .designer_list > .designer_box > .intro > .name,
.b_branchBox .designer_list > .designer_box > .intro > .name,
.apgujeongBox .designer_list > .designer_box > .intro > .name {
  font-size: 30px;
  font-weight: bold;
}

.c_branchBox .designer_list > .designer_box > .intro > .position,
.b_branchBox .designer_list > .designer_box > .intro > .position,
.apgujeongBox .designer_list > .designer_box > .intro > .position {
  font-size: 16px;
}

.c_branchBox .designer_list > .designer_box > .intro > a > i,
.b_branchBox .designer_list > .designer_box > .intro > a > i,
.apgujeongBox .designer_list > .designer_box > .intro > a > i {
  padding-top: 7px;
  font-size: 30px;
  transition: all 0.3s;
}

.c_branchBox .designer_list > .designer_box > .intro > a > i:hover,
.b_branchBox .designer_list > .designer_box > .intro > a > i:hover,
.apgujeongBox .designer_list > .designer_box > .intro > a > i:hover {
  color: #e4405f;
}

/* 리스트 컨트롤 */

@media (max-width: 1536px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
  }
}

@media (max-width: 1280px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
  }
  .tit_box {
    width: 100%;
  }
  .designer_wrap {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
    padding-top: 69px;
  }
  .tit_box {
    width: 100%;
  }
  .designer_wrap {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
    padding-top: 69px;
  }
  .container > .banner {
    width: 100vw;
  }
  .tit_box {
    width: 100%;
  }
  .title_h2 {
    font-size: 19px;
  }
  .designer_wrap > .designer_control > li {
    padding: 8px 13px;
    font-size: 15px;
  }
  .designer_wrap {
    width: 100%;
  }
  .c_branchBox.active,
  .b_branchBox.active,
  .apgujeongBox.active {
    flex-direction: column;
  }
  .c_branchBox .designer_list,
  .b_branchBox .designer_list,
  .apgujeongBox .designer_list {
    flex-direction: column;
    align-items: center;
  }
  .c_branchBox .designer_list > .ghost,
  .b_branchBox .designer_list > .ghost,
  .apgujeongBox .designer_list > .ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
    padding-top: 69px;
  }
  .container > .banner > .title > h2,
  .sub_tit {
    box-sizing: border-box;
    padding: 0 10px;
  }
  .container > .banner > .title > .sub_tit {
    font-size: 16px;
  }

  .container > .banner > .title > h2 {
    font-size: 30px;
  }
  .tit_box {
    width: 100%;
  }
}
