@charset "utf-8";


.subvisual .subvisual-wrap {
    background-image: url("../image/contact/visualpc.png");
}
@media screen and (max-width:1200px) {
    .subvisual .subvisual-wrap {
        background-image: url("../image/contact/visual.jpg");
    }
}

/*----------------------------------------------------------------------------
   mailform
------------------------------------------------------------------------------*/

.contact-wrap {
    margin: 84px 0;
}

.form-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}
.form-nav__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 170px;
    padding: .5em 0;
    margin: 0 16px;
    color: #3c92e2;
    font-weight: bold;
    letter-spacing: .1em;
    border: 1px solid #3c92e2;
    border-radius: 2em;
    background-color: #fff;    
}
.form-nav__item.active {
    background-color: #3c92e2;
    color: #fff;
}
@media screen and (max-width:750px) {
    .form-nav__item {
        max-width: 220px;
    }
}


#mailform-layout {
    margin-top: 48px;
}

#mailform-layout .item {
	position: relative;
    overflow: hidden;
}

#mailform-layout .item .name {
	position: absolute;
	top: 0;
	left: 0;
	width: 220px;
}

@media screen and (max-width: 750px) {
	#mailform-layout .item .name {
		width: 100%;
        font-weight: bold;
	}
}

#mailform-layout .item .answer {
	padding-left: 250px;
	box-sizing: border-box;
}

@media screen and (max-width: 750px) {
	#mailform-layout .item .answer {
		padding-left: 0;
		padding-top: 2em;
	}
}

#mailform-layout .required {
	background-color: #ff4545;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	color: #ffffff;
	text-align: center;
	padding: .25em 1em;
	font-size:75%;
	border-radius: 3px;
}

#mailform-layout ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.mailform-desc {
    text-align: center;
}

.mailform-alart {
	background-color: #e3fff2;
	border: 1px solid #bae4d1;
	box-sizing: border-box;
	border-radius: .5em;
    padding: 1em;
	margin-bottom: 36px;
	text-align: center;
}

.mailform-alart.error {
	background-color: #ffffff;
	border: 2px solid #ff5353;
	color: #ff5353;
	font-weight: bold;
}

.mailform-setup-alart {
	background-color: #ffffff;
	border: 2px solid #ff5353;
	box-sizing: border-box;
	border-radius: .5em;
    padding: 1em;
	margin-bottom: 48px;
	text-align: center;
	color: #ff5353;
}

.mailform-setup-alart strong {
	display: block;
	text-align: center;
	margin-bottom: .5em;
}

.mailform-setup-alart p {
	margin: 0;
	padding: 0;
}

.mailform-box {
	background-color: #f2f2f2;
	padding: 30px !important;
	margin-bottom: 30px !important;
	box-sizing: border-box;
	border-radius: 5px;
	margin-top: 50px;
}

.mailform-box .title {
	display: block;
	padding-bottom: .5em;
	color: #ff6b6b;
	background-image: url("../contact/image/icon-mailplus.png");
	background-repeat: no-repeat;
	background-position: left 2px top 0;
	padding-left: 60px;
}

.mailform-box p {
	margin: 0 !important;
	padding: 0 !important;
}

.sentok {
	text-align: center;
	color: #ff6b6b;
    line-height: 1.2;
    margin-bottom: .5em;
}

.inp-minsize input {
    min-width: 460px;
}

/* input - text */

input[type=text] {
	border: 1px solid #cccccc;
	padding: .5em;
	box-sizing: border-box;
	border-radius: .25em;
	width: 50%;
}

/* input - tel */

input[type=tel] {
	border: 1px solid #cccccc;
	padding: .5em;
	box-sizing: border-box;
	border-radius: .25em;
	width: 50%;
}

/* input - email */

input[type=email] {
	border: 1px solid #cccccc;
	padding: .5em;
	box-sizing: border-box;
	border-radius: .25em;
	width: 100%;
}

