@charset "UTF-8";

body, html {
    height: 100%;
    background-color: #f5f6f7;
}
#wrap {
    height: auto;
}
img {
    vertical-align: top;
}

/*****************************************************************************
    HEADER
*****************************************************************************/

#header-bar {
    position: fixed;
    width: 100%;
    max-height: 90px;
    padding: 3vh 5vw;
    top: 0;
    left: 0;
    background:#FFF;
    z-index: 9999;
}
.logo-osaka-uni {
    max-width: 95px;
    width: 15%;
    position: absolute;
}
.logo-chega {
    max-width: 140px;
    width: 30%;
    margin: 0 auto -5px auto;
    top:6px;
}
#header .center {
    text-align: center;
}
#header .center a {
    color: #000;
    text-decoration: none;
}
#header h1 {
    font-size: calc(7px + 0.5vw);
    padding-top: 0.8vh;
    font-weight: bold;
    text-align: center;
}

@media screen and (min-width:769px) {
    #wrap {
        height: 100%;
    }
    #header-bar {
        max-height: 130px;
        padding: 30px 40px 0 40px;
        overflow: hidden;
    }
    .logo-osaka-uni {
        max-width: 180px;
        margin: 0 auto 5px auto;
        float: left;
        position: absolute;
        top: 35px; left: 40px;
    }
    .logo-chega {
        max-width: 240px;
        margin: 0 auto;
    }
    #header h1 {
        font-size: calc(14px + 0.5vh);
	    padding-top: 5px;
	    padding-bottom: 30px;
    }

    
    #header-bar,
    .logo-osaka-uni,
    .logo-chega,
    #header h1 {
        -webkit-transition: all .4s ease;
           -moz-transition: all .4s ease;
            -ms-transition: all .4s ease;
             -o-transition: all .4s ease;
                transition: all .4s ease;
    }
    .fixed-bar #header-bar {
        padding: 17px 0;
        height: 75px;
    }
    .fixed-bar .logo-chega {
        width: 140px;
        margin-bottom: -5px;
    }
    .fixed-bar #header h1 {
        font-size: 12px;
    }
    .fixed-bar .logo-osaka-uni{
        width: 110px;
        top: 23px;
    }
    .fixed-bar #nav {
        height: 70px;
    }
    .fixed-bar #nav li a {
        font-size: 13px;
    }

}

/*****************************************************************************
    MENU
*****************************************************************************/

/*メニューボタン*/

.mnu-btn {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 8px;
    right: 0px;
    z-index: 9999;
    padding: 16px 14px;
}
.mnu-btn > div{
  width: 20px;
  height: 14px;
  color: #000;
  text-align: center;
  display: block;
  position: relative;
  box-sizing: border-box;
}

.mnu-btn span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.mnu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  border-radius: 4px;
}


