@charset "utf-8";

.form header + .stdsec {
    padding: 60px 0 50px;
}

.row {
    margin: 40px 0 0;
}


/* ------------------------------------------------------------------------------------------------------ テキストボックス 共通指定 */

textarea,
select,
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="date"] {
	border: 1px solid #ccc;
	outline: none;
}

textarea,
select {
	padding: 5px;
	background-color: #fff;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="date"] { padding: 0 5px; }

textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
	border: 1px solid #07abb1;
}

input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
} 

input[type="number"] { 
  -moz-appearance: textfield; 
} 



/* ------------------------------------------------------------------------------------------------------ 共通フォーム */

.form-style *, .form-style *:before, .form-style *:after {
	background-repeat: no-repeat;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

.form-style dl {
	margin: 0;
	padding: 0;
}

.form-style dl dt {
	margin: 15px 0 0;
	padding: 0;
}

.form-style dl dt:first-child {
	margin-top: 0;
}

.form-style dl dt.req:after {
	content: "※";
	line-height: 1.8em;
	color: #ad1f25;
}

.form-style dl dt span {
	font-size: 12px;
	font-size: 1.2rem;
}

.form-style dl dd {
    position: relative;
	margin: 4px 0 0;
	padding: 0;
}

.form-style dl dd input[type="text"],
.form-style dl dd input[type="tel"],
.form-style dl dd input[type="number"],
.form-style dl dd input[type="email"] {
	width: 100%;
	height: 60px;
	padding: 10px 20px;
	background-color: #fff;
	border: 1px solid #ccc !important;
	border: none;
    text-align: left !important;
}

.form-style dl dd input.half,
.form-style dl dd input.short {
	width: 50%;
}

.form-style dl dd textarea {
	width: 100% !important;
    min-height: 120px !important;
	padding: 20px;
	background-color: #fff;
	border: 1px solid #ccc !important;
	border: none;
}

.form-style dl dd textarea.h-long {
    height: 240px !important;
}


@media screen and (min-width: 481px) {

.form-style dl dd input.short {
	width: 33%;
}

} /* min 481px -- */

@media screen and (min-width: 641px) {

.form-style dl dt {
	position: relative;
	clear: left;
	float: left;
	width: 200px;
	margin: 0;
	padding: 28px 30px 0 0;
}

.form-style dl dt.req:after {
	position: absolute;
	top: 33px;
	right: 18px;
	line-height: 1.0em;
}

.form-style dl dd {
    margin-top: 0;
	padding: 10px 0 10px 200px;
}

} /* min 641px -- */


/***********************************************
 ラジオボタン・チェックボックス
 ***********************************************/
.slctul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.slctul li {
    margin: 5px 0 0;
    padding: 0;
}

.slctul li input[type='radio'],
.slctul li input[type='checkbox'] {
    display: none;
}

.slctul li span {
    position: relative;
    display: block;
    padding: 10px 10px 10px 48px;
    background-color: #f5f5f5;
}

.slctul li span:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    width: 20px;
    margin-top: -0.5em;
    font-family: "Font Awesome 5 Free";
	font-size: 1.4em;
	line-height: 1.0em;
    color: #999;
}

.slctul li input[type='radio'] ~ span:before {
    content: "\f111";
}

.slctul li input[type='checkbox'] ~ span:before {
    content: "\f0c8";
}

/**
 * 選択時
 */
.slctul li input[type='radio']:checked ~ span:before {
    content: "\f192";
    color: #0098e8;
}

.slctul li input[type='checkbox']:checked ~ span:before {
    content: "\f14a";
    color: #0098e8;
}


@media screen and (min-width: 641px) {

.slctul {
    letter-spacing: -0.4em;
}

.slctul li {
    display: inline-block;
    margin: 5px 5px 0 0;
    letter-spacing: 0.8pt;
}

.slctul li span {
    padding: 16px 20px 15px 48px;
}

} /* min 641px -- */


/***********************************************
 セレクトボックス
 ***********************************************/
.slct {
	position: relative;
}

