﻿@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,
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 {
    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: 12px verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    line-height: 1.5;
    background: #f2eedc;
    -webkit-text-size-adjust: none;

/*
    background-image:url(usagi02.gif);
    background-attachment: fixed;

    background-image:url(yuki03.gif);
    background-attachment: fixed;
*/
}

html {
    background: #f2eedc;
}


/* リンク設定
------------------------------------------------------------*/

a {
    color: #bc5210;
    text-decoration: none;
}

a:hover {
    color: #246292;
}

a:active,
a:focus {
    outline: 0;
}


/* 全体
------------------------------------------------------------*/

#wrapper {
    margin: 0 auto;
    padding: 0 1%;
    width: 98%;
    position: relative;
}

.inner {
    margin: 0 auto;
    width: 100%;
}


/*************
/* ヘッダー
*************/

#header {
    padding: 25px 0 15px;
    overflow: hidden;
}

* html #header {
    height: 1%;
}

#header h1 {
    font-size: 11px;
    font-weight: normal;
}

#header .inner {
    border-top: 2px solid #e5e0c5;
    border-bottom: 2px solid #e5e0c5;
    padding-top: 10px;
    padding-bottom: 6px;
    overflow: hidden;
}


/*************
/* ロゴ
*************/

#header .logo {
    float: left;
    padding: 10px 0 0;
}

.logo a {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    color: #333;
}

.logo img {
    vertical-align: bottom;
}

.logo span {
    font-size: 11px;
    font-weight: normal;
}


/**************************
/* トップナビゲーション
**************************/

ul#topnav {
    float: right;
    overflow: hidden;
}

* html ul#topnav {
    height: 1%;
}

ul#topnav li {
    float: left;
    margin: 0 1px;
    text-align: center;
}

ul#topnav a {
    font-size: 12px;
    display: block;
    padding: 10px 10px;
    color: #333;
}

ul#topnav span {
    color: #9e9259;
    font-size: 10px;
}

ul#topnav li.active a,
ul#topnav a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（月別行事予定，児童の活動）
**************************/

ul#midlenav {
    float: left;
    overflow: hidden;
}

* html ul#midlenav {
    height: 1%;
}

ul#midlenav li {
    float: left;
    margin: 0 5px;
    text-align: center;
}

ul#midlenav a {
    font-size: 12px;
    display: block;
    padding: 10px 10px;
    color: #333;
}

ul#midlenav span {
    color: #9e9259;
    font-size: 10px;
}

ul#midlenav li.active a,
ul#midlenav a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（学校だより，学年だより）
**************************/

ul#midlenav2 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav2 {
    height: 1%;
}

ul#midlenav2 li {
    float: left;
    margin: 0 5px;
    text-align: center;
}

ul#midlenav2 a {
    font-size: 12px;
    display: block;
    width: 60px;
    padding: 10px 10px;
    color: #333;
}

ul#midlenav2 span {
    color: #9e9259;
    font-size: 10px;
}

ul#midlenav2 li.active a,
ul#midlenav2 a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（月別行事予定）
**************************/

ul#midlenav4 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav4 {
    height: 1%;
}

ul#midlenav4 li {
    float: left;
    margin: 0 5px;
    text-align: center;
}

ul#midlenav4 a {
    font-size: 12px;
    display: block;
    width: 59px;
    padding: 5px 0px;
    color: #333;
}

ul#midlenav4 span {
    color: #9e9259;
    font-size: 10px;
}

ul#midlenav4 li.active a,
ul#midlenav4 a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（児童の活動）
**************************/

ul#midlenav3 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav3 {
    height: 1%;
}

ul#midlenav3 li {
    float: left;
    margin: 0 5px;
    text-align: center;
}

ul#midlenav3 a {
    font-size: 12px;
    display: block;
    width: 98px;
    padding: 5px 2px;
    color: #333;
}

ul#midlenav3 span {
    color: #9e9259;
    font-size: 10px;
}

ul#midlenav3 li.active a,
ul#midlenav3 a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（ミッションステートメント）
**************************/

