body {
    font-family: 'Pretendard', 'Metric', sans-serif;
    background-color: #F1F1F1;
    margin: 0;
    padding: 0;
    color: #003B4B;
}

a, a:hover, a:focus {
  color: #003B4B;
}

/* 
================================================================================== main assets area
*/
/* header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 30px;
  position: relative;
}

.site-header a:hover,
.menu-left a.active {
  text-decoration: underline !important;
}

.menu-bar {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.logo-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger img {
  width: 25px;
  height: 25px;
}

/* 메뉴 숨김 기본값 */
.menu {
  display: flex;
  position: fixed;
  top: 85px;
  left: 0;
  width: 300px;
  height: 100vh;
  background: #F1F1F1;
  border-right: 1px solid #ddd;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  flex-direction: column;
  width: 690px;
  /* padding-top: 2rem; */
  color: #003B4B;
}

.menu.active {
  transform: translateX(0);
}

.menu-left {
  flex: 0 690px 0; /* 고정 너비 */
}

.menu-left ul
, .menu-right ul {
  list-style: none;
}

.menu-left ul {
  padding: 0;
  margin: 0;
  display: flex; /* 가로 배치 */
  font-size: 16px;
  font-weight: 600;
}

.menu-right ul {
  font-size: 13px;
  padding-left: 3rem;
}

.menu-left li {
  margin-bottom: 0px;
  flex: 1; /* li가 ul 전체 너비를 균등 분배 */
  text-align: center; /* 텍스트 중앙 정렬 */
}

.menu-right {
  flex: 1;
  padding: 20px;
}

.menu-right-top a {
  display: block;   /* 한 줄씩 쌓이도록 */
  margin-bottom: 8px; /* 원하는 간격 */
  text-decoration: none;
  color: #003B4B;
  font-size: 13px;
  font-weight: 400;
}

.menu-right img {
  width: 100%;
  display: block;
  margin-bottom: 5px;
}

.menu-right .desc {
  font-size: 13px;
  color: #333;
}

.menu-right-top {
  display: inline-block;
  float: left;
  padding-left: 3rem;
}

.menu-right-bottom {
  display: inline-block;
  position: absolute;
  right: 3.5rem;
  width: 57%;
}

/* category title */
.category-list {
    width: 100%;
    height: 35px;
    background: #003B4B;
    display: flex;
    align-items: center;
}

.category-list h3 {
    font-size: 15px;
    font-family: 'Metric';
    color: #F1F1F1;
    font-weight: 400;
    margin: 0 13px;
    line-height: normal;
}

/* asset */
.asset-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0;
}

.asset-card {
    border-right: 1px solid #003B4B;
    border-bottom: 1px solid #003B4B;
    width: 640px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 670px;
    position: relative;
}

.asset-card .thumbnail {
    width: 639px;
    height: 384px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.asset-card h4 {
    font-size: 20px;
    color: #003B4B;
    margin: 10px 13.33px 80px;
}

.asset-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-bottom: 10px;
}

.asset-card p {
    color: #003B4B;
    font-family: 'Pretendard';
    font-size: 14px;
    font-weight: 400;
    line-height: 125%;
    margin: 10px 14px 0 14px;
}

.asset-card a {
    font-size: 11px;
    color: #003B4B;
    text-decoration: none;
    font-weight: 400;
    position: absolute;
    left: 13px;
    bottom: 10px;
}

.asset-card a:hover {
    text-decoration: underline !important;
}

