@charset "UTF-8";
/* CSS Document */


html {
  overflow-y: scroll;
}
body {
	font-size: 16px;
  text-align: center;
  font-family: 'Arial', 'Roboto','Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #333;
}
a,a:link {
	text-decoration: none;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0px auto;
  text-align: left;
}
.label {
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 10px;
}
.required {
  font-weight: normal;
  font-size: 12px;
  color: #dd0000;
}
.form {
  color: #333;
  width: 100%;
  padding: 15px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.form:hover {
  border:1px solid #479db8;
}
.form:focus {
  outline: none;
  border:1px solid #479db8;
}
.formbox {
  width: 100%;
  display: flex;
  align-items: center;
}
.sublabel {
  width: 4em;
  text-align: right;
}
.formbox2 {
  flex-grow: 1;
  margin-left: 20px;
}
.formbox3 {
  flex-basis: 16em;
  margin-left: 20px;
}
.mt15 {
  margin-top: 15px;
}
.form-atn {
  font-size: 14px;
  margin-top: 10px;
  margin-left: 6em;
}
#certification, #comment {
  height: 10em;
}
.form-btn {
  width: 100%;
  display: block;
  height: auto;
  padding: 15px;
  margin-top: 50px;
  margin-bottom: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background: #479db8;
  border: none;
  border-radius: 3px;
  outline: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.form-btn:hover {
  background: #77b7cb;
}

@media only screen and (max-width: 640px) {
  .formbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .sublabel {
    width: 100%;
    text-align: left;
  }
  .formbox2, .formbox3 {
    width: 100%;
    flex-basis: 0em;
    margin-top: 10px;
    margin-left: 0px;
  }
  .form-atn {
    font-size: 14px;
    margin-top: 10px;
    margin-left: 0em;
  }
}


/* for tmpl */

.tmpl-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0px auto;
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
}
.error {
  width: 50%;
  font-size: 18px;
  color: #dd0000;
  font-weight: bold;
  text-align: center;
  margin: 0px auto 50px;
  border: 2px solid #dd0000;
  padding: 10px;
}
.finish {
  width: 50%;
  font-size: 18px;
  color: #479db8;
  font-weight: bold;
  text-align: center;
  margin: 0px auto 50px;
  border: 2px solid #479db8;
	padding: 10px;
}
.msg {
  font-weight: bold;
  text-align: center;
}
.form-tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #b1b1b1;
  border-right: 1px solid #b1b1b1;
  margin-top: 40px;
}
.form-tbl th, .form-tbl td {
	border-left: 1px solid #b1b1b1;
  border-bottom: 1px solid #b1b1b1;
	padding: 10px;
}
.form-tbl th {
	width: 25%;
  white-space: nowrap;
	background: #f8f8f8;
}
.form-tbl td {
	background: #fff;
}
.btn-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.btn input {
  width: 16em;
  display: block;
  height: auto;
  padding: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: #479db8;
  border: none;
  border-radius: 3px;
  outline: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  margin-left: 10px;
  margin-right: 10px;
}
.btn input:hover {
  background: #77b7cb;
}

@media screen and (max-width: 640px) {
  .form-tbl th, .form-tbl td {
    display: block;
    width: 100%;
  }
  .btn input {
    width: 12em;
  }
}
