/****************************************
    visual
*****************************************/

.visual_slider {
    position: relative;
    width: 100%;
    height: 540px;
    margin-top: 160px;
}


.visual01 {
    background: url('/resources/images/main/0314_01.png')no-repeat center center;
    background-size: cover;
}
.visual02 {
    background: url('/resources/images/Rolling_img_02.png')no-repeat center center;
    background-size: cover;
}

.visual03 {
    background: url('/resources/images/Rolling_img_03.png')no-repeat center center;
    background-size: cover;
}

.visual_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
.visual_a {
    display: flex; /* Flexbox 레이아웃을 활성화 */
    flex-direction: row; /* 요소들을 수평으로 배열 */
    justify-content: center; /* 가운데 정렬 */
    align-items: center; /* 수직 방향으로 중앙 정렬 */
}
.visual_text a {
    display: block;
    width: 150px;
    margin: 0 1em 0 0;
    background: #fff;
    font-weight: 700;
    color: #222;
    padding: 1.15em 0;
    border-radius: 25px;
}


.visual_text h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
}



.swiper_btn_box {
    position: absolute;
    display: flex;
    width: 96px;
    height: 48px;
    right: 18.6%;
    bottom: 0;
}

.visual_slider .swiper-button-prev {
    position: relative;
    transform: translateY(0);
    width: 48px;
    height: 48px;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    background: rgba(255, 255, 255, .6) url('/resources/images/btn_12x6.png')no-repeat center center;
}

.visual_slider .swiper-button-next {
    position: relative;
    transform: translateY(0);
    width: 48px;
    height: 48px;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    background: rgba(255, 255, 255, .6) url('/resources/images/btn_12x6_r.png')no-repeat center center;
}

.visual_slider .swiper-button-prev:hover,
.visual_slider .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

/****************************************
    우승을 축하합니다
*****************************************/
section h2 {
    font-weight: 700;
    font-size: 24px;
    display: block;
    margin-bottom: 1em;
    text-align: center;
}

.championship {
    position: relative;
    width: 100%;
    background: #f1f1f1;
    padding: 4em 0 2em 0;
}

.championship_content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 2em auto;
}

.championship .championship_box {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.championship .swiper-wrapper .swiper-slide {
    padding: 1.5em;
    border: 1px solid #eee;
    background: #fff;
}

.championship_title ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.championship_title ul li {
    position: relative;
    font-size: 12px;
    color: #666666;
    padding: 0 10px;
}

.championship_title .main_event {
    font-weight: 700;
    color: #fff;
    padding: 3px 8px;
    background: #B6D72B;
    border-radius: 50px;
}

.championship_title ul li:last-of-type::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 1px;
    height: 10px;
    background: #999;
}

.championship_title span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin: 0.7em 0;
}

.championship_member {
    position: relative;
    display: flex;
    padding: 1.2em 0 0 0;
    border-top: 1px solid #eee;
}

.championship_member li {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    color: #333333;
}

.championship_member li span {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    vertical-align: middle;
}

.championship_member li span img {
    display: block;
    margin: 0 auto;
}

.championship_member li dl dd {
    position: relative;
    font-size: 10px;
}

.championship_member li dl dd span {
    position: relative;
    display: inline-block;
    padding: 0 0.4em 0 0;
    width: auto;
    height: auto;
    border-radius: none;
}

.championship_member li dl dd span:last-of-type {
    padding: 0 0 0 0.6em;
}

.championship_member li dl dd span:last-of-type::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 1px;
    height: 7px;
    background: #999;
}

/****************************************
    테니스 타운 대회신청
*****************************************/
.application {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5.5em 0;
}

.application_slider {
    width: 100%;
    overflow-x: hidden;
}

.application_slider .swiper-slide {
    display: flex;
    border: 1px solid #D3D3D3;
}

.application_slider .swiper-slide img {
    max-width: 660px;
}

.application_slider_content {
    position: relative;
    width: 100%;
    padding: 2.5em 2.5em 0 4em;
    font-size: 14px;
    color: #333;
}

.application_slider_content ul li:first-of-type {
    display: flex;
    align-items: center;
}

.application_slider_content ul li:first-of-type span:first-of-type {
    font-weight: 700;
    color: #fff;
    padding: 4px 8px;
    background: #B6D72B;
    border-radius: 50px;
    margin-right: 1em;
}

.application_slider_content ul li dl dt {
    font-size: 28px;
    font-weight: 700;
    margin: 0.5em 0;
}

.application_slider_content ul li dl dd ul li {
    display: flex;
    align-items: center;
}

