@charset "UTF-8";
html{
	font-size: 15px;
}
#index,
#index body {
	height: 100%;
}

#contact,
#contact body {
	height: auto;
}

body {
	font-family: "HiraMaruPro W4","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"游ゴシック体","Yu Gothic",YuGothic,"MS P Gothic","ＭＳ Ｐゴシック",arial,helvetica,sans-serif;
	margin: 0;
	background: url("../img/bg_b.jpg") 0 repeat;
	background-color: #fff;
}

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	/* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
	/* Support for IE. */
	font-feature-settings: 'liga';
}

#wrapper {
	width: 100%;
	max-width:800px;
	min-width: 320px;
	margin: 0 auto 10%;
	/***overflow: hidden;***/
	overflow-x: hidden;
	/***overflow-y: scroll;***/
	/** 画面の中央に配置 start
	height: 100vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	 画面の中央に配置 end **/
}
/*header*/

#header {
	width: 100%;
	height: 57px;
	box-sizing: border-box;
	display: table;
	position: relative;
	background-color: #fff;
	z-index: 55;
}

#header #back {
	width: 56px;
	height: 100%;
	display: table;
	position: absolute;
	left: 0;
	top: 0;
}

#header #back .inner {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
}

#header #back .inner p {
	/**width: 14px;
	height: 14px;
	padding: 15px;**/
	width: 35px;
	height: 35px;
	margin: 0 auto;
	display: block;
	font-size: 0;
}
#header #back .inner a{
	padding: 7px;
	display: block;
}

#header #title {
	width: 100%;
	height: 100%;
	padding-left: 75px;
	display: table-cell;
	vertical-align: middle;
	box-sizing: border-box;
	background-color: #000;
}

#header #title p {
	font-size: 20px;
	color: #FFF;
	line-height: 1;
	font-weight: bold;
}

#content {
	color: #2f2f2f;
	width: 100%;
	max-width:800px;
	margin: 0 auto 0;
	box-sizing: border-box;
}

h1 img,
#content img{
	width: 100%;
}

.centerbox{
	margin-bottom: 10%;
	display: block;
}

#content .inner {
	width: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

#content a{
	color:#b00f35;
	font-weight: bold;
}

.text-s{
	font-size: 14px;
	margin-bottom: 2%;
}
	@media screen and (max-width:375px) {
		.text-s{
			font-size: 13px;
			margin-bottom: 2%;
		}
	}

h1 {
	color: #b00f35;
	font-size: 22px;
	font-weight: bold;
	line-height: 0;
	text-align: center;
	width: 100%;
	height: auto;
	margin: 0;
}

.form h1{
	margin-bottom: 10%;
}

h2 {
    text-align: center;
    width: 80%;
    height: auto;
    margin: 0 auto -7%;
}

h3{
    /*font-size: 17px;*/
	font-size: 20px;
	/*text-align: center;*/
    font-weight: bold;
	margin: 0 ;
}

#header{
	position: fixed;
}
.pc{display: none;}
	@media screen and (max-width:375px) {
	.pc{display:inherit;}
	}

/******************************************************
BTN　トップ/完了ページ
*******************************************************/
.btn_area{
	width: 76%;
	padding: 0;
	margin: 0 auto;
}
/******************************************************
INFO
*******************************************************/
.info{
	width: 76%;
	display: grid;
	background: #fff;
	border: 5px solid #6ecdf2;
	border-radius:22px;
	margin: 0 auto 2%;
	padding: 6%;
}

.info p{
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	margin:6% 0;
}

.bn_form{
	padding: 8% 4%;
}

.bn_form img{
	width: 100%;
}
.privacy .bn_form{
	padding: 1% 4% 8%;
}

.annotation{
	text-align: right;
	width: 88%;
    margin: 0 auto;
    padding: 0 6%;
}
/******************************************************
完了ページ
*******************************************************/
.thankyou #content{
	margin: 0 auto 0;
}
.thankyou .info{
	position: relative;
	z-index: 100;
	border: 5px solid #ffc62e !important;
}
.thankyou .h2_thankyou{
	position: relative;
	z-index: 200;
}
.thankyou .info p{
	margin:6% 0 3%;
}
.thankyou #content .bg_img{
	margin-bottom: -11%;
	z-index: 1;
	position: relative;
}

/******************************************************
INFO_LIST　アコーディオン
*******************************************************/
.accordion_dl{
	font-size: 0.8rem;
	line-height: 1.6em;
	border-bottom: 2px solid #96908a;
	margin: 0;
}
@media screen and (max-width:320px) {
	.accordion_dl{
		font-size: 0.7rem;
	}
}

