@charset "utf-8";

/* ------------------------------------------ */
/* FORM CSS */
/* ------------------------------------------ */

/* box-table
========================= */
.box-table.border-table dl:nth-child(odd) {
	background-color: #f4f4f4;
}

.box-table > dl {
    display: table;
    width: 100%;
    table-layout: auto;
}

.box-table > dl > dt {
    display: table-cell;
    vertical-align: middle;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 2%;
    padding-right: 2%;
    color: #000;
    font-weight: bold;
    position: relative;
}

.box-table > dl > dd {
    display: table-cell;
    vertical-align: top;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 2%;
    padding-right: 2%;
    position: relative;
}

/* ttl-contact */
.ttl-contact i {
	display: inline-block;
	background: #000;
	width: 45px;
	height: 45px;
	color: #fff;
	font-size: 20px;
	line-height: 45px;
	text-align: center;
	margin-right: 10px;
	font-weight: normal;
}

/* lbox-form */
.lbox-form {
/* 	overflow: hidden; */
}

/* box-table */
.box-table.box-form > dl {
    display: block;
	border-bottom: 1px solid #dadada;
}

.box-table.box-form > dl:first-child {
	border-top: 1px solid #dadada;
}

.box-table.box-form > dl > dt,
.box-table.box-form > dl > dd {
    display: block;
    vertical-align: top;
}

.box-table.box-form > dl > dt {
	padding-bottom: 0;
}

.box-table.box-form > dl > dd {
	padding-top: 1em;
	padding-left: 0;
    padding-right: 0;
}

.box-table.box-form > dl.box-radio > dd {
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}

.box-table.box-form > dl.item-privacy > dd {
	padding-bottom: 0;
}

.box-table.box-form > dl.item-privacy > dd > p {
	margin-bottom: 15px;
}

.t-link.col-lg-5 {
	line-height: 48px;
}

.box-table.box-form > dl > dd > p {
	margin-bottom: 5px;
	font-weight: bold;
}

.box-table.box-form > dl > dd > p .need {
	font-weight: normal;
}

.box-table.box-form > dl > dd > p:nth-child(n + 2) {
  padding-top: 15px;
}

/* type-redicon */
.box-table.box-form > dl > dt {
    padding-left: 0;
	position: relative;

}

.box-table.box-form > dl > dt span.formitem {
	position: relative;
	padding-left: 17px;
	font-weight: bold;
	color: #000;
}

.box-table.box-form > dl > dt span.formitem:before {
    content:"";
    width: 10px;
    height: 2px;
    background: #008cd6;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1px;
}

.txt-policy {
	height: 150px;
	overflow-y: scroll;
	padding: 15px;
	border: 1px solid #dadada;
}

.box-form dl dd .row {
	overflow: visible !important;
}

 /* =========================================
form style
=============================================*/

/* defult style reset */
input,
button,
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
}

select::-ms-expand {
    display: none;/* for IE */
}

/* style input */
form input {
	outline: none;
}
form input::-webkit-input-placeholder,
form input::-moz-placeholder,
form input:-moz-placeholder,
form input:-ms-input-placeholder {
	color: #999;
}

.need {
/*
	background: #8a0808;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	margin-left: 5px;
	font-size: 12px;
	line-height: 1.2;
	padding: 2px 5px;
*/
}

.input {
	position: relative;
	z-index: 1;
	display: block;
	vertical-align: top;
}

.input__field {
	position: relative;
	display: block;
	padding: 0.8em;
	border: none;
	border-radius: 0;
	background: #f0f0f0;
	color: #aaa;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: #6a7989;
	font-weight: bold;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	box-sizing: border-box;
}

.input__label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
}



/* anm */
.input__field--anm {
	width: 100%;
	display: block;
	background: rgba(104,147,225,0.1) !important;
	box-shadow: 0px 0px 0px 2px transparent;
	color: #000;
	-webkit-transition: box-shadow 0.3s;
	transition: box-shadow 0.3s;
}

.input__label--anm {
	padding: 0;
	width: 100%;
	text-align: left;
}

.input__label--anm::after {
	content: '';
  	position: absolute;
  	top: 0;
  	z-index: -1;
  	width: 100%;
  	height: 100%;
	box-shadow: 0px 0px 0px 0px;
	color: rgba(0,58,112, 0.6);
}

.input__field--anm:focus {
	box-shadow: 0px 0px 0px 1px #008cd6;
	-webkit-animation: background 0.55s ease-in;
	-moz-animation: background 0.55s ease-in;
	animation: background 0.55s ease-in;
	background: #FFFFFF !important;
}

.input__field--anm:focus + .input__label--anm {
	pointer-events: none;
}
.input__field--anm:focus + .input__label--anm::after,
.input__field--anm:focus + grammarly-btn + .formError + .input__label--anm::after,
.input__field--anm:focus + .formError + .input__label--anm::after {
	-webkit-animation: anim-shadow 0.3s forwards;
	animation: anim-shadow 0.3s forwards;
}

@-webkit-keyframes anim-shadow {
	to {
		box-shadow: 0px 0px 100px 50px;
    	opacity: 0;
	}
}

@keyframes anim-shadow {
	to {
		box-shadow: 0px 0px 100px 50px;
    	opacity: 0;
	}
}

.input__label-content--anm {
	padding: 0.75em 0.15em;
}

@-webkit-keyframes background {
  0% {
    background: transparent;
  }
  66% {
    background: #FFFFFF;
  }
  100% {
    background: #FFFFFF;
  }
}
@-moz-keyframes background {
  0% {
    background: transparent;
  }
  66% {
    background: #FFFFFF;
  }
  100% {
    background: #FFFFFF;
  }
}
@keyframes background {
  0% {
    background: transparent;
  }
  66% {
    background: #FFFFFF;
  }
  100% {
    background: #FFFFFF;
  }
}