/* input - radio */

input[type=radio] {
	display: none;
}

input[type=radio]+label {
	display:block;
	cursor:pointer;
	margin-top:0.25em;
	margin-bottom:0.25em;
	font-family:inherit;
}

input[type=radio]+label:before {
	width:1.25em;
	height:1.25em;
	display:inline-block;
	content:"";
	border-radius:1.25em;
	vertical-align:middle;
	border:2px solid #c8c8c8;
	background-color:#fff;
	margin:-2px 5px 0 0;
	-webkit-transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

input[type=radio]:hover+label:before {
	border-color:#c8c8c8;
	background-color:#c8c8c8;
	box-shadow:inset 0 0 0 0.25em #fff;
}

input[type=radio]:checked+label:before {
	border-color:#4593ea;
	background-color:#4593ea;
	box-shadow:inset 0 0 0 0.25em #fff;
}

.radio-group label {
	margin-right:1.5em;
}

.radio-group li {
	display: inline-block;
}

/* input - checkbox */

.chk-group {
	position: relative;
	bottom: -5px !important;
	display: block;
}

.chk-group li {
	display: inline-block;
	padding-right: 20px;
}

.chk-group li label {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-bottom: 5px;
  cursor: pointer;
  font-size: 18px;
}
.chk-group li label input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
  border-radius: 2px;
}
.chk-group li label:hover input ~ .indicator,
.chk-group li label input:focus ~ .indicator {
  background: #ccc;
}
.chk-group li label input:checked ~ .indicator {
  background: #4593ea;
}
.chk-group li label:hover input:not([disabled]):checked ~ .indicator,
.chk-group li label input:checked:focus ~ .indicator {
  background: #4593ea;
}
.chk-group li label input:disabled ~ .indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.chk-group li label input:checked ~ .indicator:after {
  display: block;
}
.chk-group li .checkbox .indicator:after {
  left: 8px;
  top: 4px;
  width: 3px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chk-group li .checkbox input:disabled ~ .indicator:after {
  border-color: #7b7b7b;
}

/* item - age */

#mailform-layout ul.age {
}

#mailform-layout ul.age li {
	float: left;
	margin-right: .5em;
}
#mailform-layout ul.age li input {
	width: 4em;
	border: 1px solid #cccccc;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 3px;
	margin-right: 5px;
}

#mailform-layout ul.age li:nth-of-type(1) {
	width: 7.5em;
}

#mailform-layout ul.age li:nth-of-type(1) input {
	width: 6em;
}

/* item - postcode */

#mailform-layout .postcode {
	display: block;
	padding-bottom: 10px;
}

#mailform-layout .postcode input {
	border: 1px solid #cccccc;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 3px;
	margin-right: 5px;
}

#mailform-layout .postcode input:nth-of-type(1) {
	width: 4.5em;
}
#mailform-layout .postcode input:nth-of-type(2) {
	width: 5.5em;
}

#mailform-layout .postcode+input {
	width: 100%;
}

/* item - visit */

#mailform-layout .visit {
    display: none;
}

#mailform-layout .visittime {
    margin-bottom: 1em;
}
#mailform-layout .visittime:last-of-type {
    margin-bottom: 0;
}
#mailform-layout .visittime input {
    width: 250px !important;
    min-width: auto;
}

/* textarea */

#mailform-layout textarea {
	width: 100%;
	border: 1px solid #cccccc;
	padding: .5em;
	box-sizing: border-box;
	border-radius: .25em;
}

/* select */

#mailform-layout select {
	border: 1px solid #cccccc;
	padding: .5em;
	box-sizing: border-box;
	border-radius: .25em;
}


/* submit-button */

.submit-button {
	text-align: center;
	padding-top: 24px;
}
@media screen and (max-width:750px) {
    .ua-sp .submit-button button {
        font-size: 87.5%;
    }
}