.application_slider_content ul li dl dd ul li:first-of-type {
    position: relative;
    padding-left: 1.5em;
    margin: 1em 0;
}

.application_slider_content ul li dl dd ul li:first-of-type::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('/resources/images/marker16x16.png')no-repeat center center;
}

.application_slider_content ul li dl dd ul li span {
    position: relative;
    display: inline-block;
    padding: 0 0.5em 0 0;
}

.application_slider_content ul li dl dd ul li span:last-of-type {
    padding: 0 0 0 0.5em;
}

.application_slider_content ul li dl dd ul li span:last-of-type::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 1px;
    height: 11px;
    background: #999;
}

.application_btn {
    position: relative;
    display: flex;
    align-items: center;
    margin: 1em 0;
}

.application_btn button {
    display: block;
    width: 150px;
    margin: 0 1em 0 0;
    background: #fff;
    font-weight: 700;
    color: #333;
    padding: 1.15em 0;
    border-radius: 8px;
    border: 1px solid #D3D3D3;
}

.application_btn button:last-of-type {
    border: 1px solid #1A3049;
    background: #1A3049;
    color: #fff;
}

.application_count {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 2em;
}

.application_count span {
    display: inline-block;
    font-weight: 700;
    margin-right: 1em;
    color: #333;
}