ul#midlenav5 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav5 {
    height: 1%;
}

ul#midlenav5 li {
    float: left;
    margin: 0 5px;
    text-align: left;
}

ul#midlenav5 a {
    font-size: 12px;
    display: block;
    width: 150px;
    padding: 10px 10px;
    color: #333;
    cursor: default;
}

ul#midlenav5 span {
    color: #9e9259;
    font-size: 10px;
    text-align: left;
}

ul#midlenav5 li.active a,
ul#midlenav5 a:hover {
    background: #fff;
    border-radius: 5px;
}


/**************************
/* ミドルナビゲーション（校歌）
**************************/

ul#midlenav6 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav6 {
    height: 1%;
}

ul#midlenav6 li {
    float: left;
    margin: 0 5px;
    text-align: left;
}

ul#midlenav6 a {
    font-size: 12px;
    display: block;
    width: 180px;
    padding: 15px 15px;
    color: #333;
    cursor: default;
}

ul#midlenav6 span {
    color: black;
    font-size: 12px;
    text-align: left;
}

ul#midlenav6 li.active a,
ul#midlenav6 a:hover {
    background: #fff;
    border-radius: 5px;
}
/**************************
/* ミドルナビゲーション（研究関係）
**************************/

ul#midlenav7 {
    float: left;
    overflow: hidden;
}

* html ul#midlenav7 {
    height: 1%;
}

ul#midlenav7 li {
    float: left;
    margin: 0 5px;
    text-align: center;
}

ul#midlenav7 a {
    font-size: 12px;
    display: block;
    width: 150px;
    padding: 5px 0px;
    color: #333;
}

ul#midlenav7 span {
    color: #9e9259;
    font-size: 10px;
}

ul#midlenav7 li.active a,
ul#midlenav7 a:hover {
    background: #e8e3ca;
    border-radius: 5px;
}

/**************************
/* メイン画像（トップページ+サブページ）
**************************/

#mainBanner {
    margin: 15px auto 20px auto;
    padding: 0;
    width: 100%;
    position: relative;
    line-height: 0;
}

#mainBanner img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

.slogan {
    position: absolute;
    max-width: 100%;
    height: auto;
    bottom: 0px;
    left: 0px;
    padding: 15px 20px;
    line-height: 1.4;
    background: url(../b-image/system-images/tp2.png);
}

.slogan h2 {
    padding-bottom: 5px;
    color: #ccc;
    font-size: 18px;
}

.slogan h3 {
    font-size: 12px;
    color: #ccc;
}

.slogantop {
    position: absolute;
    max-width: 100%;
    height: auto;
    bottom: 3.5%;
    left: 0px;
    padding: 15px 10px;
    line-height: 1;
    background: url(../b-image/system-images/tp2.png);
}

.slogantop h2 {
    padding-bottom: 5px;
    color: #ccc;
    font-size: 18px;
}

.slogantop h3 {
    font-size: 12px;
    color: #ccc;
}


/* サブページ スローガンの背景・黒*/

.subImg .slogan {
    background: url(../b-image/system-images/tp2.png);
}

.subImg .slogan h2 {
    color: #ccc;
}

.subImg .slogan h3 {
    color: #666;
}


/**************************
/* グリッド（４カラム）児童の活動の様子
**************************/

.gridWrapper {
    padding-bottom: 20px;
    overflow: hidden;
}

* html .gridWrapper {
    height: 1%;
}

.grid {
    float: left;
    border-radius: 5px;
    background: #fff;
}

.grid h3 {
    padding: 15px 5px;
    text-align: center;
    border-radius: 5px 5px 0 0;
    background: #e8e3ca;
}

.grid p {
    padding: 5px 10px;
}

.gridWrapper img {
    max-width: 100%;
    height: auto;
}


/* フッター内のグリッド(3カラム) */

#footer .grid {
    background: transparent;
}

#footer .grid p {
    padding: 0;
}


/*************
メイン コンテンツ
*************/

section.content {
    padding: 19px;
    margin-bottom: 20px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    font-size: 14px;
}

* html section.content {
    height: 1%;
}

