@charset "utf-8";

textarea {
    /* font-family: sans-serif; */
}

.p-contact .privacy {
	width: 100%;
	height: 200px;
	overflow-y: scroll;
	padding: 0 5% 5% 5%;
	border: solid 1px var(--black-op10);
	border-radius: 3px;
}

.p-contact .privacy p,
.p-contact .privacy dd,
.p-contact .privacy dt {
	font-size: 0.8em !important;
}

.p-contact .privacy dt, .sign {
	margin-bottom: 10px;
	margin-top: 10px;
}

.p-contact .error {
	border-color: var(--red);
	/*background-color: #FDF1F0; */
}

.p-contact p.error {
	list-style: none;
	color: var(--red);
	padding: 5px 5px 5px 20px;
	font-weight: normal;
	font-size: 0.8em;
}

.submit {
	display:inline-block;
	padding: 20px 1.75em;
	width: 90%;
	max-width: 300px;
	min-height: 60px;
	line-height: 20px;
	position: relative;
	border: 1px solid var(--black);
	border-radius: 1rem;
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	text-align: center;
	cursor: pointer;
	background-color: var(--white);
	font-size: var(--font16-14);
}
.submit:hover{
  /* color:#fff; */
  background:var(--blue-op10);
  text-decoration:none;
}

.back {
	color:#333;
	display:inline-block;
	padding: 20px 1.75em;
	width: 90%;
	max-width: 300px;
	min-height: 60px;
	line-height: 20px;
	position: relative;
	border: 2px solid #333;
	border-radius: 50px;
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	text-align: center;
	background-color: #fff;
	margin-bottom: 30px;
}
.back:hover{
  color:#fff;
  background:#333;
  text-decoration:none;
}

.back:hover::before {
  transform-origin: left top;
  transform: skewX(-30deg) scale(1, 1);
  }


/* ---------------------------------------------------------
  フォーム関連スタイル　1025px以上
--------------------------------------------------------- */
input[type="submit"] {
   -webkit-appearance: none;
}

ul.fm_text-comlist li {
	font-weight: bold;
    list-style-type: decimal-leading-zero;
    margin-left: 2em;
}
.fm_com {
	font-size:0.9em;
	
	margin-bottom:1em;
}
.form_table {
	width: 100%;
}
/*.form_table > tr:nth-child(1) th,
.form_table > tr:nth-child(1) td,*/
.form_table > tbody:nth-child(1) > tr:nth-child(1) th,
.form_table > tbody:nth-child(1) > tr:nth-chfm_radio-labelild(1) td {
    border-top: none;
}
.form_table th,
.form_table td {
    border-top: 1px dotted #ccc;
    padding: 0.5em;
    vertical-align: top;
}
.form_table th {
	text-align:left;
	width: 28%;
}

.form_table td {
	/* font-weight:bold; */
}
span.need {
	float: right;
    color: #e61f19;
    border: 1px solid #e61f19;
    border-radius: 3px;
    padding: 2px 4px;
    font-weight: 500;
	margin-right: 10px;
}
.fm_input-text.size-ss, .fm_input-textarea.size-ss, .fm_input-select.size-ss {
    width: 3em;
}
.fm_input-text.size-s, .fm_input-textarea.size-s, .fm_input-select.size-s {
    width: 7em;
}
.fm_input-text.size-m, .fm_input-textarea.size-m, .fm_input-select.size-m {
    width: 16em;
}
.fm_input-text,
.fm_input-textarea,
.fm_input-select {
    box-sizing: border-box;
    margin-bottom: 0.5em;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 0.5em;
    margin-left: 0.5em;
    position: relative;
	padding: 10px;
    font-size: 1.02em;
}

/*▼ラジオボタンスタイル*/
.fm_entry-Radio li,
.fm_entry-Radio1 li,
.fm_entry-Radio2 li {
	float:left;
	margin-left:1%;
	margin-right:1%;
}
.fm_entry-Radio1 li {
	width: 48%;
	margin: 1%;
}

