@charset "UTF-8";

/* micro clearfix */
/*
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
*/

?
/* 
 * 必要要素の初期設定
------------------------------------------------------------------------------*/
html {
    font-size: 62.5%;
    /* 62.5%を指定すると、「1.0rem=10px」となる。 */
}

html.ie7 {
    font-size: 100%;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #222222;
    background-color: #DCDDDD;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

a {
    color: #428BCA;
    text-decoration: none;
}

a:hover, a:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.8em;
    line-height: 1.2;
    font-weight: normal;
}

p {
    margin: 0 0 1em;
    line-height: 1.4;
    color: #333333;
    text-align: left;
}

ul {
    margin: 0 0 2em;
    padding: 0;
}


/* 
 * ベースレイアウト
------------------------------------------------------------------------------*/
#wrapper {
    margin: 0;
    background-color: #FFFFFF;
}

header {
    margin: 0;
    padding: 1% 6%;
    overflow: hidden;
}

header:after {
    content: " ";
    display: block;
    clear: both;
}
header {
    *zoom: 1;
}

nav {
    margin: 0;
}

#contents {
    width: 88%;
    margin: 2em auto 1em;
}

#contents:after {
    content: " ";
    display: block;
    clear: both;
}
#contents {
    *zoom: 1;
}

article.main {
    width: 100%;
}

section {
    margin: 0 0 2em;
}

aside.side {
    width: 100%;
}

aside.side:after {
    content: " ";
    display: block;
    clear: both;
}
aside.side {
    *zoom: 1;
}

footer {
    width: 100%;
    padding: 1em 0;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #428BCA;
    text-align: center;
}


/* 
 * 各要素のデザイン、レイアウト
------------------------------------------------------------------------------*/
header {
    border-top: 5px solid #428BCA;
    border-bottom: 1px solid #999999;
    background-color: #FFFFFF;
}

header #site_logo1 {
    display: inline;
}

header #site_logo1 a {
    display: block;
}

header #site_logo1 a:focus {
    outline: dotted;
}

header #site_logo1 h1 {
    margin: 0.5em 0 0.2em 0;
    color: #000000;
    text-align: center;
    letter-spacing: 0.2em;
}

header #site_logo1 p.tagline {
    color: #000000;
    font-size: 0.9em;
    font-size: 0.9rem;
    text-align: center;
}

header #site_logo2 {
    text-align: center;
}

header #site_logo2 img {
    vertical-align: bottom;
}

nav#snav {
    display: none;
}

nav#gnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #428BCA;
}

nav#gnav ul:after {
    content: " ";
    display: block;
    clear: both;
}
nav#gnav ul {
    *zoom: 1;
}

nav#gnav ul.plus {
    background-color: #419641;
}

nav#gnav ul li {
    display: block;
    float: left;
    width: 49%;
    margin: 0;
    line-height: 2.5em;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    text-align: center;
    border-bottom: 1px solid #999999;
}

nav#gnav ul li:nth-child(odd) {
    width: 50%;
    margin-left: 2px;
    border-right: 1px solid #999999;
}

nav#gnav ul li a {
    display: block;
    width: 100%;
    color: #FFFFFF;
}

nav#gnav ul li a:hover, nav#gnav ul li a:focus {
    color: #000000;
    background-color: #F0AD4E;
}

nav#gnav ul li.current {
    background-color: #F0AD4E;
}

nav#gnav ul li.current a {
    color: #000000;
}

nav#bread_list {
    padding: 0.5em 0 0 0.5em;
    background-color: #FFFFFF;
    font-size: 0.9em;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

nav#bread_list ol {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
}

nav#bread_list ol:after {
    content: "";
    display: block;
    clear: both;
}
nav#bread_list ol {
    *zoom: 1;
}

nav#bread_list li a {
    display: inline-block;
    padding: 4px 5px 6px;
}

nav#bread_list li a[href]:hover, nav#bread_list li a[href]:focus {
    color: #DD7700;
    text-decoration: underline;
}

nav#bread_list li a:not([href]) {
    color: #888888;
}

nav#bread_list li {
    float: left;
}

