@import url('./reset.css');
@import url('./article.css');

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #222;
    color:white;
}

.title{
    font-size: 24px;
    margin: 12px;
}

.subtitle{
    font-size: 18px;
    margin: 12px;
}



.hr{
    border: 0;
    height: 1px;
    background-color: #555;
}

header{
    background-color: #333;
    color: white;
    padding: 8px 12px;
    text-align:left;
}

main{
    padding: 36px;
}

.section-title{
    font-size: 24px;
    margin: 12px;
}

.course-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.course{
    background-color: #444;
    color: white;
    margin: 12px;
    padding: 12px;
    border-radius: 8px;
    width: 400px;
    display: flex;
    flex-direction: column;
}

.course-title{
    font-size: 20px;
    margin: 12px;
}

.studentinfo{
    height: 3rem;
}

.course-description{
    font-size: 16px;
    margin: 12px;
}

.course-link{
    background-color: #516fd1;
    padding: 8px 12px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    margin: 12px;
    margin-left: auto;
    transition: all 0.5s;
}

.course-link:hover{
    background-color: #2f56d7;

}

.navbut{
    background-color: #516fd1;
    padding: 8px 12px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.5s;
    border : none;
}

.navbut:disabled{
    opacity: 0.5;
}

.contents-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 90%;
    min-width: 320px;
}

.contents{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height:100svh
}

.buttongroup{
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
    width: 100%;
}

.contents-title{
    margin:0;
    font-size:1rem;
}

.article *{
    all:initial;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.article{
    width: 100%;
    margin-top: 12px;
}

iframe{
    overflow: hidden;
    /*スクロールバー非表示（IE・Edge）*/
    -ms-overflow-style: none;
    /*スクロールバー非表示（Firefox）*/
    scrollbar-width: none;
    height: 100%;
  }
  /*スクロールバー非表示（Chrome・Safari）*/
  iframe::-webkit-scrollbar{
    display:none;
  }