.slct:before {
	content: "\f107";
	position: absolute;
	right: 15px;
	top: 0;
	z-index: 1;
	font-family: "Font Awesome 5 Free";
    font-size: 1.4em;
	line-height: 60px;
    font-weight: 900;
	color: #0098e8;
	pointer-events: none;
}

.slct select {
	width: 100%;
	height: 60px;
	padding-left: 20px;
	background-color: #fff;
	border: 1px solid #ccc !important;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.slct select::-ms-expand {
	display: none;
}
.slct select:-moz-focusring {
	text-shadow: 0 0 0 #828c9a;
	color: transparent;
}


/***********************************************
 同意チェック
 ***********************************************/
.agree-ch {
    text-align: center;
}

.agree-ch label {
    display: inline-block;
    padding: 16px 16%;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
}

.agree-ch label input[type='checkbox'] {
    display: none;
}

.agree-ch label span {
    position: relative;
    display: block;
    padding: 10px 10px 10px 48px;
    background-color: #f5f5f5;
}

.agree-ch label span:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    width: 20px;
    margin-top: -0.5em;
    font-family: "Font Awesome 5 Free";
	font-size: 1.4em;
	line-height: 1.0em;
    color: #999;
}

.agree-ch label input[type='checkbox'] ~ span:before {
    content: "\f0c8";
}

/**
 * 選択時
 */
.agree-ch label input[type='checkbox']:checked ~ span:before {
    content: "\f14a";
    color: #0098e8;
}


@media screen and (min-width: 641px) {

.agree-ch label span {
    padding: 16px 20px 15px 48px;
}

} /* min 641px -- */


/***********************************************
 ボタンエリア
 ***********************************************/
.btnarea {
    margin-top: 20px;
	text-align: center;
}

.btnarea input[type="submit"],
.btnarea button[type="submit"] {
	width: 268px;
	height: 66px;
	margin: 5px 10px;
	background-color: #ad1f25;
	border: none;
	color: #fff;
}


@media screen and (min-width: 769px) {

.btnarea input[type="submit"],
.btnarea button[type="submit"] {
	cursor: pointer;

	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	-o-transition: background-color 0.5s;
	transition: background-color 0.5s;
}

/**
 * マウスオーバー
 */
.btnarea input[type="submit"]:hover,
.btnarea button[type="submit"]:hover {
	background-color: #f29718;
}

} /* min 769px -- */


/***********************************************
 フォーム チェック時
 ***********************************************/
#mfp_phase_confirm[style="display: block;"] {
    padding: 0 10px 40px;
}

#mfp_phase_confirm_inner h4 {
    margin: 0 0 30px;
    padding: 0;
    text-align: center;
	font-size: 25px;
	font-size: 2.5rem;
	line-height: 1.5em;
}

table#mfp_confirm_table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
    border-bottom: solid 1px #ccc;
}

table#mfp_confirm_table tr.mfp_colored {
	background-color: #f5f5f5;
}

table#mfp_confirm_table tr.mfp_achroma {
	background-color: #fff;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
	border-top: solid 1px #ccc;
	padding: 10px;
}

table#mfp_confirm_table tr th {
	width: 25%;
    text-align: left;
}

table#mfp_confirm_table tr td {
	word-break: break-all;
}

.mfp_buttons {
    margin-top: 20px;
    text-align: center;
}

.mfp_buttons button {
    width: 240px;
	width: 268px;
	margin: 5px 10px;
	background-color: #ad1f25;
	border: none;
	color: #fff;
}

.mfp_buttons button#mfp_button_send {
	height: 66px;
	background-color: #ad1f25;
}

.mfp_buttons button#mfp_button_cancel {
	height: 48px;
	background-color: #adaca1;
}


@media screen and (min-width: 321px) {

#mfp_phase_confirm[style="display: block;"] {
    padding: 0 20px 40px;
}

} /* min 321px -- */

@media screen and (min-width: 641px) {

#mfp_phase_confirm[style="display: block;"] {
    padding: 0 30px 40px;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
	padding: 15px 20px;
}

