@charset "utf-8";

/* ==========================================================================
   基本設定（style.cssから移行）
   ========================================================================== */

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Verdana, Arial, sans-serif;
    color: #000000;
    font-size: 95%;
    line-height: 1.8;
}

a:link,
a:visited {
    color: #4040ff;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #4040ff;
    text-decoration: none;
}

header {
  width: 720px;
  margin: 20px auto 0;
}
header h1{
    margin-bottom: 30px;
	text-align: center;
}
header h1 img{
	width: 40%;
}


/* ==========================================================================
   フォームページ専用スタイル
   ========================================================================== */

/* 注意書き */
p.attention {
    width: 780px;
    margin: 0 auto 15px;
    background: #FFDFDF;
    border: 2px solid red;
    padding: 5px;
    text-align: center;
}

p.attention a {
    color: #5E4747;
}

/* フォームタイトル */
#mail_form_h2 {
    width: 100%;
    text-align: center;
    background: #ae5547;
    color: #fff;
    padding: 16px 0;
    margin: 0 auto;
    font-weight: bold;
}

/* フォーム説明文 */
.mailform_text {
    width: 50%;
    margin: 46px auto 0;
}

/* ==========================================================================
   フォーム本体
   ========================================================================== */

form#mail_form {
    width: 780px;
    margin: 50px auto;
    padding: 10px 0;
    background: #ffffff;
}

form#mail_form dl {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* dt（ラベル部分） */
form#mail_form dl dt {
    clear: both;
    width: 30%;
    float: left;
    border-top: 1px solid #cccccc;
    padding: 15px 0;
    text-align: right;
    overflow: hidden;
}

form#mail_form dl dt.wide {
    clear: both;
    width: 100%;
    float: left;
    border-top: 1px solid #cccccc;
    padding: 15px 0;
    text-align: center;
    overflow: hidden;
}

form#mail_form dl dt span {
    display: block;
    font-size: 85%;
    color: #3377ff;
}

form#mail_form dl dt span.red {
    color: red;
}

/* dd（入力欄部分） */
form#mail_form dl dd {
    width: 65%;
    float: right;
    border-top: 1px solid #cccccc;
    padding: 15px 0 15px 5%;
}

form#mail_form dl dd.wide {
    width: 100%;
    float: right;
    border-top: 1px solid #cccccc;
    padding: 15px 0 15px 5%;
}

form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child+dd {
    border: none;
}

/* ==========================================================================
   注文テーブル（style.cssから移行）
   ========================================================================== */

.table_order {
    border-top: 1px solid #ccc;
    font-size: 94%;
    width: 100%;
}

.table_order td {
    padding: 10px 15px;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}

.toocold {
    color: #25a6e2;
}

.cold {
    color: #3440d1;
}

.joon {
    color: #e67122;
}

.table_order .zakuro_color {
    background: #ae5547;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.table_order .granata_color {
    background: green;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.table_order .zakuro_color2 {
    background: #846a5a;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.table_order .color {
    background: #fff;
}

.table_order .subcolor {
    background: #f6c6c0;
}

.table_order .subcolor_2 {
    background: #e6e6e6;
}

.table_order .subcolor_3 {
    background: #d5eff8;
}

.table_order .subcolor_4 {
    background: #f3d2bc;
}

/* ==========================================================================
   入力フィールド
   ========================================================================== */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
    max-width: 90%;
    height: 2em;
    padding: 2px 2%;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-size: 100%;
    font-family: inherit;
    margin-top: 7px;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
    box-shadow: 0px 0px 5px #55ccff;
    border: 1px solid #55ccff;
    background: #ffffff;
}

form#mail_form textarea {
    display: block;
    width: 90%;
    max-width: 90%;
    height: 100px;
    padding: 2px 2%;
    resize: vertical;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-size: 100%;
    font-family: inherit;
}

form#mail_form select {
    font-size: 100%;
    font-family: inherit;
    margin-top: 0px;
}

/* 特定の入力欄サイズ */
form#mail_form input#name_1,
form#mail_form input#name_2,
form#mail_form input#read_1,
form#mail_form input#read_2,
form#mail_form input#name_3,
form#mail_form input#name_4,
form#mail_form input#read_4,
form#mail_form input#read_3,
form#mail_form input#postal,
form#mail_form input#postal_2,
form#mail_form input#phone,
form#mail_form input#phone_2,
form#mail_form input#schedule {
    width: 30%;
}

