@charset "UTF-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
}
html, html * {
    -webkit-box-sizing: border-box; /* Webkit系用 */
    -moz-box-sizing: border-box; /* Firefox用 */
    box-sizing: border-box; /* 標準 */
    margin: 0;
    padding: 0;
}
body {
    font-family: arial, "メイリオ", "MS ゴシック", "MS PGothic", Osaka, "MS Gothic", Gothic, sans-serif;
    background-color: #e6eae6;
    -webkit-text-size-adjust: 100%;
    font-size: 1rem;
    word-wrap: break-word;
}
.serif {
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif"
}
#wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #dddddd;
}
img {
    max-width: 100%;
    height: auto;
}
/* メニュー */
header {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    max-width: 1000px;
    margin: 0 auto;
}
header img {
    width: 180px;
}
.fright {
    float: right;
}
.fleft {
    float: left;
}
nav {
    display: block;
    top: 0;
    margin: 0rem;
}
nav ul {
    display: inline-block;
    margin: 0rem;
}
nav ul li {
    display: inline-block;
    margin:   .5rem 0rem 0rem 0rem;
}
nav ul li label {
    padding: .3rem .5rem;
    margin: 0rem;
    text-decoration: none;
    font-size: 1.5 rem;
    color: #fff;
    background: #E62521;
    -moz-border-radius: .2rem;
    -webkit-border-radius: .2rem;
    -o-border-radius: .2rem;
    -ms-border-radius: .2rem;
    border-radius: .2rem;
    behavior: url("/PIE.htc");
}
nav ul li a:hover {
    outline: none;
    border-bottom: 1px solid white;
}

#j2, #j3, #j4 {
    margin-top: -30px; /* 固定ナビの高さ分のネガティブマージン */
    padding-top: 30px; /* 打ち消し用のパディング */
}
#j1 {
    margin-top: -49px; /* 固定ナビの高さ分のネガティブマージン */
    padding-top: 49px; /* 打ち消し用のパディング */
}

.qrcode-text {
    padding: .3rem .5rem;
    margin: 0rem;
    text-decoration: none;
    font-size: 3rem;
    color: #fff;
    background: #E62521;
    -moz-border-radius: .2rem;
    -webkit-border-radius: .2rem;
    -o-border-radius: .2rem;
    -ms-border-radius: .2rem;
    border-radius: .2rem;
    behavior: url("/PIE.htc");
}

.qrcode-text-btn {
    display: none;
}

/* 見出し */
h1 {
    text-shadow: 0px 0px 1px rgba(0, 0, 0,1);
    color: #000;
    font-size: 1.6 rem;
    text-align: center;
}
h2 {
    text-align: center;
    display: inline-block;
    padding: 1.2 rem 2rem;
    margin:   .3rem 0 1rem 0;
    font-size: 1.8 rem;
    letter-spacing: .2rem;
    line-height: 1.2 rem;
    color: #19448e;
    background: #fff
}
h3 {
    font-size: 1.3 rem;
    color: #000;
    text-align: left;
    letter-spacing: .1rem;
    line-height: 2rem;
    text-shadow: 0px 1px 1px rgba(85, 85, 85, .5);
}

