@charset "utf-8";

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

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

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

#form th {
    width: 230px;
}

/***************************************************************************
フォーム（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: 'Noto Sans JP', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media only screen and (max-width: 768px) {
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: 600px !important;    /* mailformproの場合、!importantが必要 */
    height: 200px !important;    /* mailformproの場合、!importantが必要 */
    padding: 10px;
}

@media only screen and (max-width: 768px) {
#form input[type*="text"],#form input[type*="tel"],#form input[type*="number"],#form input[type*="email"],#form textarea,#form select {
    width: 100% !important;        /* mailformproの場合、!importantが必要 */
}
#form textarea {
    height: 130px !important;    /* mailformproの場合、!importantが必要 */
}
}

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

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

@media only screen and (max-width: 768px) {
#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: 768px) {
#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: 768px) {
#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: 768px) {
#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: 768px) {
#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;
	z-index: 99;
}

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

#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%;
}
#form .check_outline input[type="checkbox"] ~ label {
    background-image: url(../../../img/common/form/bg-check_box.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    background-size: 17px 120px;
    padding-left: 24px;
    display: block;                /* テスト的に */
    cursor: pointer;
}
#form .check_outline input[type="checkbox"]:checked ~ label {
    background-position: 0px -100px;
}

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

#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%;
}
#form .radio_outline input[type="radio"] ~ label {
    display: block;
    background-image: url(../../../img/common/form/bg-radio_button.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    background-size: 17px 120px;
    padding-left: 24px;
    cursor: pointer;
}
#form .radio_outline input[type="radio"]:checked ~ label {
    background-position: 0px -100px;
}

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

.submit {
    padding: 50px 0px 50px 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: 768px) {
#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;
}
}

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

::-webkit-input-placeholder {
    color: #BBBBBB;
}
::-moz-placeholder {
    color: #AAAAAA;
}
:-ms-input-placeholder {
    color: #BBBBBB;
}

@media only screen and (max-width: 768px) {
::-webkit-input-placeholder {
    font-size: 14px;
    line-height: 1.8;
}
::-moz-placeholder {
    font-size: 14px;
    line-height: 1.8;
}
}

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

#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: 768px) {
#message_ttl {
    font-size: 19px;
}
}

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

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

@media only screen and (max-width: 768px) {
#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: 40px;
}

@media only screen and (max-width: 768px) {
#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 a:hover {
    color: #FFFFFF !important;
}