@charset "UTF-8";

a {
    background-color: transparent;
    color: #270909;
    font-weight: bold;
}

h1 {
    text-align: center;
    vertical-align: middle;
}

img {
    width: 100%;
}

/* 3Column */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 553px;
}

.header {
    padding: .5rem .5rem 0;
}

.main {
    margin: 0 auto;
    width: 100%;
    flex: 1 1 auto;
}

/* contents */

.shadow {
    filter: drop-shadow(0 0 3px #999);
}

.container {
    margin: 0 auto;
    padding: .5rem 1rem 0;
}

.ttl {
    background: url(../img/top_ttl_back.png) no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    padding: 6% 12%;
    text-align: center;
    filter: drop-shadow(3px 2px 3px #666);
    display: flex;
    margin-bottom: .8rem;
}

.illust {
    animation: key1 .7s ease infinite alternate;
    position: fixed;
    right: .5rem;
    bottom: 2.5rem;
    width: 10%;
    z-index: 100;
}

@keyframes key1 {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.content {
    text-align: center;
    margin: 0 auto 1rem;
}


.btn_paper {
    background: url(../img/btn_paper.png) no-repeat;
    background-size: contain;
    padding: 10%;
    filter: drop-shadow(3px 2px 3px #666);
}

.top_list_ttl {
    margin-top: .8rem;
    font-size: 1rem;
    letter-spacing: .05em;
    text-align: center;
}

.top_list_desc {
    margin: 0 auto;
    font-size: 2.4rem;
}

.article_list {
    flex-wrap: wrap;
}

.article_list .article {
    width: 26%;
    margin: .3rem .2rem;
    padding: .5rem .5rem 1rem;
    text-align: center;
    background: #fff;
    border: 2px solid #2e2e2e;
    box-sizing: border-box;
    border-radius: 1rem;
    filter: drop-shadow(0 2px 3px #666);
}

.article:hover {
    text-align: center;
    background: #3551A2;
    border: 2px solid #2e2e2e;
    box-sizing: border-box;
    border-radius: 1rem;
}

.article a {
    color: #000;
}

.article a:hover {
    color: #fff;
}

.bdr01 {
    text-align: center;
    display: inline-block;
    padding: 30px;
    margin: 0;
    border: solid 6px #2c291f;
    position: relative;
}

.bdr01:after {
    content: "";
    border: dotted 3px #2c291f;
    border-radius: 1rem;
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
}


.grid {
    display: flex;
    font-family: 'M PLUS 1p', sans-serif;
	border: solid 5px #e0e0e0;
}

.grid_item_row3 {
    width: 31.25%;
    background: url(../img/btn_paper.png) no-repeat;
    background-size: contain;
    padding: 2.5%;
    margin: 0 1%;
    filter: drop-shadow(3px 3px 2px #666);
}


/* footer */
.footer {
    flex-wrap: wrap;
    display: flex;   
    font-size: small;
    justify-content: space-between;
    padding-bottom: 10px;
    width: 98%;
}

.footer .foot_list {
    height: 36px;
    flex: 0 0 32%;
    padding: .5rem 0 .5rem .5rem;
    text-align: center;
    background: #ecd9af;
    border: 2px solid #625b49;
    box-sizing: border-box;
    border-radius: 1rem;
    filter: drop-shadow(3px 2px 3px #666);
    box-shadow: 0px 0px 8px 3px #c9ac75 inset;
}

.foot_list:hover {
    text-align: center;
    background: #c9ac75;
    border: 2px solid #625b49;
    box-sizing: border-box;
    border-radius: 1rem;
}

.foot_list a {
    color: #000;
}

.bdr02 {
    text-align: center;
    display: inline-block;
    padding: 30px;
    margin: 0;
    position: relative;
}


.teacher {
    background: url(../img/icon_teacher.png) left no-repeat;
    background-size: 20px;
    line-height: 1rem;
    letter-spacing: .2rem;
}

.rank {
    background: url(../img/icon_rank.png) left no-repeat;
    background-size: 20px;
    line-height: 1rem;
}

.mypage {
    background: url(../img/icon_mypage.png) left no-repeat;
    background-size: 16px;
    line-height: 1rem;
}

.logout {
    background: url(../img/icon_logout.png) left no-repeat;
    background-size: 16px;
    line-height: 1rem;
}

/* select page */

.article_list02 {
    flex-wrap: wrap;
}

.article_list02 .article {
    width: 90%;
    margin: 1rem 0 0;
    padding: .8rem 0;
    text-align: center;
    background: #fff;
    border: 2px solid #2e2e2e;
    box-sizing: border-box;
    border-radius: 1rem;
    filter: drop-shadow(0 2px 3px #666);
}

.article:hover {
    text-align: center;
    background: #3551A2;
    border: 2px solid #2e2e2e;
    box-sizing: border-box;
    border-radius: 1rem;
}

.article a {
    color: #000;
}

.article a:hover {
    color: #fff;
}

.top_list_ttl02 {
    margin-bottom: .8rem;
    font-size: 1rem;
    letter-spacing: .05em;
    text-align: center;
}

.list_subttl {
    font-size: 1rem;
    text-align: center;
    margin-top: .2rem;
}

.top_list_desc02 {
    margin: 0 auto;
    font-size: 1.8rem;
}

.white_btn {
    border: 2px solid #3c3254;
    border-radius: 8px;
    background: #fff;
    margin: .6rem auto 0;
    padding: .3rem;
    display: block;
    width: 70%;
}

.white_btn img {
    width: 10%;
    margin-right: 1rem;
}

.reading_btn li {
    border: 2px solid #3c3254;
    border-radius: 8px;
    background: #fff;
    margin: 1rem auto;
    padding: .6rem .3rem;
    display: block;
    width: 90%;
    box-sizing: border-box;
}

.reading_btn a:link {
    color: #000;
}

.reading_btn a:visited {
    color: #aac9d4;
}


/* login */
.login {
    padding: 1.4rem 1rem;
    clear: both;
    overflow: hidden;
    background: url(../img/bg_card.gif) no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    margin: .8rem;
    text-align: center;
}

.login form{
    font-weight: bold;
    margin-top: 2rem;
}

.login p{
    margin-top: 1rem;
}

.login .img_small{
    width: 35%;
    margin-top: 2rem;
    opacity: .8
}

.login input {
    margin-top: .5rem;
    border-radius: 4px;
    width: 80%;
}

.login button {
  margin: 1rem 0 1rem;
  max-width: 200px;
  background-color: #0188BA;
  border-radius: .4rem;
  color: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  cursor: pointer;
}

.login button,
[type="butto
n"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* score */
.resscore p{
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    display: block;
    background: #fff;
    padding: .6rem;
    border-radius: 4px;
    margin-top: 1rem;
    line-height: 1.4;
    text-align: center;
}

/* brain */
.brain {
    padding: 1.4rem 1rem;
    clear: both;
    overflow: hidden;
    background: url(../img/bg_card.gif) no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    margin: .8rem;
    text-align: left;
}

.brain h2{
    margin-bottom: 1rem;
    font-weight: bold;
}