@charset "UTF-8";
@import "https://designmodo.github.io/Flat-UI/dist/css/flat-ui.min.css";
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css";
@import "https://daneden.github.io/animate.css/animate.min.css";
@import url(https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css);
@media screen and (max-width: 480px){
    *
    {
        font-family: 'Mplus 1p';
    }

    html{
        height:100%;
    }

    /*ページの背景*/
    body{
        margin: 0;
        padding: 0;
        height: 100%;
        /* background-color: gray; */
        /* background-color: #fefefe; */
    }

    #wrapper {
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        padding-left: 0;
        transition: all 0.5s ease;
    }
    #wrapper.toggled {
        padding-left: 220px;
    }
    #wrapper.toggled #menu {
        width: 220px;
    }
    #wrapper.toggled #container {
        margin-right: -220px;
        position: absolute;
        z-index: -1;
    }

    #container {
        width: 100%;
        margin: 0 auto;   /*中央寄せ*/
        padding:55px 20px 0;
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        transition: all .2s ease;
        background-image: url(../img/background.png);
    }

    /* メニュー */
    #menu {
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        background: #545454;
        height: 100%;
        left: 220px;
        margin-left: -220px;
        overflow-x: hidden;
        overflow-y: auto;
        transition: all 0.5s ease;
        width: 0;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    #menu::-webkit-scrollbar {
        display: none;
    }
    #menu-bar {
        position: absolute;
        display: block;
        margin: 0 0 30px;
        padding: 0;
        width: 220px;
    }
    #menu-bar li {
        position: relative;
        display: inline-block;
        width: 100%;
        list-style-type: none;
        text-align: left;
        margin: 0 0;
        padding: 8px 0 8px;
        transition: all 0.3s ease;
    }
    #menu-color {
        border-left: 6px solid rgb(235,97,0);
        background: #323232;
    }
    #menu-bar li:hover {
        border-left: 6px solid rgb(235,97,0);
        background: #323232;
    }
    /* #menu-bar li:before{
        background-color: rgb(235,97,0);
        content: '';
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        transition: width .2s ease-in;
        width: 3px;
        z-index: -1;
    } */
    #menu-bar li:hover:before {
        transition: width .2s ease-in;
        width: 100%;
    }
    #menu-bar li p {
        display: inline;
        color: #fff;
        padding-left: 20px;
        font-size: 1.2em;
        text-decoration: none;
    }
    #menu-bar a {
        color: black;
    }
    #menu-bar li.open:hover:before {
        transition: width .2s ease-in;
        width: 100%;
    }
    #menu-bar li a:hover, #menu-bar li a:active, #menu-bar li a:focus, #menu-bar li.open a:hover, #menu-bar li.open a:active, #menu-bar li.open a:focus {
        background-color: transparent;
        color: #ffffff;
        text-decoration: none;
    }
    .fa-example {
        font-size: 1.5em;
        color: white;
        margin: 0 0 0 15px;
    }

    /* Hamburger */
    .hamburger {
        background: transparent;
        border: none;
        display: block;
        height: 32px;
        margin-left: 15px;
        position: fixed;
        top: 10px;
        width: 32px;
        z-index: 999;
    }
    .hamburger:hover {
        outline: none;
    }
    .hamburger:focus {
        outline: none;
    }
    .hamburger:active {
        outline: none;
    }
    .hamburger.is-closed:before {
        -webkit-transform: translate3d(0,0,0);
        -webkit-transition: all .35s ease-in-out;
        color: #ffffff;
        content: '';
        display: block;
        font-size: 14px;
        line-height: 32px;
        opacity: 0;
        text-align: center;
        width: 100px;
    }
    .hamburger.is-closed:hover:before {
        -webkit-transform: translate3d(-100px,0,0);
        -webkit-transition: all .35s ease-in-out;
        display: block;
        opacity: 1;
    }
    .hamburger.is-closed:hover .hamb-top {
        -webkit-transition: all .35s ease-in-out;
        top: 0;
    }
    .hamburger.is-closed:hover .hamb-bottom {
        -webkit-transition: all .35s ease-in-out;
        bottom: 0;
    }
    .hamburger.is-closed .hamb-top {
        -webkit-transition: all .35s ease-in-out;
        background-color: rgba(255, 255, 255, 0.7);
        top: 5px;
    }
    .hamburger.is-closed .hamb-middle {
        background-color: rgba(255, 255, 255, 0.7);
        margin-top: -2px;
        top: 50%;
    }
    .hamburger.is-closed .hamb-bottom {
        -webkit-transition: all .35s ease-in-out;
        background-color: rgba(255, 255, 255, 0.7);
        bottom: 5px;
    }
    .hamburger.is-closed .hamb-top, .hamburger.is-closed .hamb-middle, .hamburger.is-closed .hamb-bottom, .hamburger.is-open .hamb-top, .hamburger.is-open .hamb-middle, .hamburger.is-open .hamb-bottom  {
        height: 4px;
        left: 0;
        position: absolute;
        width: 100%;
    }
    .hamburger.is-open .hamb-top {
        -webkit-transform: rotate(45deg);
        -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
        background-color: #fff;
        margin-top: -2px;
        top: 50%;
    }
    .hamburger.is-open .hamb-middle {
        background-color: #fff;
        display: none;
    }
    .hamburger.is-open .hamb-bottom {
        -webkit-transform: rotate(-45deg);
        -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
        /* background-color: #1a1a1a; */
        background-color: #fff;
        margin-top: -2px;
        top: 50%;
    }
    .hamburger.is-open:before {
        -webkit-transform: translate3d(0,0,0);
        -webkit-transition: all .35s ease-in-out;
        color: #ffffff;
        content: '';
        display: block;
        font-size: 14px;
        line-height: 32px;
        opacity: 0;
        text-align: center;
        width: 100px;
    }
    .hamburger.is-open:hover:before {
        -webkit-transform: translate3d(-100px,0,0);
        -webkit-transition: all .35s ease-in-out;
        display: block;
        opacity: 1;
    }

    /* メニューバー囲むとこ */
    .bar_box {
        background-color: #323232;
        width: 100%;
        height: 55px;
        position: fixed;
        box-shadow: 0 3px 5px rgba(0,0,0,.3);
        z-index: 1;
    }
    #bar_sm {
        display: block;
        margin: 0 auto;
        padding: 0 0 0 53px;
        text-align: center;
        height: 55px;
    }
    #bar_pc {
        display: none;
    }
    
    /* Dark Overlay */
    .overlay {
        position: fixed;
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,.5);
        z-index: 2;
    }

    /* トピック */
    .topic_box {
        text-align: center;
        margin: 30px 0 30px 0;
    }
    .topic1 {
        font-size: 30px;
        margin: 0 0 8px 0px;
    }
    .hihn {
        margin: 0;
    }
    .topic2 {
        font-size: 15px;
        color: #eb6100;
        margin: 0;
    }

    /* カード */
    .card {
        position: relative;
        display: inline-block;
        overflow: hidden;
        margin: 0 0;
        width: 100%;
        height: auto;
        background: #fff;
        text-align: center;
        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.26);
        -moz-box-shadow: 0 2px 5px rgba(0,0,0,.26);
        box-shadow: 0 2px 5px rgba(0,0,0,.26);
        transition: all .2s ease-in-out;
    }

    #title {
        margin: 0 auto;
        font-size: 30px;
    }
    .subtitle {
        margin: 0 auto;
        padding: 8px 20px;
        position: relative;
        border-left: 6px solid #ccc;
        font-size: 25px;
        text-align: left;
    }
    .subtitle::before {
        position: absolute;
        left: -6px;
        bottom: 0;
        content: '';
        width: 6px;
        height: 50%;
        background-color: #eb6100;
    }
    .subtitle::after {
        position: absolute;
        left: 0;
        bottom: 0;
        content: '';
        width: 100%;
        height: 0;
        border-bottom: 1px solid #ccc;
    }

    /* トップ画像 */
    #top {
        width: 100%;
        max-width: 650px;
        margin-bottom: 40px;
    }

    .underline {
        text-decoration: underline;
    }
    dl {
        text-align: left;
        margin: 0;
    }
    dt {
        font-weight: 700;
        font-size: 18px;
        padding: 0 0 0 20px;
        margin: 20px 0 5px 0;
        line-height: 27px;
    }
    .header {
        background: url(../../../img/header.png) no-repeat;
        background-position: left center;
        background-size: auto 15px;
    }

    .content {
        text-align: left;
        display: block;
        margin: 25px;
    }

    /* 工大祭ロゴ */
    .rogobox {
        width: 220px;
        padding: 20px 0 20px;
        margin: 0 auto;
        background-color: #ebebeb;
    }
    #rogo {
        width: 200px;
    }

    /* 水平線 */
    hr {
        border-top: 1px solid white;
    }

    /*コピーライト*/
    #right{
        text-align: center;
        font-size: small;
    }
}