@charset "UTF-8";

/* ------------------------------
    pagettl
------------------------------ */

#pagettl {
  position: relative;
  background-color: #edf9f8;
  height: 250px;
}
#pagettl h1{
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}
#pagettl h1 img{
  width: 210px;
}
#pagettl h1 span{
  display: block;
  text-align: center;
  font-size: 2.0rem;
  font-weight: bold;
  margin-top: 1em;
}

/* ------------------------------
    message
------------------------------ */
#message{
  margin-bottom: 40px;
}
#message h2 {
	max-width: 780px;
  height: 50px;
  background-color: #005895;
  border-radius: 5px;
  line-height: 50px;
	margin: 30px auto;
	font-size: 1.8rem;
	font-weight: bold;
  color: #fff;
  padding: 0 0 0 100px;
  position: relative;
}
#message h2:before{
  content: "";
  display: inline-block;
  width: 72px;
  height: 60px;
  position: absolute;
  top: -14px;
  left: 14px;
  background: url(../img/registration/bg_h2.png) no-repeat;
  background-size: 100%;
}
#message .txt {
	max-width: 780px;
	margin: 30px auto 0;
	font-size: 1.6rem;
	line-height: 1.875;
}
#message .wrap .txt_img{
	max-width: 780px;
  margin: 0 auto;
}
#message .wrap .txt_img .txt {
	width: 57%;
	max-width: 450px;
	float: left;
  margin-top: 0;
}
#message .wrap .txt_img .img {
	width: 43%;
	max-width: 320px;
	float: right;
	margin-top: 0;
  margin-top: 10px;
}
#message .txt span{
  color: #ff1f1f;
}

/* ------------------------------
    form
------------------------------ */

#form {
	padding: 20px 0 50px;
}
#form table {
	max-width: 780px;
	margin: 0 auto;
	border-bottom: #bebebe 1px solid;
	border-collapse: collapse;
}
#form table th,
#form table td {
	border-top: #bebebe 1px solid;
	font-size: 1.6rem;
	line-height: 1.8;
	vertical-align: top;
	padding: 15px 0;
}
#form table th {
	font-weight: bold;
	width: 246px;
}
#form table th span {
	color: #ff1f1f;
	margin-left: 6px;
}
#form table td.trigger {
	padding: 10px 0 15px;
}
#form table td div {
	font-size: 0;
	line-height: 2.5;
}
#form table td div > * {
	display: inline-block;
	font-size: 1.6rem;
}
#form table td div > label + label {
	margin-left: 38px;
}
#form table td div > label.other {
	margin-left: 0;
	margin-right: 22px;
}

input[type="text"],
textarea {
	width: 100%;
	background: #f2f2f2;
	border: 0;
	outline: none;
	font-size: 1.6rem;
	-webkit-border-radius : 0;
	-webkit-appearance : none;
	-webkit-tap-highlight-color : rgba(0,0,0,0);
	padding: 10px;
	font-family: "Noto Sans Japanese","メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック",'Lato',Arial,Verdana,sans-serif;
}
input[type="text"].short {
	width: 390px;
}
input[type="text"].other {
	width: 440px;
}
label input[type="checkbox"] {
	display: none;
}
label span {
	padding-left: 24px;
	position:relative;
}
label span::before {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 17px;
	height: 17px;
	border: 1px solid #cacbce;
}
label input[type="checkbox"]:checked + span::after {
	content: "";
	display: block;
	position: absolute;
	top: 8px;
	left: 6px;
	width: 5px;
	height: 9px;
	transform: rotate(40deg);
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
}
textarea {
	resize: vertical;
	min-height: 190px;
  margin-top: 20px;
}
button[type="submit"] {
	border: 0;
	outline: none;
	cursor: pointer;
	margin-top: 48px;
}



@media screen and (max-width: 768px) {

  /* ------------------------------
      pagettl
  ------------------------------ */

  #pagettl {
    height: 120px;
  }
  #pagettl h1 {
	bottom: 35px;
  }
  #pagettl h1 img{
    display: block;
    min-width: 180px;
    margin: 0 auto;
  }
  #pagettl h1 span{
    font-size: 1.5rem;
    margin-top: 0.7em;
  }
  /* ------------------------------
      message
  ------------------------------ */
  #message{
    margin-bottom: 4%;
  }
  #message h2 {
    width: 94%;
    height: auto;
    min-height: 58px;
    background-color: #005895;
    border-radius: 5px;
    line-height: 1.6;
    margin: 5% auto;
    font-size: 1.35rem;
    font-weight: bold;
    color: #fff;
    padding: 8px 3% 8px 90px;
    position: relative;
    display: flex;
    align-items: center;
  }
  #message h2:before{
    content: "";
    display: inline-block;
    width: 77px;
    height: 61px;
    position: absolute;
    top: -12px;
    left: 4px;
    background: url(../img/registration/bg_h2_sp.png) no-repeat;
    background-size: 100%;
  }
  #message .txt {
    width: 100%;
    padding: 0 3%;
    margin: 5% auto 0;
    font-size: 1.2rem;
  }
  #message .wrap .txt_img {
    width: 100%;
    margin: 0 auto;
    padding: 0 3%;
  }
  #message .wrap .txt_img .img {
    width: 95%;
		max-width: none;
    float: none;
    margin: 0 auto 3%;
  }
  #message .wrap .txt_img .txt {
    width: 100%;
		max-width: none;
    float: none;
    margin-top: 0;
    padding: 0;
  }

  
  /* ------------------------------
		form
	------------------------------ */

	#form {
		padding: 20px 0 20px;
	}
	#form table {
		width: 95%;
		margin: 0 auto;
	}
	#form table th,
	#form table td {
		display: block;
		width: 100%;
		border-top: none;
		font-size: 1.5rem;
		line-height: 1.8;
		padding: 6px 2.5% 10px;
	}
	#form table th {
		border-top: #bebebe 1px solid;
		padding: 10px 2.5% 0;
	}
	#form table td.trigger {
		padding: 0 2.5% 15px;
	}
	#form table td div > * {
		display: block;
		font-size: 1.5rem;
	}
	#form table td div > label {
		width: 47.5%;
	}
	#form table td div > label:nth-of-type(odd) {
		float: left;
	}
	#form table td div > label:nth-of-type(even) {
		float: right;
	}
	#form table td div > .other {
		clear: both;
	}
	#form table td div > label + label {
		margin-left: 0;
	}
	#form table td div > label.other {
		margin-left: 0;
		margin-right: auto;
		float: none;
	}
	
	input[type="text"],
	textarea {
		font-size: 1.5rem;
	}
	input[type="text"].short {
		width: 100%;
	}
	input[type="text"].other {
		width: 100%;
	}
	label span::before {
		top: 3px;
	}
	label input[type="checkbox"]:checked + span::after {
		top: 6px;
	}
  textarea{
    margin-top: 0;
  }
	button[type="submit"] {
		margin-top: 25px;
	}

}