﻿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, .signup-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;
}

#signup-form, #login-form {
  width: 100%;
}

#signup-form h2, #login-form h2 {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-size:20px;
  line-height:22px;
}

#signup-form input, #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{
  opacity:0.7;
}

#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;
}

#signup-form p{
  color: #5f5d60;
  letter-spacing: 1px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size:20px;
  font-weight:bold;
  position: relative;
  display: inline-block;
  padding: 0 120px;
}

#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;
}

#signup-form p:before, #signup-form p:after {
  content: '';
  position: absolute;
  top: 40%;
  display: inline-block;
  width: 100px;
  height: 2px;
  border-top: solid 1px #5f5d60;
  border-bottom: solid 1px #5f5d60;
}

#signup-form p:before {
  left:0;
}
#signup-form p:after {
  right: 0;
}





.top-wrapper{
  height:70px;
}

.container{
  width: 1024px;
  padding: 0;
  margin: 0 auto;
  overflow:hidden;
}

.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(187,205,174);
}

.choice h1:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 90%;
  height: 0;
  border-bottom: 3px solid #778899;
}

.main-wrapper{
  height:740px
}

.free-wrapper{
  float:left;
  position:relative;  
  height:950px
  width:500px;
  margin:20px 30px 0 40px;
}

.license-wrapper{
  position:relative;  
  height:950px
  width:500px;
  margin:20px 30px 0 30px;
}

.free-caption{
  position:absolute;
  width:100%;
  padding:5px;
  box-sizing:border-box;
  top:0;
}

.license-caption{
  position:absolute;
  width:100%;
  padding:5px;
  box-sizing:border-box;
  top:0;
}

.free-wrapper img{
  width:460px;
  opacity:0.4;
  border-radius:10px;
}

.license-wrapper img{
  width:460px;
  opacity:0.4;
  border-radius:10px;
}

.free-caption h1{
  font-size:40px;
  font-weight:bold;
  margin:10px 0 0 100px;
}

.free-caption h2{
  font-size:40px;
  font-weight:bold;
  margin:10px 0 20px 170px;
}

.free-caption p{
  font-size:30px;
  font-weight:bold;
  margin:7px 0 0 20px;
}

.small-1{
  font-size:20px;
  font-weight:bold;
  vertical-align:middle;
}

.small-3{
  font-size:27px;
  font-weight:bold;
}

.line{
  line-height:27px;
}

.annotation p{
  font-size:18px;
  line-height:19px;
  position:absolute;
  margin:110px 0 0 10px;
}

.license-caption h1{
  font-size:40px;
  font-weight:bold;
  margin:10px 0 0 590px;
}

.license-caption h2{
  font-size:40px;
  font-weight:bold;
  margin:10px 0 20px 610px;
}

.license-caption p{
  font-size:30px;
  font-weight:bold;
  margin:7px 0 0 530px;
}

.btn-register{
  margin:30px 0 20px 20px;
}

.btn-free{
  padding:8px 15px;
  margin:5px 0 10px 100px;
  background:darkgreen;
  color:white;
  display:inline-block;
  opacity:0.8;
  border-radius:4px;
  font-size:30px;
  position:absolute;
  z-index:10;
}

.btn-register a{
  font-size:30px;
  color:white;
  text-decoration:none;
}

.btn-buy{
  margin:30px 0 20px 20px;
}

.btn-license{
  padding:8px 15px;
  margin:5px 0 10px 620px;
  background:darkblue;
  color:white;
  display:inline-block;
  opacity:0.8;
  border-radius:4px;
}

.btn-buy a{
  font-size:30px;
  color:white;
  text-decoration:none;
}

.small-2 p{
  font-size:22px;
  font-weight:bold;
  line-height:24px;
  color:midnightblue;
  margin:-10px 0 0 515px;
  position:absolute;
}

.sttlement a{
  font-size:24px;
  font-weight:bold;
  margin:40px 0 0 530px;
  text-decoration:none;
  position:absolute;
}



.bottom-wrapper{
  height;200px;
  overflow:hidden;
}

.btn-choice{
  float:right;
  margin-right:20px;
}

.btn-rev{
  padding:8px 15px;
  margin:5px 0 10px 30px;
  background:#007700;
  color:white;
  display:inline-block;
  opacity:0.8;
  border-radius:4px;
}

.btn-back{
  padding:8px 15px;
  margin:5px 0 10px 30px;
  background:#000055;
  color:white;
  display:inline-block;
  opacity:0.8;
  border-radius:4px;
}

.btn-choice a{
  font-size:30px;
  color:white;
  text-decoration:none;
}

.btn:hover{
  opacity:1;
}


#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;
}


.pay-box{
  margin:50px 0 0 480px;
}

.div-ha-buy-button{
  margin:16px 0 0 0;
}

.ha-buy-button {
    display: block;
    font-size: 25px;
    font-weight:bold;
    padding: 4px 30px;
    margin: 0 auto;
    margin-top: 16px;
    margin-bottom: 0px;
    color: #fff;
    background: #0000FF;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    cursor: pointer;
}

.ha-buy-button:hover {
    background: #000077;
}

.ha-buy-button:disabled {
    color: #808080;
    background: #eee;
    border: 2px solid #808080;
    pointer-events:none;
}

.ha-check-button{
  display:block;
  text-align:center;
}

.ha-check-button a{
  font-size:20px;
  font-weight:bold;
}

.ha-mini-text{
  font-size:20px;
  font-weight:bold;
}

.ha-mini-text2{
  font-size:17px;
}

.ha-mini-text3{
  font-size:15px;
  margin:0px 0 0 125px;
}

input#ha-buy-check {
    transform: scale(1.8);
    margin-right: 1.2em;
}