/*
.submit-button button {
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #ffffff;
	color: #00afcc;
	font-weight: bold;
	border: 5px solid #00afcc;
	border-radius: 5px;
	padding: 20px;
	padding-left: 60px;
	padding-right: 60px;
	text-indent: -15px;
	position: relative;
	transition: 0.2s;
}

.submit-button button.pageback {
	text-indent: 15px !important;
	padding-right: 35px !important;
}

.submit-button button:hover {
	background-color: #00afcc;
	color: #ffffff;
	border: 5px solid #00afcc;
}

.submit-button button:before {
	width: 18px;
    height: 18px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #ffffff;
	content: "";
	position: absolute;
	transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
	right: 2px;
	top: 50%;
	transition: 0.2s;
}

.submit-button button:hover:before {
    background: #ffffff;
	right: 2px;
}

.submit-button button.pageback:before {
	right: inherit;
	left: 20px;
}
.submit-button button.pageback:hover:before {
    background: #ffffff;
		left: 20px;
}

.submit-button button:after {
    width: 5px;
    height: 5px;
    border-top: 1px solid #4593ea;
    border-right: 1px solid #4593ea;
    -webkit-transform: rotate(45deg) translate(-50%, -50%);
    transform: rotate(45deg) translate(-50%, -50%);
		content: "";
		position: absolute;
		right: 21px;
		top: calc(50% + 1px);
		transition: 0.2s;
}
.submit-button button:hover:after {
	right: 17px;
}

.submit-button button.pageback:after {
	right: inherit;
	left: 21px;
	-webkit-transform: rotate(225deg);
    transform: rotate(225deg);
	top: 25px;
}
.submit-button button.pageback:hover:after {
	right: inherit;
	left: 17px;
}

/* Design Template
 simple - 下線のみのシンプルなレイアウト
 table - テーブルタグで作成したようなレイアウト
 portable - タブレットスタイルでポップなレイアウト
*/

/* design - simple */

#mailform-layout.simple .item {
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 1px dotted #cccccc;
}


/* design - table */

#mailform-layout.table .item {
	position: relative;
	border: 1px solid #e0e0e0;
	margin-top: -1px;
}

#mailform-layout.table .item .name {
	position: absolute;
	left: 0;
	width: 180px;
	height: 100%;
	background-color: #f5f5f5;
	box-sizing: border-box;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: left;
}

#mailform-layout.table .item .answer {
	padding: 15px;
	padding-left: 200px;
	box-sizing: border-box;
}

@media screen and (max-width: 750px) {
	#mailform-layout.table .item .name {
		width: 100%;
		display: block;
		position: relative;
		top: inherit;
		left: inherit;
	}
	#mailform-layout.table .item .answer {
		padding-left: 15px;
	}
}

#mailform-layout.table .required {
	position: relative;
	top: inherit;
	right: inherit;
	margin-bottom: 5px;
}

@media screen and (max-width: 750px) {
	#mailform-layout.table .required {
		display: inline-block;
	}
}


/* design - portable */

#mailform-layout.portable .item {
	position: relative;
	margin-bottom: 10px;
}

#mailform-layout.portable .item .name {
	position: absolute;
	left: 0;
	width: 250px;
	height: 100%;
	background-color: #d2e7ff;
	border-radius: 5px;
	color: #333333;
	font-weight: bold;
	box-sizing: border-box;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: left;
}

#mailform-layout.portable .item .answer {
	padding: 15px;
	width: calc(100% - 260px);
	margin-left: 260px;
	box-sizing: border-box;
	border: 1px solid #eeeeee;
	border-radius: 5px;
	background-color: #ffffff;
}

#mailform-layout.portable .required {
	top: 50%;
    right: 10px;
    transform: translateY(-50%);
	background-color: #ffffff;
	box-sizing: border-box;
	color: #ff4545;
	border: 1px solid #ff4545;
}