﻿body {
    background-color: #ffffff;
    color: #333333;
    font-family: "メイリオ", "Hiragino Kaku Gothic Pro", sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("../img/backgroung3.jpg");
    background-repeat: repeat;
}



p {
    font-size: 90%;
    line-height: 1.8;
}

h1 {
    font-size: 180%;
    margin: 0;
    padding-left: 100px;
}

h2 {
    font-size: 120%;
    border-bottom: 1px dashed #003366;
    border-left: 10px solid #003366;
    padding-left: 7px;
    margin-top: 30px;
    margin-bottom: 20px;
}

h3 {
    font-size: 100%;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 0;
}

h4 {
    font-size: 100%;
    font-weight: bold;

}

h5 {
    font-size: 100%;
    font-weight: bold;
}

footer {
    clear: both;
    text-align: center;
    border-top: 5px solid #003366;
}

header {
    background-color: #003366;
    color: #fff;
}

.header-in {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.header-in h1 a {
    text-decoration: none;
    color: #fff;
}

.header-in p a {
    text-decoration: none;
    color: #fff;
}

header img {
    width: 80px;
    height: auto;
    float: left;
    margin-top: 7px;
    margin-left: 7px;
}

header p {
    text-align: center;
    padding-top: 0px;
    padding-bottom: 5px;
    margin: 0;
    font-size: 150%;
    font-weight: bold;
}

nav ul {
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0;
    list-style-type: none;
    padding-left: 0;
    line-height: 1.8;
    font-size: 90%;
}

nav li {
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #fff;
}

nav a {
    text-decoration: none;
    color: #fff;
}

nav a:hover {
    color: #ffcc00;
}

article {
    clear: both;
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

section {
    clear: both;
}

#counter {
    float: left;
    width: 80px;
    height: 15px;
    margin-left: 20px;

}

#counter2 {
    float: right;
    display: block;
    /*    border: 1px solid #000;*/
    border-left: 5px solid #003366;
    border-bottom: 1px dashed #003366;
    height: 20px;
    width: auto;

    font-size: 80%;
    margin-top: 10px;
    margin-bottom: 20px;
}

#counter2 td {
    padding-left: 10px;
    padding-right: 0px;
    padding-bottom: 0px;
    vertical-align: middle;
    /*    border: 1px solid #000;*/
}

#counter2 img {
    width: auto;
    height: 15px;
    margin-top: 0;
    margin-left: 0px;
    text-align: center;
}

#fc2 {
    width: 80px;
    height: 15px;
    margin-left: 20px;
}

#fb {
    /*    float: right;*/
    width: auto;
    height: 30px;
    margin-right: 100px;
}

#facebook2 img {
    float: right;
    width: auto;
    height: 20px;
    margin-left: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#facebook img {
    float: right;
    width: auto;
    height: 20px;
    margin-left: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#line img {
    float: right;
    width: auto;
    height: 20px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#twitter img {
    float: right;
    width: auto;
    height: 20px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#mainimage img {
    width: auto;
    height: 150px;
    margin: 10px;
    float: left;
}

#info2 table {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #999;
    border-collapse: collapse;
}

#info2 th {
    border: 1px solid #999;
    border-collapse: collapse;
    padding: 10px;
    width: 30%;
}

#info2 td {
    border: 1px solid #555;
    border-collapse: collapse;
    padding: 10px;
    width: auto;
}


#dojo img {
    width: auto;
    height: 150px;
    margin: 10px;
    float: right;
}

#activity p {
    clear: both;
}

#archives h3 {
    font-style: normal;
    font-size: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0
}

#archives h4 {
    font-style: normal;
    font-size: 80%;
    text-align: left;
    margin-top: 0;
    margin-right: 100px;
}

#archives h5 {
    font-style: normal;
    font-size: 80%;
    text-align: center;
    margin-top: 0;
}

#yoshimoto {
    float: left;
    width: auto;
    height: 350px;
    margin-left: 100px
}

#yoshimoto img {
    width: auto;
    height: 300px;
}

#satake {
    float: right;
    width: auto;
    height: 350px;
    margin-right: 100px;
}

#satake img {
    width: auto;
    height: 300px;
}

.top {
    clear: both;
    text-align: right;
    font-size: 80%;
    border-right: 10px solid #003366;
    padding-right: 7px;
}

#new h3 {
    font-style: normal;
    font-size: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0
}

#new h4 {
    font-style: normal;
    font-size: 80%;
    text-align: right;
    margin-top: 0;
    margin-right: 100px;
}