.accordion_dl dt{
	font-size: 1rem;
	font-weight: bold;
    padding: 14px;
    cursor: pointer;
    position: relative;
	border-top: 2px solid #96908a;
}
	/**　入れ子　アコーディオン　**/
	.accordion_dl dl dt{
		font-size: 1rem;
		border: none;
		background: #f2f2f2;
	}

.accordion_dl dd{
	font-size: 0.8rem;
	line-height: 1.6em;
	display: none;
	margin-left: 0;
}
@media screen and (max-width:320px) {
	.accordion_dl dd{
		font-size: 0.8rem;
	}
}
.accordion_dl li{
	padding: 14px 14px 0 28px;
	background:#fff; /**　アコーディオン内　BG色変更　**/
	text-indent:-14px;
	list-style: none;
}

.accordion_dl li:last-child{
	padding-bottom: 14px;
}
.accordion_dl span{
	font-weight: bold;
}
/**  Q&A　アコーディオン矢印 **/
.accordion_dl dt:before{
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  background: #96908a;
}
.accordion_dl dt:after{
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  margin-top: -13px;
  background: #fff;
}
	/**  Q&A　入れ子　アコーディオン矢印 **/
	.accordion_dl dl dt:before{
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: 15px;
	  width: 10px;
	  height: 10px;
	  margin-top: -8px;
	  background: #96908a;
	}
	.accordion_dl dl dt:after{
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: 15px;
	  width: 10px;
	  height: 10px;
	  margin-top: -13px;
	  background: #f2f2f2;
	}

.accordion_dl dt.active:before { margin-top: -2px;}
.accordion_dl dt.active:after { margin-top: 3px;}

.accordion_dl .single li{
	padding-left: 14px;
	text-indent: inherit;
}

/******************************************************
フォーム
*******************************************************/
form{
	width: 100%;
	/*width: 96%;
	background: #fff;
    padding: 1em 1em 2em 1em;*/
    margin: 4% auto 0;
}
.bg_form{
/*	background:#00aafd;
	padding:8% 0;
	margin:8% 0 0;*/
	width: 88%;
	display: grid;
	background: #fff;
	border: 5px solid #6ecdf2;
	border-radius:22px;
	margin: 0 auto 10%;
	padding: 6% 0 0 0;
}
#content .bg_form h2{
	color: #432108;
	text-align: center;
	margin: 0 auto 8%;
}

.block_p{
	margin: 4% 0 4%;
}

.th_error {
	margin-bottom: 0;
	display: none;
	font-weight: bold;
}
.error {
    color: red;
    font-size: 15px;
}
/*
.error-message {
  background-color: #e12350;
  color: #fff;
  font-size: 12px;
  padding: 4px;
  display: none;
}
.error-message.-show {
  display: block;
}

.error-message {
    color: red;
    font-size: 15px;
	margin: 0;
	padding: 0;
}
.error-message.-show {
	margin-bottom: 0;
	display: block;
	font-weight: bold;
	padding: 2% 0;
}*/

table{
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
}
tr {
    margin-bottom: 2%;
    display: block;
}
th,td{
	display: block;
	text-align: left;
}
td{
	width: 92%;
	margin: 0 auto;
}
th{
	width: 92%;
	margin: 0 auto 1%;
    font-size: 20px;
    font-weight: bold;
}
/*TH黄色い帯*/
.th_name,.th_kana,.th_tel,
.th_mail,.th_address,.th_age,
.th_quiz1,.th_quiz2,.th_quiz3,.th_c-age,
.th_other,.th_keyword,.privacy h3
{
	width: 96%;
	background-color: #fffdc8;
    padding: 2% 0 2% 4%;
	margin-bottom: 2%;
}
/*任意アイコン*/
th span.nini{
	color: #fff;
	text-align: center;
	background:#b9b9b9;
	padding:2px 6px;
	margin-right: 10px;
}
/*入力必須アイコン*/
th span,
.privacy h3 span{
	color: #fff;
	text-align: center;
	background:#f80404;
	padding:2px 6px;
	margin-right: 10px;
}

input,select,textarea{
	font-family: "HiraMaruPro W4","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"游ゴシック体","Yu Gothic",YuGothic,"MS P Gothic","ＭＳ Ｐゴシック",arial,helvetica,sans-serif;
	font-size: 20px;
	line-height: 1.5em;
	padding:2%;
}

