﻿@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

:focus {
    outline: 0;
}

ol, ul {
    list-style: none;
}

table.table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    font-weight: normal;
    text-align: left;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

a img {
    border: 0;
}

figure {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
/* -------------------------------------------------------------- */

body {
    color: #333;
    font-size: small;
    font-family: verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
    line-height: 1.5;
    -webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a {
    color: #74b4df;
    text-decoration: none;
}

    a:hover {
        color: #006699;
    }

    a:active, a:focus {
        outline: 0;
    }


/* 全体
------------------------------------------------------------*/
#wrapper {
    margin: 0 auto;
    padding: 0 1%;
    width: 98%;
    position: relative;
    background: #fff;
}

.inner {
    margin: 0 auto;
    width: 100%;
}


/*************
/* ブラウザ戻るボタン
*************/
.browserback {
    display: inline-block;
    border-radius: 10%;             /* 角丸       */
    font-size: 10pt;                /* 文字サイズ */
    text-align: center;             /* 文字位置   */
    cursor: pointer;                /* カーソル   */
    padding: 4px 4px;             /* 余白       */
    background: #74b4df;            /* 背景色     */
    color: #ffffff;                 /* 文字色     */
    line-height: 1em;               /* 1行の高さ  */
    transition: .3s;                /* なめらか変化 */
    border: 2px solid #74b4df;      /* 枠の指定 */
    margin-left: 5px;
}
    .browserback:hover {
        color: #74b4df;             /* 背景色     */
        background: #ffffff;        /* 文字色     */
    }


/*************
/* ヘッダー
*************/
#header {
    height: 90px;
}

    #header h1 {
        padding: 5px 0 10px 15px;
        font-size: 12px;
        font-weight: normal;
    }

/*************
/* ロゴ
*************/
.logo {
    float: left;
    margin-top: 6px;
    color: #74b4df;
    font-size: 24px;
    font-weight: bold;
}

    .logo p {
        float: left;
    }

    .logo img {
        width: auto;
        float: left;
        padding: 2px 10px 0 10px;
    }

    .logo span {
        display: block;
        color: #333;
        font-size: .7em;
        font-weight: normal;
    }


/*************
/* 電話番号
*************/
.info {
    float: right;
    padding-right: 20px;
    text-align: right;
}

    .info .open {
        font-size: 11px;
    }

    .info img {
        width: 140px;
        margin-top: 5px;
    }


    /*************
/* ロゴ+電話番号
*************/
    .logo, .info .tel {
        margin-top: 6px;
        color: #74b4df;
        font-size: 20px;
        font-weight: bold;
    }

        .logo span, .info span {
            color: #333;
            font-size: .6em;
            font-weight: normal;
        }


/**************************
/* グリッド
**************************/
.gridWrapper {
    padding-bottom: 20px;
    overflow: hidden;
}

* html .gridWrapper {
    height: 1%;
}

.grid {
    float: left;
    border-radius: 5px;
    background: #fff;
}

.box {
    margin: 0 5px;
    padding: 10px;
    border: 1px solid #f1f1f1;
}

    .box img {
        max-width: 100%;
        height: auto;
        border: 4px solid #f1f1f1;
    }

    .box h3 {
        padding: 10px 0 5px;
    }

    .box h3, .box p {
        text-align: left;
    }

        .box p.readmore {
            padding: 10px 5px 5px;
            text-align: right;
        }



/*************
メイン コンテンツ
*************/
#main h1.title {
    font-weight: bold;
    font-size: 18px;
    margin: 20px 10px;
    color: #333;
}

section.content article {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #f1f1f1;
    overflow: hidden;
}

* html section.content article {
    height: 1%;
}

section.content p {
    margin-bottom: 5px;
}

h3.heading {
    font-weight: normal;
    padding: 0 10px;
    line-height: 36px;
    color: #333;
    background: #f1f1f1;
}

section.content img {
    max-width: 90%;
    height: auto;
}

.alignleft {
    float: left;
    clear: left;
    margin: 3px 10px 10px 0;
}

.alignright {
    float: right;
    clear: right;
    margin: 3px 0 10px 10px;
}

