

@font-face {
    font-family: 'MPLUSRounded1c-Bold';
    src: url('../fonts/MPLUSRounded1c-Bold.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-Black';
    src: url('../fonts/MPLUSRounded1c-Black.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-ExtraBold';
    src: url('../fonts/MPLUSRounded1c-ExtraBold.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-Light';
    src: url('../fonts/MPLUSRounded1c-Light.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-Medium';
    src: url('../fonts/MPLUSRounded1c-Medium.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-Regular';
    src: url('../fonts/MPLUSRounded1c-Regular.ttf');
}
@font-face {
    font-family: 'MPLUSRounded1c-Thin';
    src: url('../fonts/MPLUSRounded1c-Thin.ttf');
}

@font-face {
    font-family: 'AmeChanPopMaruLight-Regular';
    src: url('../fonts/AmeChanPopMaruLight-Regular.otf') format("opentype");
}
@font-face {
    font-family: 'Boku2-Regular';
    src: url('../fonts/Boku2-Regular.otf') format("opentype");
}

@font-face {
    font-family: 'CP_Font';
    src: url('../fonts/CP_Font.otf') format("opentype");
}

@font-face {
    font-family: 'msgothic001';
    src: url('../fonts/msgothic001.TTF') format("opentype");
}

@font-face {
    font-family: 'msgothic002';
    src: url('../fonts/msgothic002.TTF') format("opentype");
}

@font-face {
    font-family: 'msgothic003';
    src: url('../fonts/msgothic003.TTF') format("opentype");
}

@font-face {
    font-family: 'msmincho001';
    src: url('../fonts/msmincho001.TTF') format("opentype");
}

@font-face {
    font-family: 'msmincho002';
    src: url('../fonts/msmincho002.TTF') format("opentype");
}

@font-face {
    font-family: 'BIZUDGothic-Regular';
    src: url('../fonts/BIZUDGothic-Regular.ttf') format("opentype");
}

@font-face {
    font-family: 'BIZUDGothic-Bold';
    src: url('../fonts/BIZUDGothic-Bold.ttf') format("opentype");
}



* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


html {scroll-behavior: smooth;}

body {
    font-family: "BIZUDGothic-Regular", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

main {
    padding: 0px 20px 30px 20px;
    height: calc(100vh - 140px);
    overflow: auto;
}

footer {
    background-color: lightgrey;
    height: 30px;
    display: grid;
    align-items: center;
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100%;
}









.br_768_on {
    display: none;
}


/*  パンくず    */
.headline {
    text-align: center;
    color: white;
    padding: 1px;
    background: #c7e9e8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    list-style: none;
    display: flex;
    padding: 2px;
    background-color: #c7e9e8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}
.breadcrumb li {
    margin-right: 10px;
}
.breadcrumb li a {
    text-decoration: none;
    color: #007bff;
}
.breadcrumb li a:hover {
    text-decoration: underline;
}
.breadcrumb li::after {
    content: ">";
    margin-left: 10px;
    color: #666;
}
.breadcrumb li:last-child::after {
    content: "";
}
.breadcrumb li:last-child a {
    color: #333;
    pointer-events: none;
    text-decoration: none;
}
/********/















/*     ヘッダー     */
#header {
    display: inline-flex;
    font-size: calc(16px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    width: 100%;
    height: 50px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0 10px;
    align-items: center;
    justify-content: space-between;
}
#page_title {
    display: inline-flex;
    font-size: calc(20px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    font-weight: bold;
    color: #548235;
    height: 60px;
    width: 100%;
    align-items: center;
    padding-left: 30px;
    background-color: #E2F0D9;
    border: 1px solid #548235;
}
a.btnReturn {
    margin-left: auto;
    margin-right: 10px;
}
a.btnReturn>button {
    font-size: 22px;
    padding: 10px;
}



 /* メインエリアの標準スタイル */
.max_width_1000 {
    max-width: 1000px;
    margin: auto;
}
.max_width_900 {
    max-width: 900px;
    margin: auto;
}
.max_width_800 {
    max-width: 800px;
    margin: auto;
}

.content, .container {
    text-align: center;
}
.content>.recruit_title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 3px dotted #5ce1e6;
}


ol.Chapter {
    list-style: none;
    display: inline-block;
    text-align: left;
    padding: 0px;
}
ol.Chapter>li {
    margin: 20px 0px;
}
ol.Chapter>li>.ChapterTitle {
    font-size: 20px;
    font-weight: bold;
    display: inline;
}

ol.Section {
    margin-left: 30px;
    list-style: upper-roman
}
ol.Section>li {
    margin: 10px 0px;
}
ol.Section>li>.SectionTitle {
    display: inline;
    font-size: 16px;
    font-weight: bold;
}
ol.Section>li.Selectable>.SectionTitle {
    color: #0000FF;
}

ol.Section>li.Selectable>.SectionTitle:hover {
    font-weight: bold;
    color: #442dbb;
    cursor: pointer;
}

ol.SubSection {
    margin-left: 25px;
    list-style: none;
}
ol.SubSection>li {
    margin: 10px 0px;
    counter-increment: number;
    &::marker {
        content: counter(number)"）";
    }
}
ol.SubSection>li>.SubSectionTitle {
    display: inline;
}
ol.SubSection>li.Selectable>.SubSectionTitle {
    color: #0000FF;
}
ol.SubSection>li.Selectable>.SubSectionTitle:hover {
    font-weight: bold;
    color: #442dbb;
    cursor: pointer;
}


/*  年度    */
div.ChapterYearBlock {
    display: none;
    overflow: hidden;
    position: relative;
    max-width: 450px;
    min-width: 340px;
}
div.ChapterYearBlock.CYBC {
    left: -26px;
}
div.ChapterYearBlock.CYBGC {
    left: -53px;
}

div.ChapterYearBlock >a.TargetYear {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    margin: 5px;
    padding: 10px 7px;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(0deg, #25d0ae 0%, #25d0ae80 100%);
    float: left;
    cursor: pointer;
}
div.ChapterYearBlock>a.TargetYear::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}
div.ChapterYearBlock>a.TargetYear:hover {
    animation: anima-TargetYear 2s linear infinite
}
@keyframes anima-TargetYear {
    7% {
        transform: translateY(-15px);
    }
    15% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-7px);
    }
    25% {
        transform: translateY(0);
    }
}


/*  問題表示画面    */
.Chapter_atc {
    display: inline-block;
    text-align: left;
    margin-bottom: 40px;
}
.Chapter_atc div {
    margin: 10px 0px;
}

.Chapter_atc>.Chapter {
    font-size: calc(14px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    font-weight: bold;
}
.Chapter_atc>.Section {
    font-size: calc(14px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    margin-left: 20px;
}
.Chapter_atc>.SubSection {
    font-size: calc(14px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    margin-left: 40px;
}

.Question {
    position: relative;
    font-size: 14px;
    border-top: 5px solid #00FF00;
    border-radius: 20px;
    background-color: #FFFFFF;
    text-align: left;
    padding: 20px;
    padding-top: 35px;
}
.Question>.QuestionNo {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    width: 110px;
    height: 60px;
    padding-top: 19px;
    padding-left: 28px;

    display: inline-block;
    position: absolute;
    top: -30px;
    left: 20px;

    background-image: url("../images/img_question.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
.Question>.QuestionValue {
    margin: 10px 0px;
    font-weight: 700;
}
.Question>.QuestionExpla {
    margin-bottom: 20px;
}
.Question>.QuestionChoices {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.Question>.QuestionChoices>.qImage {
    width: 50%;
    flex: 1;
}
.Question>.QuestionChoices>.Choices {
    width: 50%;
    padding-left: 50px;
    flex: 1;
}
.Question>.QuestionChoices>.qImage>img {
    width: 100%;
}


.Question>.QuestionChoices>.Choices>ol>li {
    margin: 10px 0px;
}
.Question>.QuestionChoices>.Choices>ol>li label {
    cursor: pointer;
}

.AnswerButton {
    font-size: 18px;
    text-align: center;
    color: #FFFFFF;
    width: 80%;
    border-radius: 5px;
    background-color: #71ad8e;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 10px;
    padding: 20px;
    cursor: pointer;
}
.AnswerButton.disabled {
    background-color: #d3d3d3;
}


.AnswerArea {
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #F2F2F2;
    display: none;
}
.AnswerArea>.AnswerValue {
    font-size: 20px;
    text-align: center;
    position: relative;
}
.AnswerArea>.AnswerValue img {
    max-width: 50px;
    position: absolute;
    top: -15px;
    right: 0px;
    display: none;
}

.AnswerArea>.AnswerExplanation {
    padding: 20px 0px;
}
.tblExplanation td {
    height: 30px;
}
.tblExplanation td.tdSection {
    width: 30px;
}
.tblExplanation td.tdTrueOrFalse {
    width: 50px;
}

.AnswerArea>.AnswerReference {
    padding: 20px 0px;
}
.AnswerArea>.AnswerReference>.Title {
    font-size: 16px;
}
.AnswerArea>.AnswerReference>.Value {
    padding: 10px 0px;
}

.AnswerArea>.AnswerButtonArea {
    text-align: right;
}
.AnswerArea>.AnswerButtonArea>.btnNext {
    font-weight: bold;
    color: #FFF;
    text-align: center;
    display: inline-block;
    background-color: hotpink;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}


/*  結果表示    */
.Result {
    position: relative;
    font-size: 14px;
    border-top: 5px solid #FFC000;
    border-radius: 20px;
    background-color: #FFFFFF;
    text-align: left;
    /*padding: 20px;*/
    padding-top: 35px;
    padding-bottom: 20px;
}
.Result>.ResultTitle {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    width: 110px;
    height: 60px;
    padding-top: 19px;
    padding-left: 35px;

    display: inline-block;
    position: absolute;
    top: -30px;
    left: 20px;

    background-image: url("../images/img_result.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.Result .ResultSummary {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
.Result .ResultSummary div {
    padding: 10px 20px;
    display: inline-block;
}
.Result .ResultTable {
    margin: 30px auto;
    font-size: 22px;
    border-collapse: collapse;
}
.Result .ResultTable td {
    text-align: center;
    width: 80px;
    height: 50px;
    border-bottom: 1px solid #000000;
}
.Result .ResultButtonArea {
    text-align: center;
}
.Result .ResultButtonArea div {
    font-weight: bold;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 30px;
}
.Result .ResultButtonArea div.btnToReturn {
    background-color: #329157;
}
.Result .ResultButtonArea div.btnToTop {
    background-color: hotpink;
}









/* レスポンシブ対応 */
@media (max-width: 768px) {
    .br_768_on {
        display: block;
    }

    #page_title {
        padding-left: 5px;
    }

    main {
        padding: 0px 4px 130px 4px;
    }

    .Question {
        padding: 5px;
        padding-top: 35px;
    }

    .Question>.QuestionChoices {
        flex-direction: column;
    }
    .Question>.QuestionChoices>.qImage, 
    .Question>.QuestionChoices>.Choices {
        width: auto;
    }


    .AnswerButton {
        width: 98%;
    }
    .AnswerArea {
        width: 98%;
        padding: 10px;
    }


    .Result .ResultButtonArea div {
        margin: 10px 0px;
    }


}















