/* =======================================

    レスポンシブ

=======================================*/

.toggle {
  display: none;
}

@media (max-width: 1000px) {
  #wrapper {
    width: auto;
  }
  #content {
    clear: both;
  }
  /* Header */
  #ISheader {
    width: auto;
    height: 280px;
  }
  #ISheader #ISsiteId {
    left: 0;
    right: 0;
    text-align: center;
  }
  #ISheader #Sponsor {
    top: 160px;
    left: 0;
    right: 0;
    width: 300px;
    margin: auto;
  }
  #ISheader #Search {
    top: 230px;
    left: 0;
    right: 0;
    width: 300px;
    margin: auto;
  }
  /* Navigation */
  #Gmenu {
    display: none;
  }
  .toggle {
    display: block;
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #32315b, #040437);
    font-weight: bold;
  }
  .toggle a {
    display: block;
    height: 20px;
    position: relative;
    padding: 12px 0 12px;
    border-bottom: 1px solid #444;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }
  .toggle:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -11px;
    background: #f2f2f2;
  }
  .toggle a:before, .toggle a:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #040437;
  }
  .toggle a:before {
    margin-top: -6px;
  }
  .toggle a:after {
    margin-top: 2px;
  }
  #Gmenu ul.MenuBarHorizontal {
    background: #fff;
  }
  #Gmenu ul.MenuBarHorizontal li {
    font-weight: bold;
    text-align: center;
  }
  #Gmenu ul.MenuBarHorizontal>li {
    width: 100%;
    margin: 0 0 2px;
    background: #001067;
  }
  #Gmenu ul.MenuBarHorizontal>li>a {
    width: 100%;
    height: 32px;
    padding-top: 12px;
    background-image: none;
    background: linear-gradient(to bottom, #32315b, #040437);
  }
  #Gmenu ul.MenuBarHorizontal ul {
    position: static;
    width: auto;
  }
  #Gmenu ul.MenuBarHorizontal li ul li {
    width: 100%;
    padding: 0;
    background-color: #ddd;
    border-style: none;
  }
  #Gmenu ul.MenuBarHorizontal li ul li a {
    width: auto;
    height: 32px;
    padding-top: 12px;
    border-bottom: #040437 solid 1px;
    background: #dddddd;
    text-align: center;
    font-weight: bold;
    color: #040437;
  }
  #Gmenu ul.MenuBarHorizontal li a.two-line {
    height: 32px;
    padding-top: 12px;
    line-height: 1.6;
  }
  #Gmenu ul.MenuBarHorizontal li a.two-line br {
    display: none;
  }
  #Gmenu ul.MenuBarHorizontal li.line2 a {
    height: 32px;
    padding-top: 12px;
    line-height: 1.6;
  }
  #Gmenu ul.MenuBarHorizontal li.line2 br {
    display: none;
  }
  #Gmenu a.no-link {
    cursor: default;
  }
  .fixed {
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 10;
  }
  /* Footer */
  #ISfooter {
    width: auto;
    text-align: center;
  }
  #IScopyright span {
    display: block;
  }
  /* Content Page */
  #main-content {
    width: auto;
    margin: 5px 25px 40px;
    padding: 0px;
  }
  #main-content h1 {
    width: auto;
    background-position: right;
  }
  #main-content h2 {
    width: auto;
    height: auto;
    background-color: #9ca19a;
  }
  #main-content h3 {
    background-position: left bottom;
  }
  #main-content h4 {
    width: auto;
  }
  #main-content .section, div.section3 {
    width: auto;
    margin: 0 12px 0;
  }
  #main-content .section table, div.section3 table {
    width: 100%;
  }
  .scroll-table {
    overflow: auto;
  }
  .scroll-table::-webkit-scrollbar {
    height: 5px;
  }
  .scroll-table::-webkit-scrollbar-track {
    background: #F1F1F1;
  }
  .scroll-table::-webkit-scrollbar-thumb {
    background: #BCBCBC;
  }
  .scroll-table .time {
    min-width: 620px;
  }
  /* Front Page */
  #Index_box {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  #Index_box #left_content {
    width: 58%;
  }
  #Index_box #right_content {
    width: 38%;
  }
  #Index_box #left_content img, #Index_box #right_content img {
    max-width: 100%;
    height: auto;
  }
  #Index_box #right_content div.announcement {
    width: auto;
    -moz-background-size: contain;
    background-size: contain;
    background-color: #ffda4c;
  }
  #Index_box #right_content div.buttons {
    right: 0;
    width: 100%;
  }
  #Index_box #right_content div.buttons p {
    width: 100%;
  }
  #Index_box #left_content h2, #Index_box #left_content dl {
    width: auto;
  }
  #Index_box .narrow-btns {
    height: 24px;
    background-color: #3b5998;
    overflow: hidden;
    position: relative;
  }
  #Index_box .narrow-btns img {
    position: absolute;
    right: 0;
  }
  #Index_box #left_content div.menu_box {
    width: auto;
  }
  #Index_box #left_content div.menu_box ul li {
    width: 33%;
  }
  #Index_box #left_content div.menu_box2 {
    clear: both;
  }
  #Top_footer_info {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  #Top_footer_info span {
    display: block;
  }
  #Top_footer_info .cube {
    bottom: -34px;
  }
  /* Kigyou */
  #main-content div.article-main {
    float: none;
    width: auto;
  }
  #main-content div.article-category {
    width: 100%;
    margin-left: 0;
  }
  #main-content .contact-info {
    margin: 0 5px;
  }
  #main-content div.article-main {
    margin: 0 0 20px;
  }
  div.category-products, div.category-apps {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }
  div.category-products p, div.article-category p {
    width: auto;
    margin: 0 0 5px;
  }
  #main-content div.article-category ul.products, #main-content div.article-category ul.apps {
    float: none;
    width: auto;
    box-sizing: border-box;
    margin: 0;
  }
  #main-content div.article-left, #main-content div.article-right, #main-content div.article.point, #main-content div.article.box {
    float: none;
    width: auto;
    margin: 0 0 20px;
    padding: 10px;
  }
  #main-content div.article-left h4, #main-content div.article-right h4, #main-content div.article.point h4, #main-content div.article.box h4 {
    width: auto;
  }
  #main-content ul {
    margin: 0;
    padding: 0 0 10px 1.5em;
  }
  ol.keyword {
    width: auto;
    padding: 20px 0 10px 0px;
  }
  ol.keyword li {
    width: auto;
    padding: 0px 0 0px 2em;
  }
  div.head span {
    width: auto;
    padding: 0px;
    margin: 0px;
  }
  div.num {
    width: auto;
    padding: 0px;
    margin: 0px;
  }
}

