@charset "utf-8";

/* nanumsquare */
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css');
/* roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* color */

:root {
    --main_color: #FBDF4B;

    --black: #000;
    --white: #fff;
    --red: #FF6363;
    --gray: #d4d4d4;
    --bl_gray: #5A6470;
    --green:#2C9942;

    --line_g: #7B7B7B;
    --box_black: #262931;
    --opacity_Bg: rgba(65,69,76,.8);    
    --opacity_Bg2: rgba(65,69,76,.6);
    --tg_Bg:#41454C;

    --fs20: 2rem;
    --fs24: 2.4rem;
    --fs32: 3.2rem;
    --fs60: 6rem;

    
    --ff_Nanum: 'NanumSquareAc', sans-serif;
}

/* 공통 */
body {
    color: var(--white);
    margin: 0 auto;
    width: 100%;
    background: center center / cover no-repeat url(../images/SPGM_01_BG.png) var(--black);    
    line-height: 140%;
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: 400;
}

/* color */
.yel {
    color: var(--main_color);
}
.red {color:var(--red);}
.opacity_w {
    background: rgba(255, 255, 255, .3);
}

/* font-weight */
b,
strong,
.bold {font-weight: bold;}
small {font-weight: 400;}
del {font-size: 1.4rem; color: var(--gray);}

.fs14 {font-size: 1.4rem; white-space: nowrap;}
.fs32 {font-size: var(--fs32);}
.subtitle {font-size: 2rem; font-weight: bold;}
.textArea {font-size: 1.6rem;}
.textArea.gray {color: var(--gray);}
.textLine {font-size: 2rem; border-bottom:1px solid var(--gray); padding-bottom: 1rem;}

.start {text-align: start;}

/* flex */
.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flexCol {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: var(--fs20);
    margin-bottom: 2.5rem;
}

/* btn */
#Btn {
    width: 100%;
    padding: 2rem;
    border-radius: .4rem;
    font-size: var(--fs20);
    font-weight: 500;
}
#Btn.payNow {
    padding: 10px;
    background: var(--main_color);
    border: 1px solid var(--black);
    border: none;
    cursor: pointer;
    color: var(--black);
    height: 62px;
}
#Btn.payNow.active,#Btn.payNow:hover {
    background: rgba(0, 0, 0, 0);
    color: var(--main_color);
    border: 1px solid var(--main_color);
}
#Btn.Gray {background:var(--bl_gray); color:var(--white);} 
#Btn.Gray.active {background: var(--main_color);
    color: var(--black);} 
#Btn.back,#Btn.gr_s {
    background: var(--green);
    color:var(--white);
}
#Btn.gr_s {width:fit-content; font-size: 1.6rem; padding:.8rem 1.6rem; margin:0 0 2rem auto;}
#Btn.gr_s.active , #Btn.gr_s:hover {background:var(--bl_gray);}

#Btn,
.s-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}
.s-btn {
    font-size: 1.2rem;
    border-radius: 1.2rem;
    width: 180px;
    padding: 1rem;
}

/* margin */
.mb5 {
    margin-bottom: .5rem;
}
.mb10 {
    margin-bottom: 1rem;
}
.mb15 {
    margin-bottom: 1.5rem;
}
.mb20 {
    margin-bottom: 2rem;
}
.mb25 {
    margin-bottom: 2.5rem;
}
.mb30 {
    margin-bottom: 3rem;
}
.mb60 {
    margin-bottom: 6rem;
}

/* display */
.dpNone {
    display: none;
}
.br768, .br425, .br350 {
    display: none;
}


.hid {
    visibility: hidden;
}

/* opacity */
.op-0 {
    opacity: 0;
}

/* borderStyle */
.bdStyle {
    border-bottom: 1px solid var(--line_g);
}
.bdStyle01 {
    border-bottom: 1px dashed var(--red); 
}
.bdStyle02 {
    border-bottom: 1px solid var(--gray); 
}
/* boxStyle */
.boxStyle {background: var(--opacity_Bg); padding:3rem; border-radius: 1.2rem;}

/* topButton */
#topButton {
    position: fixed;
    bottom: 4rem;
    right: 6rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    transform: rotate(0);
}

#topButton.visible {
    transform: rotate(180deg);
}
.kakaoBtn {
    color: var(--black);
    background: var(--main_color);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    z-index: 1;
    right: 6rem;
    bottom: 9rem;
    position: fixed;
}

