@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@500&family=Rampart+One&display=swap&text=VRCHECKPOINT123');

/* header */
.main-header {
    width: 100%;
    height: min(100vw, 500px);
    position: relative;
    background: url(../img/main-header-img.jpg) no-repeat top center / cover;
    overflow: hidden;
    z-index: 0;
}

.title-wrp {
    padding: 1em 0;
    width: min(60%, 600px);
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

@media (max-width:767px) {
    .main-header {
        height: min(60vw, 500px);
    }

    .title-wrp {
        width: min(80%, 500px);
    }
}

.main-contnets-wrp {
    --edge: 740px;
    padding: 1px 0 0;
    /*     background: linear-gradient(#fff 25%, #efcd92 25%); */
    background: linear-gradient(#fff var(--edge), #efcd92 var(--edge));
    position: relative;
}

@media (max-width:767px) {
    .main-contnets-wrp {
        --edge: min(165vw, 960px);
    }
}

.lead-wrp {
    text-align: center;
    padding: 10px 10px 30px;
}

.lead-wrp p {
    margin-top: 1.2em;
    font-weight: bold;
    font-size: min(2rem, 4vw);
    line-height: 1.8;
}

.lead-wrp .lead {
    display: inline-block;
    font-size: min(2.2rem, 4vw);
    position: relative;
    margin-top: 2em;
    color: var(--color-orange);
}

.lead-wrp .lead::before,
.lead-wrp .lead::after {
    content: '';
    display: block;
    width: 0;
    height: 2em;
    border-left: solid 1px;
    position: absolute;
    bottom: -.2em;
}

.lead-wrp .lead::before {
    right: calc(100% + 1em);
    transform: rotate(-30deg);
}

.lead-wrp .lead::after {
    left: calc(100% + 1em);
    transform: rotate(30deg);
}

.lead-wrp .orange {
    display: inline-block;
    padding: .5em 2em;
    font-size: min(2.4rem, 4.2vw);
    color: var(--color-orange);
    border: solid 4px;
    margin-top: 0;
    margin-bottom: 1em;
}

.factory-head {
    width: 25%;
    max-width: 180px;
    margin: -8em auto 0;
}

@media (max-width:767px) {
    .factory-head {
        margin: -2.5em auto 0;
    }
}

.mov {
    position: relative;
    width: min(calc(100% - calc(var(--base-gutter)*2)), var(--article-width));
    margin: 0 auto;
    padding: min(40px, 7vw) 0;
    text-align: center;
}

@media screen and (max-width: 767px) {

    .mov {
        padding-bottom: 2em;
    }
}

/* quiz */
#factory .pre-wrp-bk {
    background-color: rgba(239, 205, 146, .97);
    cursor: default;
}

#factory .pre-close-btn {
    color: #000;
}

#factory .pre-wrp-inner {
    --quiz-color: var(--color-orange);
}

.slide {
    border: 4px solid var(--color-orange);
    border-radius: 10px;
}

.slide .question::before {
    content: 'Q';
    display: inline-grid;
    place-items: center;
    width: 1.5em;
    aspect-ratio: 1/1;
    color: #fff;
    background-color: var(--color-orange) !important;
    border-radius: 100%;
    margin-right: .5em;
}

@media screen and (max-width: 767px) {
    .slide .question {
        padding-left: 2em !important;
    }
}

.slide .quiz_hd::after {
    content: '';
    display: block;
    height: 90%;
    aspect-ratio: 1/1;
    position: absolute;
    right: 4%;
    bottom: 0;
    background: url(../img/quiz-q.png) no-repeat center bottom / contain;
    /* transform: rotateY(180deg); */
}


.slide .answer_hd::after {
    height: 100%;
    aspect-ratio: 1.5/1;
    right: 0;
    background: url(../img/quiz-q.png) no-repeat center bottom / contain;
    /* transform: rotateY(180deg); */
}

.slide .answer_hd::after {
    height: 100%;
    aspect-ratio: 1.5/1;
    right: 0;
    background: url(../img/quiz-q.png) no-repeat center bottom / contain;
    /* transform: rotateY(180deg); */
}

.slide .quiz_hd::after,
.slide .answer_hd::after {
    content: '';
    display: block;
    height: 95%;
    aspect-ratio: 1.45/1;
    position: absolute;
    right: 15px;
    bottom: 0;
}
@media screen and (max-width: 767px) {
    .slide .quiz_hd::after {
        right: 0;
        aspect-ratio: 1/1;
    }
}

.slide .answer_hd::after {
    height: 120%;
    aspect-ratio: 1/1;
    right: 10px;
    background: url(../img/quiz-miss.png) no-repeat center bottom / contain;
}

.slide .correct .answer_hd::after {
    height: 120%;
    aspect-ratio: 1/1;
    right: 10px;
    background: url(../img/quiz-correct.png) no-repeat center bottom / contain;
}

@media screen and (max-width: 640px) {

    .slide .quiz_hd::after,
    .slide .answer_hd::after {
        display: none;
    }
}

.pre-wrp-inner [class*="choiceA"] {
    --answer-color: var(--color-red);
}

.pre-wrp-inner [class*="choiceB"] {
    --answer-color: var(--color-green);
}

.pre-wrp-inner [class*="choiceC"] {
    --answer-color: var(--color-blue);
}

/* movie4 get point screen */
#bc-mov4 .get-point-title>div {
    position: relative;
}

#bc-mov4 .get-point-title>div::before {
    content: '';
    display: block;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    width: 100%;
    height: min(150px, 25vw);
    background-image: url(../img/quiz-correct.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}
.factry-step-title-wrp{
    text-align: center;
    margin-top: 2em;
}
.factry-step-title{
    display: inline-block;
    font-size:1.6em;
    font-weight: bold;
    position: relative;
    color:var(--color-orange);
}
.factry-step-title::before,
.factry-step-title::after{
    content: '';
    width:1.5em;
    height:0;
    border-bottom: 2px solid;
    position: absolute;
    top:50%;
}
.factry-step-title::before{
    left:-2em;
}
.factry-step-title::after{
    right:-2em;
}
.factry-step-title-wrp .step{
    display: flex;
    justify-content: center;
    align-items: center;
    width:3em;
    height:3em;
    font-size:1.2em;
    border-radius: 100%;
    background-color:#fff;
    color:var(--color-orange);
    border:4px solid var(--color-orange);
    margin:1em auto;
    font-weight: bold;
}