/*SERECT BOX*/
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background: transparent;
}
select::after{
	position: absolute;
	top: 35%;
	right: 3%;
	margin-top: -8px;
	content: "▼";
	color: #333;
	pointer-events: none;
}

/*RADIO BTTON*/
.radio-input {
    display: none;
}
.radio-input + label {
/*	height: 46px;*/
	padding-left: 30px;
    position: relative;
    /*margin-right: 20px;*/
    font-size: 15px;
    font-weight: bold;
	display: -webkit-inline-box;
    line-height: 1.7em;
}
.radio-input + label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
}
.radio-input:checked + label {
    color: #432108;
}
.radio-input + label::before {
    border: 1px solid #432108;
}
.radio-input + label::after {
    background: #432108;
}
.radio-input:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.radio-box ul{
	padding-left: 0;
}
.radio-box li{
	display: block;
	float: none;
	list-style: none;
	margin-bottom: 10px;
}
.text-center{
	text-align: center;
	width: 92%;
	margin: 0 auto;
}

/*CHECKBOX*/
.label-checkbox {
	width: 100%;
	text-align: center;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    line-height: 54px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	height: 45px;
	display: inline-block;
    /*padding-left: 68px;*/
	margin-bottom: 4%;
}

/* Hide the browser's default checkbox */
.label-checkbox input {
    /*position: absolute;*/
    /*opacity: 0;*/
    cursor: pointer;
	width: 25px;
    height: 25px;
    background-color: #fff;
    vertical-align: middle;
}

/* Create a custom checkbox */
/*.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 48px;
    width: 48px;
    background-color: #fff;
	border: 1px solid #a9a9a9;
	border-radius: 10px;
}
*/
/* On mouse-over, add a grey background color
.label-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}*/

/* When the checkbox is checked, add a blue background */
.label-checkbox input:checked ~ .checkmark {
    background-color: #a9a9a9;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.label-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.label-checkbox .checkmark:after {
    left: 19px;
/*    top: 8px;
    width: 10px;
    height: 25px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);*/
}

#name,#mail,#message,
#address2,#address3,#address4,#keyword{
	width: 95%;
}

/*TD内の要素並列*/
.parallel,
.parallel3{
	display: flex;
}
.parallel div{width: 45%;}
.parallel select{
	width: 40%;
	padding:4%;
}
.parallel3 div{width: 33%;}
.parallel3 select{
	width: 50%;
	padding:5%;
}

/*img.submit {
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
}
*/

.submit{
	text-indent: -99999px;
    width: 100%;
    height: 0;
    margin: 0 auto;
	background: url("../img/btn_submit.png") 0 no-repeat;
	background-size: 100%;
    padding: 11% 0;
    cursor: pointer;
	border: 0;
}
.submit:hover{
	border: 0;
}

@media screen and (max-width:550px) {
	input, select, textarea{
		font-size: 16px;
	}
	th,h3{
		font-size: 15px;
	}
	.label-checkbox{
		font-size: 16px;
		line-height: 45px;
		height: 44px;
		/*padding-left: 52px;*/
	}
	.checkmark {
		height: 38px;
		width: 38px;
	}
	.label-checkbox .checkmark:after{
		left: 15px;
		top: 7px;
		width: 7px;
		height: 17px;
	}
	.checkbox-set1,.checkbox-set2{
		width: 94%;
		float: none;
		margin-bottom: 0;
		margin-top: 0;
		}
	.checkbox-set{
		margin: 2% 0 2% 0;
	}
}



/******************************************************
キャンペーン終了しました　画像表示
*******************************************************/
#end_bg{
	background: rgba(0,0,0,0.5);
    height: 100vh;
    position: absolute;
    width: 100%;
}
#end_contents {
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;
    flex-direction: column;
}

#end_img{
	width: 500px;
	/*max-width: 648px;*/
	/*height: 52vh;*/
	/*left: 50%;
	top: 43%;
	padding:0 40%;*/
/*	transform: translate(-50%,-50%);
	box-sizing: border-box;
	position: fixed;*/
	margin: 0 auto;
	top: 53%;
    position: relative;
	}
	@media screen and (max-width: 800px) {
		#end_img{
			width: 80%;
			position: initial;
			padding-top: 80%;
		}
	}
	/*@media screen and (max-width: 425px) {
		#end_img{
			top: 64%;
		}
	}
	@media screen and (max-width: 375px) {
		#end_img{
			top: 68%;
		}
	}
	@media screen and (max-width: 320px) {
		#end_img{
			width: 94%;
			top: 43%;
			padding:0 3%;
		}
	}*/

#end_img img{
	width: 100%;
}