/* ----------------------------------
SPGM_01 구매목록
---------------------------------- */
header {    top: 0;
    width:100%;    
    margin: 0 auto;
    position: fixed;
    background: rgba(0, 0, 0, 0.4);
}

header .headerWrap {
    padding: 1.8rem 3rem;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

/* content */
#Wrap {
    margin: 0 auto;
    max-width: 1024px;
    padding-top:10rem;
}

#Wrap section {
    margin: 2rem auto 5rem;
    color: var(--white);
    padding: 0 3rem;
}
#Wrap section.inner >* {margin-bottom:6rem;}
/* #Wrap section.inner >*:last-child {margin-bottom:0;} */

.SPGM_01_title {
    margin-bottom: 3.6rem;
}

.SPGM_01_title h1 {
    font-size: var(--fs60);
    font-weight: bold;
    margin-bottom: 2.4rem;
    font-family: var(--ff_Nanum);
}

.SPGM_01_title h5 {
    font-size: var(--fs20);
    margin-bottom: 2.2rem;
}

.SPGM_01_title label {
    font-size: 1.6rem;
    padding: 1rem;
    color: var(--main_color);
    border: 1px solid var(--main_color);
    border-radius: 50px;
}

.SPGM_01_buyWrap {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    flex-flow: row wrap;
}

