:root {
    --highlight-color: white;
    --light-color: royalblue;
    --first-color: #2f0ac4;
    --second-color: #2604af;
    --third-color: #20058a;
    --fourth-color: #09012a;
    --invisible-color: #ffffff00;
    --bg: #f5f5fb;
}

@font-face {
    font-family: "GameFont10-Bold";
    src: url("/PixelMplus-20130602/PixelMplus10-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "GameFont10-Regular";
    src: url("/PixelMplus-20130602/PixelMplus10-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "GameFont12-Bold";
    src: url("/PixelMplus-20130602/12-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "GameFont12-Regular";
    src: url("/PixelMplus-20130602/PixelMplus12-Regular.ttf") format("truetype");
}

*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

body{
    background-color: var(--bg);
    font-family: "Hiragino Kaku Gothic ProN", 
             "Hiragino Sans", 
             "Meiryo", 
             sans-serif;
}

.header_container{
    width: 100%;
}

.logo_header{
    background-color: var(--light-color);
    height: 60px;
    padding-top: 20px;
    padding-left: 3%;
    font-size: 40px;
}

.logo{
    color: white;
    text-align: left;
    line-height: 1.2;
    font-weight: bold;
}

.list_header{
    background-color: var(--second-color);
    width: 100%;
    height: 70px;
    border-top: var(--first-color) 5px solid;
    border-bottom: var(--third-color) 10px solid;
}

.list_header ul{
    height: 100%;
    width: min(900px, 92%);
    margin: 0 auto;
    list-style: none;
    display: flex;
}

.list_header li{
    flex: 1;
    height: 100%;
    background-color: var(--invisible-color);
}

.list_header a{
    display: block;
    height: 100%;
    text-align: center;
    line-height: 70px;
    font-size: 30px;
    font-weight: bold;
    color: var(--highlight-color);
    transition: all 0.2s;
}

.list_header a:hover{
    background-color: var(--highlight-color);
    color: var(--light-color);
}


.main_container{
    width: 100%;
}


.main_inner{
    background-color: var(--highlight-color);
    width: min(900px, 92%);
    margin: 0 auto;
    padding: 20px 16px;
}

.content_box_top{
    width: auto;
    height: auto;
}

.content_box_middle{
    height: auto;
    margin-bottom: 30px;
}

.content_title{
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
    padding: 10px 0;
}

.content_list{
    background-color: var(--bg);
    border: var(--fourth-color) 2px solid;
    border-radius: 8px;
    width: 98%;
    max-width: 900px;
    height: 180px;
    overflow-y: auto;
    scrollbar-color: var(--light-color) var(--invisible-color);
    margin: 0 auto;
    margin-bottom: 30px;
}

.content_list ul{
    padding: 10px 20px;
    list-style: none;
    font-size: 18px;
    line-height: 30px;
}

.content_list li{
    text-decoration-line: underline;
    border-bottom: var(--fourth-color) 2px dotted;
    padding: 10px 0;
}

.content_list li:last-child{
    border-bottom: none;
}

canvas{
    display: block;
    margin: 0 auto;
    background-color: var(--bg);
    border: var(--fourth-color) 2px solid;
    border-radius: 8px;
}


.footer_container{
    width: 100%;
}

.footer_inner{
    border-top: var(--second-color) 10px solid;
    background-color: var(--third-color);
    padding: 10px 3%;
    border-bottom: var(--fourth-color) 20px solid;
}

.logo_footer{
    font-size: 20px;
    height: 20px;
}

.list_footer{
    width: 100px;
    height: 120px;
    margin-left: auto;
}

.list_footer ul{
    font-size: 15px;
    line-height: 30px;
    list-style: none;
}

.list_footer a{
    text-align: center;
    font-weight: bold;
    color: var(--highlight-color);
    transition: all 0.2s;
}

.list_footer a:hover{
    font-size: 18px;
    line-height: 27px;
    color: var(--light-color);
}

.copyright{
    display: block;
    height: 30px;
    padding-top: 20px;
    text-align: center;
    line-height: 20px;
    color: var(--highlight-color);
    font-size: 15px;
}

@media (max-width: 600px){
  .logo_header{
    padding: 20px 0 0 0;
    font-size: 30px;
  }

  .logo_header .logo{
    text-align: center;
  }

  .list_header{
    height: auto;
  }
  .list_header ul{
    flex-direction: column;
    width: 90%;
  }
  .list_header a{
        line-height: 64px;
  }
}