@charset "utf-8";
 /* FORM STYLE
------------------------------------------------*/
/* pagetitle */
#contact {
	background: url(../img/contact/bg.png)  no-repeat right top;
}

#contact::before {
	position: absolute;
	content:"";
	width: 100%;
	height: 100%;
	display: block;
	left: 0;
	top: 0;
	z-index: -1;
	opacity: 0;
	background: url(../img/contact/bg_pattern.png) no-repeat right top;
}

#contact.is-loaded::before,
#entry.is-loaded::before {
	transition-delay: 0.2s;
	transition: all 1.5s ease;
	opacity: 1;
}

#entry {
	background: url(../img/entry/bg_star.jpg)  no-repeat right top;
}

#entry::before {
	position: absolute;
	content:"";
	width: 100%;
	height: 100%;
	display: block;
	left: 0;
	top: 0;
	z-index: -1;
	opacity: 0;
	background: url(../img/entry/bg_cercle.png) no-repeat right top;
}

#contact .site-footer,
#entry .site-footer {
	border-top: 1px solid #e5e5e5;
}


@media (max-width: 1199px) {
	#contact {
		background-size: 65% auto;
	}
	#contact::before {
		background-size: 45% auto;
    	background-position: 105% -35px;
	}
	#entry,
	#entry::before {
		background-size: 65% auto;
	}
}

@media (max-width: 991px) {
	#contact::before {
		background-size: 45% auto;
    	background-position: 105% -35px;
	}

}

@media (max-width: 768px) {
	#contact {
		background-size: 85% auto;
		background-position: right -35px;
	}
	#contact::before {
		background-size: 60% auto;
    	background-position: 105% -100px;
	}
	#entry,
	#entry::before {
		background-size: 75% auto;
	}
}

@media (max-width: 480px) {
	#contact {
		background-size: 110% auto;
		background-position: right -35px;
	}
	#contact::before {
		background-size: 70% auto;
    	background-position: 165% -90px;
	}
	#entry,
	#entry::before {
		background-size: 95% auto;
	}
}

/* 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; 
}

/* Chrome, Safari */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
  opacity: 1.0;
  -webkit-transition: all .2s;
  transition: all .2s;
  color: rgba(0,0,0,0.3);
}
 
/* Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder{
  opacity: 1.0;
  -webkit-transition: all .2s;
  transition: all .2s;
  color: rgba(0,0,0,0.3);
}
 
/* Firefox 18以前 */
input:-moz-placeholder,
textarea:-moz-placeholder{
  opacity: 1.0;
  -webkit-transition: all .2s;
  transition: all .2s;
  color: rgba(0,0,0,0.3);
}
 
/* IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder{
  opacity: 1.0;
  -webkit-transition: all .2s;
  transition: all .2s;
  color: rgba(0,0,0,0.3);
}

.need {
	color: #fa5c91;
	display: inline-block;
	margin-left: 5px;
	font-size: 1.5rem;
	font-weight: bold;
	position: relative;
    top: -2px;
}

.formarea .col-form:first-child {
	padding-right: 3%;
	box-sizing: border-box;
}

.formarea .col-form:nth-child(2) {
	padding-left: 3%;
	box-sizing: border-box;
}

.box-formitem {
	padding: 25px 0 35px 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.formarea .col-form .box-formitem:last-child {
	border-bottom: none;
}

@media (max-width: 1199px) {
	.formarea .col-form:first-child .box-formitem:last-child {
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
}

.box-formitem.box-radio {
	padding-bottom: 15px;
}

.box-formconf {
	padding: 25px 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.formarea .col-form:nth-child(2) .box-formconf:last-child {
	border-bottom: none;
}

.box-formitem > dt .formitem,
.box-formconf > dt .formitem {
	font-weight: bold;
	color: #333;	
}

.box-formconf > dd {
	word-break: break-all !important;
    word-wrap: break-word !important;
}
@media screen and (min-width: 1200px) {
	.formarea .col-form:nth-child(1) .box-formconf:last-child {
		border-bottom: none;
	}
}
@media screen and (max-width: 1199px) {
	.formarea .col-form:first-child,
	.formarea .col-form:nth-child(2) {
		padding-right: 0;
		padding-left: 0;
	}
}

@media screen and (max-width: 768px) {
	.box-formitem {
		padding: 20px 0 30px 0;
	}
	
	.box-formitem.box-radio {
		padding-bottom: 10px;
	}
	
	.box-formconf {
		padding: 20px 0;
	}	
}
	
.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: #ecf9fc !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,204,255, 0.8);
}

.input__field--anm:focus {
	box-shadow: 0px 0px 0px 1px #00ccff;
	-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: #ecf9fc;
}

.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: -12px;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 10px;
  display: block;
  border: 2px solid #bbb;
  border-radius: 50%;
  content: '';
}

.radio:before {
	position: absolute;
    top: 50%;
    left: 15px;
    display: block;
    margin-top: -7px;
    width: 14px;
    height: 14px;
  border-radius: 50%;
  background-color: #333;
  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: #ecf9fc;
  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 0 0 35px;
}

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

.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: 6px;
  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: #000;
}
.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;
}

.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;
}

/* .select-category */
.box-radio .notice {
	display: block;
	line-height: 1.7;
	padding: 20px 30px;
	background-color: rgba(0,0,0,0.05);
}
@media (max-width: 480px) {
	.box-radio .notice {
		padding: 20px;
	}
}