.SPGM_01_buyWrap .SPGM_01_flexBox {
    width: 49%;
    display: flex;
    flex-flow: column;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex {
    display: flex;
    align-items: center;
    max-height: 199px;
    height: 100%;
    overflow: hidden;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex>* {
    width: 50%;
    height: 100%;
}
.SPGM_01_buyWrap .SPGM_01_flexBox .flex img {
    border-radius: 20px 0 0 0;
    width: 100%;
    height: inherit;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w {
    padding: 2rem 1.2rem;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    border-radius: 0 20px 0 0;
    font-size: 1.6rem;;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .priceBox {display: flex; justify-content: space-between; align-items: center;}
.SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .price {
    margin-left: auto;
    text-align: end;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .price .text {
    font-size: 2.4rem;
    font-weight: bold;
}

.SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .price .text small {
    font-size: 2rem;
    font-weight: normal;
}

.SPGM_01_buyNow {
    background: var(--main_color);
    color: var(--black);
    font-size: var(--fs20);
    border-radius: 0 0 20px 20px;
    text-align: center;
    padding: 1rem;
}

/* footer */
footer {
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 0; line-height: 130%;
}

footer .foothead {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

footer .footbot {
    color: var(--gray);
    text-align: center;
}

footer .footbot .footList {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .footbot .footList span {
    position: relative;
    margin-right: .5rem;
}

footer .footbot .footList span::after {
    content: '|';
    display: inline-block;
    color: var(--white);
    font-size: 1.2rem;
    margin-left: .5rem;
}

footer .footbot .footList div:nth-child(2) span:last-child::after {
    display: none;
}

/* ----------------------------------
SPGM_02 구매상세
---------------------------------- */
.SPGM_02_title {align-items: flex-start;}
.SPGM_02_flexWrap {
    display: flex;
    flex-flow: row;
    gap: 3.6rem;
}
.SPGM_02_flexWrap>img {
    height: fit-content;
}

.SPGM_02_flexWrap .box {
    width: 100%;
    font-size: 1.6rem;
}
.SPGM_02_flexWrap .box>* {
    margin-bottom: 2rem;
}
.SPGM_02_flexWrap .box>*:last-child {
    margin-bottom: 0;
}
.SPGM_02_flexWrap .titleBox {
    font-size: 3.6rem;
    line-height: 140%;
    text-align: justify;
}
.SPGM_02_flexWrap .titleBox h2:first-child {font-family: var(--ff_Nanum);}
.SPGM_02_flexWrap small {
    font-size: 2.2rem;
}
.SPGM_02_flexWrap .box .useBox {
    width: 100%;
    background: var(--box_black);
    padding: 1.5rem 2rem;
    border-radius: .8rem;
    font-weight: normal;
}
.SPGM_02_flexWrap .box .useBox i {
    margin-right: 1rem;
}

/* ticket */
.ticket-container hr {
    border-bottom: 1px solid var(--white);
}
.ticket-item {
    display: flex;
    flex-flow: column;
    margin: 10px 0;
    background: #373B43;
    padding: 1.2rem 2rem;
    border-radius: .4rem;
    gap: 1rem;
}
.ticketBtn_Area {
    background: #4C545E;
    display: flex;
    align-items: center;
    border-radius: .8rem;
    gap: 1rem;
    padding: .5rem 1.2rem;
}
.ticketBtn {
    cursor: pointer;
    color: var(--white);
    font-size: 2.4rem;
    width: 24px;
    height: 24px;
}

.ticketBtn-minus {
    color: #7B7B7B;
}

.total-price {
    text-align: end;
    font-size: 1.6rem;
    margin-top: 2rem;
}


/* tabmenu */
.maintab-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.maintab {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 4rem;
}
.maintab>li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    box-sizing: border-box;
    -webkit-transition-property: color, border-color, background-color, box-shadow;
    -webkit-transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-in-out;
    transition-property: color, border-color, background-color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}
.maintab>li a {
    width: 100%;
    font-size: 2rem;
    text-align: center;
    color: var(--bl_gray);
    font-weight: bold;
    border-bottom: 4px solid var(--bl_gray);
    padding: 1.3rem;
    -webkit-transition-property: color, border-color, background-color, box-shadow;
    -webkit-transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-in-out;
    transition-property: color, border-color, background-color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}
.maintab>li.active a {
    color: var(--main_color);
    border-color: var(--main_color);
}
.maintab>li.active:hover a,
.maintab>li.active {
    cursor: default;
}
.maintab:not(.subtab, .tab-indecate)>li:not(.active) a:hover {
    color: var(--main_color);
}

.tabcontents {
    display: block;
}
.tabcontents .tabcon {
    display: none;
    padding: 10px 0px;
    font-size: 1.6rem;
}
.tabcontents .tabcon .textBox {
    margin-bottom: 2rem;
}
.tabcontents .tabcon .textBox:last-child {
    margin-bottom: 0;
}
.tabcontents .tabcon .textBox .subtitle {
    margin-bottom: .8rem;
}
.tabcontents .tabcon .textBox .textArea {
    font-weight: 300;
    margin-bottom: 2rem;
}
.tabcontents .tabcon .textBox .textArea:last-child {
    margin-bottom: 0;
}
.tabcontents .tabcon .textBox .textArea .t_flex {
    display: flex;
    gap: .4rem;
}
.tabcontents>div.active {
    display: block;
}
@media (max-width: 480px) {
    /* .maintab-wrap {margin-bottom: 2rem;} */
    .maintab {
        margin-bottom: 2rem;
    }

    .maintab>li {
        width: calc(100% / 2);
    }

    .maintab>li a {
        font-size: 1.4rem;
        padding: 2rem 1rem;
    }
}

/* ----------------------------------
SPGM_02_02 날짜 선택형
---------------------------------- */
.selectDate_Wrap {
    font-size: 1.6rem;
}
/* calendar  */
.calendar {
    margin: 20px 0 0;
    background: var(--box_black);
    padding: 2rem;
    border-radius: .4rem;
}
.calendar>* {
    margin-bottom: .8rem;
}
.calendar>*:last-child {
    margin-bottom: 0;
}

/* yyyy/mm & arrow */
.calendar-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#currentMonth {
    margin-right: auto;
}

.calendar-header button {
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* 캘린더 -> day */
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
}
.days div {
    padding: .8rem;
    text-align: center;
    color: var(--bl_gray);
}
.day {
    cursor: pointer;
    min-width: 48px;
    height: 48px;
    display: flex;
    flex-flow: column;
    align-items: center;
    line-height: 100%;
    gap: .5rem;
}
/* day -> 매진or 수량 */
.day .daySmall {
    font-size: .8rem;
}
.day.sold-out {
    background: var(--bl_gray);
    color: var(--main_color);
    border-radius: 99px;
    margin: 0 auto;
    width: fit-content;
}
/* day -> 7일 활성화 */
.day.selected {
    color: white;
}

.weekday-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: bold;
    text-align: center;
}
/* ----------------------------------
SPGM_03 주문서 작성
---------------------------------- */
/* select */
.select-box {
    width: 100%;
    max-width: 16rem;
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .select-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(110, 115, 124, 0.4);
    border-radius: 7px;
    padding: 0.8rem 1.2rem;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    width: 100%;
    height: 4.2rem;
    font-size: 1.4rem;
    letter-spacing: -0.03rem;
    color:var(--white);
  }
  
  .select-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--white);
    transition: transform 0.15s ease-in;
    pointer-events: none;
  }
/* input */
input[type="text"],
input[type="password"] {
    max-width: 240px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border_normal);
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1.4rem;
  color: var(--subtxt);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden ;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  background-color: rgba(110, 115, 124, 0.4);
}
input:focus {border-color:none; outline: none;}

/* checked */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray);    
    background-color: var(--white);
    box-sizing: border-box;
    outline: 0;
    border-radius: 4px;
    margin-right: 0.5rem;
  }
  input[type="checkbox"]:checked {
    border-color: var(--main_color);
    background-color: var(--main_color);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
  }