#new h5 {
    font-style: normal;
    font-size: 80%;
    text-align: left;
    margin-top: 0;
    margin-right: 50px;
    margin-left: 350px;
}

#newyear img {
    width: auto;
    height: 200px;
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left
}

#new p.line {
    border-bottom: 1px dashed #003366;
    clear: both;
}

#yukisasa img {
    width: auto;
    height: 200px;
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left
}

#access h3 {
    text-align: center;
}

iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


#history h3 {
    font-style: normal;
    font-size: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0
}

#schedule img {
    width: 80%;
    height: auto;
}

#pending img {
    width: 50%;
    height: auto;
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left
}

#pending h3 {
    text-align: center;
}

#schedule h3 {
    text-align: center;
    font-size: 120%;
    color: #f00;
}

#yukizasakai h3 {
    text-align: center;
    font-size: 120%;
    color: #f00;
}

#record h3 {
    text-align: center;
    font-size: 120%;
    color: #f00;
}

#contact h3 {
    text-align: center;
    font-size: 100%;
    color: #00f;

}

#archives2 h3 {
    text-align: center;
    font-size: 120%;
    color: #f00;
}

#link h3 {
    text-align: center;
    font-size: 120%;
    color: #f00;
}

#plan2016 .image-center {
    text-align: center;
}

#kinrousha .image-center {
    text-align: center;
}



#yukizasakai img {
    width: 80%;
    height: auto;
}

#yukizasakai .image-center {
    text-align: center;
}


#activity .image-center {
    text-align: center;
}

/*LINK Page Layout調整*/

#link div {
    width: 30%;
    height: 250px;
    text-align: center;
    float: left;
    margin-left: 20px;
    font-size: 100%;

}

#link img {
    width: auto;
    height: 100px;
}

/*LINK Page Layout調整 End*/

/*Form*/

#annotation {
    font-weight: bold;
    color: #f00;
    margin-left: 50px;
}

#contact form {
    margin-top: 50px;
    margin-left: 100px;
}

input {
    display: block;
    width: 400px;
}

textarea {
    display: block;
    width: 600px;
    height: 120px;
}

button {
    width: 180px;
    padding: 10px;
}

/*Form End*/

/*ハンバーグメニュー*/

#navToggle {
    display: none;
    /*通常時は非表示にしておきます*/
    position: absolute;
    /*bodyに対しての絶対位置指定です*/
    right: 13px;
    top: 13px;
    width: 30px;
    height: 25px;
    cursor: pointer
}

#navToggle div {
    position: relative
}

/*spanの絶対位置指定の親にします*/

#navToggle span {
    display: block;
    position: absolute;
    /*#navToggle div に対して*/
    width: 100%;
    border-bottom: solid 3px #999;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out
}

#navToggle span:nth-child(1) {
    top: 0
}

#navToggle span:nth-child(2) {
    top: 11px
}

#navToggle span:nth-child(3) {
    top: 22px
}




/*ハンバーグメニューおわり*/

/* 959px以下の場合 */

@media(max-width:959px) {

    body {
        width: 100%;
    }
    article {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    article img {
        width: 100%;
        height: auto;
    }
    .header-in {
        width: auto;
    }
    .header-in h1 a {
        text-decoration: none;
        color: #fff;
        font-size: 80%;
    }
    .header-in p a {
        text-decoration: none;
        color: #fff;
        font-size: 80%;
    }
    nav ul {
        text-align: center;
        padding: 0;
    }

    nav li {
        display: inline;
        padding-left: 2px;
        padding-right: 3px;
        border-right: 1px solid #ffffff;
    }

    nav a {
        text-decoration: none;
        color: #fff;
        font-size: 80%;
    }

    #mainimage img {
        width: auto;
        height: 100px;
        margin: auto;
        float: left
    }

    #info table {
        display: block;
        width: 50%;
        height: auto;
        margin: auto;
        border-style: none;
        border-collapse: collapse;
        padding: 5px;
        float: left;
    }

    #info table td {
        font-size: 80%;
    }

    #dojo img {
        width: auto;
        height: 100px;
        margin: auto;
        float: left;
    }

    #yoshimoto {
        text-align: center;
        width: 350px;
        height: auto;
        margin: auto;
        float: none
    }

    #yoshimoto img {
        text-align: center;
        width: 350px;
        height: auto;
    }

    #satake {
        text-align: center;
        width: 350px;
        height: auto;
        margin: auto;
        float: none;
    }

    #satake img {
        width: 350px;
        height: auto;
    }

}

/*LINK Page Layout調整*/

#link div {
    width: 30%;
    height: 250px;
    text-align: center;
    float: left;
    margin-left: 20px;
    font-size: 80%
}