#gallery .grid img, .border, ul.list img {
    border: 4px solid #f1f1f1;
}



/*************
テーブル
*************/
table.table {
    border-collapse: collapse;
    margin: 5px auto 5px auto;
}

    table.table td {
        border-collapse: collapse;
        background-color: #fff;
        text-align: left;
        padding: 5px;
        border: 1px solid #D6D6D6;
        line-height: 20px;
        word-break: break-word;
    }

    table.table th {
        background-color: #F5F5F5;
        /*text-align: right;*/
        text-align: center;
        vertical-align: middle;
        padding: 5px;
        white-space: nowrap;
        color: #151515;
        border: 1px solid #D4D4D4;
        font-size: 13px;
        font-weight: normal;
        letter-spacing: 1px;
        background-repeat: repeat-x;
        background-position: top;
    }


/*************
/* フッター
*************/
#footer {
    clear: both;
    overflow: hidden;
    padding: 10px 10px 20px 10px;
    background: #f3f3f3;
}

* html #footer {
    height: 1%;
}

    #footer .grid {
        padding: 10px 0 5px;
        margin: 0;
        background: transparent;
    }

    #footer #info .logo, #footer #info .info {
        float: none;
    }

    #footer #info .info {
        clear: both;
        padding: 10px 0 0 15px;
        text-align: left;
    }

    #footer .logo {
        font-size: 18px;
    }

    #footer .info .tel, #footer .info .tel span, #footer #info .open {
        font-size: 12px;
        color: #333;
    }

    #footer a {
        color: #333;
    }

        #footer a:hover {
            color: #888;
        }

address {
    clear: both;
    padding: 5px;
    text-align: center;
    font-style: normal;
    font-size: 10px;
    color: #333;
    background: #dbdbdb;
}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px) {
    #header, #wrapper, .inner {
        width: 960px;
        padding: 0;
        margin: 0 auto;
    }

    #wrapper {
        padding-bottom: 20px;
    }

    a#menu {
        display: none;
    }

    #main {
        /*float: right;*/
        width: 100%;
        padding-right: 15px;
    }

    /*#main h1 {
            font-size: 1.0rem;
        }*/

    /* グリッド全体 */
    .gridWrapper {
        width: 960px;
        margin: 0 0 0 -10px;
    }

    #gallery article {
        padding: 10px 0 10px 10px;
    }

    /* グリッド */
    .grid {
        float: left;
        width: 300px;
        margin-left: 20px;
    }

    #subpage .grid {
        width: auto;
    }

    #gallery .grid {
        width: auto;
        margin: 10px 0 2px 10px;
    }
}


@media only screen and (max-width:959px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .grid {
        width: 32%;
        margin: 10px 0 0 1%;
    }

    #gallery .grid {
        float: left;
        width: 31%;
        margin: 0 0 0 1%;
    }
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px) {
    #header {
        height: auto;
        padding-bottom: 20px;
    }

        #header h1, .logo, .info {
            text-align: center;
        }

    .logo, .info {
        clear: both;
        width: 100%;
        float: none;
    }

        .logo p {
            float: none;
            display: block;
        }

        .logo img {
            float: none;
            padding: 0;
        }

    .box img {
        float: left;
        margin-right: 5px;
    }

    .box h3 {
        padding-top: 0;
    }

    .alignleft, .alignright {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    #gallery .grid {
        float: left;
    }
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px) {
    .grid {
        width: 100%;
    }

    .box img {
        max-width: 100px;
    }

    #main h1.title {
        font-size: 0.8rem;
    }
}


/* プログレスバー */
.progress {
    width: 97%;
    background: #f0f0f0;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    display: none;
    position: relative;
    z-index: 1000;
}

    .progress .bar {
        background: #00ffff;
        width: 0;
        height: 30px;
        z-index: 1001;
    }

    .progress .label {
        line-height: 30px;
        text-align: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 30px;
        z-index: 1001;
        font-weight: bold;
    }


/* バリデーション */
.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 10px 20px;
    /*padding: 20px;*/
}

.validation-summary-valid {
    display: none;
}

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}