/* radio checkboc style ---------------------------- */
input[type=radio] {
  display: none;
}

.radio {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: block;
  margin: 0;
  padding: 12px 12px 12px 42px;
  vertical-align: middle;
  cursor: pointer;
}

.radio:hover {
  background-color: rgba(104,147,225,0.1);
}

.radio:hover:after {
  border-color: #aaa;
}

.radio:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 15px;
  display: block;
  border: 2px solid #bbb;
  border-radius: 50%;
  content: '';
}

.radio:before {
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #244296;
  content: '';
  opacity: 0;
  -webkit-transform: scale3d(0.5,0.5,1);
  transform: scale3d(0.5,0.5,1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
  transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

input[type=radio]:checked + .radio:before {
  opacity: 1;
  -webkit-transform: scale3d(1,1,1);
  transform: scale3d(1,1,1);
}

/* checkbox */
.box-chk {
	padding-bottom: 0;
	margin-bottom: 0;
}
.box-chk label {
    position: relative;
    display: block;
    word-break: break-all;
	padding: 12px 12px 12px 15px;
	box-sizing: border-box;
  	-webkit-transition: background-color 0.2s linear;
  	transition: background-color 0.2s linear;
}

.box-chk label:hover {
  background-color: rgba(104,147,225,0.1);
  cursor: pointer;
}

.box-chk label:hover:after {
  border-color: #aaa;
}

.box-chk label input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.box-chk label span {
    display: inline-block;
}

.box-chk label input[type="checkbox"] + span {
  position: relative;
  padding: 0 30px 0 35px;
}

.box-chk label input[type="checkbox"] + span::before {
  border-color: #bbb;
}
.box-chk label input[type="checkbox"]:checked + span::before {
  background-color: #244296;
  border-color: #244296;
}

.box-chk label span {
  display: inline-block;
}
.box-chk label input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.box-chk label input[type="checkbox"] + span::before,
.box-chk label input[type="checkbox"] + span::after {
  position: absolute;
  top: 3px;
  left: 0;
  display: inline-block;
  content: '';
  box-sizing: border-box;
  transition: background .3s ease,border .3s ease;
}
.box-chk label input[type="checkbox"] + span::before {
  z-index: 0;
  background-color: transparent;
  width: 22px;
  height: 22px;
  border: 2px #bbb solid;
  border-radius: 5px;
}
.box-chk label input[type="checkbox"] + span::after {
  z-index: 1;
  margin: 5px 8px;
  width: 6px;
  height: 9px;
}
.box-chk label input[type="checkbox"]:checked + span::before {
  background-color: #244296;
}
.box-chk label input[type="checkbox"]:checked + span::after {
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

/* #yoyaku */
#yoyaku {
	padding: 20px 10px;
}
.box-select,
.box-select label,
.box-select label select,
.selectlabel {
	box-sizing: border-box;
}

.box-select {
	margin: 5px 0;
	display: inline-block;
	position: relative;
}

.selectlabel {
	display: inline-block;
	position: relative;
}

.selectlabel select {
	min-width: 220px;
    display: block;
	padding: 10px;
	border: 1px solid #bbb;
	background-color: transparent;
}

.selectlabel:after {
    display: block;
    content: "";
    position: absolute;
    right: 8px;
    top: 20px;
    box-sizing: border-box;
    width: 8px;
    height: 10px;
    border: 4px solid transparent;
    border-top: 5px solid #000;
    background-size: 20px;
    pointer-events: none;
}

/* form_btnarea ---------------------------- */
.form_btnarea ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.form_btnarea ul li {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    margin-bottom: 10px;
}

.form_btnarea ul li:first-child {
    text-align: right;
}

.form_btnarea ul li:nth-child(2) {
    margin-left: 30px;
}
@media (max-width: 767px) {
	.form_btnarea ul li:nth-child(2) {
	    flex-grow: 0;
	}	
}

/* button */
button#btn-reset, button#btn-back {
    background-color: #999999;
}

button#btn-conf {
/*     background-color: #000;*/
	 min-width: 270px;
}

button {
    border: 0;
    padding: 17px 20px 14px;
    marign-bottom: 10px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    color: #fff;
    line-height: 1;
    width: 90%;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
	font-family: YuGothic, 'Yu Gothic', sans-serif;
	-webkit-text-size-adjust:100%;
	-moz-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
	-o-text-size-adjust:100%;
	text-size-adjust:100%;
	text-align: center;
	border-radius: 0px;
}

button span {
	padding-right: 10px;
}

button i {
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -9px;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

button:hover {
    opacity: 0.7;
	cursor: pointer;
}

button:hover i {
	right: 10px;
}

@media screen and (max-width: 768px) {
	button {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	.box-select,
	.box-select label,
	.box-select label select,
	.selectlabel {
		display: block;
		width: 100%;
	}

	.form_btnarea ul,
	.form_btnarea ul li {
		display: block;
	}
	.form_btnarea ul li:nth-child(2) {
		margin-left: 0;
	}
	button#btn-conf {
		margin-left: 0;
		min-width: 100%;
	}

	.box-table.box-form > dl > dd {
		padding-top: 0.5em;
	}
}

/* confirm.php ---------------------------- */
.box-table.box-form > dl.formitemconf > dd {
	padding-left: 17px;
}

@media screen and (max-width: 480px) {
	.box-table.box-form > dl.formitemconf > dd,
	.box-table.box-form > dl.box-radio > dd {
		padding-top: 0.5em;
		padding-bottom: 1.2em;
	}
}