/* スマホ・タブレット だけ */
@media screen and (max-width: 768px) {

    .mnu-btn span:nth-of-type(1) { top: 0;}
    .mnu-btn span:nth-of-type(2) { top: 6px;}
    .mnu-btn span:nth-of-type(3) { bottom: 0;}

    .menu-open .mnu-btn span:nth-of-type(1) {
      transform: rotate(-406deg) translateY(4px) translateX(-5px);
    }
    .menu-open .mnu-btn span:nth-of-type(2) {
      transform: translateX(100px);
      background: rgba(255, 255, 255, 0);
    }
    .menu-open .mnu-btn span:nth-of-type(3){
      transform: rotate(406deg) translateY(-4px) translateX(-5px);
    }

    #menu {
        position: fixed;
        right: 0;
        width: 0;
        height: 100%;
        z-index: 9999;
    }
    .menu-open #menu {
        width: 85%;
    }
    #menuContent {
        //height: 100%;
    }
    .menuContent_in {
        padding-top: 60px;
        width: 100%;
        height: 100%;
        display: table;
    }
    .menuContent_main {
        width: 100%;
        height: 100%;
        background: #FFF;
        padding: 0;
    }
    .menuContent_main ul {
        height: 100%;
    }
    .menuContent_main li {
        width: 100%;
        height: 33.33333%;
        display: table;
    }
    .menuContent_main li a {
        font-size: 14px;
        text-align: left;
        display: table-cell;
        line-height: 40px;
        vertical-align: middle;
        text-align: center;
        color: #000;
        text-decoration: none;
        font-weight: normal;
        position: relative;
        -webkit-transition: backgroud-color .25s liner;
           -moz-transition: backgroud-color .25s liner;
            -ms-transition: backgroud-color .25s liner;
             -o-transition: backgroud-color .25s liner;
                transition: backgroud-color .25s liner;
    }
    .menuContent_main li:nth-child(1) a {
        background-color: rgb(255,250,100);
    }
    .menuContent_main li:nth-child(2) a {
        background-color: rgb(255,238,0);
    }
    .menuContent_main li:nth-child(3) a {
        background-color: rgb(255,221,0);
    }
    .menuContent_main li:nth-child(4) a {
        background-color: rgb(255,204,0);
    }

    .menuContent_main li a span {
        font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        font-size: 17px;
        letter-spacing: 0.07em;
        display: block;
        text-align: center;
        font-weight: 600;
    }
    .menuContent_main li a span:after {
        content: "";
        display: block;
        width: 40px;
        height: 2px;
        margin: 0px auto;
        background-color: #000;
    }
    .menuContent_main li a:hover:after {
        width: 100%;
    }



    .menuContent_in {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: all .25s ease;
           -moz-transition: all .25s ease;
            -ms-transition: all .25s ease;
             -o-transition: all .25s ease;
                transition: all .25s ease;
    }
    .menuContent_main {
        opacity: 0;
        -webkit-transition: all .8s ease;
           -moz-transition: all .8s ease;
            -ms-transition: all .8s ease;
             -o-transition: all .8s ease;
                transition: all .8s ease;
    }
    .menu-open .menuContent_in {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    .menu-open .menuContent_main {
        opacity: 1;
    }
}

/* PC  */
@media screen and (min-width:769px) {
    #wrap {
        min-width: 769px;
    }
    #wrap:before {
        content: "";
        width: 70px;
        height: 100%;
        display: block;
        background: #FFF;
        position: fixed;
        left: 0; top: 0;
        z-index: 9998;
    }
    .mnu-btn {
        width: 70px;
        background: #FFF;
        height: 100%;
        right: 0;
        top: 0;
    }
    .mnu-btn > div {
        width: 26px;
        height: 23px;
        position: fixed;
        top: 50%;
        right: 22px;
        margin-top: -12px;
    }
    .mnu-btn span:nth-of-type(1) { top: 0;}
    .mnu-btn span:nth-of-type(2) { top:10px;}
    .mnu-btn span:nth-of-type(3) { bottom: 0;}
    .mnu-btn:hover span:nth-of-type(1) { top: 0;}
    .mnu-btn:hover span:nth-of-type(2) { top: 11px;}
    .mnu-btn:hover span:nth-of-type(3) { bottom: 0;}

    .mnu-btn:hover span:nth-of-type(1) {
      transform: translateY(5px);
    }
    .mnu-btn:hover span:nth-of-type(2) {
      transform: translateX(100px);
      background: rgba(255, 255, 255, 0);
    }
    .mnu-btn:hover span:nth-of-type(3){
      transform: translateY(-5px);
    }

    #menu {
        position: fixed;
        right: 0;
        height: 100%;
        z-index: 9999;
    }

    #menuContent {
        width: 0;
        overflow: hidden;
        height: 100%;
        position: fixed;
        right: 69px;
        top: 0;
        transition: width 0s linear .4s;
        z-index: 3;
    }
    .menuContent_in {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        padding: 130px 0 60px 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);

        -webkit-transition: all .25s ease;
           -moz-transition: all .25s ease;
            -ms-transition: all .25s ease;
             -o-transition: all .25s ease;
                transition: all .25s ease;
    }
    .menuContent_main {
        height: 100%;
        background: #FFF;
        -webkit-perspective: 500px;
        perspective: 500px;
        -webkit-transform: perspective(500px) rotateY(-90deg);
        transform: perspective(500px) rotateY(-90deg);
        -webkit-transform-origin:center right;
        transform-origin:center right;
        -webkit-transition: all .4s ease;
           -moz-transition: all .4s ease;
            -ms-transition: all .4s ease;
             -o-transition: all .4s ease;
                transition: all .4s ease;
    }
    .menuContent_main ul {
        height: 100%;
    }
    .menu-open #menuContent {
        min-width: 120px;
        width: 20%;
    }
    .menu-open .menuContent_main {
        transform: none;
    }
    .menuContent_main li {
        width: 100%;
        height: 25%;
        display: table;
    }
    .menuContent_main li a {
        font-size: calc(5px + 0.6vw);
        text-align: left;
        display: table-cell;
        line-height: 5vh;
        vertical-align: middle;
        text-align: center;
        color: #000;
        text-decoration: none;
        font-weight: normal;
        position: relative;
        -webkit-transition: backgroud-color .25s liner;
           -moz-transition: backgroud-color .25s liner;
            -ms-transition: backgroud-color .25s liner;
             -o-transition: backgroud-color .25s liner;
                transition: backgroud-color .25s liner;
    }
    .menuContent_main li:nth-child(1) a {
        background-color: rgb(255,250,100);
    }
    .menuContent_main li:nth-child(2) a {
        background-color: rgb(255,238,0);
    }
    .menuContent_main li:nth-child(3) a {
        background-color: rgb(255,221,0);
    }
    .menuContent_main li:nth-child(4) a {
        background-color: rgb(255,204,0);
    }
    .menuContent_main li:nth-child(1) a:hover,
    .menuContent_main li:nth-child(2) a:hover,
    .menuContent_main li:nth-child(3) a:hover,
    .menuContent_main li:nth-child(4) a:hover {
        background-color: rgb(255,183,0);
    }
    .menuContent_main li a span {
        font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        font-size: calc(13px + 0.7vw);
        letter-spacing: 0.07em;
        display: block;
        text-align: center;
        font-weight: 600;
    }
    .menuContent_main li a span:after {
        content: "";
        display: block;
        width: 40px;
        height: 2px;
        margin: 7px auto;
        background-color: #000;
    }
    .menuContent_main li a:hover:after {
        width: 100%;
    }
    .menuContent_main li:hover:not(:hover) {
        opacity: 0.2;
    }
}

