@charset "UTF-8";

main#main_form{
    width: 90%;
    max-width: 680px;
    margin: 0 auto;
}
#main_form h1{
    text-align: center;
    font-size: 2em;
    padding: 50px 0 1em 0;
}
.ta_center{
  text-align: center;
}
.red{
	color:red;
}
p.ta_center.red{
	background:#fffca5;
	padding:15px;
	border:2px solid red;
}

ul.list{
    margin-bottom: 86px;
    font-size: 90%;
}
ul.list > li{
    padding-left: 15px;
    position: relative;
    margin-bottom: 5px;
}
ul.list > li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;

    width: 4px;
    height: 4px;
    background: #354c54;
    border-radius: 50%;
}

    .form_box{
    margin: 40px auto;
  }
  .form_box p.ta_center{
    margin: 40px auto 60px auto;
  }
  a.txt{
	color:#3f9ce8 !important;
	text-decoration:underline;
  }
  a.txt:hover{
	text-decoration:none;
  }
  main button{
    display: block;
    padding: 30px;
    width: 100%;
    font-size: 120%;
    border: none;
    position: relative;
    line-height: 1;
    transition: all ease .5s;
    cursor: pointer;
  }
  main button:hover{
    padding: 30px 20px 30px 40px;
    background:#3f9ce8;
  }
  main button::after{
    transition: all ease .5s;
    display: inline-block;
    margin-left: 10px;
    content: "\e904";
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    vertical-align: middle;
    padding: 2px;
    background: #fff;
    color:#354c54;
  
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  main button:hover::after{
    transform: translateX(5px);
  }
  main button:disabled{
    background: rgba(53, 76, 84,.5);
    cursor: default;
  }
  main button:disabled:hover{
    padding: 30px;
  }
  main button:disabled::after{
    display: none;
  }
  
  table{
    width: 100%;
    margin: 10px auto 50px auto;
  }
  table th,table td{
      display: block;
      width: 100%;
    border: none;
  }
  table th{
    padding: 30px 0 5px 0;
  }
  table th::before{
    content: "\5FC5\9808";
    color: #fff;
    background: #b8272d;
    display: inline-block;
    border-radius: 3px;
    font-size: 60%;
    font-weight: normal;
    line-height: 1;
    padding: 5px 10px;
    margin-right: 0.5em;
    vertical-align: middle;
  }
  table th.nini::before{
    content: "\4EFB\610F";
    background: #888;
  }
  input[type=text],input[type=tel],input[type=email],textarea{
    width: 100%;
    border: 1px solid #ccc !important;
    padding: 15px;
    font-size: 100%;
  }
  input::placeholder{
    color: #aaa;
  }
  textarea{
    resize: vertical;
    min-height: 120px;
  }
  div.address{
      display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  #postcode1{
    width: 180px;
    margin: 0 10px;
  }
  table td img{
    margin-bottom: 10px;
  }


/*希望日程*/
#date_depa table th,
#date_depa table td{
  display: table-cell;
  width: auto;
  border: 1px solid #ddd;
  padding:5px;
}
#date_depa table th{
  background: rgba(63,156, 232,0.2);
  font-weight: bold;
  text-align: center;
  padding: 10px;
}
#date_depa table th::before{
  display: none;
}
#date_depa table tr td:first-of-type{
  vertical-align: top;
  white-space: nowrap;
  padding: 10px 10px 5px 10px;
}
#date_depa table tr td small{
  opacity: 0.7;
}
#date_depa table td span{
  display: table-caption;
  font-size: 80%;
  color: #E95467;
  text-align: center;
  padding: 0 10px;
  margin-top: 5px;
  background: rgba(245, 212, 212, 0.5);
}
#date_depa input.hidden,
#date_depa input[type="checkbox"],
#date_depa input[type="radio"]{
    display: none;
}
#date_depa label{
    padding: 10px 5px 10px 37px;
    line-height: 1.2;
    display: block;
    cursor: pointer;
    transition: all ease .3s;
    font-weight: bold;
    position: relative;
}
#date_depa label:hover{
    background: rgba(63,156, 232,0.2);
}
#date_depa label::before{
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width:16px;
  height: 16px;
  border-radius: 3px;
    border: 2px solid #ccc;
    background: #fff;
    transition: all ease .3s;
}
#date_depa label:hover::before{
  border-color: #3f9ce8;
}
#date_depa input:disabled + label:hover::before{
  border-color: #ccc;
}
#date_depa input:checked + label{
    color: #3f9ce8;
}
#date_depa input:checked + label::before{
  border-color: #3f9ce8;
  background: #3f9ce8;
}
#date_depa label::after{
  content: "";
  position: absolute;
  left:16px;
  top: 14px;
  transform: rotate(45deg);
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

#date_depa .fl_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#date_depa .block{
  position: relative;
}
#date_depa .block:hover{
  background: rgba(255, 253, 242,1);
}
#date_depa .block:not(.disabled)::before{
  content: "\7533\8FBC\53D7\4ED8\4E2D\FF01";
  padding: 0 5px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  background: #f4d538;
  color: #333;
  text-align: center;
  font-size: 70%;
}
#date_depa .check_wrap{
  display: flex;
  flex-direction: column;
}