.mfp_buttons button#mfp_button_cancel {
	height: 66px;
}

} /* min 641px -- */

@media screen and (min-width: 769px) {

#mfp_phase_confirm[style="display: block;"] {
    padding: 0 40px 60px;
}

#mfp_phase_confirm_inner {
    max-width: 800px;
    margin: 0 auto;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
	padding: 20px;
}

.mfp_buttons button {
    cursor: pointer;

	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;

	-o-transition: background-color 0.5s;
	transition: background-color 0.5s;
}

/**
 * マウスオーバー
 */
.mfp_buttons button#mfp_button_send:hover {
	background-color: #f29718;
}

.mfp_buttons button#mfp_button_cancel:hover {
	background-color: #796a56;
}

} /* min 769px -- */


/***********************************************
 フォームテキスト
 ***********************************************/
.form-text {
    text-align: center;
}

.form-text h3 {
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
	color: #ad1f25;
}

.form-text p {
    text-align: center;
}

@media screen and (min-width: 641px) {

.form-text h2 {
	font-size: 25px;
	font-size: 2.5rem;
	line-height: 1.5em;
}

} /* min 641px -- */


@media screen and (min-width: 769px) {

.form-text {
    margin-top: 60px;
    padding-bottom: 60px;
}

} /* min 769px -- */


/***********************************************
 フォームリンクボタン
 ***********************************************/
a.formback {
	display: inline-block;
	width: 268px;
	height: 48px;
	margin: 5px 10px;
	background-color: #ad1f25;
	line-height: 48px;
    text-decoration: none;
	color: #fff;
}

@media screen and (min-width: 769px) {

a.formback:hover {
	background-color: #f29718;
}

} /* min 769px -- */



/* ------------------------------------------------------------------------------------------------------ ファイル選択 */

.file-cover {
	position: relative;
	padding-right: 100px;
}

.file-cover input[type="file"] {
	display: none;
}

.file-cover .btnselect {
	position: absolute;
	top: 0;
	right: 0;
	width: 90px;
	height: 60px;
    padding-top: 16px;
	background-color: #ad1f25;
	border: none;
    text-align: center;
	font-size: 1.2em;
	color: #fff;
    cursor: pointer;

	-webkit-transition: background-color 0.5s, color 0.5s;
	-moz-transition: background-color 0.5s, color 0.5s;
	-ms-transition: background-color 0.5s, color 0.5s;
	-o-transition: background-color 0.5s, color 0.5s;
	transition: background-color 0.5s, color 0.5s;
}

.file-cover .btnselect:hover {
	background-color: #f29718;
}

.file-cover .file-frame {
	position: relative;
	height: 60px;
	padding: 21px 24px 0 110px;
	background-color: #f2f2f2;
}

.file-cover .file-frame:after {
	content: "写真を選択してください（5MB以内）";
	position: absolute;
	top: 50%;
	left: 110px;
	margin-top: -0.5em;
	font-size: 0.9em;
	line-height: 1.0em;
	color: #b3b3b3;
}

/**
 * ファイル選択時
 */
.file-cover.select .file-frame:after {
	display: none;
}

.file-cover .file-frame .i-file {
	position: absolute;
	top: 50%;
	left: 24px;
	width: 60px;
	height: 20px;
	margin-top: -10px;
	background-color: #b3b3b3;
	border-radius: 10px;
	text-align: center;
	font-size: 0.80em;
	line-height: 1.5em;
	color: #fff;
}

/**
 * ファイル選択時
 */
.file-cover.select .file-frame .i-file {
	background-color: #ad1f25;
}

.file-cover .file-frame .filename {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}


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

.file-cover {
	padding-right: 80px;
}

.file-cover .btnselect {
	width: 70px;
}

.file-cover .file-frame {
	padding: 21px 14px 0 90px;
}

.file-cover .file-frame:after {
	content: "写真を選択（5MB以内）";
	left: 90px;
	font-size: 0.9rem;
	line-height: 1.0em;
}

.file-cover .file-frame .i-file {
	left: 14px;
}

} /* max 480px -- */




