/* 디자인 의뢰하기 -- service/sub_order/design_request.asp
   CSS ONLY ON THE LEGACY MARKUP: both lanes serve the same page and this sheet,
   linked for this page alone, is the whole difference between them. */

/* The page has no single wrapper: its content is three siblings of <header>.  Reaching
   for <section class="design_request"> instead would put the menu and the footer inside
   every rule below, so the tokens are handed to the three blocks themselves. */

@media (max-width: 1023px) {
.design_request main#main,
.design_request > section,
.design_request article.design_center {
  --c-primary: #159fda;
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  text-align: left;

  font-size: 14px; line-height: 1.5; letter-spacing: -.01em; color: #3a3d44;
  box-sizing: border-box;
}

.design_request main#main *,
.design_request > section *,
.design_request article.design_center *,
.design_request main#main *::before,
.design_request > section *::before,
.design_request article.design_center *::before,
.design_request main#main *::after,
.design_request > section *::after,
.design_request article.design_center *::after { box-sizing: border-box; }

/* ---- 메인 비주얼 ---- */

/* sub.css gives every <main> a 560px height and a photograph of its own; height:auto lets
   the block be as tall as its content, and the shorthand swaps that photograph for the
   page's top.jpg -- kept BEHIND the text at every width, as the desktop layout has it. */

/* 20% rather than centre: cover crops harder as the block narrows, and centring drags the
   phone under the text (3 of 4 lines at 375 by hero_textink.py). Sliding the frame left
   holds every line on the flat half at 320-1023 while the composition stays desktop's. */

.design_request main#main {
  height: auto; overflow: hidden;
  background: #f6f6f6 url(/service/sub_order/img/design_request/top.jpg?t=1)
              no-repeat 60% center / cover;
}

.design_request main .bulk_top {
  width: auto; max-width: 1200px; padding: 60px 30px;
}

.design_request main .bulk_top span.sub_tit {
  display: block; height: auto; margin: 0; padding: 0; background: none;
  font-family: "Montserrat", sans-serif;
  letter-spacing: .12em; color: var(--c-primary);
}

.design_request main .bulk_top h3 {
  margin: 14px 0 20px;
  font-size: 42px; font-weight: 900; line-height: 1.5; letter-spacing: -.03em; color: #222;
}