section.content p {
    margin-bottom: 5px;
}

h3.heading {
    padding-left: 7px;
    margin-bottom: 10px;
    font-size: 16px;
    border-left: 5px solid #e8e3ca;
}

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;
}

img.frame,
#gallery img {
    border: 4px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .grid {
    padding: 5px 0 0;
}


/*************
テーブル
*************/

table.table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px auto;
}

table.table th,
table.table td {
    padding: 5px;
    border: 1px solid #cacaca;
}

table.table th {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    background: #f3f3f3;
}

table.table td {
    border-left: #48370d;
    vertical-align: middle;
}


/*************
サブ（フッター前）コンテンツ
*************/

#sub ul {
    padding: 10px;
}

#sub li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ebebeb;
}

#sub li:last-child {
    border: 0;
    margin-bottom: 0;
}

#sub li a {
    display: block;
}

#sub ul.list {
    padding-bottom: 7px;
}

#sub ul.list li {
    clear: both;
    margin-bottom: 5px;
    padding: 5px 0;
    overflow: hidden;
}

* html #sub ul.list li {
    height: 1%;
}

#sub ul.list li img {
    float: left;
    margin-right: 10px;
}

#sub ul.list li {
    font-size: 12px;
    line-height: 1.35;
}


/*************
/* フッター
*************/

#footer {
    clear: both;
}

#footer .inner {
    border-top: 2px solid #e5e0c5;
    border-bottom: 2px solid #e5e0c5;
    padding-top: 10px;
    padding-bottom: 6px;
    overflow: auto;
}

* html #footer .inner {
    height: 1%;
}

#footer .grid {
    margin: 0;
}

#footer #info .logo,
#footer #info .info {
    float: none;
}

#footer #info .info {
    clear: both;
    text-align: left;
}

#footer .logo {
    font-size: 18px;
}

#footer .info .tel,
#footer .info .tel span,
#footer #info .open {
    font-size: 12px;
}

ul.footnav {
    float: right;
    width: 630px;
    padding: 10px 0;
}

ul.footnav li {
    float: left;
    margin-bottom: 10px;
    padding: 0 7px 0 8px;
    border-right: 1px solid #ebebeb;
}

address {
    clear: both;
    padding: 20px 0;
    text-align: center;
    font-style: normal;
    font-size: 12px;
    color: #555;
}


/* PC用 */

@media only screen and (min-width:960px) {
    #wrapper,
    .inner {
        width: 940px;
        padding: 0;
    }
    #wrapper {
        padding-bottom: 20px;
    }
    /* グリッド全体 */
    .gridWrapper {
        width: 960px;
        margin: 0 0 0 -20px;
    }
    /* グリッド共通 ベース:トップページ4カラム */
    .grid {
        float: left;
        width: 220px;
        margin-left: 20px;
    }
    /* サブコンテンツ + フッター グリッド(3カラム) */
    #sub .grid,
    #footer .grid {
        width: 300px;
    }
    /* ギャラリー グリッド(4カラム) */
    #gallery {
        width: 920px;
    }
    #gallery .grid {
        width: 210px;
    }
}


/* モニター幅940px以下 */

@media only screen and (max-width:940px) {
    #header h1 {
        padding: 0 0 5px 10px;
    }
    #header .logo {
        padding-left: 10px;
    }
    .grid {
        float: left;
        width: 48%;
        margin: 10px 2% 0 0;
    }
    .grid img {
        float: left;
        margin-right: 5px;
    }
    #gallery {
        padding-left: 1px;
    }
    #gallery .grid {
        width: 23%;
        margin: 0 2% 0 0;
        padding: 0;
    }
    #gallery .grid img {
        float: none;
        margin: 0;
    }
    #sub .grid {
        width: 32%;
        margin: 10px 1%;
    }
    #sub .grid:first-child {
        margin-left: 0;
    }
    #sub .grid:last-child {
        margin-right: 0;
    }
    #footer .grid {
        float: none;
        width: 100%;
        text-align: center;
    }
    #footer .grid:last-child {
        padding-top: 20px;
    }
}


