@CHARSET "UTF-8";

@CHARSET "UTF-8";

/* 記録証ダウンロードサイト用スタイルシート */

/*=======================================*/
/* margin, paddingの初期化               */
/*=======================================*/
* {
    margin: 0px;
    padding: 0px;
    border: none;
}

/*=======================================*/
/* img共通設定                           */
/*=======================================*/
img { border: none; }

/*=======================================*/
/* ul共通設定                            */
/*=======================================*/
ul { list-style-type: none; }

/*=======================================*/
/* a共通設定                             */
/*=======================================*/
a:link { text-decoration: none; }

/*=======================================*/
/* 高さのバグ対応                        */
/*=======================================*/
h1, p { max-height: 100%; }

article, aside, canvas, details, figcaption, figure, header, footer, main, menu, nav, section, summary { display: block }

/*=======================================*/
/* body                                  */
/*=======================================*/
body {
    font-size: 14px;
    font-size: 1.4rem;
    color: #333;
    font-family: "Avenir Next", "Droid Sans", "ヒラギノ角ゴ ProN W3", "メイリオ", "MS Pゴシック", Verdana, Roboto, "游ゴシック", YuGothic, Meiryo,  "Hiragino Kaku Gothic ProN", sans-serif;
    background-color: #ffffff;
}


/*=======================================*/
/* スマホ対応用                          */
/*=======================================*/
@media screen and (max-width:1024px) {

    html { font-size: 62.5%; }

    /*---------------------------------------*/
    /* #header                               */
    /*---------------------------------------*/
    #header {
        padding-top: 8px;
        width: 100%;
    }

    #header p img {
        width: 80%;
    }

    /*---------------------------------------*/
    /* #contents                             */
    /*---------------------------------------*/
    #contents {
        background-color: #fafafa;
        border: 2px solid #dddddd;
        margin: auto;
        margin-top: 10px;
        margin-bottom; 10px;
        padding: 3% 5%;
        width: 88%;
    }

    #contents form label {
        color: white;
        background-color: #27ae60;
        padding: 10px 16px;
        border-radius: 20px;
    }

    #contents form input[type=submit] {
        width: 115px;
        padding: 11px 0 7px;
        font-size: 16px;
        font-size: 1.6rem;
        font-weight: bold;
        text-align: center;
        border: solid 1px #ddd;
        background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
        background: -moz-linear-gradient(top, #fff, #eee);
        background: -ms-linear-gradient(top, #fff, #eee);
        border-radius: 20px;
    }

    /*---------------------------------------*/
    /* #footer                               */
    /*---------------------------------------*/
    #footer {
        margin-top: 5px;
        width: 100%;
    }
}


/*=======================================*/
/* PC対応用                              */
/*=======================================*/
@media screen and (min-width:1024px) {

    /*---------------------------------------*/
    /* #header                               */
    /*---------------------------------------*/
    #header {
        margin: auto;
        width: 960px;
    }

    /*---------------------------------------*/
    /* #contents                             */
    /*---------------------------------------*/
    #contents {
        background-color: #fafafa;
        border: 2px solid #dddddd;
        margin: auto;
        margin-top: 10px;
        margin-bottom; 10px;
        padding: 15px 10px;
        width: 936px;
    }

    #contents form label {
        color: white;
        background-color: #27ae60;
        padding: 10px 16px;
        border-radius: 26px;
    }

    #contents form input[type=submit] {
        width: 115px;
        padding: 8px 0 4px;
        font-family: "Avenir Next", "Droid Sans", "ヒラギノ角ゴ ProN W3", "メイリオ", "MS Pゴシック", Verdana, Roboto, "游ゴシック", YuGothic, Meiryo,  "Hiragino Kaku Gothic ProN", sans-serif;
        font-size: 14px;
        font-size: 1.4rem;
        font-weight: bold;
        text-align: center;
        border: solid 1px #ddd;
        background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
        background: -moz-linear-gradient(top, #fff, #eee);
        background: -ms-linear-gradient(top, #fff, #eee);
        border-radius: 26px;
    }

    /*---------------------------------------*/
    /* #footer                               */
    /*---------------------------------------*/
    #footer {
        margin: auto;
        margin-top: 5px;
        width: 960px;
    }
}

/*=======================================*/
/* スマホ・PC共通                        */
/*=======================================*/
#header p { text-align: center; }

#header h1 {
    background-color: #eeeeee;
    color: #000000;
    font-size: 16px;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
    padding: 12px 0 7px; /* 上 左右 下 */
}

#header dl {
    margin: auto;
    text-align: center;
    width: 100%;
}

#header dt {
    background-color: #eee;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 3px 0;
}

#header dd {
    font-size: 16px;
    font-size: 1.6rem;
    padding: 5px 0;
}

/*#contents p {
  text-align: center;
}*/

#contents p.caption, #contents p.no {
    text-align: center;
}

#contents p.err {
    color: #f00;
    font-weight: bold;
    text-align: center;
}

#contents form {
    text-align: center;
    padding: 2px 0;
}

#contents form p {
    text-align: center;
    margin-bottom: 8px;
}

#contents form p:nth-of-type(4) {
    padding-top: 12px;
    padding-bottom: 12px;
}

#contents form input[type=number] {
    border: solid 1px #ddd;
    font-size: 18px;
    font-size: 1.8rem;
    padding: 3px 14px;
    text-align: center;
    width: 105px;
}

#contents form input[type=file] {
    font-size: 15px;
    font-size: 1.5rem;
}

#contents div.preview {
    background-color: #f8dce0;
    background-image: url("../img/base.jpg");
    background-repeat: no-repeat;
    border: solid 1px #333;
    margin: auto;
    margin-bottom: 8px;
    width: 200px;
    height: 283px;
    position: relative;
}

#contents div.preview p {
    /*margin: auto;
    margin-top: 41px;
    margin-left: -0.5px;*/
    position:absolute;
    top: 42px;
    left: 8px;
    width: 63%;
}

#contents div.preview img {
    width: 100%;
}

#footer p {
    margin: 0 15px;
    text-align: center;
    font-size: 10px;
    font-size: 1.0rem;
    color: #666;
}