/* mobile */
@media screen and (max-width: 767px) {
  .site-header {
    padding: 12px 10px;
  }
  .logo {
      width: 105px;
      height: 23.445px;
      flex-shrink: 0;
      aspect-ratio: 105 / 23.44;
  }

  .menu {
      width: 100%;
      top: 52px;
      flex-direction: column;
      padding-top: 2rem;
      border-right: none;
  }

  .menu-right ul {
      padding-left: .5rem;
  }

  .menu-right-bottom {
      right: 1.5rem;
      width: 60%;
  }

  .menu-right-top {
      padding-left: 0;
  }
    .category-list h3 {
        /* font-size: 11px; */
        font-size: 14px;
        margin-left: 11px;
        font-weight: 400;
    }
    .asset-card {
        width: 100%;
        height: 585px;
    }
    .asset-card .thumbnail {
        width: 100%;
        height: 300px;
    }
    .asset-card h4 {
        font-size: 20px;
        margin-bottom: 58px;
    }
    .asset-card a{
        left:10px;
        /* font-size:9px; */
    }
    .asset-card p {
        margin: 9px 10px 0 10px;
        /* font-size: 11px; */
    }
    .asset-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* 
================================================================================== detail assets area
*/
.detail-wrap .detail-video {
    width: 100%;
    aspect-ratio: 70 / 37;
    max-height: 956px;
    height: auto;
    display: block;
    object-fit: cover;
}

.detail-wrap .detail-video video
,.detail-wrap .detail-video img {
    object-fit: cover;
    display: block;
    height: 100%;
}

.detail-wrap .detail-title {
    margin:12px 0 0 34px;
}
.detail-wrap .detail-title h3 {
    color: #003B4B;
    font-family: 'Metric';
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 60px */
}
.detail-wrap .detail-title h3
,.detail-wrap .detail-thumbnail-2 {
    margin-bottom: 0;
}

.detail-wrap .detail-thumbnail
,.detail-wrap .detail-thumbnail-2
,.detail-wrap .detail-parts {
    text-align:center;
}

.detail-wrap .detail-thumbnail-img {
    margin: 128px auto 0;
    width: 920px;
    height: 517px;
}

.detail-wrap .detail-thumbnail p {
    color: #003B4B;
    text-align: center;
    font-family: 'Pretendard';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    margin: 43px 0 219px 0;
}

.detail-wrap .detail-middle {
    margin-bottom: 154px;
}

.detail-wrap .detail-thumbnail-2-img {
    width: 820px;
    margin:0 auto;
}

.detail-wrap .detail-thumbnail-2 p{
    margin: 70px 0 150px;
    font-size:31px;
    font-weight: 500;
}

.detail-wrap .detail-middle-2 {
    margin-bottom: 248px;
}

.detail-wrap .detail-video video
, .detail-wrap .detail-middle img
, .detail-wrap .detail-middle-2 img
, .detail-wrap .detail-middle-3 img
, .detail-wrap .detail-division-bottom img
, .detail-wrap .detail-rectangle img
, .detail-wrap .detail-middle-4 img
, .detail-wrap .detail-middle-5 img
, .detail-wrap .detail-bottom img
, .detail-wrap .detail-thumbnail-img img {
    width:100%;
    height: 100%;
}

.detail-wrap .detail-division {
    display: flex;
    gap: 20px;
  }
  
  .detail-wrap .detail-left,
  .detail-wrap .detail-right {
    flex: 1;
  }
  
  .detail-wrap .detail-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .detail-wrap .detail-right {
    position: relative;
  }
  
  .detail-wrap .detail-right h2 {
    color: #003B4B;
    font-family: 'Pretendard';
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 60px */
    position:absolute;
    top:30px;
  }
  
  .detail-wrap .detail-right p {
    color: #003B4B;
    font-family: 'Pretendard';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    position:absolute;
    bottom:30px;
    padding-right:20px;
  }
  
  .detail-wrap .detail-division-right {
    text-align: right;
  }
  .detail-wrap .detail-division-right img {
    width: 50%;
    height: auto;
  }

  .detail-wrap .detail-division-text {
    color: #003B4B;
    text-align: center;
    font-family: 'Pretendard';
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 35px */
    margin: 200px auto;
    width: 946px;
  }

  .detail-wrap .detail-rectangle-desc {
    color: #003B4B;
    text-align: center;
    font-family: 'Pretendard';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 19.2px */
    margin: 50px 0 200px;
  }
  .detail-wrap .detail-rectangle {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 항상 2열 */
    grid-template-rows: repeat(2, auto);   /* 2행 */
    gap: 0;                                /* 이미지 사이 간격 없음 (필요시 조절) */
    width: 100%;
  }

  .detail-wrap .detail-middle-4 {
    margin: 265px auto 0;
    width: 950px;
  }

  .detail-wrap .detail-final-division {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2열 고정 */
    gap: 0;
    margin: 260px 0 265px; 
  }
  
  .detail-wrap .detail-rectangle img
  , .detail-wrap .detail-final-division img {
    width: 100%;
    /* height: auto; */
    object-fit: cover;
    object-position: center center;
  }

  .detail-wrap .detail-middle-5 {
    width: 1516px;
    margin: 0 auto;
  }

  .detail-bottom-desc
  , .detail-bottom-desc-part {
    color: #003B4B;
    text-align: center;
    font-family: 'Pretendard';
    font-style: normal;
    line-height: 140%; /* 35px */
  }

  .detail-bottom-desc {
    font-size: 25px;
    font-weight: 500;
    width: 946px;
    margin:310px auto;
  }

  .detail-bottom-columns {
    display: flex;
    justify-content: space-between;   /* 좌우 끝으로 배치 */
    gap: 80px;                        /* 두 텍스트 사이 간격 (원하는 값으로 조절) */
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 236px;
    padding: 0 210px;
    box-sizing: border-box;
    position: relative;
  }
  
  .detail-bottom-columns p {
    flex: 1 1 50%;    /* 반반 차지 */
    max-width: 740px; /* 글 최대 폭 제한 */
  }

  .detail-parts {
    width: 1090px;
    margin: 0 auto 265px;
  }
  
  .detail-footer {
    text-align: center;
  }
  .detail-footer button {
    width: 308.25px;
    height: 72px;
    flex-shrink: 0;
    border: 1px solid #003B4B;
    background: #FFF;
    color: #003B4B;
    text-align: center;
    font-family: "SF Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 33.6px */
    margin: 168px auto 156px;
  }

  .pc {
    display: block;
  }

  .mobile {
    display: none;
  }

/* mobile */
@media screen and (max-width: 768px) {
  .detail-wrap .detail-thumbnail-img {
    width: 260px;
    height: 146px;
    margin-top: 84px;
  }

  .detail-wrap .detail-thumbnail p {
    margin: 37px auto 62px;
    width: 260px;
    font-size: 9px;
    line-height: 130%;
  }

  .detail-wrap .detail-middle {
    margin-bottom: 61px;
  }
  
  .pc
  , .detail-bottom-columns p:first-child
  , .detail-bottom-desc {
    display: none;
  }
  .detail-bottom-desc{
    display: block !important;
    width: 310px !important;
    font-family: Pretendard;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    margin: 15px auto;

  }

  .mobile {
    display: block;
  }

  .detail-wrap .detail-middle-2 {
    /* width: 261px; */
    margin:0 auto 66px;
  }

  .detail-wrap .detail-thumbnail-2 p {
    margin: 96px 0;
    font-size:12px;
    font-weight: 600;
  }

  .detail-wrap .detail-division-right img {
    width: 50%;
    height: auto;
  }

  .detail-wrap .detail-division-text {
    font-size: 13.5px;
    max-width: 280px;
    margin: 85px auto;
    font-weight: 600;
  }

  .detail-wrap .detail-rectangle {
    margin-bottom: 93px;
  }

  .detail-wrap .detail-rectangle-desc {
    margin: 19px 0 167px;
    font-size: 9px;
  }

  .detail-parts {
    width: 266px;
    margin: 0 auto 185px;
  }

  .detail-wrap .detail-final-division {
    margin:100px 0 0;
  }

  .detail-bottom-columns {
    padding:0;    /* mobile x scroll control */
  }
  .detail-bottom-columns p {
    width: 50%;
    position: absolute;
    right: 10%;
    top: 0;
    margin-bottom:0;
    padding:60px 0;
    font-size: 9px;
    line-height: 140%;
  }

  .detail-wrap .detail-right h2 {
    top:10px;
  }

  .detail-wrap .detail-right p {
    bottom:10px;
  }

  .detail-wrap .detail-middle-4
  , .detail-wrap .detail-middle-5
  , .detail-wrap .detail-thumbnail-2-img
  , .detail-wrap .detail-video {
    width: 100%;
  }

  .detail-wrap .detail-middle-4 {
    margin: 93px auto 0;
  }
  .detail-wrap .detail-video {
      /* min-height:263px; */
      height: auto;
      object-fit: cover;
  }

  .detail-wrap .detail-title {
      margin:4px 0 0 10px;
  }

  .detail-wrap .detail-title h3 {
      font-size: 17px;
  }
  .detail-wrap .detail-right h2 {
    font-size: 13.5px;
  }
  .detail-wrap .detail-right p {
    font-size: 9px;
    line-height: 120%;
  }

  .detail-footer button {
    width: 144px;
    height: 28px;
    color: #003B4B;
    text-align: center;
    font-family: "SF Pro";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 15.4px */
    margin: 63px auto 62px;
  }
}