@media (min-width: 768px) {
  .media_sp {
    display: none;
  }

  #team_sp {
    display: none;
  }

  .foot_menu {
    display: none;
  }

  #today_photo {
    width: 100%;
    height: 270px;
    overflow: hidden;
  }

  .blog_rss {
    margin-top: 15px;
    height: 635px;
    background: url(../img/hexellence.png);
  }

  .blogli {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px !important;
  }
}

@media (max-width: 767px) {
  #wrapper {
    background-color: #f5f5f5;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  h2 {
    margin: 0;
    padding: 0;
  }

  .media_pc {
    display: none;
  }

  #team {
    display: none;
  }

  .slider-section {
    z-index: 100 !important;
    position: relative;
  }

  .home_logo {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0 auto;
    z-index: 10;
  }

  .home_gif {
    width: 100%;
    height: auto;
    background: url(../img/sp/sample_sp.gif);
    background-size: 99%;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .tel {
    width: 100%;
    height: auto;
    margin: 0.3em 0;
  }

  div .fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 100;
    opacity: 0.8;
  }

  .section {
    padding: 0.3em 0;
    position: relative;
    display: block;
    z-index: 10;
    overflow: hidden;
    margin: 0;
  }

  .menu_box {
    width: 50%;
    height: auto;
    float: left;
    background-color: none;
  }

  .blocks {
    float: left;
    width: 45%;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
  }

  .block_bottom {
    float: left;
    width: 96%;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
  }

  .gif {
    max-width: 100%;
    height: auto;
    float: left;
  }

  .movie_box {
    width: 50%;
    height: auto;
    float: left;
  }

  .info_box {
    max-width: 100%;
    height: auto;
    margin: 0.3em 0;
  }

  .container {
    width: 100%;
    height: auto;
  }

  .girls_box {
    width: 45%;
    height: auto;
    margin: 0.3em;
    float: left;
  }

  .girls_photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
  }

  .teamdesc {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    background: #000;
  }

  .teamdesc h4 {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
      "Meiryo", "ＭＳ Ｐゴシック", Osaka, sans-serif;
    letter-spacing: 0;
  }

  .teamdesc p {
    letter-spacing: 2px;
    margin-top: 0;
  }

  .newface_box {
    width: 45%;
    height: auto;
    margin-right: 0.3em;
    float: left;
  }

  .heven {
    width: 50%;
    height: auto;
    float: left;
  }

  .entry {
    height: auto !important;
    overflow: hidden !important;
  }

  .newface_box .box:nth-child(n + 2) h2 {
    display: none;
  }

  .news {
    width: 100% !important;
    height: 320px !important;
    margin: 10px 0 !important;
    padding: 0 !important;
  }

  .clearfix {
    width: 100%;
    height: 320px !important;
    margin: 0 auto !important;
    overflow-y: scroll;
  }

  .t_title {
    text-align: center;
    font-weight: bold;
  }

  .day_d {
    text-align: center;
    font-weight: bold;
  }

  #topics_sp {
    width: 90% !important;
    margin: 0 auto !important;
  }

  #topics_sp::-webkit-scrollbar {
    width: 15px;
  }

  #topics_sp::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 10px;
  }

  #topics_sp::-webkit-scrollbar-track-piece:start {
    background: #dcdcdc;
  }

  #topics_sp::-webkit-scrollbar-track-piece:end {
    background: #fff;
  }

  .bottom_menu {
    width: 45%;
    height: auto;
    margin: 0.3em;
    float: left;
  }

  .bottom_bn {
    width: 100%;
    height: auto;
    margin: 0.3em 0;
  }

  .backtotop {
    display: none !important;
  }

  .footer {
    padding: 0 !important;
  }

  .footer .social {
    font-size: 30px;
  }

  .newsletter_sp {
    width: 55%;
    height: auto;
    float: left;
    margin-right: 0.5em;
    padding: 0;
    background-color: #3e3d3d;
  }

  .custom-title h2 {
    font-size: 20px;
  }

  .line_block {
    width: 40%;
    height: auto;
    float: left;
  }

  .form_box {
    width: 80% !important;
    margin: 0 auto;
  }

  .foot_menu {
    width: 100%;
  }

  .foot_menu ul li {
    list-style: none;
  }

  .foot_nav {
    margin: 0;
    padding: 0;
  }

  .foot_nav li {
    width: 25%;
    float: left;
    text-align: center;
    border-top: 1px solid #505050;
  }
  .foot_nav .sita {
    border-bottom: 1px solid #505050;
  }

  .foot_nav li a {
    color: #fff;
  }
  #foot_conts .foot_fixed {
    position: fixed;
    right: 12px;
    bottom: 5px;
    z-index: 100000000;
    opacity: 0.8;
    transition: all 1s;
    text-align: right;
  }
  .foot_menu img {
    width: 65px;
    height: 65px;
  }

  #foot_conts .nofixed {
    position: fixed;
    right: 12px;
    bottom: -200px;
    z-index: 100000000;
    transition: all 0.4s;
  }
}

@media (max-width: 280px) {
  .blocks {
    float: left;
    width: 47%;
  }

  .bottom_menu {
    width: 45%;
    height: auto;
    margin: 0.3em;
    float: left;
  }
}
