@charset "utf-8";

/* CSS Document */


/*トップ*/

@media screen and (max-width: 768px) {
    #HeaderInner {
        padding: 10px;
        overflow: hidden;
    }
    .logo {
        padding-top: 30px;
    }
    #Container {
        width: auto;
    }
    #Header {
        width: auto;
    }
    #Header h1 {
        width: 70%;
        height: auto;
    }
    #Header h1 img {
        width: 100%;
        height: auto;
    }
    ul#GlobalMenu {
        display: none;
        width: auto;
        height: auto;
    }
    #GlobalMenu .top {
        width: auto;
    }
    #GlobalMenu .graduate {
        width: auto;
    }
    #GlobalMenu .voice {
        width: auto;
    }
    #GlobalMenu .student {
        width: auto;
    }
    #GlobalMenu .research {
        width: auto;
    }
    #GlobalMenu .history {
        width: auto;
    }
    #MainContent {
        width: auto;
        float: none;
    }
    #PhotoGalleryList img {
        width: 100%;
        height: auto;
    }
    .topic {
        /*padding: 15px 20px 20px;*/
    }
    .topic img {
        width: 100%;
        height: auto;
    }
    #voice #ContainerInner > div:first-child img {
      width: 100%;
      height: auto;
    }
    #MainContent {
        background-color: inherit;
    }
    .ColumnInner {
        width: auto;
        margin: 0 auto;
    }
    .ColumnInner td {
        margin-bottom: 20px;
        width: 340px;
        display: block;
    }
    #NaviMenu {
        float: none;
        margin: 0 auto;
    }
    #NaviMenu {
        width: 300px;
    }
    #WrapIframe {
        overflow: hidden;
        width: 300px;
        height: 300px;
    }
    #NaviMenu iframe {
        overflow: hidden;
        width: 300px;
        height: 300px;
    }
    #BnrBox {
        width: 280px;
        margin: 40px auto;
    }
}
@media screen and (max-width: 350px) {
  #top .ColumnInner h2 img {
    width: 300px;
    height: auto;
  }
  .ColumnInner td {
    margin-bottom: 20px;
    width: 302px;
    display: block;
  }
  #NaviMenu {
    width: 300px;
}
#WrapIframe {
    overflow: hidden;
    width: 300px;
    height: 300px;
}
#NaviMenu iframe {
    overflow: hidden;
    width: 300px;
    height: 300px;
}
}

/*中ページ*/

@media screen and (max-width: 768px) {
    #MainContent h2 span {
        font-size: 80%;
    }
    #ContentInner {
        margin: 10px;
        padding: 20px;
        background: #fff;
    }
    #ContentInner iframe {
        display: inline-block;
    }
    #ContentInner iframe:last-child {
        width: 120px;
    }
    #ContentInner .photoR {
        float: none;
        margin-left: 0;
        margin: 0 auto 20px;
        text-align: center;
    }
    #ContentInner .photoL {
        float: none;
        margin-right: 0;
        margin: 0 auto 20px;
        text-align: center;
    }
    #ContentInner .photoC p img {
        width: 100%;
        height: auto;
    }
    #MainContent h2 {
        font-size: 4vw;
    }
    #MainContent h3 {
        font-size: 3.6vw !important;
    }
    #MainContent h2 span {
        font-size: 4vw;
    }
    h2 .font-s {
        font-size: 3.6vw !important;
    }
}


/*パーツ*/
#right-menu {
    display: none;
}
#sidr-right {
    display: none;
}
#mobile {
    display: none;
}

@media screen and (max-width: 768px) {
  #right-menu {
    display: block;
      position: fixed;
      bottom: 10px;
      right: 10px;
      padding: 10px 6px;
      background: rgba(255,255,255,0.8);
      border: solid thin #fffffe;
      border-radius: 12px;
  }
  #sidr-right {
      display: block;
  }
    #mobile {
        display: block;
    }
    .head-nav {
        display: none;
    }
    #to_pagetop {
    margin: 30px 20px;
}
}

/*スマホ版フッター*/
.footerSp {
  display: none;
}
@media screen and (max-width: 768px) {
  /*.yol-iframe-footer {
    display: none !important;
  }*/
  .footerSp {
    display: block;
    clear: both;
    height: auto;
    border-top: solid 3px #6662bf;
  }
  .footerSp #copyright, .footerSp #policy, .footerSp .footertxt {
    font-size: 12px;
    text-align: center;
    color: #666;
    margin-top: 5px;
  }
  .footerSp #policy {
    font-weight: bold;
    margin: 15px 0 0;
  }
  .footerSp #policy a:link {
    color: #6662bf;
  }
  .footerSp .footertxt {
    font-size: 12px;
    text-align: center;
    color: #666;
  }
  .footerSp #copyright {
    margin-top: 18px;
    padding-bottom: 36px;
  }
}