.design_request main .bulk_top h3 em {color:#333; }

.design_request main .bulk_top p { font-size: 15px; line-height: 1.9; color: #666; }

/* sub.css takes this line out of flow and hangs it 70px below the paragraph; the mockup
   has it as a second paragraph. */

.design_request main .bulk_top span.sub_copy {
  display: block; position: static; margin-top: 20px; padding-top: 0;
  font-size: 15px; line-height: 1.9; color: #666;
}

/* ---- 탭 ---- */

.design_request section.sub_cont_box { margin-top: 0; text-align: left; }

.design_request > section > article.sub_default { width: auto; }

/* The bar follows the reader.  No wrapper exists to hold it, so the list itself is
   what sticks; the opaque background is part of the mechanism -- legacy leaves this
   list transparent and the panel would scroll through it. */

.design_request .tab_default ul.tab_btn_wrap {
  display: flex; max-width: 1200px; margin: 0 auto; padding: 0 30px;
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid #e5e8ec;
}

/* sub.css hangs a clearfix on this list.  Inside a flex container ::after is one more
   flex item, and it would sit past the last tab as an empty column. */

.design_request .tab_default ul.tab_btn_wrap::after { display: none; }

.design_request .tab_default ul.tab_btn_wrap > li {
  float: none; display: block; width: auto; height: auto;
  margin-bottom: -1px; padding: 20px 26px;
  border: 0; border-bottom: 2px solid transparent;
  font-weight: 600; color: #999;
  line-height: normal; letter-spacing: normal;
}

.design_request .tab_default ul.tab_btn_wrap > li.active {
  border: 0; border-bottom: 2px solid #333;
  font-weight: 800; color: #222;
}

/* sub.css makes this span a table-cell with vertical-align:middle; the display goes back
   to inline, and so must the alignment -- middle on an inline box grows the line box by
   2.4px whatever the font size, which is 2.4px on every tab and on the rule under them. */

.design_request .tab_default ul.tab_btn_wrap > li > span {
  display: inline; vertical-align: baseline;
}

/* ---- 탭 내용 ---- */

/* No display here, ever: main.js drives the panels with jQuery .hide()/.fadeIn(), which
   writes display inline -- and any author rule with !important would freeze them. */

.design_request .tab_cont_wrap { max-width: 1000px; margin: 0 auto; padding: 56px 30px 90px; }

/* The page's <style> pads this block 100px top AND bottom: a desktop gutter that
   is 200px of blank on a 375 column, on all five panels. */

.design_request .cont_box > section > span.sub_copy {
  display: block; width: auto; margin: 0; padding: 0; text-align: center;
}

.design_request .cont_box > section > span.sub_copy dt {
  font-size: 28px; font-weight: 900; letter-spacing: -.02em; color: #222;
}

.design_request .cont_box > section > span.sub_copy dd {
  margin: 12px 0 0; font-size: 14.5px; color: #888;
}

.design_request .tab_cont_wrap article.system_txt,
.design_request .estimate .table { width: auto; margin: 56px 0 0; }

/* .pt70/.pt100/.pt200 of the page's <style> are desktop gutters -- 70 to 200px of blank
   ABOVE a section, on top of the 56px already there.  The mockup has no such ladder:
   every .dr-sec is 56px from the last, so at tablet/mobile the ladder goes. */

.design_request .tab_cont_wrap .system_txt.pt70,
.design_request .tab_cont_wrap .system_txt.pt100,
.design_request .tab_cont_wrap .system_txt.pt200 { padding-top: 0; }

/* ---- 구역 제목 ---- */

.design_request .tab_cont_wrap .system_txt h4,
.design_request .design_center h5 {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  padding-bottom: 14px; border-bottom: 2px solid #333;
  font-size: 24px; font-weight: 900; color: #222;
}

/* The mockup's 60x2 bar after the title has no element in the legacy markup.  13.13px is
   where its vertical-align:middle sat in a 36px line, solved from 24 screenshots to a
   0.05px window; design_request_ink.py is what holds it, on pixels. */

/* The page's <style> pins this pseudo at right:0, which took it out of the flex flow
   and floated the bar over the lead sentence; the order and align-self below are
   inert until position goes back to static. */

.design_request .tab_cont_wrap .system_txt h4::after,
.design_request .design_center h5::after {
  content: ""; order: 1; align-self: flex-end; position: static;
  width: 60px; height: 2px; margin: 0 auto 13.13px 14px; background: #333;
}

/* The page's own <style> pins this absolute with right:0 and margin-top:-30px, so it
   was lifted out of the flex flow and printed ON TOP of the title; order and
   align-self are inert until position goes back to static. */
.design_request .tab_cont_wrap .system_txt h4 > .sub_minitit {
  position: static;
  order: 2; align-self: flex-end; text-align: right;
  font-family: "Montserrat", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--c-primary);
}

/* Two sections keep their lead sentence INSIDE the <h4>, so the rule under the title
   cannot be the h4's own bottom border -- it is this block's top border, on the same
   2px of screen. */

.design_request .tab_cont_wrap .system_txt h4 > span {
  order: 3; width: 100%;
  margin-top: 14px; padding-top: 18px; border-top: 2px solid #333;
  font-size: 14.5px; font-weight: 400; line-height: 1.9; color: #555;
}

.design_request .tab_cont_wrap .system_txt h4:has(> span) {
  padding-bottom: 0; border-bottom: 0;
}

/* Legacy opens that span with a <br>, which would leave an empty line above the sentence.
   Blink ignores display on <br> for layout -- but not display:none. */

.design_request .tab_cont_wrap .system_txt h4 > span br { display: none; }

/* The page's <style> pins .tit absolute inside a 50px h5, so the title printed on top of
   its own lead sentence.  static puts it back in flow and the 50px stays a floor so short
   titles do not move. */

/* fit-content keeps the legacy #c9eeff bar hugging the text instead of spanning the
   column.  The port table asked for no bar on this title at all; keeping it is a
   deliberate departure, chosen so the nine headings already shipping it do not move. */

.design_request .tab_cont_wrap .system_txt h5 {
  margin: 34px 0 10px; height: auto; min-height: 50px;
}

.design_request .tab_cont_wrap .system_txt h5 > .tit {
  position: static; width: fit-content;
  font-size: 18px; font-weight: 800; color: #222;
}

.design_request .tab_cont_wrap .system_txt h5 > span,
.design_request .tab_cont_wrap .system_txt > div > h3 {
  display: block; margin-top: 18px;
  font-size: 16px; line-height: 1.9; color: #555;
}

/* ---- 목록 ---- */

.design_request .tab_cont_wrap ul { margin-top: 22px; }

/* markers are legacy's own (decimal / disc / none per list, from the page's <style>);
   a ::before dot used to double them */

.design_request .tab_cont_wrap ul > li {
  padding: 6px 0;
  font-size: 16px; line-height: 1.9; color: #555;
}

.design_request .tab_cont_wrap ul > li > h3 { font-size: inherit; }

/* Legacy wraps every list item in <h3>; the mockup body kept that wrapper on the FIRST
   item of the four 의뢰 시 유의사항 lists only, where it renders at the UA's 1.17em.
   Reproduced, not corrected -- a port is not the place to change what a page looks like. */



.design_request .tab_cont_wrap .coral_color { font-weight: 600; }

.design_request .tab_cont_wrap .txt_underline { text-decoration: none; }

/* ---- 이미지 ---- */

/* .option/.makelogo/.estimate each pin this box from a FOUR-class selector in the
   page's <style>, so the three-class rule that stood here never applied and the boxes
   kept 100px/70px desktop gutters.  The doubled class outranks all three. */

.design_request .tab_cont_wrap .system_txt .img_box.img_box {
  margin: 24px 0 0; padding: 16px; background: #fafbfc; border-radius: 8px;
  text-align: center;
}

.design_request .tab_cont_wrap .img_box > img { margin: 0 auto; border-radius: 6px; }

.design_request .tab_cont_wrap .img_box > p { margin-top: 14px; font-size: 13px; color: #888; }

/* The mockup puts the A/B/C type list above the sample image; the legacy markup has them
   the other way round, and order is the one thing flex can put back. */

.design_request .makelogo .system_txt.pt200 { display: flex; flex-direction: column; }

.design_request .makelogo .system_txt.pt200 > ul { order: 1; }

.design_request .makelogo .system_txt.pt200 > .img_box { order: 2; }

/* ---- 표 ---- */

.design_request .tab_cont_wrap table.tb_default5 { margin-top: 18px; border: 0; }

/* sub.css hides every .tb_default5 caption; the mockup shows both of them as the label
   of the table under it. */

.design_request .tab_cont_wrap table.tb_default5 caption {
  display: table-caption; padding-bottom: 10px; text-align: left;
  font-size: 15px; font-weight: 800; color: #222;
}

/* Alignment stays as sub.css sets it: .tb_default5 centres every cell and neither
   table here carries td.text_left, so the head and the first column read the same
   as they do on desktop instead of turning left only below 1024. */
.design_request .tab_cont_wrap table.tb_default5 th {
  padding: 14px 12px; border: 0;
  border-top: 1px solid #d5d9df; border-bottom: 1px solid #d5d9df;
  background: #f4f5f7; font-size: 14px; color: #333;
}

.design_request .tab_cont_wrap table.tb_default5 td {
  padding: 14px 12px; border: 0; border-bottom: 1px solid #eef0f3;
  font-size: 14px; color: #555;
}

.design_request .tab_cont_wrap table.tb_default5 tr:nth-child(even) td { background: #fafbfc; }

.design_request .estimate .table > p:first-child {
  font-size: 14.5px; line-height: 1.9; color: #555;
}

.design_request .tab_cont_wrap button.btn_default {
  margin-left: 8px; padding: 8px 18px;
  background: var(--c-primary); border-radius: 4px;
  font-size: 13.5px; font-weight: 700; color: #fff;
  line-height: 1.9; letter-spacing: inherit; text-align: inherit;
}

/* Legacy pins this button at 150x30 from a selector that out-ranks the rule above, so
   the padding and line-height added there pushed the second word out of a clipped box.
   Releasing both axes lets the label size itself. */

.design_request .tab_cont_wrap .estimate .system_txt button.btn_default {
  height: auto; width: auto;
}

/* ---- 디자인 센터 ---- */

/* The page's <style> parts this block from the panel with 100px and a 1px #333 rule.
   The mockup has neither -- .dr-wrap-tail is padding-top 0 with no border -- so the
   panel's own bottom padding is the whole gap. */

.design_request article.design_center {
  width: auto; max-width: 1000px; padding: 0 30px 90px;
  border-top: 0; margin-top: 0;
}

/* 24px, not the mockup's 56: this card and .img_box are the same grey 8px-radius
   object, and after the pt ladder went the 56 read as a hole under the title.
   A departure from .dr-center, asked for and kept only below 1024. */

.design_request .design_center > section {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 24px; padding: 30px 34px; background: #fafbfc; border-radius: 8px;
}

.design_request .design_center > section > article { flex: 1; min-width: 240px; }

.design_request .design_center > section > article > span {
  display: block; margin: 0 0 8px; font-size: 13.5px; color: #666;
}

.design_request .design_center > section > article > h4 {
  margin-bottom: 12px; font-family: "Montserrat", sans-serif;
  font-size: 16px; font-weight: 800; color: #333;
}

.design_request .design_center img { max-width: 190px; }

.design_request .design_center > p {
  margin-top: 20px; padding: 18px; background: var(--c-primary); border-radius: 6px;
  text-align: center; font-size: 15px; font-weight: 700; color: #fff;
}
}

@media (max-width: 1023px) {

  /* The text sits ON the artwork, so this padding is the whole hero: it is what decides
     the block height, and cover reframes the picture whenever that height changes. */
  .design_request main .bulk_top { padding: 36px 16px 8px; }

  .design_request main .bulk_top h3 { font-size: 30px; }

  .design_request .tab_default ul.tab_btn_wrap {
    overflow-x: auto; scrollbar-width: none; padding: 0 12px;
  }


  .design_request .tab_default ul.tab_btn_wrap > li {
    flex: 0 0 auto; padding: 16px; font-size: 14px; white-space: nowrap;
  }

  .design_request .tab_cont_wrap { padding: 34px 16px 60px; }

  .design_request .tab_cont_wrap .system_txt h4 > .sub_minitit {
    align-self: auto; width: 100%; margin-top: 6px; text-align: left;
  }

  /* The page's <style> pins these images at width:800px, and today they only fit because
     a SHARED sheet caps every image while overflow-x:clip hides the rest. Doubling
     .img_box outranks that chain, so the page stops depending on either. */
  .design_request section .system_txt .img_box.img_box img {
    width: auto; max-width: 100%; height: auto;
  }

  .design_request .tab_cont_wrap table.tb_default5 th,
  .design_request .tab_cont_wrap table.tb_default5 td { padding: 10px 6px; font-size: 16px; }

  .design_request article.design_center { padding: 0 16px 60px; }

  .design_request .design_center > section { flex-direction: column; gap: 24px; padding: 22px; }

  .design_request .tab_cont_wrap ul > li > h3 {line-height: 25px !important;}


}

