.sp, .sp425, .sp375, .sp320 {
  display: none;
}
@media screen and (max-width: 640px) {
  #wrapper {
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding-top: 69px;
  }
  #main, #footer {
    width: 100%;
    min-width: 100%;
  }
  .container {
    padding: 0 3%;
    width: 100%;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .image-r, .image-l {
    width: 100% !important;
    background: none !important;
    float: none;
    margin: 0 auto 20px;
  }
  /** end table scroll***/
  /* MENU-ICON */
  .menu-icon {
    width: 50px;
    height: 48px;
    text-align: center;
    position: absolute;
    text-transform: uppercase;
    line-height: 1em;
    right: 2%;
    top: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    padding: 7px 0 5px;
    z-index: 99999;
    background: #0972be;
  }
  .menu-icon span {
    display: block;
    margin: 0;
    width: 25px;
    height: 2px;
    background-color: #fff;
    -webkit-transition-duration: 0;
    -moz-transition-duration: 0;
    -ms-transition-duration: 0;
    -o-transition-duration: 0;
    transition-duration: 0;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
    top: 16px;
    left: 13px;
    position: relative;
  }
  .menu-icon span::after, .menu-icon span::before {
    display: block;
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #fff;
    -webkit-transition-property: margin, -webkit-transform;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -ms-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-delay: 0.2s, 0;
    -moz-transition-delay: 0.2s, 0;
    -ms-transition-delay: 0.2s, 0;
    -o-transition-delay: 0.2s, 0;
    transition-delay: 0.2s, 0;
  }
  .menu-icon span::before {
    margin-top: -9px;
  }
  .menu-icon span::after {
    margin-top: 9px;
  }
  .menu-icon.active span {
    background-color: transparent;
  }
  .menu-icon.active span::before, .menu-icon.active span::after {
    margin-top: 0px;
    -webkit-transition-delay: 0, 0.2s;
    -moz-transition-delay: 0, 0.2s;
    -ms-transition-delay: 0, 0.2s;
    -o-transition-delay: 0, 0.2s;
    transition-delay: 0, 0.2s;
  }
  .menu-icon.active span::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .menu-icon.active span::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #gnavi {
    position: fixed;
    width: 100%;
    height: calc(100% - 68px);
    top: 69px;
    left: 0;
    z-index: 999;
    background: #0064a6;
    display: none;
    overflow: auto;
  }
  #gnavi > li > a, #gnavi > li > span {
    font-size: 16px;
    display: block;
    padding: 15px 24px;
    border-bottom: #fff 1px solid;
    color: #fff;
    background: #0064a6;
    text-align: left;
  }
  #gnavi > li > a:hover, #gnavi > li > span:hover {
    text-decoration: none;
  }
  .submenu {
    position: relative;
    width: 100%;
    border: none;
  }
  .submenu li {
    width: 100%;
  }
  .submenu li a {
    padding: 10px 0 10px 48px;
    font-size: 14px;
    background: #ebf8fe;
  }
  .submenu a:before {
    left: 26px;
  }
  .submenu li a:hover {
    background: #ebf8fe;
  }
  .submenu li:last-child a {
    border-bottom: #fff 1px solid;
  }
  #gnavi > li > span:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    right: calc(3% + 7px);
    background: #fff;
    top: 18px;
    margin: auto;
    left: auto;
    transition: all 0.5s ease;
  }
  #gnavi > li > span:after {
    position: absolute;
    content: '';
    width: 16px;
    height: 2px;
    background: #fff;
    right: 3%;
    top: 25px;
  }
  #gnavi > li.over.active > span:before {
    transform: rotate(90deg);
  }
  .close-menu {
    background: #000;
    width: 250px;
    margin: 30px auto;
    text-align: center;
    color: #fff;
    padding: 12px;
    cursor: pointer;
  }
  #totop {
    width: 40px;
    right: 3%;
    bottom: 50px;
    line-height: 0;
  }
  .license {
    padding: 0 70px 0 0;
  }
  .license img {
    width: 80px;
  }
  /* header */
  #header {
    position: fixed;
    z-index: 100;
    width: 100%;
    left: 0;
    top: 0;
    background: #fff;
    border-bottom: #0b75b1 3px solid;
  }
  .h-news {
    display: none;
  }
  #header .h-top {
    padding: 10px 3%;
  }
  .h-logo {
    margin: 0;
  }
  .h-logo img {
    width: 100px;
  }
  /* index */
  #main {
    padding: 30px 3%;
  }
  .main-box {
    flex-wrap: wrap;
  }
  .main-bnr {
    margin-bottom: 30px;
  }
  #content > .section {
    flex-wrap: wrap;
  }
  .hot-news-box .image-l, .hot-news-box .image-r {
    margin-bottom: 10px;
  }
  .top-news02, .top-news04 {
    flex-wrap: wrap;
  }
  .top-news02 li, .top-news04 li {
    width: 100%;
  }
  .top-news02 .img, .top-news04 .img {
    margin: 0 auto 10px;
  }
  .content-nav {
    margin-left: 0;
    width: 100%;
  }
  .most-view {
    height: 300px;
  }
  #navi {
    margin-left: 0;
    margin: 0 auto;
  }
  /* footer */
  .f01 .container {
    flex-wrap: wrap;
  }
  .f01 .info {
    width: 100%;
    margin-bottom: 20px;
  }
  .f01 .adv {
    width: 100%;
    padding: 0;
    border: none;
    margin-bottom: 20px;
  }
  /* under */
  section, .section {
    margin: 0 0 30px;
  }
  .detail-top {
    flex-wrap: wrap;
  }
  .detail-top h3 {
    margin-bottom: 10px;
  }
  .follow {
    flex-wrap: wrap;
  }
  .follow li {
    font-size: 14px;
    margin-left: 10px;
  }
  .follow li:first-child {
    width: 100%;
  }
  .follow select {
    padding: 3px 10px;
  }
  .partner {
    width: 100%;
  }
  .main-video {
    margin-bottom: 30px;
  }
  .tbl-block th, .tbl-block td {
    display: block;
    width: 100%;
  }
  .tbl.contact input, .tbl.contact textarea {
    width: 100%;
  }
  /* idx-news-list */
  .news-list {
    justify-content: center;
  }
  .news-list li, .news-list li:nth-child(3n) {
    margin: 0 20px 25px;
  }
  .news-list li:last-child {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 425px) {
  .sp425 {
    display: block;
  }
}
@media screen and (max-width: 375px) {
  .sp375 {
    display: block;
  }
}
@media screen and (max-width: 320px) {
  .sp320 {
    display: block;
  }
}