.application_count ul {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.application_count ul li {
    position: relative;
    display: flex;
    align-items: flex-start !important;
    margin-right: 1.2em;
}

.application_count ul li::after {
    content: ':';
    position: absolute;
    top: 45%;
    right: -12px;
    transform: translateY(-50%);
    font-weight: 900;
    color: #888;
    font-size: 20px;
}

.application_count ul li:last-of-type::after {
    content: '';
}

.application_count ul li em {
    font-size: 10px;
    color: #666;
    margin-right: 0.5em;
}

.application_count ul li input,
.application_count ul li input:disabled {
    width: 52px;
    border: 1px solid rgba(136, 136, 136, 0.5);
    border-radius: 4px;
    background: linear-gradient(180deg, #fff 50%, #f6f6f6 50%);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: #222;
}

.swiper_btn_prev02,
.swiper_btn_next02 {
    position: absolute;
    top: 31.5%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.application_content {
    position: relative;
    display: flex;
    margin: 2em 0;
}

/********************리그순위********************/

.league_standings {
    position: relative;
    width: 384px;
    border: 1px solid #D3D3D3;
    padding: 1.7em 1.5em 1em 1.5em;
}

.league_standings h2 {
    text-align: left;
    padding-bottom: 0.7em;
    border-bottom: 1px solid #EEEEEE;
    margin-bottom: 0.7em
}

.league_standings table {
    width: 100%;
}

.league_standings table th {
    font-weight: 300;
    color: #222;
}

.league_standings table tr td {
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.55em 0;
}

.league_standings table td:nth-of-type(2) {
    padding-left: 1em;
}

.league_standings table td:nth-of-type(2) span {
    vertical-align: middle;
    display: inline-block;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    width: 100%;
    max-width: 70px;
    overflow: hidden;
}

.league_standings table td img {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: middle;
    overflow: hidden;
}

.league_standings table td em {
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    font-size: 10px;
}

/********************배너********************/

.application_banner {
    position: relative;
    width: calc(100% - 384px);
    padding-left: 2em;
}

.application_banner ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2em;
}

.application_banner ul li {
    display: inline-block;
    width: calc(100% / 2 - 1em);
}

.application_banner ul li a,
.application_banner ul li a img {
    width: 100%;
    display: block;
}

/****************************************
   contents
*****************************************/
.contents {
    position: relative;
    width: 100%;
    background: url('/resources/images/BG_CONTENTS.png')no-repeat center center;
    background-size: cover;
    padding-bottom: 6em;
}

.contents h2 {
    color: #fff;
    padding: 4em 0 1em 0;
}

.content_all {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.content_box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.content_box .swiper-slide {
    background: #fff;
}

.swiper_btn_prev03 {
    background: url('/resources/images/btn_20x20_w.png')no-repeat center center;
}

.swiper_btn_next03 {
    background: url('/resources/images/btn_20x20_wr.png')no-repeat center center;
}

.content_box .swiper-slide ul li img {
    display: block;
    width: 100%;
}

.content_box .swiper-slide ul li dl {
    padding: 2em;
}

.content_box .swiper-slide ul li dl dt {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.content_box .swiper-slide ul li dl dd {
    color: #666;
    padding-top: 0.7em;
}

/****************************************
   SOCIAL
*****************************************/

.social_box {
    position: relative;
    width: 100%;
    padding: 6em 0;
}

.social_box h2 span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 1em;
}

.social_content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 787px;
    margin: 1em auto;
}

/****************************************
   media
*****************************************/

@media all and (max-width:1280px) {
    .visual_slider {
        margin-top: 85px;
    }

    .swiper_btn_box {
        right: 2.6%;
    }

    .championship_content,
    .application,
    .content_all,
    .social_content{
        width: 90%;
    }

    .application_slider .swiper-slide img {
        width: 50%;
    }

    .application_slider_content {
        padding: 2em 2em 2em 3em;
        font-size: 14px;
        color: #333;
    }
}

@media all and (max-width:1086px) {
    .championship_member {
        flex-direction: column;
        gap: 10px;
    }

    .championship_member li {
        width: 100%;
    }

    .championship .swiper-wrapper .swiper-slide {
        min-height: 230px;
    }

    .championship_title ul {
        display: inline-block;
        width: 100%;
    }

    .championship_title ul li {
        display: inline;
    }

    .championship_title ul li:nth-of-type(1) {
        display: block;
        width: 80px;
        margin-bottom: 5px;
    }

    .championship_title ul li:nth-of-type(2) {
        padding: 0 10px 0 0;
    }

    .application_count {
        margin-top: 0.8em;
        flex-wrap: wrap;
    }

    .application_count span {
        display: block;
        margin: 0 0 1em 0;
        width: 100%;
    }

    .swiper_btn_prev02,
    .swiper_btn_next02 {
        top: 21.5%;
    }

    .application_content {
        flex-direction: column;
    }

    .league_standings {
        width: 100%;
    }

    .application_banner {
        width: 100%;
        padding: 2em 0 0 0;
    }
}

@media all and (max-width:930px) {

    .application_slider .swiper-slide {
        flex-direction: column;
    }

    .application_slider .swiper-slide img {
        width: 100%;
        max-width: 100%;
    }

    .social_content {
        height: 670px;
    }
}

@media all and (max-width:768px) {

    .swiper-button-prev,
    .swiper-button-next {
        top: -52px;
        transform: none;
    }

    .swiper-button-prev,
    .swiper-button-prev01,
    .swiper-container-rtl .swiper-button-next {
        left: 0;
        right: auto;
    }

    .swiper-button-next,
    .swiper-button-next01,
    .swiper-container-rtl .swiper-button-prev {
        right: 0;
        left: auto;
    }

    .swiper_btn_prev02,
    .swiper_btn_next02 {
        top: 82px;
    }

    .swiper_btn_prev03,
    .swiper_btn_next03 {
        top: -68px;
    }

    .visual_slider {
        height: 580px
    }

    .visual01 {
        background: url('/resources/images/Rolling_img_01.png')no-repeat 20% top;
        background-size: cover;
    }

    .visual02 {
        background: url('/resources/images/Rolling_img_02.png')no-repeat 85% top;
        background-size: cover;
    }

    .visual_text {
        width: 100%;
        bottom: 5em;
        transform: translate(-50%, 0);
    }

    .swiper_btn_box {
        right: 0;
        left: 0;
        bottom: 5em;
        width: 100%;
        justify-content: space-between;
    }

    .visual_text h2 {
        width: 100%;
    }

    .championship_content {
        width: 70%;
    }

    .championship .championship_box {
        overflow-x: visible;
    }

    .application_banner ul {
        flex-wrap: wrap;
    }

    .application_banner ul li {
        width: 100%;
    }

    .application_slider_content ul li:first-of-type {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .application_slider_content {
        padding: 2em;
    }

    .application_count ul li {
        flex-direction: row !important;
    }

    .application_count ul li:first-of-type {
        gap:0px;
    }

    .application_banner ul {
        gap: 1em;
    }
}

@media all and (max-width:420px) {
    .visual_text h2 {
        font-size:30px;
    }
    .application {
        padding: 3.5em 0 2em 0;
    }
    .swiper_btn_prev02,
    .swiper_btn_next02 {
        top: 54px;
    }
    .application_content {
        margin: 2em 0;
    }
    .application_count ul li input,
    .application_count ul li input:disabled {
        width: 45px;
        font-size: 22px;
    }
    .application_slider_content ul li dl dt {
        font-size: 24px;
    }
    .contents {
        padding-bottom: 4.5em;
    }
    .contents h2 {
        padding: 2.5em 0 1em 0;
    }
    .social_box {
        padding: 4em 0;
    }
    .social_content {
        height: 555px;
    }
}