form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
    width: 80%;
}

form#mail_form input#address,
form#mail_form input#address_2 {
    width: 90%;
}

/* ==========================================================================
   ラジオボタン・チェックボックス
   ========================================================================== */

form#mail_form ul {
    list-style-type: none;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 7px;
}

form#mail_form ul li:first-child input[type="radio"],
form#mail_form ul li:first-child input[type="checkbox"] {
    margin-top: 0px;
}

form#mail_form ul li label:hover {
    cursor: pointer;
}

/* ==========================================================================
   郵便番号検索リンク
   ========================================================================== */

form#mail_form input#postal+a,
form#mail_form input#postal_2+a {
    display: inline-block;
    padding: 9px 15px;
    vertical-align: middle;
    line-height: 1;
    background: #5bc0de;
    border: 1px solid #46b8da;
    border-radius: 3px;
    color: #ffffff;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    top: -1px;
}

form#mail_form input#postal+a:hover,
form#mail_form input#postal_2+a:hover {
    cursor: pointer;
    background: #31b0d5;
    border: 1px solid #269abc;
}

/* ==========================================================================
   送信ボタン
   ========================================================================== */

form#mail_form p#form_submit {
    width: 90%;
    margin: 0 auto;
    padding: 15px 0;
    border-top: 1px solid #cccccc;
}

form#mail_form input[type="button"] {
    padding: 9px 15px;
    vertical-align: middle;
    line-height: 1;
    background: #5cb85c;
    border: 1px solid #4cae4c;
    border-radius: 3px;
    color: #ffffff;
    font-family: inherit;
    -webkit-appearance: none;
    font-size: 100%;
}

form#mail_form input[type="button"]:hover {
    cursor: pointer;
    background: #449d44;
    border: 1px solid #398439;
}

form#mail_form input#form_submit_button {
    margin-left: 35%;
}

/* ==========================================================================
   バリデーション表示
   ========================================================================== */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
    display: inline-block;
    float: left;
    color: #ffffff;
    line-height: 1;
    padding: 8px 9px;
    border-radius: 3px;
}

form#mail_form dl dt span.required {
    background: #d9534f;
    border: 1px solid #d43f3a;
}

form#mail_form dl dt span.optional {
    background: #337ab7;
    border: 1px solid #2e6da4;
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
    display: block;
    color: #ff0000;
    margin-top: 3px;
}

/* ローディングアニメーション */
span.loading {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
    border-right: 5px solid rgba(255, 255, 255, 0.2);
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load-circle 1.0s linear infinite;
    animation: load-circle 1.0s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
}

@-webkit-keyframes load-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   レスポンシブ対応（768px以下）
   ========================================================================== */

br.sp {
    display: inherit;
}


@media screen and (max-width: 1000px) {
    br.sp {
        display: none;
    }

    header {
        width: 100%;
        margin: 20px auto 0;
    }
    
    header h1 img {
        width: 90%;
    }
    
    #p_contents {
        width: 100%;
        margin: 0 auto;
    }

    p.attention {
        width: 95%;
    }

    .mailform_text {
        width: 90%;
    }

    form#mail_form {
        width: 95%;
    }

    form#mail_form dl {
        overflow: visible;
    }

    form#mail_form dl dt {
        width: auto;
        float: none;
        text-align: left;
        padding: 10px 0 5px;
        font-weight: bold;
    }

    form#mail_form dl dd {
        width: auto;
        float: none;
        border-top: none;
        padding: 0px 0 13px 0px;
    }

    form#mail_form dl dd.wide {
        width: 100%;
        float: right;
        border-top: 1px solid #cccccc;
        padding: 0%;
    }

    form#mail_form dl dt span {
        font-weight: normal;
    }

    form#mail_form dl dt span.required,
    form#mail_form dl dt span.optional {
        margin-right: 1em;
        margin-bottom: 1em;
    }

    form#mail_form input[type="text"],
    form#mail_form input[type="email"],
    form#mail_form input[type="tel"] {
        margin-top: 0px;
    }

    form#mail_form input#form_submit_button {
        margin-left: 0;
    }

    form#mail_form select {
        margin-top: 0;
    }

    form#mail_form input#phone,
    form#mail_form input#schedule {
        width: 50%;
    }

    /* テーブル関連（style.cssから移行） */
    #mail_form table.table_order {
        margin: 0;
    }

    .table_order td {
        padding: 10px 15px;
        white-space: normal;
        display: block;
    }
}