.outer {
    width: 100%;
    max-width: 1920px;
    height:100%;
    margin: 0 auto;
}

h1.pth1 {
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  padding-top: 15px;
  margin : 40px auto;
  color: #000;
  border-top:3px solid #E2B33D;
  width: 700px;
}

.pt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:1180px;
    height: 45px;
    margin: 0 auto;
    margin-bottom:30px;
    border-bottom:3px solid #E2B33D;
    box-sizing: content-box;
}

.pt li { list-style: none; }
.pt a{ text-decoration: none; height: 45px; }

/* ✅ 최상위 탭: 연속(한 줄) + 많으면 가로 스크롤 */
.tabnav {
    font-size:0;
    width:100%;
    height: 45px;
    padding: 0;
    margin: 0;
    border: none;

    display: flex;
    flex-wrap: nowrap;         /* 줄바꿈 금지 */
    overflow-x: auto;          /* 넘치면 가로 스크롤 */
    overflow-y: hidden;
    white-space: nowrap;
    gap: 8px;                  /* li margin 대신 */
    -webkit-overflow-scrolling: touch;
}

.tabnav li {
    display: block;
    flex: 0 0 auto;
}

.tabnav li a { 
    width:180px; 
    height:45px; 
    text-align:center; 
    display:block; 
    background: #DADADA; 
    color: #888; 
    font-size:25px;
    font-weight: bold;
    line-height: 2;
    box-sizing: border-box; 
    border-radius: 20px 20px 0 0;
}

.tabnav li a:hover,
.tabnav li a.active {
    background:#E2B33D; 
    color:#000; 
    font-size: 25px;
    font-weight: bold;    
    text-decoration: none !important;
}

.phototitle {
  text-align:center;
  font-size: 25px;
  font-weight: bold;
  height: 45px;
  line-height: 45px;
  background: #E2B33D;
  color: #000;
  border-radius: 22.5px;
  box-sizing: border-box;
}

.add { margin-top:50px; }

.tab_container {
  position: relative;
  width:100%;
  margin:0 auto;
}

.buttons {
  width: 1180px;
  height: 50px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #888;
  border-radius: 25px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 35px;
}

button {
  background: none;
  display:inline-block;
  border: none;
}

button a {
  font-size:16px;
  font-weight: bold;
  color:#888;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button.active a {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  color: #000;
}

.tabs { padding-top:20px; }

.tab_content { display:block; }  

.slider {
  width:1100px;
  height:300px;
  margin: 0 auto;
}

.slick-next {
  background: url(/img/ps/next.png) no-repeat center;
  width: 60px;
  height: 60px;
}

.slick-prev {
  background: url(/img/ps/prev.png) no-repeat center;
  width: 60px;
  height: 60px;
}

.slick-next:before { content: url(/img/ps/next.png); }
.slick-prev:before { content: url(/img/ps/prev.png); }

.slider .slick-list {
  width: 1000px;
  margin: 0 auto;
}

.tab_content .slick-slide { margin:0 7px; }

.item { height:280px; }
.item img { height:280px; }
