@charset "utf-8";

/***************************************************************************
Media Queries
****************************************************************************/

@media only screen and (max-width: 1200px) {
}

/***************************************************************************
th
****************************************************************************/

#form {
    background-color: #F3F3F3;
    padding: 55px 0px 0px 0px;
}
#form .contents {
    max-width: 900px;
}
#form #form_exp {
    margin-bottom: 15px;
    text-align: center;
}

#form th,#form td {
    font-size: 14px;
}
#form th {
    width: 200px;
}
#form td {
    background-color: #FFFFFF;
}

@media only screen and (max-width: 767px) {
#form #form_exp {
    font-size: 14px;
    text-align: left;
}
}

/***************************************************************************
フォーム（input 最も基本的な設定）
****************************************************************************/

input,button,textarea,select {	/*input初期化*/
	border: none;
	outline: none;				/*hover時に水色の枠線が付くのを防ぐ*/
	border-radius: 3px;			/*iPhoneで角丸になるのを防ぐ*/
	font-size: 14px;			/*iPhoneで角丸になるのを防ぐ*/
	display: inline-block;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'Noto Sans Japanese', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media only screen and (max-width: 767px) {
input,button,textarea,select {
    font-size: 16px !important;	/* iphoneでinput入力時拡大を防ぐ */
}
}

/***************************************************************************
フォーム（input 基本的な設定）
****************************************************************************/

input[type*="submit"],input[type*="button"],button,select {
	cursor: pointer;
}
#form input[type*="text"],#form input[type*="tel"],#form input[type*="number"],#form input[type*="email"],#form textarea,#form select {
	border: 1px solid #CCCCCC;
    width: 300px;
	padding: 5px;
}
#form select {
    width: auto;
	padding: 0px 0px 0px 5px;
	height: 32px;
}
#form textarea {
	width: 100%;
	height: 200px;
	padding: 10px;
}

@media only screen and (max-width: 767px) {
#form input[type*="text"],#form input[type*="tel"],#form input[type*="number"],#form input[type*="email"],#form textarea,#form select {
	width: 100%;
}
#form textarea {
	height: 130px;
}
}

/***************************************************************************
フォーム（個別設定）
****************************************************************************/

#form td .subject {
    display: inline-block;
}

@media only screen and (max-width: 767px) {
#form td .sp_wrap {		/* 名・姓のSP時レイアウトに必要 */
    display: flex;
	align-items: center;
	margin-bottom: 7px;
}
#form td .sp_wrap:last-child {
	margin-bottom: 0px;
}
#form td .sp_wrap input {
	flex: 1;
}
}

/***************************************************************************
フォーム（個別設定-名前）
****************************************************************************/

#form .name .subject {
    width: 3em;
}
#form .name input {
    width: 150px;
	margin-right: 1em;
}

@media only screen and (max-width: 767px) {
#form .name input {
	margin-right: 0px;
}
}

/***************************************************************************
フォーム（個別設定-住所）
****************************************************************************/

#form .address .zip input {
    width: 5em;
}
#form .address button {
	margin-left: 5px;
	transition: border-color 0.3s, color 0.3s, background-color 0.3s, opacity 0.3s;
}
#form .address button:hover {
    opacity: 0.8;
}

#form .address .subject {
    width: 5em;
}

@media only screen and (max-width: 767px) {
#form .address .sp {
    display: inline-block !important;
}
#form .address .subject {
	margin-bottom: 5px;
}
#form .address .zip input {
    width: 4em !important;
}
#form .address button img {
	width: 65px;
}
}

/***************************************************************************
フォーム（個別設定-電話番号）
****************************************************************************/

#form .tel input {
    width: 5em;
}

@media only screen and (max-width: 767px) {
#form .tel input {
    width: 4em !important;
}
}

/***************************************************************************
フォーム（要素横並び）
****************************************************************************/

#form .inline_box {
	display: flex;
	align-items: center;
}
#form .inline_box input[type*="tel"] {	/*[type*="tel"] は随時書き換え*/
	margin: 0px 10px 0px 10px;
}

/***************************************************************************
フォーム（長さ指定）
****************************************************************************/

#form .w_50px {
    width: 50px !important;
}
#form .w_70px {
    width: 70px !important;
}
#form .w_100px {
    width: 100px !important;
}
#form .w_150px {
    width: 150px !important;
}
#form .w_200px {
    width: 200px !important;
}
#form .w_250px {
    width: 250px !important;
}
#form .w_300px {
    width: 300px !important;
}
#form .w_350px {
    width: 350px !important;
}
#form .w_400px {
    width: 400px !important;
}
#form .w_450px {
    width: 450px !important;
}
#form .w_500px {
    width: 500px !important;
}

