@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

.top {
    margin-top: 125px;
    width: 100%;
    height: auto;
    background-color: transparent;
    padding: 6% 14%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: aliceblue;
    z-index: -1;
}

.top .big_title {
    width: 35.25%;
}

.top .big_title img {
    width: 100%;
    min-width: 80%;
}

.top .title_bar {
    width: 16%;
    height: 1px;
    background-color: #00a0ff;
    margin-top: 2%;
}

.top .small_title {
    color: #00a0ff;
    font-size: 20px;
    padding-top: 1%;
}

.branching_links {
    padding: 2% 14%;
    color: #00a0ff;
    font-size: 14px;
}

.branching_links .br_links a {
    color: #00a0ff;
    text-decoration: none;
}

.branching_links .br_links a:hover {
    color: #8aceff;
    transition: all ease 0.3s;
}

.btns {
    margin: 2% 10% 4%;
    padding-left: 3.5%;
}

.btns .btn_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    justify-content: flex-start;
}

.btns .btn_wrap a {
    text-decoration: none;
    width: auto;
    box-sizing: border-box;
}

.btns .btn_wrap .btn {
    font-size: 16px;
    padding: 15px 30px;
    color: #fff;
    background-color: #0097de;
    width: 100%;
    border-radius: 99px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    white-space: nowrap;
}

.btns .btn_wrap .btn .tr {
    font-size: 1.2em;
    transform: rotate(-45deg);
    margin-left: 15px;
    line-height: 1;
}

.main_contents {
    margin: 0 13.5% 17%;
}

.main_contents .title {
    font-size: clamp(10px, 3.5vw, 27px);
    font-weight: 500;
    margin: 15% 0 3%;
    scroll-margin-top: 150px;
}

.main_contents .tr {
    width: 100%;
    height: 2px;
    background-color: #0097de;
}

.main_contents .sentence {
    font-size: 18px;
    line-height: 1.5;
}

.main_contents .small_sentence {
    font-size: 14px;
    margin-left: 9.7%;
    margin-bottom: 5%;
}

.main_contents .question {
    padding-top: 3%;
    padding-bottom: 3%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.main_contents .question .q_mark {
    font-size: 20px;
    background-color: #0097de;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    padding: 0;
    flex-shrink: 0;
    margin-right: 3%;
    vertical-align: middle;
}

.main_contents .question .blue_sentence {
    flex: 1;
    font-size: 20px;
    color: #0097de;
    font-weight: 500;
}

.main_contents .question .opener {
    position: relative;
    width: 15px;
    height: 15px;
    display: block;
    margin-left: 10px;
    margin-right: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.main_contents .question .opener::before,
.main_contents .question .opener::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #0097de;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease;
}

.main_contents .question .opener::before {
    width: 100%;
    height: 2px;
}

.main_contents .question .opener::after {
    width: 2px;
    height: 100%;
}

.main_contents .question .opener.active::after {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.main_contents .block {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s ease, opacity 0.3s ease;
}

.main_contents .block.is-open {
    opacity: 1;
}

.main_contents .block .answer {
    display: flex;
    align-items: start;
    margin-bottom: 1%;
}

.main_contents .block .answer .a_mark {
    font-size: 20px;
    border: 1.5px solid #ff6000;
    color: #ff6000;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    padding: 0;
    flex-shrink: 0;
    margin-right: 3%;
    vertical-align: middle;
}

.main_contents .block .answer .orange_sentence {
    font-size: 20px;
    color: #ff6000;
    font-weight: 500;
    line-height: 1.8;
    margin-top: 1%;
}

.main_contents .block .black {
    margin-left: 8.2%;
    margin-bottom: 4%;
}

.main_contents .title2 {
    margin-top: 10%;
}

.main_contents .graff {
    margin-left: 2%;
}

.main_contents .graff table {
    border-collapse: collapse;
    margin-bottom: 5%;
    margin-left: 8%;
    width: 90%;
}

.main_contents .graff td {
    border: 1px solid #000;
    text-align: center;
    padding: 2% 1%;
}

@media screen and (max-width: 1180px) {
    .main_contents .block .black {
        margin-left: 9%;
    }
}

@media screen and (max-width: 1080px) {
    .main_contents .block .black {
        margin-left: 9.2%;
    }
}

@media screen and (max-width: 960px) {
    .top {
        margin-top: 85px;
        padding: 12% 5%;
    }

    .top .small_title {
        font-size: 20px;
    }

    .branching_links {
        font-size: 16px;
        padding: 2% 5%;
    }

    .btns {
        margin: 2% 10% 4%;
        padding-left: 3%;
    }

    .btns .btn_wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 10px;
        justify-content: flex-start;
    }

    .btns .btn_wrap .btn {
        font-size: 12px;
        padding: 13px 15px;
    }

    .btns .btn_wrap .btn .tr {
        font-size: 1em;
    }

    .main_contents .question .q_mark,
    .main_contents .question .blue_sentence,
    .main_contents .block .answer .a_mark,
    .main_contents .block .answer .orange_sentence {
        font-size: 16px;
        line-height: 1.5;
    }

    .main_contents{
        margin: 0 5% 17%;
    }

    .main_contents .title {
        scroll-margin-top: 100px;
    }

    .main_contents .block .black {
        font-size: 15px;
        margin-left: clamp(45px, 6.8vw, 50px);
    }
}

@media screen and (max-width: 550px) {
    .top {
        margin-top: 75px;
        padding: 15% 7% 12%;
    }

    .top .big_title {
        width: 52.0975%;
    }

    .top .title_bar{
        margin-top: 3%;
    }

    .top .small_title{
        font-size: 14px;
        padding-top: 3%;
    }

    .btns {
        margin: 2% 2% 4%;
        padding-left: 0%;
    }

    .branching_links {
        font-size: 12px;
        padding: 2% 7% 4%;
    }

    .main_contents {
        margin: 5% 5% 17%;
    }

    .main_contents .title {
        font-size: 22px;
    }

    .main_contents .block .black {
        margin-left: 43px;
        margin-top: 7px;
    }
}

.main_contents .question {
    cursor: pointer;
}