@charset "utf-8";

/* 1200px 이하일 때 적용*/
@media (max-width: 1200px) {
    div:empty {
        padding: 8px 0;
    }

    .container {
        width: 100%;
        min-width: 320px;
        padding: 75px 16px 50px;
    }

    .common-tab-wrap {
        line-height: 60px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .common-tab-wrap a {
        flex: 1 0 auto;
        white-space: nowrap;
        font-size: var(--f18);
        padding: 0 15px;
        max-width: none;
    }

    .common-tab-wrap a::before {
        bottom: -1px;
    }

    .common-tab-wrap::-webkit-scrollbar {
        height: 0;
    }

    .common-tit {
        margin: 50px 0 40px;
    }

    .common-tit h4 {
        font-size: var(--f14);
    }

    .common-tit h2 {
        font-size: var(--f24);
    }

    .normal-pop {
        max-height: 90%;
        overflow-y: auto;
        padding: 40px 8px 30px;
    }

    .title-bar {
        font-size: var(--f20);
        letter-spacing: -1px;
    }

    .btn-pop-wrap {
        gap: 0 10px;
    }

    .btn-basic-wrap {
        margin-top: 40px;
    }

    .btn-basic-wrap a {
        font-size: var(--f18);
        line-height: 50px;
    }

    .breadcrumb {
        padding-top: 35px;
    }

    /*reservation*/
    .title-reser {
        padding: 0 0 10px;
        text-align: center;
        font-size: var(--f18);
        font-weight: 500;
    }

    .calendar-wrap {
        flex-direction: column;
    }

    .calendar-section {
        margin: 0;
    }

    .calendar-section .calendar-box:last-child {
        display: none;
    }

    .reservation-info-box {
        gap: 0 28px;
        height: 90px;
        width: 100%;
        border-radius: 10px;
        border: 1px solid #cbcbcb;
        margin-bottom: 24px;
    }

    .reservation-info-box span {
        margin: 0 0 10px 0;
        display: block;
    }

    .reservation-tooltip {
        justify-content: center;
        flex-direction: column;
    }

    .reservation-tooltip p {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
        line-height: 1.5em;
    }

    .reservation-tooltip p b {
        display: block;
        margin-right: 0;
    }

    .reservation-tooltip em {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .tbl-reser-head {
        position: sticky;
        top: 66px;
        z-index: 5;
        font-size: var(--f14);
    }

    .tbl-overflow {
        max-height: 100%;
        border-bottom: none;
    }

    .calendar-info {
        padding: 30px 16px;
        font-size: var(--f14);
    }

    .tbl-reser {
        font-size: var(--f14);
    }

    .tbl-reser td {
        padding: 6px 2px;
    }

    /*.tbl-reser td b {
        display: block;
        margin-right: 0;
    }*/

    span.normal-fee {
        display: block;
    }

    .tbl-reser td a {
        margin: 6px 0;
        font-size: var(--f12);
    }

    .tbl-sty01 {
        font-size: var(--f14);
    }

    .tbl-sty01.delegate th {
        word-break: keep-all;
    }


    .pop-reser-text {
        background-color: #fafafa;
        padding: 20px 16px;
        line-height: 1.5em;
        margin: 16px 0;
    }

    /* 회원가입 - 로그인 */
    .login-wrap {
        padding: 50px 20px;
    }

    .input-login-wrap {
        gap: 20px;
    }

    .check-wrap {
        margin: 20px 0 30px;
    }

    .btn-login {
        margin-bottom: 40px;
        line-height: 50px;
        font-size: var(--f18);
    }

    .result-text span {
        font-size: var(--f28);
    }

    .join-radio-box {
        gap: 0 5px;
    }

    /* 회원가입 - 회원가입*/
    .terms-list li {
        gap: 0 10px;
    }

    .terms-list li h2 {
        width: 55%;
        font-size: var(--f16);
    }

    .terms-list-right a {
        font-size: var(--f14);
    }

    .terms-list li .terms-list-right .check-select .custom-checkbox {
        width: 27px;
        height: 27px;
        background-size: 27px 27px;
    }

    .terms-text {
        padding-top: 30px;
        text-align: center;
    }

    .agree-box {
        font-size: var(--f14);
    }

    .ct-box {
        font-size: var(--f14);
    }

    /* 마이페이지 - 쿠폰 */
    .coupon-summary h1 {
        width: 100px;
        height: 56px;
        background-size: 100px 56px;
        margin-bottom: 15px;
    }

    .nav-buttons .swiper-button-prev {
        left: 6px;
    }

    .nav-buttons .swiper-button-next {
        right: 6px;
    }

    /* 클럽소식 - list */
    .board-list li {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .board-list .date {
        flex-basis: auto;
        font-size: var(--f14);
    }

    .title-area {
        font-size: var(--f16);
    }

    /* 클럽소식 - view */
    .board-view-top .title-area {
        flex-direction: column;
    }

    .board-view-top .title-area .title,
    .board-view-top .title-area .date {
        flex-basis: auto;
    }

    .board-view-top ul li {
        font-size: var(--f14);
    }

    .board-view-top ul.title-area {
        align-items: stretch;
        gap: 10px;
    }

    .board-view-top ul.file-area li.file::before {
        content: '·';
    }

    /* 클럽소식 - event */
    .event-list-wrap {
        gap: 24px 3.5%;
    }

    .event-list-wrap ul {
        flex-basis: 31%;
    }

    .event-list-wrap h3,
    .event-list-wrap p {
        font-size: var(--f14);
    }

    /* 클럽소식 - 명예의 전당 */
    .honor-list-wrap {
        gap: 24px 2%;
    }

    .honor-list-wrap ul {
        flex-basis: 49%;
    }

    /* 클럽소식 - 고객의소리 */
    .tbl-write th {
        padding: 20px 0;
        text-align: center;
        vertical-align: middle;
        word-break: keep-all;
    }

    .tbl-write td {
        padding: 8px;
    }

    .tbl-write td textarea {
        height: 280px;
    }

    .tbl-write .file-area .file-btn {
        width: 90px;
    }

    .voc-radio-box span {
        flex: 0 0 30%;
    }

    /* 예약안내 - 이용안내 */
    .guide-tab {
        gap: 10px;
        flex-wrap: wrap;
        padding: 0 5px;
    }

    .guide-tab a {
        font-size: var(--f16);
        padding: 10px 15px;
        min-width: 90px;
        max-width: 138px;
    }

    .guide-list > li {
        flex-basis: 100%;
        gap: 15px;
        padding: 10px;
        min-height: 100px;
        font-size: var(--f14);
        line-height: 1.5em;
    }

    .guide-list > li::before {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .guide-list > li.guide-etc {
        align-items: flex-start;
        min-height: auto;
    }

    .guide-list.terms > li {
        font-size: var(--f14);
    }

    .guide-list.terms > li p {
        flex-direction: column;
        align-items: flex-start;
        width: calc(100% - 75px);
        word-break: break-word;
    }

    .guide-list.terms > li p strong {
        flex-basis: auto;
    }

    .guide-list.terms > li p em {
        flex-basis: auto;
    }

    .guide-list.terms > .group-tbl-area {
        margin: 20px 0;
    }

    /* table 포함 */
    .guide-list.terms > li.has-table .has-table-wrap {
        flex-direction: column;
    }

    /* 코스안내 - 코스소개*/
    .course-intro-text {
        padding: 0 10px;
    }

    .course-intro-text h2 {
        font-size: var(--f20);
        margin-top: 34px;
    }

    .course-intro-text h3 {
        padding: 22px 0;
    }

    .course-intro-text p {
        color: #707070;
        letter-spacing: -0.04px;
        line-height: 1.6em;
    }

    .design-concept {
        margin: 28px 0 37px;
        padding: 9px 14px;
    }

    .rating-desc {
        font-size: var(--f14);
        word-break: keep-all;
    }

    .rating-img img {
        margin: auto;
        max-width: 80%;
        display: block;
    }

    .tbl-scroll {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tbl-scroll .tbl-sty01,
    .tbl-scroll .tbl-sty03 {
        min-width: 700px;
        position: relative;
    }

    .tbl-sty03 thead th:first-child,
    .tbl-sty03 tbody th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        transform: translateZ(0); /* 흔들림 줄이는 트릭 */
        will-change: transform;
    }

    /*.tbl-sty03 thead th:first-child::before,
    .tbl-sty03 tbody th:first-child::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: 100%;
        background: #ccc;
    }*/
    .tbl-sty03 thead th:first-child::after,
    .tbl-sty03 tbody th:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        right: -1px;
        width: 1px;
        height: 100%;
        background: #ccc;
    }

    /* 클럽안내 - 클럽소개 */
    .container.wide {
        padding: 75px 0 50px;
    }

    .container.wide .common-tab-wrap {
        padding: 0 16px;
    }

    .club-list-wrap {
        padding: 0;
    }

    .club-list-wrap::before {
        display: none;
    }

    .club-title {
        margin-top: 70px;
        padding: 0 16px;
    }

    .club-title h2 {
        font-size: var(--f20);
    }

    .club-title p {
        font-size: var(--f14);
        padding-bottom: 30px;
    }

    .club-title em{
        display: block;
    }

    .club-second-title {
        margin-top: 40px;
    }

    .club-second-title h2 {
        font-size: var(--f20);
        padding-bottom: 20px;
    }

    .club-second-title p {
        font-size: var(--f14);
        width: 90%;
        padding-bottom: 20px;
    }

    .club-divide{
        padding: 0 16px;
    }

    .img-club-slide {
        height: 458px;
        border-radius: 22px;
    }

    .club-slide-wrap{
        border-radius: 22px;
    }

    .club-swiper,
    .club-swiper .swiper-slide {
        height: 458px;
        position: relative;
    }

    .club-slider-text{
        padding: 0 65px;
    }

    .club-slider-text h2 {
        font-size: var(--f18);
        letter-spacing: -0.5px;
    }

    .club-slider-text p {
        font-size: var(--f14);
        padding: 15px 0;
    }

    .club-about-wrap {
        position: relative;
        padding: 38px 16px 0;
    }

    .club-about-wrap ul {
        flex-direction: column;
    }

    .club-about-wrap ul li {
        flex: auto;
    }

    .club-about-wrap h2 {
        font-size: var(--f24);
        color: #515151;
        line-height: 1.5em;
    }

    .club-about-wrap p {
        font-size: var(--f16);
        padding: 20px 0 45px;
    }

    .club-about-wrap a {
        font-size: var(--f16);
        width: 190px;
        line-height: 45px;
    }

    .video-club-about {
        min-width: 100%;
        height: 464px;
    }

    .facil-swiper-wrap {
        /*height: 556px;*/
        height: auto;
        padding: 0 0 14px;
    }

    .facil-text-box {
        padding: 24px 12px 16px;
        min-height: 103px;
    }

    .facil-text-box h2 {
        font-size: var(--f18);
    }

    .facil-text-box h3 {
        padding-top: 12px;
        font-size: var(--f16);
    }

    .facil-text-box p {
        font-size: var(--f14);
    }

    /* 부대시설 - 메뉴 */
    .food-menu-wrap {
        max-width: 100%;
        padding: 0 16px;
    }

    .food-menu-wrap p {
        text-align: center;
        padding-bottom: 15px;
    }

    .tbl-sty02 th {
        font-weight: 600;
        font-size: var(--f16);
        word-break: keep-all;
    }

    .tbl-sty02 td span {
        display: block;
    }

    /* 오시는 길 */
    .sub-map-area {
        margin-bottom: 0;
    }

    #daumRoughmapContainer1764213024608 {
        height: 480px !important;
    }

    .sub-map-info {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 25px;
        width: 85%;
        height: 165px;
        padding: 0 40px;
    }

    .sub-map-info h1 {
        font-size: var(--f24);
    }

    .sub-map-info h2 {
        padding: 15px 0;
        font-size: var(--f18);
    }

    .sub-map-info p {
        font-size: var(--f16);
    }

    .sub-map-info a {
        margin-top: 16px;
    }

    .map-info-wrap {
        padding: 30px 16px;
    }

    .map-info-wrap h2 {
        font-size: var(--f18);
    }

    .map-info-wrap p {
        font-size: var(--f14);
    }

    .way-line ul li {
        gap: 10px;
        font-size: var(--f12);
    }

    .tel-info-list {
        padding: 0 16px;
    }

    .tel-info-list ul {
        flex-direction: column;
        gap: 20px;
    }

    .tel-info-list ul li h2 {
        font-size: var(--f18);
    }

    .tel-info-list ul li h3 {
        font-size: var(--f16);
    }

    .tel-info-list ul li h3 span {
        display: block;
    }

    .tel-info-list ul li p {
        font-size: var(--f16);
    }

    .tbl-guide-wrap {
        flex-direction: column;
    }

    .title-guide {
        margin-top: 40px;
        font-size: var(--f16);
    }

    .title-guide a{
        width: 98px;
        line-height: 30px;
        font-size: var(--f14);
    }

    .sponsor-area {
        flex: 0 0 100%;
    }

    /* 연단체 */
    .group-area {
        flex-wrap: wrap;
    }

    .history-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 연습장 아카데미 */
    .driving-con-top h1 {
        padding: 34px 0 20px;
        font-size: var(--f24);
        width: 98%;
    }

    .driving-con-top p {
        font-size: var(--f14);
    }

    .academy-text {
        font-size: var(--f14);
        color: #5B5B5B;
    }

    .academy-title {
        font-size: var(--f20);
        margin-top: 40px;
    }

    .video-box.driving {
        margin-top: 20px;
    }

    .approach-wrap {
        flex-direction: column;
    }

    .instructor-list ul {
        padding: 20px 20px;
        gap: 15px;
    }

    .instructor-list ul li {
        font-size: var(--f14);
    }

    .instructor-list ul li h2 {
        font-size: var(--f16);
    }

    /* 인사말 */
    .greeting-wrap {
        flex-direction: column;
        gap: 30px 0;
    }

    .greeting-wrap .greet-l {
        padding: 0 16px;
        max-width: 100%;
    }

    .greeting-wrap .greet-l h2 {
        font-size: var(--f20);
        color: #474747;
        padding: 10px 0 24px;
    }

    .greeting-wrap .greet-l p {
        font-size: var(--f14);
        line-height: 2em;
        padding-bottom: 32px;
    }

    .greeting-wrap .greet-r {
        flex: auto;
        height: 473px;
        margin-left: 16px;
    }

    /* 예약일정표 */
    .schedule-wrap {
        flex-direction: column;
    }
}

@media (max-width: 860px) {
    .step-flow::before {
        inset: 30px 110px 0;
    }

    .hole-wrap {
        margin-bottom: 50px;
    }

    .hole-info-wrap {
        flex-direction: column;
        align-items: center;
    }

    /* 연단체 */
    .tbl-sty01 .group-area {
        gap: 12px;
    }

    .tbl-sty01 .group-area span {
        flex: 0;
        flex-basis: calc(50% - 6px);
        text-align: left;
    }

    .tbl-sty01 .group-area input[type=text] {
        flex: 0 0 100%;
    }

    .tbl-sty01 .group-area select {
        flex: 0;
        flex-basis: calc(50% - 6px);
    }

    .tbl-sty01 .group-area .board-radio-box {
        flex-wrap: nowrap;
    }

    .board-list.record li .title-area .title span {
        padding-right: 6px;
        margin-right: 6px;
    }

    .board-list.record li .title-area .title span em {
        padding-left: 8px;
    }

    .instructor-list ul {
        flex: 0 0 100%;
        padding: 16px;
        gap: 16px;
    }

    .club-divide {
        padding: 0 16px;
    }

    .club-divide ul {
        flex-direction: column;
    }

    .img-club-slide{
        flex: auto;
    }

    .club-slide-wrap{
        flex: auto;
    }

    .club-slider-text{
        padding: 0 60px;
    }
}

@media (max-width: 600px) {
    /* 클럽소식 - 이벤트*/
    .event-list-wrap {
        gap: 16px;
    }

    .event-list-wrap ul {
        flex-basis: 100%;
    }

    /* 클럽소식 - honor */
    .honor-list-wrap {
        gap: 16px;
    }

    .honor-list-wrap ul {
        flex-basis: 100%;
    }

    .replay-con {
        flex-direction: column;
    }

    .history-list {
        grid-template-columns: 1fr;
    }

    /* 예약안내 - 이용안내 */
    .step-flow {
        flex-direction: column;
        gap: 26px;
        padding: 0;
    }

    .step-flow::before {
        inset: 40px auto 40px 32px;
        height: auto;
        border-top: none;
        border-left: 2px dashed #e8e8e8;
    }

    .step-flow li {
        text-align: left;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .step-flow li .dot {
        margin: 0;
    }

    .time-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .step-inner {
        width: calc(100% - 80px);
    }

    .tbl-guide {
        font-size: var(--f12);
        min-height: auto;
    }

    .tbl-guide tbody td {
        padding: 14px 0;
    }

    .transfer-divide {
        flex-direction: column;
        gap: 0;
    }

    .hole-wrap ul {
        width: 640px;
    }

    .hole-wrap ul li span {
        font-size: var(--f14);
    }

    .captcha-area {
        padding: 16px 0;
    }

    /* 코스소개 */
    .m-only {
        display: block;
        font-size: var(--f14);
        padding: 5px 0;
    }

    /* 예약 */
    .tab-reser-course select {
        margin: 16px 0;
    }

    .tab-reser-course select {
        max-width: none;
    }

    .delegate-area .title-reser {
        margin-top: 30px;
    }

    .board-list.record li {
        padding: 10px 20px;
        gap: 5px;
        min-height: 90px;

    }

    .board-list.record li .title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .board-list.record li .title-area .record-number b,
    .board-list.record li .title-area .record-number strong {
        text-align: left;
    }

    .board-list.record li .title-area .record-number b {
        width: 30px;
    }

    .history-list-wrap {
        padding: 36px 15px;
    }

    .history-wrap::before {
        height: 280px;
    }

    .history-list-wrap h1 {
        background-size: 113px 28px;
        width: 113px;
        height: 28px;
        margin: 0 auto 36px;
    }

    .history-list li .history-year {
        font-size: var(--f20);
        top: -10px;
    }

    .history-con {
        font-size: var(--f14);
    }

    /* 게시판 검색 추가 260115*/
    .board-search-area {
        flex-direction: column;
        margin: 30px 0;
    }

    .board-search-box{
        flex: 0 0 100%;
        width: 100%;
    }

    .search-select,
    .search-input[type=text] {
        height: 40px;
    }

    .search-select {
        width: 110px;
        background-position: center right 16px;
    }

    .search-input[type=text] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .search-btn {
        flex: 0 0 100%;
        width: 100%;
        line-height: 40px;
    }
}
