h1,
p,
h4 {
    border-bottom: none;
    margin: 0;
    padding: 0;
    word-break: normal;
}

.topimg {
    background-image: url('/_assets/2fb57b355203aaed79cd.jpg');
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: var(--white);
}

ul {
    margin-block-start: 12px;
}

.headtexts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 30px 16px;
}

.headtexts h2,
.headtextsh1,
.headtexts p {
    text-align: center;
    word-break: keep-all;
    margin: 0;
}

.headtextsh1 {
    font: 700 var(--displaylarge) var(--fontprimary);
}

.headtexts h2 {
    font-weight: 400;
}

.btnwrap .dllinks {
    width: fit-content;
}

.contentswrap {
    width: 100%;
    max-width: 1320px;
    display: flex;
    flex-wrap: wrap;
    margin: 130px auto 90px auto;
}

/*--------------left-----------------------------------------------------------------*/
.sub_left {
    flex: 60;
}

.functions {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.fc {
    width: 40%;
}

.fc a {
    color: var(--text);
    display: flex;
}

.fc img {
    height: 40px;
}

.fc_left h4 {
    margin-top: 16px;
    word-break: keep-all;
}

.fc a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.proedition {
    margin: 90px 0;
}

.proedition a {
    text-decoration: none;
    color: var(--text);
    display: flex;
}

.pe {
    height: 298px;
    background-color: var(--gray40010);
    border: 1px solid var(--gray70010);
    border-radius: var(--radiusmedium);
    margin-bottom: 48px;
    display: flex;
    padding: 0 60px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.pe:hover {
    box-shadow: var(--shadow);
    transition-duration: 0.4s;
}

#pe02,
#pe04 {
    flex-direction: row-reverse;
}

.pe_des {
    width: 43%;
}

.pe_des>h2 {
    font-weight: 700;
    font-size: var(--headinglarge);
    margin: 0;
}

.pe_des p {
    margin-top: 16px;
}

.pe img {
    width: 45%;
}

#pe01img {
    width: 35%;
}

.detailedfc a {
    color: var(--text);
}

.detailedfc h1 {
    margin-bottom: 28px;
}

input[type="radio"] {
    display: none;
}

.btn-container {
    border: 1px solid var(--border);
    border-radius: var(--radiusmedium);
    padding: 4px;
    margin-bottom: 16px;
    display: flex;
}

.tab-button {
    flex: 1;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: -1px;
    border-radius: var(--radiussmall);
    font-weight: 600;
    color: var(--gray700);
    width: 28.3%;
    text-align: center;
    transition-duration: 0.4s;
}

.tab-content {
    display: none;
    padding: 16px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radiusmedium);
}

.tab-content a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.tab-content h3 {
    border-bottom: none;
    margin: 8px 0 4px 0;
}

.tab-content p {
    margin-bottom: 28px;
}

.tab-content ul {
    margin-block-end: 0;
    margin-block-start: 0;
}

input[type="radio"]:checked+label {
    background-color: var(--bluefill);
    color: var(--white);
}

input[type="radio"]:checked+label+.tab-content {
    display: block;
}

/*--------------right-----------------------------------------------------------------*/
.sub_right {
    flex: 24;
    position: sticky;
    top: 130px;
    box-sizing: border-box;
    margin-left: 60px;
    overflow: hidden;
    height: 100%;
}

.sub_right_upper {
    border: 1px solid var(--border);
    border-radius: var(--radiusmedium);
    padding: 24px;
    height: fit-content;
}

.ads {
    display: flex;
    margin-top: 16px;
    justify-content: space-between;
}

.ad1 {
    cursor: pointer;
}

.description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description h4 {
    margin-bottom: 8px;
    font-weight: 800;
}

.description ul,
.description li {
    margin: 0;
}

#os {
    color: var(--linkgray);
    margin-bottom: 16px;
}

.dllinks {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 0 0;
}

.right_link_wrap {
    margin-top: 24px;
}

.right_link a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.right_link {
    color: #0078D7;
    font-size: 16px;
    margin-top: 8px;
}

@media (max-width:1920px) {
    .topimg {
        background-size: cover;
    }
}

@media (max-width:1390px) {
    .contentswrap {
        width: 90%;
    }

    .functions {
        justify-content: space-between;
        gap: 30px;
    }

    .ads {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width:1220px) {
    #bandiview {
        background: white;
    }

    .pe {
        padding: 0 40px;
    }

    .sub_left {
        flex: 44;
    }
}

@media (max-width:800px) {
    .fc img {
        height: 32px;
    }

    .headtexts {
        gap: 14px;
    }

    .functions {
        justify-content: space-around;
    }

    .contentswrap {
        flex-direction: column-reverse;
        margin: 58px auto;
    }

    .sub_right {
        margin: 0 0 54px 0;
        position: static;
    }

    .ads {
        display: none;
    }

    .pe {
        padding: 20px 40px;
        height: fit-content;
        margin: 0 0 20px 0;
        gap: 12px;
    }

    .pe_des p {
        margin-top: 6px;
    }

    .topimg {
        height: 200px;
        background-position-x: 72%;
    }
}

@media (max-width:600px) {
    .fc {
        width: 100%;
    }

    .fc img {
        height: 32px;
    }
}

@media (max-width:420px) {
    .functions {
        gap: 40px;
    }

    .pe {
        flex-direction: column;
        padding: 16px 0;
        text-align: center;
    }

    #pe02,
    #pe04 {
        flex-direction: column;
    }

    .pe_des {
        width: 60%;
    }

    .tab-button {
        width: fit-content;
        padding: 10px 6px;
    }

    .apg {
        min-width: 270px;
    }

    .btnwrap .button {
        width: 100%;
    }
}