/* iPad 縦 */

@media only screen and (max-width:768px) {
    #header {
        padding-bottom: 0;
    }
    #header h1 {
        text-align: center;
    }
    #header .logo {
        float: none;
        text-align: center;
        padding: 10px 5px 20px;
    }
    ul#topnav {
        clear: both;
        width: 100%;
    }
    ul#topnav li {
        width: 33%;
        margin: 0;
        border-top: 1px solid #e8e3ca;
        border-right: 1px dashed #e8e3ca;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
    ul#topnav li:nth-child(3n) {
        border-right: 0;
        width: 34%;
    }
    ul#topnav li.active a,
    ul#topnav a:hover {
        border-radius: 0;
    }
    #sub ul.list {
        padding: 10px 10px 11px;
    }
    #sub ul.list li {
        padding-bottom: 10px;
        margin-bottom: 8px;
    }
}


/* スマートフォン 横(ランドスケープ) */

@media only screen and (max-width:640px) {
    #footer .grid p {
        text-align: center;
    }
    .grid img {
        float: none;
        margin: 20px auto 10px;
    }
    .grid p,
    #sub .grid li {
        text-align: left;
    }
    img.frame,
    #gallery img {
        border-width: 2px;
    }
    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }
}


/* スマートフォン 縦(ポートレート) */

@media only screen and (max-width:480px) {
    ul#topnav li {
        width: 50%;
    }
    ul#topnav li:nth-child(3n) {
        border-right: 1px dashed #e8e3ca;
        width: 50%;
    }
    ul#topnav li:nth-child(2n),
    ul#topnav li:nth-child(6n) {
        border-right: 0;
    }
    #mainBanner {
        margin-left: 1px;
    }
    #mainBanner h2,
    #mainBanner h3 {
        font-size: 80%;
    }
    ul#footnav li {
        width: 100%;
    }
    #sub .grid {
        float: none;
        width: 98%;
    }
    #sub .grid h3 {
        padding: 10px 5px;
    }
    #sub ul.list {
        padding: 10px;
    }
    #sub ul.list li {
        padding-bottom: 3px;
        margin-bottom: 3px;
    }
    #sub ul.list li img {
        margin: 0 5px 0 0;
    }
}


/*************
グーグルマップ
*************/

.googlemap {
    position: relative;
    padding-bottom: 250px;
    height: 0;
    overflow: hidden;
    border: 1px solid #CCC;
    margin: 20px auto;
}

.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/**BXSLIDER トップ写真スライドショー
===================================*/

.bx-wrapper {
    position: relative;
    margin: 0 auto 60px;
    padding: 0;
    *zoom: 1;
}

.bx-wrapper img {
    max-width: 100%;
    display: block;
}


/** THEME
===================================*/

.bx-wrapper .bx-viewport {
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    left: -5px;
    background: #fff;
    /*fix other elements on the page moving (on Chrome)*/
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -30px;
    width: 100%;
}


/* LOADER */

.bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(../b-image/system-images/top-main/bx_loader.gif) center center no-repeat #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}


/* PAGER */

.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    *zoom: 1;
    *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: #666;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    outline: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #000;
}


/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
    left: 10px;
    background: url(../b-image/system-images/top-main/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
    right: 10px;
    background: url(../b-image/system-images/top-main/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
    background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
    background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}


/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
    text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
    display: block;
    text-indent: -9999px;
    width: 10px;
    height: 11px;
    outline: 0;
    background: url(../b-image/system-images/top-main/controls.png) -86px -11px no-repeat;
    margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
    background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    text-indent: -9999px;
    width: 9px;
    height: 11px;
    outline: 0;
    background: url(../b-image/system-images/top-main/controls.png) -86px -44px no-repeat;
    margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
    background-position: -86px -33px;
}


/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    text-align: left;
    width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px;
}


/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666\9;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}

.bx-wrapper .bx-caption span {
    color: #fff;
    font-family: font: 12px verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    display: block;
    font-size: 14px;
    padding: 10px;
}

@charset 'UTF-8';