/* responsive */
@media screen and (max-width:767px) {
  /*　画面サイズが767px以下の場合ここの記述が適用される　*/
  body {
    box-sizing: border-box !important;
  }
  div#page, body#index div#main, div#main {
    width: 100%;
    padding: 1rem;
  }
  /* バーガーメニュー対応 */
  div.hamburger-menu {
    display: block;
  }
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 45px;
    width: 45px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #999;
  }
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0); /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check {
    display: none;
  }
  div#menu ul {
    width: 100%;
    height: auto;
    position: fixed;
    display: block;
    top: -600px;
    left: 0;
    z-index: 80;
    background-color: rgb(230, 230, 230);
    transition: all 0.3s;
    padding: 70px 0px 70px;
  }
  #menu-btn-check:checked ~ ul {
    top: 0;
  }
  div#menu ul li {
    list-style: none;
    display: block !important;
    text-align: center;
  }
  div#menu ul li a {
    display: block;
    width: 100% !important;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }
  dl {
    font-size: 12pt !important;
    display: block;
  }
  dt {
    width: 100%;
    padding-bottom: 0 !important;
    border-bottom-width: 0 !important;
  }
  dd {
    width: 100%;
    padding-left: 1rem;
  }
  .mars img {
    width: 100%;
  }
  .servicefunction {
    display: block;
  }
  body#contact dl {
    display: block;
  }
  body#contact dl dt, body#contact dl dd {
    width: 100%;
  }
  body#contact dl dd ul {
    padding-left: 0;
  }
  body#webdesign img.pc {
      display: none;
  }
  body#webdesign img {
   width: 100%;
  }  
  body#webdesign img.sp {
      display: block;
  }
}