nav#bread_list li+li:before {
    content: '\003e';
    color: #888;
}

article {
    margin: 0 0 2em;
}

article.main {
    border-bottom: 1px dotted #999999;
}

article.main h1 {
    border-bottom: 2px solid #428BCA;
    font-size: 1.6em;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

article.main section section h1 {
    border-bottom: none;
}

article.main h2 {
    margin-top: 2em;
    padding: 8px 0 6px 10px;
    border-left: 10px solid #428BCA;
    font-size: 1.2em;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

article.main a {
    font-weight: bold;
    letter-spacing: 0.1em;
}

article.main a:hover, article.main a:focus {
    color: #CC5500;
    text-decoration: underline;
}

article.main ul.index {
    margin-left: 2em;
    margin-bottom: 3em;
    line-height: 1.6;
}

article.main ul.wide li {
    margin-bottom: 1.2em;
}

article.main ol li {
    margin-bottom: 1.6em;
    line-height: 1.6;
}

article.main dt {
    margin-bottom: 0.5em;
}

#sidebar1, #sidebar2 {
    padding: 16px;
    background-color: #F0F0E8;
    border-radius: 8px;
}

aside.side h1 {
    margin: 0;
    padding-bottom: 8px;
    font-size: 1.2em;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

aside.side ul {
    list-style: none;
    margin: 0;
}

aside.side li {
    line-height: 1.6;
    color: #555555;
    font-size: 0.9em;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

aside.side li a {
    position: relative;
    display: block;
    padding: 5px 5px 4px 5px;
    border-bottom: 1px dotted #999999;
}

aside.side li:first-child a {
    border-top: 1px dotted #999999;
}

aside.side li a:hover, aside.side li a:focus {
    background-color: #DFE3E8;
}

aside.side li a:before {
    position: absolute;
    right: 10px;
    top: 50%;
    margin: -8px 0 0 0;
    color: #999999;
    content: '\f054'; /* fa-chevron-right */
    content: '\f105'; /* fa-angle-right */
    content: '\f101'; /* fa-angle-double-right */
    font-family: 'FontAwesome';
    font-size: 18px;
    line-height: 1;
}
html.ie8 aside.side li a:before, html.ie7 aside.side li a:before {
    display: none;
}

footer small {
    font-size: 1.1em;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

footer address {
    font-size: 0.9em;
    font-size: 0.9rem;
    font-style: normal;
}

/* ページトップへ戻るボタン */
#page-top {
    position: fixed;
    bottom: 2em;
    right: 0;
    font-size: 0.9em;
    font-size: 0.9rem;
}

#page-top a {
    display: block;
    width: 100px;
    padding: 20px 0;
    color: #000000;
    background-color: #AAAAAA;
    text-align: center;
    text-decoration: none;
    border-top-left-radius: 5px;
     border-bottom-left-radius: 5px;
    opacity: 0.7;
}

#page-top a:hover, #page-top a:focus {
    background: #FF0000;
}

/* index.html のバナー画像 */
img#banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    vertical-align: bottom;
}

/* course.html の 時間割 */
table.timetable {
    margin: 30px 0 50px 0;
    border-top: 1px solid #888888;
    border-left: 1px solid #888888;
    font-size: 0.8em;
    font-size: 0.8rem;
}

table.timetable caption {
    margin-bottom: 10px;
    font-size: 1em;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-align: left;
}

table.timetable th, table.timetable td {
    padding: 10px 5px;
    border-right: 1px solid #888888;
    border-bottom: 1px solid #888888;
    text-align: center;
    height: 2.6em;
}

table.timetable th {
    color: #FFFFFF;
    background-color: #428BCA;
}

table.timetable th.layout {
    width: 120px;
}

table.timetable td {
    color: #000000;
    background-color: #F0F0E8;
}

/* accessmap.html の Google Map */
#accessmap_frame {
    margin: 1em 0;
    padding: 0.1em;
    border: 1px solid #E3DACE;
    background-color: #FFFFFF;
    text-align: center;
}

#accessmap_frame iframe {
    width: 100%;
    max-width: 100%;
}