/* メイン */
.news {
    padding: 0.25 rem 1rem;
    margin-bottom: .3rem;
    border-left: solid 5px #f8b500;
}
span {
    display: inline-block;
    white-space: nowrap;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
main {
    clear: both;
}
article {
    width: 100%;
    padding: 0;
    top: 1.5 rem;
    background: #fff;
    text-align: center;
    -moz-border-radius: .3rem;
    -webkit-border-radius: .3rem;
    -o-border-radius: .3rem;
    -ms-border-radius: .3rem;
    border-radius: .3rem;
    behavior: url("/PIE.htc");
    margin: 0 auto;
}
.kadomaru {
    -moz-border-radius: .3rem;
    -webkit-border-radius: .3rem;
    -o-border-radius: .3rem;
    -ms-border-radius: .3rem;
    border-radius: .3rem;
    behavior: url("/PIE.htc");
}

.blue {
    color: #007bbb;
}
.yellow {
    color: #f8b500;
}
.gray {
    color: #a0a0a0;
}
.bgred {
    padding: .5rem;
    background-color: #E62521;
}
hr {
    margin: 1rem .5rem 1rem .5rem;
    color: #CCCCCC;
    border-style: dotted;
}



footer {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    margin-top: .2rem;
}
.bottom {
    display: inline-block;
    color: #BBBBBB;
    font-size: .8rem;
    text-align: left;
    margin: 0 auto;
}
.footer-legal {
    font-size: .9rem;
    color: #BBBBBB;
    line-height: 1.2 rem;
}
.footer_top {
    right: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    clear: both;
    bottom: .5rem;
    padding: .5rem;
    position: fixed;
    background: none;
    color: #fff;
    text-align: right;
}
.footer_top label {
    font-size: 3rem;
    padding: .5rem .9rem;
    text-decoration: none;
    color: #fff;
    background: #E62521;
    -webkit-transition: color .3s;
    transition: color .3s;
    -moz-border-radius: .2rem;
    -webkit-border-radius: .2rem;
    -o-border-radius: .2rem;
    -ms-border-radius: .2rem;
    border-radius: .2rem;
    behavior: url("/PIE.htc");
}
.footer_top a:hover {
    outline: none;
    border-bottom: 1px solid white;
}

/* 800サイズ以下の設定 */
@media (max-width: 775px) {
    body {
        font-size: 4.5vmin;
        line-height: 5.5 vmin;
    }
    input,textarea,select,option {
        font-size: 5vmin;
    }
    .smallbr {
        display: block;
    }
    .nonmobile {
        display: none;
    }
    header img {
        width: 80px;
    }
    nav {
        top: 0;
        margin: 0vmin;
    }
    nav ul li {
        margin: 2.2 vmin 0vmin 0vmin;
    }
    nav ul li label {
        padding: 1vmin;
        margin: 0vmin .1vmin 0vmin .1vmin;
        font-size: 4.5 vmin;
        -moz-border-radius: 1vmin;
        -webkit-border-radius: 1vmin;
        -o-border-radius: 1vmin;
        -ms-border-radius: 1vmin;
        border-radius: 1vmin;
    }
    .header_top {
        clear: both;
        bottom: 4.5 vmin;
        padding: 1vmin;
    }
    .header_top label {
        font-size: 8vmin;
        padding: 3vmin;
        -webkit-transition: color .3s;
        transition: color .3s;
        -moz-border-radius: 1vmin;
        -webkit-border-radius: 1vmin;
        -o-border-radius: 1vmin;
        -ms-border-radius: 1vmin;
        border-radius: 1vmin;
    }
    /* 見出し */
    h1 {
        font-size: 6vmin;
        line-height: 8.5 vmin;
    }
    h2 {
        padding: 4.5 vmin 8vmin;
        margin: 1vmin 0 3vmin 0;
        font-size: 7vmin;
        letter-spacing: .5vmin;
        line-height: .5vmin;
    }
    h3 {
        font-size: 6vmin;
        padding-bottom: 1.5 vmin;
        letter-spacing: 1vmin;
        line-height: 7vmin;
    }
    /* メイン */
    article {
        padding: 1.5 vmin;
        top: 3vmin;
        -moz-border-radius: 1vmin;
        -webkit-border-radius: 1vmin;
        -o-border-radius: 1vmin;
        -ms-border-radius: 1vmin;
        border-radius: 1vmin;
        behavior: url("/PIE.htc");
    }
    .kadomaru {
        -moz-border-radius: 1vmin;
        -webkit-border-radius: 1vmin;
        -o-border-radius: 1vmin;
        -ms-border-radius: 1vmin;
        border-radius: 1vmin;
        behavior: url("/PIE.htc");
    }
    .small {
        font-size: small;
    }
    hr {
        margin: 5vmin 1vmin;
    }
    footer {
        margin-top: 1.5 vmin;
        margin-bottom: 6vmin;
    }
    .bottom p {
        font-size: 3.8 vmin;
        line-height: 4vmin;
    }
    .footer-legal {
        font-size: 3.5 vmin;
        line-height: 5vmin;
    }

    th {
        padding: 1vmin 0vmin;
    }

    .footer_top {
        clear: both;
        bottom: 4.5 vmin;
        padding: 1vmin;
    }
    .footer_top label {
        font-size: 8vmin;
        padding: 3vmin;
        -webkit-transition: color .3s;
        transition: color .3s;
        -moz-border-radius: 1vmin;
        -webkit-border-radius: 1vmin;
        -o-border-radius: 1vmin;
        -ms-border-radius: 1vmin;
        border-radius: 1vmin;
    }
}