@media (max-width: 950px) {
  #wrapper {
    background-color: rgba(255, 255, 255, 0.5);
  }
  /* Front Page */
  #home2017 #ISheader {
    background-image: none;
    background-color: transparent;
  }
  #content-header .key-visual {}
}

@media (max-width: 768px) {
  /* Front Page */
  #Index_box {}
  #Index_box img {
    max-width: 100%;
    height: auto;
  }
  #Index_box #left_content {
    width: auto;
    max-width: 550px;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  #Index_box #right_content {
    width: auto;
    max-width: 370px;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  #Index_box #right_content div.announcement {
    margin-top: 20px;
  }
  #Index_box h2 img {
    width: auto;
  }
  #Index_box .narrow-btns {
    height: auto;
  }
  #Index_box .narrow-btns img {
    position: static;
  }
  #Top_footer_info dl, #Top_footer_info dt, #Top_footer_info dd {
    text-align: center;
  }
  #Top_footer_info .cube {
    display: none;
  }
  /* Kigyou */
  #tabs ul.tab li {
    width: 24%;
  }
  #tabs ul.tab li a {
    width: 100%;
  }
  #kigyo-search {
    width: 100%;
  }
  .time {
    width: 100%;
  }
  #main-content .article {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  /* exhibition */
  td img {
    max-width: 100%;
    height: auto;
  }
  .section.history img {
    width: auto;
  }
  /* committee */
  .scroll {
    width: 100%;
    overflow: auto;
    white-space: nowrap;
  }
  .scroll table {
    width: 100%;
  }
  .scroll::-webkit-scrollbar {
    height: 5px;
  }
  .scroll::-webkit-scrollbar-track {
    background: #F1F1F1;
  }
  .scroll::-webkit-scrollbar-thumb {
    background: #BCBCBC;
  }
}

@media (max-width: 680px) {
  #ISheader {
    position: static;
    height: auto;
    padding-bottom: 20px;
    padding-top: 30px;
    /* background: #fff url(../img/bg-header.png) center top;*/
  }
  #ISheader #ISsiteId, #ISheader #Sponsor, #ISheader #Search {
    position: static;
    width: 340px;
    max-width: 100%;
    margin: 20px auto 0;
    text-align: center;
  }
  #ISheader #ISsiteId img {
    max-width: 100%;
    height: auto;
  }
  
  #banner-links {
    position: static;
    width: auto;
    text-align: center;
  }
  #banner-links div.apps-links {
    position: static;
    width: 274px;
    margin: 0 auto;
  }
  #banner-links div.apps-links img {
    max-width: 100%;
    width: auto;
  }
  .section.outline table th {
    display: block;
  }
  .section.outline table td {
    display: block;
    margin-bottom: 0.5em;
  }
  .section.outline table td br {
    display: none;
  }
  /* Front Page */
  #content-header {
    height: 200px;
  }
  #content-header .key-visual {
    position: absolute;
    top: 20px;
    left: 20px;
  }
  #content-header .key-visual2 {
    position: absolute;
    top: 20px;
    left: 0px;
  }
  #content-header .key-statement {
    width: 100%;
    position: absolute;
    top: 190px;
    right: 0;
    text-align: center;
  }
  #Index_box #left_content div.menu_box ul li {
    float: none;
    width: 100%;
    margin-bottom: 3px;
  }
  #Index_box #left_content .facebook {
    border-top: #000434 solid 1px;
    border-left: #000434 solid 1px;
    border-right: #000434 solid 1px;
  }
  #Index_box #left_content dl.news-list {
    border: #000434 solid 1px;
  }
  .section img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  /* Kigyou */
  #tabs ul.tab li {
    display: block;
    width: 100%;
    margin: 0;
  }
  #tabs ul.tab li a {
    width: 100%;
  }
  #tabs ul.tab li.active a {
    padding: 5px 0;
  }
  .time {
    display: block;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  #main-content .article {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
}

@media (max-width: 360px) {
  #main-content .section, div.section3 {
    margin: 0;
  }
  #banner-links div.apps-links {
    background-image: none;
    padding-left: 0;
  }
  /* Front Page */
  #Index_box #left_content div.menu_box ul li {
    float: none;
    width: 100%;
    margin-bottom: 2px;
    background-image: none;
    background-color: #001067;
  }
  #Index_box #left_content div.menu_box ul li a {
    display: block;
  }
  /* program */
  #main-content .article {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
}