/* 
 * Media Queries による切り替え
------------------------------------------------------------------------------*/

/* 小型タブレット向けのレイアウトの指定 */
@media screen and (min-width: 540px) {

    #sidebar1 {
        float: left;
        width: 42%;
    }

    #sidebar2 {
        float: right;
        width: 42%;
    }

}

/* PC向けおよび大型タブレット向けのレイアウトの指定 */
@media screen and (min-width: 769px) {

    header {
        padding: 2% 6% 1%;
        border-top: none;
        border-bottom: none;
    }

    header #site_logo1 {
        float: left;
    }

    header #site_logo1 h1 {
        margin: 0.3em 0 0.2em 0;
        letter-spacing: 0.2em;
        text-align: left;
    }

    header #site_logo1 p.tagline {
        text-align: left;
    }

    header #site_logo2 {
        float: right;
        width: 240px;
    }

    nav#snav {
        display: block;
        background-color: #428BCA;
        text-align: right;
    }

    nav#snav ul {
        display: inline-block;
        list-style: none;
        margin: 6px 0 0 0;
        padding: 0;
        font-size: 0.8em;
        font-size: 0.8em;
    }

    nav#snav ul:after {
        content: "";
        display: block;
        clear: both;
    }
    nav#snav ul {
        *zoom: 1;
    }

    nav#snav li a {
        display: block;
        padding: 3px 12px;
        color: #FFFFFF;
        text-decoration: none;
    }

    nav#snav li a:hover, nav#snav li a:focus {
        color: #000000;
        background-color: #F0AD4E;
        border-radius: 10px 1px 10px 1px;
    }

    nav#snav a.current {
        color: #000000;
        background-color: #F0AD4E;
        border-radius: 10px 1px 10px 1px;
    }

    nav#snav li {
        float: left;
        margin-right: 8px;
    }

    nav#gnav ul.plus {
        display: none;
    }

    nav#gnav ul {
        background-color: #FFFFFF;
    }

    nav#gnav ul li {
        width: 20%;
        width: 25%;
        border-right: 1px solid #FFFFFF;
        border-bottom: none;
        border-radius: 30px 4px 30px 4px;
        background-color: #428BCA;
    }

    nav#gnav ul li:nth-child(odd) {
        width: 20%;
        width: 25%;
        margin-left: 0;
        border-right: 1px solid #FFFFFF;
    }

    html.ie7 nav#gnav ul li {
        width: 19.8%;
        width: 24.8%;
    }

    html.ie7 nav#gnav ul li:nth-child(odd) {
        width: 19.9%;
        width: 24.9%;
        margin-left: 0;
    }

    nav#gnav ul li:last-child {
        border-right: none;
    }

    nav#gnav ul li.hidden {
        display: none;
    }

    nav#gnav ul li a:hover, nav#gnav ul li a:focus {
        border-radius: 30px 4px 30px 4px;
    }

    article.main h1 {
        font-size: 1.5em;
        font-size: 1.5rem;
        box-shadow: 0 3px 3px -3px #888888;
    }

    article.main a {
        letter-spacing: 0;
        font-weight: normal;
    }

    article.main ul.index li a {
        letter-spacing: 0.1em;
    }

    table.timetable caption {
        letter-spacing: 0;
    }

}

@media screen and (min-width: 961px) {

    #wrapper {
        width: 958px;
        margin: 0 auto;
        padding: 0;
        border: 1px solid #F0F0F0;
        border-top: none;
    }

    header {
        padding-right: 30px;
        padding-left: 30px;
    }

    #contents {
        width: auto;
        margin: 2em 0 1em;
        padding: 0 30px;
    }

    article.main {
        float: left;
        width: 600px;
        margin-right: 29px;
        padding: 0 30px 0 0;
        border-right: 1px dotted #999999;
        border-bottom: none;
    }

    table.timetable th {
        font-size: 0.9em;
        font-size: 0.9rem;
    }

    aside.side {
        float: left;
        width: 218px;
        margin: 0;
    }

    #sidebar1, #sidebar2 {
        float: none;
        width: 100%;
    }

}