/*select*/
select,option{
    cursor: pointer;
}
.selectdiv {
    position: relative;
    max-width: 300px;
  }
  #date_depa .selectdiv{
    max-width: none;
    width: 100%;
  }

  /* IE11 hide native button */
  select::-ms-expand {
  display: none;
  }
  .selectdiv .placeholder{
      color: #aaa;
  }
  
  .selectdiv:after {
    content: '\FF1C\FF1E';
    font-size: 15px;
    color: #aaa;
    transform: rotate(90deg) scaleY(1.05);
    right: 5px;
    top: 30%;
    padding: 0 0 2px;
    border-bottom: 1px solid #888;
    /*left line */
    
    position: absolute;
    pointer-events: none;
  }
  
  .selectdiv select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add some styling */
    
    display: block;
    width: 100%;
    max-width: 320px;
    height: 50px;
    margin: 5px 0px;
    padding: 0px 24px;
    font-size: 16px;
    line-height: 1.75;
    color: #354c54;
    background-color: #ffffff;
    border-radius: 3px;
    border: 1px solid #ccc;
    -ms-word-break: normal;
    word-break: normal;
  }

  #date_depa .selectdiv select{
    max-width: none;
    font-size: 80%;
    padding: 0 24px 0 10px;
  }


#date_depa .block.disabled input + label,
#date_depa input:disabled + label{
  background: #eee;
  color: #888 !important;
  cursor: default !important;
}
#date_depa .dl_schooling .block.disabled{
  border: 2px solid #e0e0e0;
}
#date_depa .block.disabled,
#date_depa .block.disabled .selectdiv select{
  background: #eee;
  border-color: #e0e0e0;
  color: #888 !important;
  cursor: default !important;
}
#date_depa .block.disabled p.date small,
#date_depa input:disabled + label p.date small{
  color: #aaa;
  border-color: #aaa;
}
#date_depa .block.none{
  background: none;
  border: none;
}
h3{
  font-size: 120%;
  text-align: center;
  margin: 1em auto;
}

#date_depa small.shimekiri{
	display:block;
	margin-top:5px;
}
#date_depa .dl_schooling small.shimekiri{
	padding:0 15px 15px 15px;
}
#date_depa small.txt{
	display:block;
	margin-top:10px;
	padding-top:5px;
	text-align:left;
	line-height:1.2;
	border-top:1px solid #ddd;
}

#date_depa .block .kaishimae,
#date_depa .block.close::before{
	content:"\7533\8FBC\306F\7D42\4E86\3057\307E\3057\305F";
	display:none;
	background:#aaa;
	color:#fff;
	font-weight:bold;
	border-radius:20px;
	padding:2px 10px;
	margin-bottom:5px;
	font-size:90%;
}
#date_depa .dl_schooling .block.close::before{
	width:85%;
	margin:10px auto 0 auto;
}
#date_depa .block.disabled .kaishimae{
  display: block;
}


.radio_box{
  display: flex;
  margin-bottom: 10px;
}
.radio_box input[type="radio"]{
    display: none;
}
.radio_box label{
    text-align: center;
    padding: 10px 5px;
    min-width: 100px;
    display: block;
    cursor: pointer;
    transition: all ease .3s;
    border: 1px solid #ccc;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
    background: #fff;
    font-weight: bold;
}
.radio_box label:hover{
  background: rgba(63,156, 232,0.2);
}
.radio_box input:checked + label{
  border-color: #3f9ce8 ;
  background: #3f9ce8;
  color: #fff;
}
.radio_box > label:first-of-type{
  border-radius: 5px 0 0 5px;
  border-right: none;
}
.radio_box > label:last-of-type{
  border-radius: 0 5px 5px 0;
}

footer{
  text-align: center;
  background:#E3ECF3;
  padding-top:50px;
  font-size:90%;
  color:#333;
  position: relative;
}
footer a img{
  display: inline-block;
  width: 271px;
  height: auto;
  margin-bottom: 20px;
}
footer small {
  display: block;
  margin-top: 40px;
  padding: 20px 5%;
  text-align: center;
  color: #fff;
  background: #B6CCDA;
}


  /*smart*/
  @media screen and (min-width: 0px) and (max-width: 600px){
    .fl_box{
        flex-wrap: wrap;
    }
    #date_depa table tr td:first-of-type{
      text-align: center;
    }
     .block,
     #date_depa .block{
      width: 100%;
    }
    .selectdiv:after{
      font-size: 12px;
    }

	#date_depa small.shimekiri{
	text-align:left;
	}
	#date_depa .block.close::before{
	font-size:80%;
	white-space:nowrap;
	}

  #date_depa .category{
    display: flex;
    flex-wrap: wrap;
  }
  #date_depa .category label{
    width: 100%;
    padding: 15px 5px;
  }
#date_depa div.category label:first-of-type{
  border-radius: 3px;
}
#date_depa .block.none{
  display: none;
}
}