.checkFlex {display: flex; gap: 1.5rem; align-items: center; margin-top: 2rem;}
/* SPGM_03 */
.SPGM_03_Boxtitle { padding: 2.8rem; text-align: center; background: var(--bl_gray); border-radius: .4rem;}
.SPGM_03_Boxtitle p, .SPGM_03_order_title p {font-size: 1.4rem; font-weight: 300;}
.SPGM_03_Boxtitle h1 {font-size: 3.2rem; font-weight: 500; line-height: 150%; margin-bottom: 1rem; font-family: var(--ff_Nanum);}
/* orderBox */
.SPGM_03_orderFlex .box {display: flex; gap: 2rem; align-items: flex-start;}
.SPGM_03_orderFlex .box .text {width:100%;}
.SPGM_03_orderFlex .box .text .textArea {text-align: end;}
.SPGM_03_orderFlex .box .textLine {width:100%;}
.SPGM_03_orderBox >* {margin-bottom: 4rem;}
.SPGM_03_order_title {font-size: 2.4rem; font-weight: 500; border-bottom: 5px solid var(--gray); display: flex; align-items: center; justify-content: space-between;padding-bottom: 1rem;}
.SPGM_03_order_title h1 { margin-bottom: .4rem;}

.SPGM_03_orderBox .ticket-item {
    width:400px;
    margin-left: auto;
    background: transparent;
    padding: 1.2rem 0;
}
.SPGM_03_orderBox .ticket-item:last-child {padding:0;}
.SPGM_03_orderBox .ticket-item p {font-size: 1.4rem;}
.SPGM_03 .SPGM_03_orderBox .total-price > p {margin-bottom:2rem;}
.radioBox {display: flex; gap: 3rem; padding:0 2rem;}

/* paymentWrap */
.SPGM_03_orderBox .paymentWrap {
    
}
.SPGM_03_orderBox .paymentWrap .total-price {background:var(--bl_gray); margin-top:0; width:100%; padding:2rem;}
.SPGM_03_orderBox .total-price.ver2 {
    background: var(--main_color);
    color:var(--black);
}
.btnFlex {display: flex; gap: 2rem; justify-content: center; width: 60%; margin:0 auto ;}
.btnFlex > #Btn {max-width: 300px; width:100%;}
.btn_w30 {max-width: 300px; margin:0 auto;}

/* radio */
.SPGM_03_radio input[type="radio"] {width: 24px; height: 24px; accent-color: var(--white); background-color: transparent;}
label.SPGM_03_radio  {margin:0; gap:1rem; font-size: 2rem; display: flex; align-items: center; font-weight: 300; white-space: nowrap; } 
input[type="radio"]:checked + label,
input[type="radio"]:focus + label {
  background-color: transparent;
}

.inputArea {display: flex; gap: 1rem; align-items: flex-start;}
.SPGM_03_orderBox .inputArea {border-bottom: 1px solid var(--gray); padding-bottom: 2rem; margin-bottom: 2rem;}
.SPGM_03_orderBox .inputArea:last-child {border-bottom: 0; padding-bottom: 0; margin-bottom: 0;}
.SPGM_03_orderBox .inputArea .textArea {width:20%;}
.SPGM_03_orderBox .inputArea .flex {gap: 1rem; width:60%}

.policyArea {
    padding: 2rem;
    overflow-y: scroll;
    max-height: 180px;
    font-size: 1.4rem;
    overflow-x: hidden;
    background: var(--opacity_Bg);
    line-height: 130%;
    border-radius: .2rem;
}
.policyArea .flex {justify-content: flex-start; white-space: nowrap;}

/* ----------------------------------
SPGM_04 결제 방법
---------------------------------- */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
  }
.accordion-label {display: flex; gap: 1rem;}
/* 화살표 아이콘 기본 스타일 */
.accordion-arrow {
    transition: transform 0.3s ease-in-out;
  }

  /* 아코디언이 열릴 때 아이콘 회전 */
  .accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
  }

