@charset "utf-8";
/* 個別のパーツやコンポーネント（タブ、カスタムラジオボタンなど）に関するもの */

/* カスタムラジオボタンのデザイン */
input {
    position: absolute;
    left: -9999px;
}
label {
    display: block;
    position: relative;
    margin: 20px;
    padding: 15px 30px 15px 62px;
    border: 3px solid #fff;
    border-radius: 100px;
    color: #fff;
    background-color: #6a8494;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color .2s, box-shadow .2s;
}
label::before {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 32px;
    border: 3px solid #fff;
    border-radius: 100px;
    transition: background-color .2s;
}
label:hover, input:focus + label {
    box-shadow: 0 0 20px rgba(0, 0, 0, .6);
}
input:checked + label {
    background-color: #ab576c;
}
input:checked + label::before {
    background-color: #fff;
}

/* 回答表示/非表示関連 */
.disp_answer { 
    display:none;
}
.disp_answer.active {
    color:#ec6c6c;
    margin-left: 10px;
    font-weight: bold;
    font-size: 150%;
    display: block;
}
.disp_correct.active {
    display: none;
}

/* タイトル・見出しのスタイル */
section h3 {
    font-weight: bold;
    font-size: 100%;
    padding: 2px 0;
    color: #4e0c00;
    position: relative;
}
#main h4 {
    background: #fff1c8;
    padding: 2px 5px;
    font-size: 14px;
    color: #694308;
    border-bottom: 2px solid #e4c792;
    border-top: 1px solid #f5edd5;
}
.main-content h2 {
    font-size: 16px;
    color: #352828;
    margin-bottom: 15px;
    background: #87C4FF 0 0/8px 8px;
    border-radius: 10px 0 0 10px;
    padding: 0 5px;
    border: 1px solid #fcfcff;
    background-image: linear-gradient(-45deg,transparent 40%,rgba(255,255,255,.2) 40%,rgba(255,255,255,.2) 60%,transparent 60%,transparent);
}
.main-content h2::before {
    content: '◆';
    font-size: 20px;
    color: #686868;
    margin-right: 5px;
    text-shadow: -1px -1px #ead9ba;
}
.questionInfo {
    text-align: right;
    color: #999;
    font-size: 90%;
    margin: 1em 0;
}
.untikArea h3 {
    display: block;
    font-size: 1.17em;
    color: #881F1F;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    border-bottom: 2px solid #881F1F;
    border-width: 100%;
}
blockquote {
    padding: 5px 10px;
    margin: 10px 0;
    text-indent: 0;
    background: #f0f0f0;
    font-style: italic;
    color: #555;
    border-left: 4px solid #DDD;
}
.yourAnswers{
    padding-top: 50px;
    margin-top: 50px;
    margin-left: 20px;
    color: #4e0c00;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 3em;
    font-style: italic;
}
.side-content h3::before {
    content: '●';
    color: #fff;
    margin-right: 5px;
}
.side-content h3 {
    margin-bottom: 3px;
    margin-top: 4px;
    font-size: 14px;
    background: #39A7FF;
    padding: 5px 0;
    color: #4e4e4e;
    border-top: 6px solid #87C4FF;
    font-weight: bold;
}
.btnSide :hover {
    color: #fff;
    opacity: 0.2;
}

/* 切り替えタブ */
.tab-003 {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
}
.tab-003 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    background-color: #f2f2f2;
    color: #999;
    font-weight: 600;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
    display: none;
}
.tab-003 > label:hover {
    opacity: .8;
}
.tab-003 input {
    display: none;
}
.tab-003 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}
.tab-003 label:has(:checked) {
    border-bottom: 4px solid #de5866;
    color: #de5866;
}
.tab-003 label:has(:checked) + div {
    display: block;
}

#tabs.tabs {
    display: flex;
    padding-left: 0;
}
.tabs li{
    flex: 1;
}
.tabs a {
    display: block;
    text-align: center;
    padding: 9px 0;
    color: #999;
    font-size: 14px;
    background: linear-gradient(0deg,#DDD 4px,#fff 4px);
    transition: background .3s;
    user-select: none;
    border: 1px;
}
#tabs>.tabsList.active>a {
    color: #de5866;
    font-weight: bold;
    background: linear-gradient(0deg,currentColor 4px,#fff 4px);
    transition: .3s;
}

/* その他パーツ */
.font-fix-sm {
    font-size: 13px;
}
.selectBtn {
    display: flex;
    justify-content: space-around;
    margin: 30px 0 100px;
}
.selectBtn .hover {
    flex-basis: 200px;
    margin: 0 10px;
    display: block;
    text-align: center;
    font-size: 150%;
    line-height: 45px;
    color: #fff;
    background: #5AA572;
    border-radius: 8px;
    box-shadow: 0 5px 0 #4a7d5a;
    transition: opacity .2s,box-shadow .2s,transform .2s;
}
.btnGoKakomon {
    max-width: 380px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.settings_block{
    margin-top: 35px;
}
.comment {
    margin-bottom: 30px;
    margin-bottom: 10px;
}
h3 .comment{
    color:#1900ff;
}
#logo {
    padding: 3px 5px;
    width: 273px;
    height: auto;
}
#announcement { 
    position: absolute;
    min-width: 350px;
    height: auto;
    right: 2px;
    padding: 2px 2px;
    font-size: 12px;
    text-align: center;
    padding: 3px 5px;
    box-shadow: 0 0 30px 10px #ffe0cc inset;
    border-radius: 5px;
    background: #ffeee7;
    border: 1px solid #b8a8a4;
    margin: 2px;
}
#announcement span {
    font-family: "Times New Roman";
    font-size: x-large;
    font-weight: bold;
    color: red;
}
.topMessage {
    background: #39A869;
    margin: 5px;
    padding: 5px;
    color: #fffeff;
    border: 2px solid #39A869;
    text-align: center;
}
ul#pasttest {
    list-style: none;
    padding-left: 0;
}
.answerBox {
    display: flex;
    margin-bottom: 50px;
}
table#table01 {
    border: solid 1px;
    text-align: center;
}
#table01 thead{
    background-color: rgb(223, 223, 223);
}
#table01 tr {
    border-bottom: 1px solid #b5b1b1;
}
#table01 th{
    padding: 15px 0;
    border: none;
}
#table01 td :nth-child(odd){
    padding: 15px 0;
    border: none;
}
#table01 td:nth-child(even){
    padding: 15px 0;
    border: none;
    border: 1px solid rgb(167, 163, 163);
    border-collapse: collapse;
}
#table01 th {
    width: 30%;
}