.visual {
    background:url('../img/visual3.jpg') 50% 50% no-repeat;
    background-size:cover;
    height:430px;
}

main {
    background:#fff;
    display:flex;
    gap:60px;
    position:relative;
    top:-30px;
    z-index:6000;
}

article {
    width:210px;
    height:auto;
    margin-top:70px;
    margin-left:34px;
}

article li {
    margin-bottom:26px;
    position:relative;
}

article li a {
    color:#686868;
    display:block;
}

article li.now a {
    color:#fff;
    font-weight:700;
    z-index:7000;
}

article li.now:after {
    content:'';
    display:block;
    position:absolute;
    z-index:-1;
    background:#00a19a;
    width:210px;
    height:26px;
    top:-1px;
    left:-12px;
}

section {
    margin-top:70px;
    width:calc(100% - 270px);
}

.title h2 {
    width:100%;
    font-size:24px;
    font-weight:500;
    padding-bottom: 12px;
    border-bottom:2px dashed #dbdbdb;
}

.title {
    position:relative;
    margin-bottom:70px;
    padding-right:34px;
}

.title span {
    position:absolute;
    top:12px;
    right:34px;
    font-size:14px;
    color:#686868;
}

.content {
    padding-right:34px;
}

.content h3 {
    font-size:24px;
    font-weight:500;
    margin-bottom:30px;
}

.content p {
    font-size:20px;
    margin-bottom:60px;
}

.content p:last-child {
    margin-bottom:100px;
}

.tabBox {
    width:100%;
}

.tabMenu {
    display:flex;
    gap:145px;
    border:1px solid #e3e3e3;
    width:100%;
    height:50px;
    line-height:50px;
    padding:0 56px;
    background:#f8f8f8;
}

.tabMenu li {
    color:#cbcbcb;
    font-size:20px;
    font-weight:500;
    position:relative;
    cursor:pointer;
}

.tabMenu li.on {
    color:#333;
}

.tabMenu li:after {
    content:'';
    position:absolute;
    display:block;
    width:1px;
    height:30px;
    background:#686868;
    top:50%;
    transform:translateY(-50%);
    right:-72px;
}

.tabMenu li:last-child:after {
    display:none;
}

.tabContents {
    width:100%;
    height:auto;
    border:1px solid #e3e3e3;
    border-top:0;
    background:#fff;
}

.content0 {
    display:flex;
    gap:20px;
    padding:40px 16px 60px;
}

#map {
    width:330px;
    height:330px;
}

.side li {
    margin-bottom:40px;
    font-size:14px;
}

.side li span {
    display:inline-block;
    width:100px;
    padding-left:14px;
    position:relative;
    font-size:16px;
    font-weight:500;
}

.side li span:before {
    content:'';
    display:block;
    position:absolute;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#333;
    top:50%;
    left:0;
    transform:translateY(-50%);
}

.road {
    display:flex;
}

.road .img {
    width:100px;
    height:100px;
}

.road p {
    text-align:center;
    font-size:15px;
}

.subway, .bus {
    width:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.content1 {
    padding:40px 36px 60px;
    flex-direction:column;
}

.content1 p {
    font-size:20px;
    font-weight:500;
    margin-bottom:20px;
}

.content1 .title {
    font-size:24px;
    color:#2c2e83;
    margin-bottom:36px;
}

.content1 {
    display:none;
}


@media all and (max-width:1024px) {
    article {
        display:none;
    }

    main {
        background:#fff;
        gap:0;
        position:static;
        justify-content:center;
    }

    .title span {
        left:0;
        top:-24px;
    }

    .title, .content {
        padding-right:0;
    }

    .title, .content h3, .content p {
        margin-bottom:30px;
    }

    .content {
        margin-bottom:40px;
    }

    .content p:last-child {
        margin-bottom:0;
    }

    section {
        width:100%;
    }

    .content0, .road {
        flex-direction:column;
        align-items:center;
    }

    .road {
        padding:30px 0;
        gap:30px;
    }

    .side li {
        margin-bottom:12px;
        display:grid;
        grid-template-columns: 100px 1fr;
    }

    .subway, .bus {
        width:100%;
    }

    .tabMenu {
        gap:130px;
        padding:0;
        justify-content:center;
    }

    .tabMenu li {
        font-size:16px;
    }

    .side li span:before {
        top:10px;
        transform:translateY(0);
    }



}

@media all and (max-width:720px) {
    .tabMenu {
        gap:100px;
    }

    .tabMenu li:after {
        right:-50px;
    }

    .content2 p {
        font-size:14px;
    }
    
    .content2 .title {
        font-size:18px;
    }

    .side li {
        font-size:13px;
    }

    .side li span {
        font-size:15px;
        width:100px;
    }

    .tabMenu li {font-size:14px;}

    .tabMenu li:after {
        right:-50px;
    }

    .tabMenu li:after {
        right:-65px;
        height:14px;
        transform:translateY(0);
        top:18px;
    }
}

@media all and (max-width:560px) {
    .title h2 {
        font-size:20px;
    }

    .title span {
        font-size:12px;
    }

    .content h3 {
        font-size:16px;
    }

    .content p {
        font-size:14px;
    }
    
    .content0, .content1 {
        padding:30px 16px 40px;
    }

}

@media all and (max-width:496px) {
    .tabMenu {
        gap:70px;
    }

    .tabMenu li:after {
        right:-35px;
    }
}

@media all and (max-width:410px) {
    #map {
        width:90vw;
        height:90vw;
    }

    .tabMenu {
        gap:50px;
    }

    .tabMenu li:after {
        right:-25px;
    }
}

@media all and (max-width:359px) {
    .tabMenu li {
        font-size:12px;
    }
}

@media all and (max-width:339px) {
    .tabMenu {
        gap:40px;
    }

    .tabMenu li:after {
        right:-20px;
    }
}