body{
  margin:0;
  background:#ccc;
  font-size:0;
}

.wrapper{
  background:white;
  width:1024px;
  margin:0 auto;
}

#header{
  background:#333F50;
  height:55px;
  overflow:hidden;
}

#main-logo{
  float:left;
  width:210px;
  margin:5px 0 5px 10px;
}

#icon{
  display:flex;
  float:right;
  margin:8px 10px 0 0;
}

#icon img:hover{
  opacity:0.5;
}

.header-facebook{
  width:200px;
  margin-right:10px;
}

.header-mail{
  width:135px;
  margin-right:10px;
}

.header-mypage{
  width:175px;
}

.menu{
  background:#002060;
  height:28px;
  border-top-color:#4472C4;
  border-top-width:3px;
  border-top-style:solid;
  border-bottom-color:#4472C4;
  border-bottom-width:4px;
  border-bottom-style:solid;
}

ul{
  list-style:none;
}

#menu-contents{
  display:flex;
}

#menu-contents li{
  flex:auto;
  padding:5px 0 0 0;
}

#menu-contents a{
  font-size:16px;
  color:white;
  text-decoration:none;
}



.login-modal-wrapper{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
}

.modal {
  position: absolute;
  top: 20%;
  left: 34%;
  background-color: #e6ecf0;
  padding: 20px 0 40px;
  border-radius: 10px;
  width: 450px;
  height: auto;
  text-align: center;
}

.fa-times {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(128, 128, 128, 0.46);
  cursor: pointer;
  z-index:2;
}

.fa {
  margin-right: 5px;
  font-size:30px;
  font-weight:bold;
}

#login-form {
  width: 100%;
}

#login-form h2 {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-size:20px;
  line-height:22px;
}

#login-form input {
  width: 320px;
  margin-bottom: 20px;
  font-size: 12px;
  padding: 12px 12px;
  border: 1px solid #d0d5d8;
  border-radius: 5px;
}

#submit-btn a{
  display: inline-block;
  padding: 14px 140px;
  background-color: #008080;
  border: none;
  border-radius: 3px;
  color: white;
  margin: 10px auto;
  cursor: pointer;
  font-size:20px;
  font-weight:bold;
  text-decoration:none;
}

#submit-btn-new a{
  display: inline-block;
  padding: 14px 140px;
  background-color: #003399;
  border: none;
  border-radius: 3px;
  color: white;
  margin: 10px auto;
  cursor: pointer;
  font-size:20px;
  font-weight:bold;
  text-decoration:none;
}

#submit-btn a:hover, #submit-btn-new a:hover{
  opacity:0.7;
}

#login-form h2{
  font-size:20px;
  font-weight:bold;
  margin-bottom: 15px;
}

h3{
  font-size: 17px;
  font-weight:normal;
  color: #5f5d60;
  margin-top: 0px;
  margin-bottom: 20px;
}

#login-form p:before, #login-form p:after {
  content: '';
  position: absolute;
  top: 40%;
  display: inline-block;
  width: 60px;
  height: 2px;
  border-top: solid 1px #5f5d60;
  border-bottom: solid 1px #5f5d60;
}

#login-form p:before {
  left:0;
}
#login-form p:after {
  right: 0;
}

#login-form p {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 0px;
  font-size:20px;
  font-weight:bold;
  position: relative;
  display: inline-block;
  padding: 0 75px;
}


.top-wrapper{
  height:1005px;
}

.container{
  width: 1024px;
  padding: 0;
  margin: 0 auto;
}

.choice h1{
  position: relative;
  padding: 5px;
  border-left: 10px solid #778899;
  font-size:40px;
  margin:10px 0 20px 20px;
  border-bottom: 5px solid #7ed1e;
}

.choice h1:before {
  position: absolute;
  left: -10px;
  bottom: 0;
  content: '';
  width: 10px;
  height: 50%;
  background-color: rgb(54,96,173);
}

.choice h1:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 55%;
  height: 0;
  border-bottom: 3px solid #778899;
}

.level{
  width:250px;
  position:absolute;
  margin:-80px 0 0 600px;
}

.level-cap{
  font-size:20px;
  text-decoration:none;
  position:absolute;
  margin:-43px 0 0 855px;
}

p{
  font-size:13px;
  margin:20px 0 3px 40px;
}

.tab-group{
  width:300px;
  display: flex;
  justify-content: center;
}

.tab-group li{
  font-size:25px;
  color:white;
}

.tab{
  flex-grow: 1;
  padding:8px 0 5px 0px;
  list-style:none;
  text-align:center;
  cursor:pointer;
}

.t-terms{
  background:rgb(54,96,173);
  height:30px;
  border-top-right-radius :20px;
  border-top-left-radius :5px;
}

.t-parts{
  background:rgb(91,142,57);
  height:30px;
  border-top-right-radius :20px;
  border-top-left-radius :5px;
}

.t-themes{
  background:rgb(210,96,19);
  height:30px;
  border-top-right-radius :20px;
  border-top-left-radius :5px;
}

.t-improve{
  background:rgb(123,53,174);
  height:30px;
  border-top-right-radius :20px;
  border-top-left-radius :5px;
}

.panel-group{
  height:720px;
  width:945px;
  border-bottom:solid 3px #CCC;
  border-top:none;
  margin:0 40px;
}

.panel{
  display:none;
  font-size:20px;
  color:black;
}

.tab.is-active{
  color:rgb(222,222,222);
  transition: all 0.2s ease-out;
}

.panel.is-show{
  display:block;
}

.terms{
  background:rgb(54,96,173);
  height:625px;
  border-radius :0 8px 8px 8px;
}

.parts{
  background:rgb(91,142,57);
  height:625px;
  border-radius :0 8px 8px 8px;
}

.themes{
  background:rgb(210,96,19);
  height:625px;
  border-radius :0 8px 8px 8px;
}

.improve{
  background:rgb(123,53,174);
  height:835px;
  border-radius :0 8px 8px 8px;
}

.flex-box {
  padding:  10px;
  display: flex;
}

.course-item {
  margin:10px 10px 0 10px;
  align-self: stretch;
}

img {
  width:287px;
  border-radius:8px;
}

.course-left{
  margin:0 10px 0 10px;
}

.course-item img:hover{
  opacity:0.7;
}








.btn:hover{
  opacity:1;
}

.bottom-wrapper{
  height;100px;
}

.btn-choice{
  display:flex;
}

.btn-back{
  padding:8px 15px;
  margin:5px 0 10px 330px;
  background:#000055;
  color:white;
  display:inline-block;
  opacity:0.8;
  border-radius:4px;
}

.btn-choice a{
  font-size:30px;
  color:white;
  text-decoration:none;
}

#footer{
  height:250px;
  background:#333F50;
}

#footer a{
  font-size:20px;
  color:white;
  text-decoration:none;
  margin:20px 180px;
  display:inline-block;
}

#footer img{
  width:300px;
  margin:30px 180px;
  display:block;
}