@media only screen and (max-width: 767px) {
#form .sp_w100_per {
    width: 100% !important;
}
}

/***************************************************************************
セレクトボックスをオリジナルに
****************************************************************************/

#form .select_outline select::-ms-expand {	/*IE11*/
	display: none;
}
#form .select_outline {
	display: inline-block;
	position: relative;
	border: 1px solid #CCCCCC;
	border-radius: 3px;
}
#form .select_outline select {
	line-height: 1;
	padding-right: 28px;
	border: none;
}
#form .select_outline:before {
	content: '';
	position: absolute;
	top: 14px;
	right: 10px;
	width: 0;
	height: 0;
	padding: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #666666;
	pointer-events: none;
}

/***************************************************************************
チェックボックスをオリジナルに
****************************************************************************/

#form .check_outline li {
	position: relative;
	margin-right: 15px;
	display: inline-block;
}
#form .check_outline input {
	position: absolute;
	opacity: 0 !important;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
#form .check_outline input[type="checkbox"] ~ label {
	background-image: url(../../../image/common/form/bg-check_box.png);
	background-repeat: no-repeat;
	background-position: 0px 5px;
	background-size: 14px 100px;
	padding-left: 18px;
	display: block;				/* テスト的に */
}
#form .check_outline input[type="checkbox"]:checked ~ label {
	background-position: 0px -81px;
}

/***************************************************************************
ラジオボタンをオリジナルに
****************************************************************************/

#form .radio_outline li {
	position: relative;
	margin-right: 15px;
	display: inline-block;
}
#form .radio_outline li input {
	position: absolute;
	opacity: 0 !important;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
#form .radio_outline input[type="radio"] ~ label {
	display: block;
	background-image: url(../../../image/common/form/bg-radio_button.png);
	background-repeat: no-repeat;
	background-position: 0px 5px;
	background-size: 14px 100px;
	padding-left: 18px;
}
#form .radio_outline input[type="radio"]:checked ~ label {
	background-position: 0px -81px;
}

/***************************************************************************
SUBMIT（ボタン1個/ボタン2個）ブロック共通
****************************************************************************/

.submit {
	padding: 60px 0px 60px 0px;
}
.double_btn {
	max-width: 700px;
	margin: 0px auto 0px auto;
}
.double_btn ul {
	display: flex;
    justify-content: space-between;
}
.double_btn li {
	width: 47.5%;
}

#form .submit .btn a {
	background-color: #BBBBBB;
	border: 1px solid #BBBBBB;

}

@media only screen and (max-width: 767px) {
#form .submit {
	padding: 30px 0px 30px 0px;
}
#form .double_btn ul {
	flex-direction: column;
}
#form .double_btn li {
	width: 100%;
    margin-bottom: 15px;
}
#form .double_btn li:last-child {
    margin-bottom: 0px;
}
#form .submit .btn a,#form .submit .btn input {
	padding: 18px;
	font-size: 18px !important;
}
}

/***************************************************************************
確認画面/サンキュー画面
****************************************************************************/

#message_ttl {
    color: #527292;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4em;
}
@media only screen and (max-width: 767px) {
#message_ttl {
    font-size: 19px;
}
}

/***************************************************************************
サンキュー画面
****************************************************************************/

#thanks_txt {
	padding: 0px 15px 40px 15px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
#thanks_txt {
	padding: 0px 10px 20px 10px;
    text-align: left;
    font-size: 15px;
}
}

#thanks_tel {
	font-size: 14px;
	line-height: 1.6em;
	border: 1px solid #CCCCCC;
	padding: 15px 20px 15px 20px;
	border-radius: 6px;
	margin-bottom: 60px;
    background-color: #FFFFFF;
}

@media only screen and (max-width: 767px) {
#thanks_tel {
	font-size: 13px;
	padding: 15px;
	margin-bottom: 30px;
}
}


#thanks_tel strong {
	color: #008ECD;
	font-size: 16px;
}
#thanks_tel a {
	text-decoration: none;
	color: #008ECD;
}
#thanks_top {
    padding-bottom: 60px;
}

@media only screen and (max-width: 767px) {
#thanks_top {
    padding-bottom: 30px;
}
}