.select-category {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.select-category .to-entry {
	display: inline-block;
}
.select-category .to-entry a {
	display: inline-block;
	color: #ff80b2;	
	position: relative;
}
.select-category .to-entry a:before {
	content: "";
	display: block;
	width: 0;
	height: 5px;
	background-color: #ff80b2;
	opacity: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	transition: width ease 0.28s, opacity ease 0.28s;
}
.select-category .to-entry a:hover:before {
	width: 100%;
	opacity: 0.15;
}



/* t-link */
.t-link {
	position: relative;
	padding-left: 15px;
}
.t-link .txt-link {
	padding-left: 15px;
}
.t-link .txt-link::after {
	content:">";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-55%);
	color: #00b4e1;
	display: inline-block;	
}
.t-link .txt-link:hover::before {
    left: -5px;
}

/* form_btnarea ---------------------------- */
.form_btnarea {
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-left: auto;
	margin-right: auto;
}
.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%;
    padding-top: 45px;
	padding-bottom: 45px;
}

.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;
}


/* button */
button.btn-reset,
button.btn-back {
    background-color: #fff;
	width: 200px;
    min-width: auto;
	transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

button.btn-reset.btn.btn-line::before {
    border-color: #ccc;
}
button.btn-reset.btn.btn-line .btn-inner1::before, 
button.btn-reset.btn.btn-line .btn-inner1::after {
	background-color: #ccc;
}

button.btn-confirm {
	/*width: 300px;
    min-width: 270px;*/
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.btn-reset .btn-wrap .f-noto.f-w500 {
		font-family: "ヒラギノ角ゴ Pro W6",'HiraKakuPro-W6',"Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	}
}

.btn.btn-reset.focus, 
.btn.btn-reset:focus {
	background-color: #eee;
}

button {
    border: 0;
	margin: 0 auto 10px auto;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	text-align: center;
	background: #fff;
	overflow: visible;
}

button:hover {
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	.form_btnarea ul {
		padding-top: 30px;
		padding-bottom: 20px;
	}
	button.btn-reset,
	button.btn-back {
		width: 130px;
	}
	button.btn-confirm {
		width: 250px;
		min-width: 250px;
	}
}

@media screen and (max-width: 480px) {
	.box-select, 
	.box-select label, 
	.box-select label select, 
	.selectlabel {
		display: block;
		width: 100%;
	}
	.form_btnarea ul {
		padding-top: 20px;
		padding-bottom: 10px;
	}
	.form_btnarea ul li {
		box-sizing: border-box;
		padding: 0 5px;
	}
	.form_btnarea ul li:nth-child(2) {
		margin-left: 0;
	}

	button.btn-reset .btn-wrap,
	button.btn-back .btn-wrap {
		display: block;
		height: 100%;
		line-height: 60px;
	}
	
	button.btn-reset .btn-wrap span {
		line-height: 60px;
	}
	

	button.btn-reset, 
	button.btn-back {
		width: 115px;
	}
	button.btn-confirm {
		width: 210px;
    	min-width: 210px;
	}
	

}

@media screen and (max-width: 400px) {
	.form_btnarea ul li {
		padding: 0 2px;
	}
	button.btn-confirm {
		width: 180px;
		min-width: 180px;
	}
	button.btn-reset, 
	button.btn-back {
		width: 95px;
	}
	button.btn-confirm .f-noto,
	button.btn-reset .f-noto, 
	button.btn-back .f-noto {
		font-size: 1.5rem;
	}
	button.btn-reset .f-noto, 
	button.btn-back .f-noto {
		letter-spacing: 0;
	}	
}


/* error messages ---------------------------- */
.error-messages {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #c00;
	color: #c00;
	background: #fff5f5;
}


/* 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;
	}	
}

/* Google reCAPTCHA */
.grecaptcha-badge {
	bottom: 70px !important; /* js制御 */
	z-index: 1;
}