/**
    FOOTER
*****************************************************************************/

#footer {
    width: 100%;
    color: #FFF;
    //padding: 10px 0 15px 0;
    background-color: #666666;
    //padding-top: 1px;
}


#footer p {
    font-size: 10px;
    text-align: center;
}
#footer a {
    width: 100%;
    color: #FFF;
    line-height: 40px;
    display: block;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}
#footer a:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 6px;
    margin-left: 10px;
    border-color: transparent transparent transparent #FFF;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}
#footer a:hover {
    opacity: 0.8;
}

@media screen and (min-width:769px) {
    #footer {
        width: 100%;
        height: 7vh;
        max-height: 60px;
        position: fixed;
        bottom: 0;
        padding-top: 1vh;
        background-color:#FFF;
        z-index: 9999;
    }
    #footer .container {
        padding: 0 75px;
    }
    #footer p {
        color: #000;
        font-size: 12px;
        text-align: left;
        float: left;
        padding-top: 1vh;
        /*font-weight: bold;*/
    }
    #footer a {
        color: #000;
        width: auto;
        font-size: 12px;
        font-weight: bold;
        display: inline-block;
        float: right;
    }
    #footer a:after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 0 5px 6px;
        margin-left: 10px;
        border-color: transparent transparent transparent #000;
        -webkit-transition: all .25s ease;
           -moz-transition: all .25s ease;
            -ms-transition: all .25s ease;
             -o-transition: all .25s ease;
                transition: all .25s ease;
    }
    #footer a:hover {
        opacity: 0.8;
    }

}


/* ---
    animation
-------------------------------------------------------- */
#scrollDown {
  -webkit-animation-duration: 3.5s;
  -webkit-animation-timing-function: ease-in;
  -webkit-animation-iteration-count: infinite;
  -webkit-transform-origin: bottom center;
  -webkit-animation-name: bound;
}

@-webkit-keyframes bound {
  0%{
    -webkit-transform: scale(1, 1);
    }
  48%{
    -webkit-transform: scale(1, 1);
    }
  50%{
    -webkit-transform: scale(1, 1);
    }
  53%{
    -webkit-transform: scale(1, 1) translate(0, -8vh);
    }
  57.5%{
    -webkit-transform: scale(1, 1) translate(0, -3vh);
    }
  59%{
    -webkit-transform: scale(1, 1) translate(0, 0px);
    }
  100% {
    -webkit-transform: scale(1, 1);
  }
}