:root {
    --primary-color: #ffd84c;
    --tint-color: #fff5d2;
    --background-color: #fffcf6;
}

* {
    box-sizing: border-box;
}

.page__background {
    background-color: var(--tint-color);
}

.ContentContainer {
    width: 100%;
    height: 100%;
    overflow: auto;
    max-width: 600px;
    margin: 0 auto;

    background-color: var(--background-color);

    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    padding: 20px 0px;
}

.QuestionContainer {
    width: 100%;
    height: 100%;
    overflow: auto;
    max-width: 600px;
    margin: 0 auto;

    background-color: var(--background-color);

    display: flex;
    flex-direction: column;
    gap: 15px;

    position: relative;
}

.ContentContainer_Box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.ContentContainer_HeaderBox {
    height: 60px;
    background-color: var(--primary-color);
    padding-left: 20px;
}

.ContentContainer_BodyBox {
    width: 100%;
    height: calc(100% - 160px);
    align-self: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-y: auto;
    padding-bottom: 20px;
}

.ContentContainer_ResultBodyBox {
    height: calc(100% - 85px);
}

.Result_CarouselBody {
    height: calc(100% - 75px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ContentContaier_FooterBox {
    height: 70px;
    padding-bottom: 20px;
    justify-content: flex-end;
}

.Content_Title {
    font-size: 25px;
    font-weight: bold;
}

.Content_Text {
    text-align: center;
    padding: 0px 10px;
}

@media screen and (min-width: 600px) {
    .br_sp {
        display: none;
    }
}

.TwoToneButton {
    position: relative;
    padding: 7px 75px 7px 35px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(270deg,var(--primary-color) 0%, var(--primary-color) 40px,#000000 40px,#000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.TwoToneButton::after {
    content: '▶︎';
    color: #000000;
    position: absolute;
    right: 13px;
    line-height: 0;
}

#CourseCarousel {
    width: 100%;
}

.CourseCard {
    border: 2px solid #000;
    display: grid;
    gap: 7px;
    margin: 0 8px;
    height: 100%;
    align-content: space-between;
    justify-content: center;
}

.CourseCard_Left {
    margin: 0 8px 0 18px;
}

.CourseCard_Right {
    margin: 0 18px 0 8px;
}

.Card_Title {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;
}
.Card_Title_Number {
    background-color: #999;
    border-radius: 5px;
    padding: 0px 7px;
    margin-right: 5px;
    color: var(--background-color);
}
.Card_Title_Number_Last {
    background-color: #ff5757;
}
.Card_Title_Description {
    font-size: 12px;
}

.Card_SubTitle {
    font-size: 18px;
    font-weight: bold;
    padding: 5px 0;
}

ul {
    margin-block-start: 5px;
    margin-block-end: 5px;
    padding-inline-start: 20px;
}

.Card_Button { 
    justify-self: center;
}


.QuestionCard {
    border: 2px solid #000;
    display: grid;
    gap: 10px;
    margin: 0 8px;
    align-content: space-between;
    justify-content: center;
}

.QuestionCard_ChoicesBox {
    font-size: 14px;
    border-radius: 5px;
    background-color: #dbdcdc;
    padding: 10px 15px 10px 15px;
    transition: all 0.3s;
    position: relative;

    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
}

.QuestionCard_ChoicesBox_ClickAreaMask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.QuestionCard_ChoicesBox_IconBox {
    display: flex;
}
.QuestionCard_ChoicesBox_Icon {
    width: 100%;
    object-fit: contain;
}

.QuestionCard_ChoicesBox_TextBox {
    text-align: justify;
}

.QuestionCard_RadioButton {
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    background-color: #dbdcdc;
    padding: 10px;
    transition: all 0.3s;
}

.Header_InnerBox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.Header_Title {
    font-size: 23px;
    font-weight: bold;
}

.Header_Seperator {
    width: 2px;
    height: 100%;
    background-color: var(--background-color);
}

.Header_TextBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Header_Text {
    font-size: 10px;
    font-weight: bold;
}

.ChoicesButton_SelectedColor {
    background-color: var(--primary-color);
}

.CourseTitle_Box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 0px 5px 0px;
}

.CourseTitle {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    -webkit-text-stroke: 0.1px #000;

    padding: 5px 25px;
    background-color: var(--primary-color);
    border-radius: 50px;
}

.CourseTitle_Description {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.RadioQuestion_Box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.RadioQuestion_InnerBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Question_Title {
    font-size: 16px;
    font-weight: bold;
}

.Question_RadioBox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.Question_RadioBox_1Column {
    grid-template-columns: 1fr;
}

.Question_RadioBox_1Column .QuestionCard_RadioButton {
    justify-content: flex-start;
    text-align: left;
}

.Result_Box {
    width: 100%;
    display: flex;
    gap: 15px;
    padding: 5px 15px 10px;
}

.Result_PercentageInnerBox {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
}

.Result_Percentage_PercentageScore {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.Result_Percentage_PercentageScore1 {
    background-image: url(../img/Icon_Result_Background1.png);
}
.Result_Percentage_PercentageScore2 {
    background-image: url(../img/Icon_Result_Background2.png);
}
.Result_Percentage_PercentageScore3 {
    background-image: url(../img/Icon_Result_Background3.png);
}

.Result_Percentage_Title {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.Result_Percentage_HR {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.Result_Percentage_PercentageScore {
    text-align: center;
    padding: 5px 0px;
}

.Result_Percentage_PercentageScoreText {
    font-size: 30px;
    font-weight: bold;
}

.Result_Percentage_PercentageScoreLabel {
    font-size: 14px;
}

#ResultCarousel {
    height: 100%;
}

.Result_CarouselButtonBar {
    display: flex;
    color: #777;
}

.Result_CarouselButton {
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    /* transition: all 0.3s; */
}

.Result_CarouselButton_Selected {
    border-bottom: 3px solid var(--primary-color);
}

.NextButton_DisabledColor {
    opacity: 0.4;
}

.DiagnosisResult {
    margin: 20px 10px 0px 10px;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px 20px 10px 20px;
    text-align: justify;
}

.DiagnosisResult_Title {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 20px;
    transform: translateY(-50%) translateX(30px);
    background-color: var(--background-color);
    color: #ff5757;
    font-size: 18px;
}

.DiagnosisResult_Desc {
    font-size: 15px;
    line-height: 1.7;
}

.PercentageScoreButton_Selected {
    background-color: var(--primary-color);
}

.Result_PercentageInnerBox:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 10px solid transparent;
    border-top: 10px solid transparent;
    width: 0;
    height: 0;
    transition: all 0.3s;
}

.PercentageScoreButton_Selected:after {
    border-top: 10px solid var(--primary-color);
}

.PercentageScoreButton_Selected .Result_Percentage_HR {
    background-color: var(--background-color);
}

.Result_CardBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0px;
    background-color: var(--tint-color);
    border-radius: 10px;
}

.Result_CardBox_Title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.Result_CardBox_HR {
    border-bottom: 3px dashed var(--background-color);
}

.Result_CardBox_Desc {
    font-size: 14px;
    padding: 0px 15px;
}

.Result_MovieBox {
    position: relative;
    width: 100%;
    padding: 5px 15px;
}

#CourseMovieBox {
    aspect-ratio: 16 / 9;
}

.Result_Movie_ModalButtonBox {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #aaa;
    border-radius: 10px;
    background-color: #fff;
}

#Result_Movie_LoadButton {
    background-color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 50px;
    color: #000;
}

.ContentContainer_BodyBox_Epilogue {
    gap: 30px;
    height: calc(100% - 75px);
}

.Suggestion_Box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.Suggestion_Title {
    font-size: 20px;
    font-weight: bold;
}

.Suggestion_Img {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
}

.Suggestion_Desc {
    width: 100%;
    font-size: 14px;
    text-align: justify;
    padding: 0 10px;
}

.ContentContainer_TopPage_BodyBox {
    justify-content: space-between;
    padding-bottom: 0px;
}

.ContentContainer_ImgBox {
    padding: 5px 10px;
}

.TopPage_Img {
    width: 100%;
    object-fit: contain;
}

.CustomToolbar {
    height: 60px;
}

.toolbar__left {
    display: flex;
    align-items: center;
}

.TopPage_ImgBox {
    display: flex;
    flex-direction: column;
    gap: 15px;
}