@charset "utf-8";

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

@media print, screen and (max-width: 1276px) {
}
@media print, screen and (max-width: 1000px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 480px) {
}

/***************************************************************************
form用テーブルCSS
****************************************************************************/

#form table {
	width: 100%;
    border-top: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
}
#form th,
#form td {
    text-align: left;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    padding: 12px 20px 12px 20px;
	position: static;	/*IE11で背景色を設定すると、borderが消えてしまうのを回避*/
}
#form th {
    width: 230px;
    background-color: #F7F5F0;
}

@media only screen and (max-width: 768px) {
#form th,
#form td {
    width: 100% !important;
    display: block;
    padding: 15px 10px 15px 10px;
}
#form th {
    padding-top: 7px;
    padding-bottom: 7px;
    font-weight: bold;
}
}

/***************************************************************************
フォーム説明（共通）
****************************************************************************/

#form #form_exp {
	margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
#form #form_exp {
	margin-bottom: 2.6vw;
}
}

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

#form input[type*="submit"],#form input[type*="button"],#form button,#form select {
    cursor: pointer;
}
#form input,#form button,#form textarea,#form select {
    border: none;
    outline: none;				/*hover時に水色の枠線が付くのを防ぐ*/
    border-radius: 3px;			/*iPhoneで角丸になるのを防ぐ*/
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#form input[type*="text"],#form input[type*="tel"],#form input[type*="number"],#form input[type*="email"],#form textarea {
	width: 100%;
	max-width: 300px;
    border: 1px solid #CCCCCC;
    padding: 6px 5px 6px 5px;
	background-color: #FFFFFF;
}
#form select {
	font-size: 16px;
}
#form textarea {
    width: 100%;
	max-width: 600px;			/* thがつぶれるので、widthは100%にして、max-widthで調整 */
    height: 200px;
}

@media only screen and (max-width: 768px) {
#form input,#form textarea,#form select {
    font-size: 16px !important;	/* iphoneでinput入力時拡大を防ぐ */
}
#form input[type*="text"],#form input[type*="tel"],#form input[type*="number"],#form input[type*="email"],#form textarea {
    max-width: 100% !important;
}
#form textarea {
    height: 130px;
}
}

/***************************************************************************
フォーム（共通設定）
****************************************************************************/

#form .zip input,
#form .tel input,
#form .tochi input {
    max-width: 5em;
}
@media only screen and (max-width: 768px) {
#form .zip input,
#form .tel input,
#form .tochi input {
    max-width: 3.5em !important;
}
}

#form .flex_box {
    display: flex;
    align-items: center;
}
#form td .subject {
	display: inline-block;
	white-space: nowrap;
	padding-right: 1em;
}

@media only screen and (max-width: 768px) {
#form .flex_box {
    display: block;
}
}

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

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

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

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

#form .address .btn {
	margin-right: inherit;
	display: inline-block;
	margin-left: 10px;
	max-width: inherit;
	width: inherit;
}
#form .address .btn:after {
	display: none;
}
#form .address .btn button {
	height: 32px;
	padding: 0px 1em 0px 1em;
	font-size: 0.875rem;
	line-height: 1;
}
#form .address .subject {
    width: 5em;
}

@media only screen and (max-width: 768px) {
#form .address .sp {
    display: inline-block !important;
}
#form .address .subject {
    margin-bottom: 5px;
}
}

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

@media only screen and (max-width: 768px) {
#form .tochi .flex_box {
    display: flex;
}
}

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

#form .w_50 {
    max-width: 50px !important;
}
#form .w_70 {
    max-width: 70px !important;
}
#form .w_100 {
    max-width: 100px !important;
}
#form .w_150 {
    max-width: 150px !important;
}
#form .w_200 {
    max-width: 200px !important;
}
#form .w_250 {
    max-width: 250px !important;
}
#form .w_300 {
    max-width: 300px !important;
}
#form .w_350 {
    max-width: 350px !important;
}
#form .w_400 {
    max-width: 400px !important;
}
#form .w_450 {
    max-width: 450px !important;
}
#form .w_500 {
    max-width: 500px !important;
}

@media only screen and (max-width: 768px) {
#form .sp_w100_per {
    max-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.2;
    padding: 9px 28px 9px 5px;
}
#form .select_outline:before {
    content: '';
    position: absolute;
    top: 16px;
    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;
	z-index: 99;
}

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

#form .check_outline li,
#form .radio_outline li {
    margin-right: 15px;
    display: inline-block;
}
#form .check_outline input,
#form .radio_outline li input {
    position: absolute;
    opacity: 0 !important;
    width: 100%;
    height: 100%;
}
#form .check_outline input[type="checkbox"] ~ label,
#form .radio_outline input[type="radio"] ~ label {
	background-repeat: no-repeat;
	background-position: 0px 3px;
	background-size: 19px 159px;
	padding-left: 24px;
	display: block;                /* テスト的に */
	cursor: pointer;
}
#form .check_outline input[type="checkbox"] ~ label {
	background-image: url(../../img/form/bg-check_box.svg);
}
#form .radio_outline input[type="radio"] ~ label {
    background-image: url(../../img/form/bg-radio_button.svg);
}
#form .check_outline input[type="checkbox"]:checked ~ label,
#form .radio_outline input[type="radio"]:checked ~ label {
    background-position: 0px -136px;
}

/***************************************************************************
placeholder
****************************************************************************/

#form ::-webkit-input-placeholder {
    font-size: 1rem;
    color: #BBBBBB;
}
#form ::-moz-placeholder {
    font-size: 1rem;
    color: #BBBBBB;
}
#form :-ms-input-placeholder {
    font-size: 1rem;
    color: #BBBBBB;
}

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

#form .submit {
    padding: 50px 0px 50px 0px;
	display: flex;
	justify-content: center;
}
#form .submit .btn {
	margin-right: 0;
}
#form .submit li {
	margin-left: 30px;
}
#form .submit li:first-child {
	margin-left: 0px;
}

@media only screen and (max-width: 768px) {
#form .submit {
    padding: 6.5vw 0px 6.5vw 0px;
}
#form .submit li {
	margin-left: 3.9vw;
}
}

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

#form #message_ttl {
    color: #527292;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

@media only screen and (max-width: 768px) {
#form #message_ttl {
    font-size: 19px;
    margin-bottom: 3.3vw;
}
}

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

#thanks {
	max-width: 800px;
	margin: 0px auto 0px auto;
}
#thanks #thanks_txt {
    text-align: center;
	line-height: 2.5;
	padding: 25px 0px 50px 0px;
}
#thanks #thanks_tel {
    border: 2px solid #CCCCCC;
    padding: 20px;
    border-radius: 6px;
}
#thanks #thanks_tel a {
    color: #008ECD;
}

@media only screen and (max-width: 768px) {
#thanks #thanks_txt {
	text-align: left;
	padding: 3.3vw 0px 6.5vw 0px;
}
#thanks #thanks_tel {
    padding: 2.6vw;
}
}
