@charset "utf-8";

body{
  background-color:#e73817;
}
span.password {
	font-size: 150%; 
	font-family: monospace; 
	font-weight: bold; 
	margin: 0px 0.3em; 
}
input[type=button] {
	font-size: 125%;
	margin: 1rem auto 0 auto;
}
div.guide {
	background-color: #e0e0e0;
	padding: 3px 1em;
}
.wrap{
  max-width:100%;
  padding:0;
  margin:0 auto 0 auto;
  padding-bottom:50px;
  background-color:#ffffff;
}
.wrap h1{
  color:#f16d16;
  text-align:center;
  background:#fcf2d2;
  border-bottom:10px solid #fce0cc;
  margin-bottom:5rem;
  padding:50px 0 30px 0;
}
.j1q .wrap .title{
  color:#f16d16;
  text-align:center;
  background:#fcf2d2;
  border-bottom:10px solid #fce0cc;
  margin-bottom:5rem;
  padding:50px 0 0 0;
}
.j1q .wrap .trademark{
  font-size:1rem;
  color:#000;
  text-align:right;
  margin:2rem auto 1rem auto;
}
.j1q .wrap h1{
  padding:0;
  border-bottom:0;
  margin-bottom:0;
}
.container{
  max-width: 840px;
  margin: 0 auto;
}
#contents {
  z-index: 0;
  font-size: 16px;
  text-align:center;
  /*display:flex;
  justify-content: space-between;
  flex-wrap: wrap;*/
}
#contents .button{
  width:48%;
  border-radius:10px;  
  font-size:2rem;
  font-weight:bold;
  line-height: 3rem;
  text-align: center;
  display:block;
  margin: 2% auto 1%;
  padding:1%;
}
#contents a:first-child img{
  margin-left: 1%;
  width: 97%;
}
#contents a:nth-child(4) img{
  margin-left: 1%;
  width: 98%;
}
#contents.prefirst a:first-child img{
  margin-left: 0;
  width: 100%;
}
#contents.prefirst a:nth-child(2) img{
  margin-left: 1%;
  width: 98%;
}
#contents p{
  font-size:1.4rem;
  width:48%;
  display: inline-block;
  text-align:left;
}
.prefirst .button{
  background:#00ae77;
}
.second .button{
  background:#581e8b;
}
.presecond .button{
  background:#009dde;
}
.third .button{
  background:#ff903d;
}
#contents .button span{
  font-size:1.5rem;
  font-weight:normal;
  line-height: 2rem;
  display:inline-block;
}
#contents ul{
  margin:5rem 0 0 0 ;
  display:inline-block;
}
#contents ul li{
  font-size:1.5rem;
  font-weight:normal;
  line-height: 2.5rem;
  text-align: left;
}
/*-------------------------------------
	mordal
-------------------------------------*/


.page-txt {
  margin: 30px 0 0;
  height: 2000px;
}
#modal-open {
}
/* モーダル コンテンツエリア */
#modal-main {
  display: none;
  width: 500px;
  height: 300px;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #666666;
  position:fixed;
  z-index: 2;
  padding:30px;
  border-radius: 10px;
}
  #modal-main .text{
    font-weight:bold;
    margin-bottom:1rem;
  }
  #modal-main #txt1{
    /*margin:0 0 0 2.5rem;*/
  }
  #modal-main ul{
    text-align:center;
  }
/* モーダル 背景エリア */
#modal-bg {
  display:none;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.5);
  position:fixed;
  top:0;
  left:0;
  z-index: 1;
}
/* 認証失敗時 */
#false p{
  color:#e83918;
  text-align: center;
  margin-top: 1rem;
}
@media screen and (max-width:840px){
  .container{
    max-width: 840px;
    margin: 0 3%;
  }
}
@media screen and (min-width:481px){
  br.sp {
    display: none;
  }
}
@media screen and (max-width:480px){
  #contents{
    width:90%;
    margin:0 auto;
  }
  #contents .button{
    width:100%;
    margin:5% auto 1%;
    padding:3%;
  }
  #contents p{
    width:100%;
    font-size:1.4rem;
  }
  .container{
    width: 90%;
    margin: 0 auto;
  }
  #modal-main {
    width: 90%;
    height: auto;
    padding: 0;
    background-color: #ffffff;
    color: #666666;
    position:fixed;
    z-index: 2;
    padding:30px;
    border-radius: 10px;
  }
  input{
    border:1px solid #ccc;
    background-color:#fff;
    padding: 1%;
  }

}