#link img {
    width: auto;
    height: 100px;
}

/*LINK Page Layout調整 End*/

/* 600px以下の場合 */

@media(max-width:600px) {
    nav li {
        font-size: 60%;
        padding-left: 2px;
        padding-right: 2px;
    }

    article {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    /*    #info ul {*/
    /*        display: block;*/
    /*        width: 50%;*/
    /*        margin-top: 2px;*/
    /*        line-height: 1.0;*/
    /*        float: left;*/
    #mainimage {
        text-align: center;
    }

    #mainimage img {
        width: auto;
        height: 150px;
        margin: auto;
        float: none
    }

    #info table {
        display: block;
        width: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        border-style: dotted;
        border-collapse: collapse;
        float: none;
    }
    #info2 table {
        width: 400px;
        font-size: 80%
    }

    #dojo {
        text-align: center;
    }

    #dojo img {
        width: auto;
        height: 150px;
        margin: auto;
        float: none;

    }

    #yoshimoto {
        text-align: center;
        margin: auto;
        float: none;
    }

    #yoshimoto img {
        width: 350px;
        height: auto;
        margin: 10px;
    }

    #satake {
        text-align: center;
        margin: auto;
        float: none;
    }

    #satake img {
        width: 350px;
        height: auto;
        margin: 10px;
    }

    #new h5 {
        font-style: normal;
        font-size: 80%;
        text-align: left;
        margin-top: 0;
        margin-right: 50px;
        margin-left: 50px;
    }

    #newyear {
        text-align: center;
    }

    #newyear img {
        width: auto;
        height: 200px;
        margin: auto;
        float: none
    }

    #yukisasa {
        text-align: center;
    }

    #yukisasa img {
        width: auto;
        height: 200px;
        margin: auto;
        float: none
    }

    #pending {
        text-align: center;
    }

    #pending img {
        width: 80%;
        height: auto;
        margin: auto;
        float: none
    }


    #map {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 75%;
    }

    #map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    input {
        width: 320px;
    }
    textarea {
        width: 320px;
    }
    #annotation {
        font-weight: bold;
        color: #f00;
        margin-left: 5px;
    }
    #contact form {
        margin-top: 20px;
        margin-left: 5px;
    }
    button {
        width: 150px;
        padding: 10px;
    }


    /*LINK Page Layout調整*/
    #link div {
        width: 100%;
        height: auto;
        text-align: center;
        float: none;
        margin-left: 20px;
        font-size: 80%
    }

    #link img {
        width: 200px;
        height: auto;
    }
    /*LINK Page Layout調整 End*/
    /*ハンバーガーメニュー*/
    /*header menu*/
    /*nav要素は絶対位置指定にして、ビューの外側に置いて見えなくします。
　　nav の中の ul li は横並びを解除して縦組みにレイアウトし直します。*/
    header nav {
        position: absolute;
        /*bodyに対しての絶対位置*/
        right: 10px;
        top: -300px;
        /*通常時はビュー外*/
        background: rgba(0, 51, 102, 0.9);
        width: 30%;
        padding: 0 10px;
        -webkit-transition: .5s ease-in-out;
        /*transitionで動きを*/
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        text-align: left;
        z-index: 10;
    }
    header ul {
        margin: 0
    }
    header ul li {
        display: block;
        margin: 0;
        border-bottom: dotted 1px #fff;
        border-right: none;
        line-height: 3;
    }
    header ul li a {
        display: block
    }
    header ul li::after {
        content: ''
    }
    header ul li:last-child {
        border-bottom: none
    }

    /* Toggle(Button) */
    /*display:noneだったボタンを display:blockにして表示します*/
    #navToggle {
        display: block
    }

    /* Click Toggle(Button) */
    /*ここから jQueryで header要素に付けた「.openNav」を利用します*/
    /*.openNavが付いた要素内のボタン（#navToggle）内のspanへの指定*/
    /*最初のspanをマイナス45度に*/
    .openNav #navToggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    /*2番目と3番目のspanを45度に*/
    .openNav #navToggle span:nth-child(2),
    .openNav #navToggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg)
    }

    /*header menu*/
    /*.openNavが付いた要素の中のnavを 縦方向に351px移動（=表示される）*/
    .openNav nav {
        -moz-transform: translateY(351px);
        -webkit-transform: translateY(351px);
        transform: translateY(351px)
    }
    iframe {
        width: 500px;
        height: 375px;
    }
}

/*ハンバーガーメニュー終わり*/

}

/* プリント出力 */

@media print {}