/* ラジオボタンは非表示にする */
.fm_entry-Radio li input[type=radio],
.fm_entry-Radio1 li input[type=radio],
.fm_entry-Radio2 li input[type=radio],
.fm_entry-Radio li input[type=checkbox],
.fm_entry-Radio1 li input[type=checkbox],
.fm_entry-Radio2 li input[type=checkbox] {
  display: none; 
}
/* チェックされた時のスタイル */
.fm_entry-Radio li input[type="radio"]:checked + label,
.fm_entry-Radio1 li input[type="radio"]:checked + label,
.fm_entry-Radio2 li input[type="radio"]:checked + label,
.fm_entry-Radio li input[type=checkbox]:checked + label,
.fm_entry-Radio1 li input[type=checkbox]:checked + label,
.fm_entry-Radio2 li input[type=checkbox]:checked + label  {
  background: #F0895E;
  color: #FFF; 
}
/* マウスオーバーしたときのスタイル */
.fm_radio-label:hover {
  background-color: #FEF7EE;
}
/* lableのスタイル */
.fm_radio-label {
  border: #dddddd solid 2px;
  display: block;
  padding: 0.7em 1.6em;
  cursor: pointer;
  margin-bottom: 10px;
}
.fm_entry-Radio1 li .fm_radio-label {
	padding: 1.3em;
}
/*▲ラジオボタンスタイル　ここまで*/

.p-contact ul.mailform_submit,ul.sub-nav {
    display: block;
    width: 100%;
/*    margin: 0px auto; */
	text-align: center;
}
.p-contact ul.mailform_submit li,ul.sub-nav li {
	width:40%;
	text-align:center;
	margin: 3em auto;
}


/* ---------------------------------------------------------
  フォーム確認画面　1025px以上
--------------------------------------------------------- */

.fm-checkpage-table {
	width: 90%;
    border-collapse: collapse;
    font-size: 16px;
    box-sizing: border-box;
    margin: 2em auto;
}
.fm-checkpage-table th,
.fm-checkpage-table td {
	text-align:left;
	padding: 0.75em ;
    border: 1px solid #ccc;
}
.fm-checkpage-table th {
	background: #eee;
	width: 40%;
}
.fm-checkpage-table td {
	
}

/* ---------------------------------------------------------
 他　1025px以上
--------------------------------------------------------- */

/* 文字色 */
.gre01{color:#09a100;}/* グリーン */
.ore01{color:#f99300;}/* オレンジ */
.red01{color:#e61f19;}/*　赤 */
.red02{color:#ff0000;}/*　赤 */


/* =========================================================

 PC（1530px以下）

========================================================= */
/* ---------------------------------------------------------
 HOME　1530px以下
--------------------------------------------------------- */

@media screen and (max-width: 1530px) {
	
}

/* =========================================================

 PC（1199px以下）

========================================================= */
@media screen and (max-width: 1199px) {

}


/* =========================================================

 タブレット（1024px以下）

========================================================= */

@media screen and (max-width: 1024px) {
  
}


/* =========================================================


 スマホ　767px以下


========================================================= */

@media only screen and (max-width: 767px) {

/* ---------------------------------------------------------
  フォーム　767px以下
--------------------------------------------------------- */
.fm_com {
    display: block;
	font-size: 0.87em;
}
.form_table th {
    width: 100%;
	border-top: 1px dotted #BEBDBD;
	font-size: 1.05em;
}
.form_table td {
	border-top:none;
}
.form_table th, .form_table td {
	display:block;
}
.fm_input-text.size-s, .fm_input-textarea.size-s, .fm_input-select.size-s {
    width: 29%;
}
.fm_input-text.size-m, .fm_input-textarea.size-m, .fm_input-select.size-m {
    width: 98%;
}
.fm_input-text, .fm_input-textarea, .fm_input-select {
	margin-right: 0;
    margin-left: 0;
}

.fm_entry-Radio li {
	width: 30%;
}
.fm_entry-Radio1 li {
	width: 100%;
}

.fm_radio-label {
	padding: 0.7em 0;
	text-align: center;
}
.fm_entry-Radio1 li .fm_radio-label {
    padding: 0.5em;
}

.p-contact ul.mailform_submit li,ul.sub-nav li {
    width: 100%;
}

/* ---------------------------------------------------------
  無料体験申し込みフォーム確認画面　767px以下
--------------------------------------------------------- */

.fm-checkpage-table {
	width: 100%;
}
.fm-checkpage-table th,
.fm-checkpage-table td {
	display:block;
}
.fm-checkpage-table th {
	width: auto;
}
.fm-checkpage-table td {
	
}


/* ---------------------------------------------------------
  他　767px以下
--------------------------------------------------------- */
/*　データ表*/
.form_table th,
.form_table td {
    padding: 0.5em 0;
}

}

@media only screen and (max-width: 450px) {
 	.fm_radio-label {
		height: 80px;
	}
}