/* ----------------------------------
SPGM_06 조회
---------------------------------- */
.tableArea {width:100%;}
.tableArea table {width:100%; text-align: center; border-collapse: collapse; overflow: hidden;font-size: 1.4rem; border-radius: 1.2rem; line-height: 130%;;}
.tableArea th {background: var(--tg_Bg);}
.tableArea tbody tr {background:var(--opacity_Bg2);}
.tableArea tr th ,.tableArea tr td  {padding: 1rem 1.5rem; white-space: nowrap;}
.tableArea tbody tr td {font-size: 1.2rem; border-bottom: 1px solid var(--gray); text-align: center; white-space: nowrap;}
.tableArea tbody tr:last-child td {border-bottom:0;}
.tableArea .start {text-align: start;}
.tableArea input[type="checkbox"] {margin:0;}

.tableArea.mobile {display: none;}


/* ----------------------------------
반응형
---------------------------------- */
@media (max-width:980px) {
     /* SPGM_06 */
     .tableArea {display: none;}
     .tableArea.mobile {display: block;}
     .tableArea tr th ,.tableArea tr td  {padding: 1rem;}     
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .imgArea {width:45%}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w {width:100%;}
}
@media (max-width:870px) {
    #Wrap section {padding:0 4rem;}
    /* btn */
    .kakaoBtn, #topButton {right: 4rem;}
    /* boxStyle */
    .boxStyle {padding:2rem;}
    /* br */
    .br768 {display: block;}
    /* header */
    header .headerWrap {font-size: 1.6rem;}
    /* footer */
    footer .footbot .footList{flex-flow: column;}
    footer .footbot .footList div span:last-child::after { display: none;}
    /* SPGM_01 */
    .SPGM_01_buyWrap {flex-flow: column;}
    .SPGM_01_buyWrap .SPGM_01_flexBox {width: 100%;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex {align-items: stretch;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w {width: 100%; height: auto; font-size: 1.6rem;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex>* {width: auto;}
    /* SPGM_02 */
    .SPGM_02_flexWrap {flex-flow: column;}
    /* SPGM_03 */
    .SPGM_03_Boxtitle {padding:2rem 2.8rem;}
    .SPGM_03_orderBox .inputArea .textArea {width: 16%;}
    .SPGM_03_orderBox .inputArea .flex {width:80%;}
    .SPGM_03_order_title {font-size: 2rem;}
    .SPGM_03_orderBox >* {margin-bottom: 3rem;}
    label.SPGM_03_radio {font-size: 1.6rem;}
    /* input */
    .select-box select {    padding: 0.4rem 1rem;}
    .checkFlex {gap: .8rem;}
    .SPGM_03_orderBox .inputArea .textArea:nth-child(2) {width:80%;}
   
}

@media (max-width:580px) {
    .fs14, del {font-size: 1.2rem;}    
    .fs32 {font-size: 2.6rem;}
    .subtitle {font-size: 1.6rem;}
    .textArea, #Btn.gr_s {font-size: 1.4rem;}
    /* br */
    .br425 {display: block;}
    /* btn */
    .kakaoBtn, #topButton {font-size: 1.6rem; right: 2rem;}
    .kakaoBtn {bottom: 30%; box-shadow: 0px 0px 3px 0px #555555;}
    #topButton {display: none;}
    #Btn, .s-btn {font-size: 1.8rem;}
    #Btn.payNow , #Btn.back, #Btn.gr_s, #Btn.Gray{height: auto;}
    /* Wrap */
    body {font-size: 1.6rem;}
    header .headerWrap {padding:1.3rem 2rem;}
    #Wrap section {padding: 0 2rem;}
    /* SPGM_01 */
    .SPGM_01_title h1 {font-size: 3.5rem;}
    .SPGM_01_title h5 {font-size: 1.8rem;}
    .SPGM_01_title label  {font-size: 1.4rem; padding: .8rem 1rem;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex img {border-radius: 10px 0 0 0; min-height: 112px;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w {border-radius: 0 10px 0 0; padding: 1rem 1.2rem; font-size: 1.2rem; min-height: 100px;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .priceBox {flex-flow: column; align-items: end;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .price .text {font-size: 2rem;}
    .SPGM_01_buyWrap .SPGM_01_flexBox .flex .opacity_w .price .text small {font-size: 1.6rem;}
    .SPGM_01_buyNow {border-radius: 0 0 10px 10px; padding:.8rem 1rem; font-size: 1.6rem;}
    /* SPGM_02 */
    .SPGM_02_flexWrap .titleBox {font-size: 2.6rem;}
    .maintab>li a {padding: 1rem;}
    /* SPGM_03 */
    .SPGM_03_Boxtitle p, .SPGM_03_order_title p {font-size: 1.2rem; text-align: center;}
    .btnFlex {width:100%;}
    .btnFlex #Btn {padding:1.2rem 1rem;}
    .checkFlex{align-items: flex-start;}
    .checkFlex input[type="checkbox"] {margin-top: .2rem;}
    .checkFlex .textArea {font-size: 1.4rem;}
    input[type="checkbox"] {width:18px; height: 18px;}
    .SPGM_03_Boxtitle {padding: 2rem;}
    .SPGM_03_Boxtitle h1 {font-size: 2.8rem;}    
    .textLine {font-size: 1.8rem;}
    .SPGM_03_orderFlex .box .textArea {font-size: 1.2rem; margin-top:.5rem;}
    /* SPGM_04 */   
    #Btn.btn_w30 {max-width: 180px; padding:1.2rem 1rem;}    
    .accordion .textArea, .accordion-content .textArea  {font-size: 1.4rem;}
}

@media (max-width:450px){
    /* text */
    /* btn */
    .kakaoBtn {font-size: 1.4rem; padding: .6rem 1.2rem; bottom: 35%;}
    #Btn, .s-btn{font-size: 1.6rem;}

    /* footer */
    footer .foothead {gap: 2rem;}
    footer .footbot .footList > div {display:flex; flex-flow: column;} 
    footer .footbot .footList span::after {display: none;}
     /* SPGM_01 */
    .SPGM_01_title h5 {font-size: 1.6rem;}
    /* SPGM_02 */
    .SPGM_02_flexWrap .box .useBox {font-size: 1.4rem;}
    /* SPGM_03 */
    .SPGM_03_Boxtitle h1 {font-size: 2.6rem;}
    .SPGM_03_order_title {flex-flow: column;}
    .SPGM_03_orderBox .paymentWrap .total-price {padding:1rem; font-size: 1.4rem;}
    .SPGM_03 .SPGM_03_orderBox .total-price > p {margin-bottom: 1rem;}
    .SPGM_03_orderBox .paymentWrap .total-price .fs32 {font-size: 2.2rem;}
    .SPGM_03_orderBox .ticket-item {width:100%;}
    .textLine {font-size: 1.4rem;}
    .policyArea {font-size: 1.2rem;}
    /* check */
    .checkFlex {gap: .3rem;}
    .radioBox {gap: 2rem;}
    .SPGM_03_radio input[type="radio"] {width:20px; height: 20px;}
    .SPGM_03_orderFlex .box {gap: 1rem;}
    .SPGM_03_orderFlex .box img {width: 30%;}
    .textLine {font-size: 1.4rem;}
    .SPGM_03_orderBox .inputArea {flex-flow: column; padding-bottom: 1.5rem; margin-bottom: 1.5rem;}
    .SPGM_03_orderBox .inputArea .textArea, 
    .SPGM_03_orderBox .inputArea .flex {width:100%;}
    input[type="text"], input[type="password"] {max-width: 100%;}
    .select-box i {right:8px;}
    /* SPGM_04 */    
    .accordion .textArea, .accordion-content .textArea  {font-size: 1.2rem;}
    .tableArea tr th, .tableArea tr td {padding: 1rem .5rem;}
}
@media (max-width:400px){
    .br350 {display: block;}
    /* btn */
    .kakaoBtn {bottom: 43%;}
    /* header */
    header .headerWrap {font-size: 1.4rem;}
    /* calendar */
    .day {min-width: 38px; height: 38px;font-size: 1.2rem; gap: .2rem;}
    .days div {padding: .6rem;}
    /* .day .daySmall {font-size: .6rem;} */
    
    .SPGM_03_orderBox .paymentWrap .total-price {padding:1rem; font-size: 1.2rem;}
    .SPGM_03_orderBox .paymentWrap .total-price:nth-child(2) {width:80%;}

    .SPGM_03_Boxtitle h1 {font-size: 2.2rem;}
    .tableArea tbody tr td {font-size: 1.1rem;}
}