@charset "utf-8";

/* SP SIZE */
@media (max-width: 720px) {
  body {
    min-width: 360px;
    font-size: 15px;
  }

  textarea {
    height: 180px;
  }

  table.sp-vertical th,
  table.sp-vertical td {
    display: block;
    width: auto;
  }

  #wrapper {
    margin-top: 0;
  }

  #header-content {
    padding: 0;
  }

  #header h1 {
    display: none;
  }

  #header {
    position: static;
  }

  #header h1 {
    float: none;
    margin-top: 6px;
    margin-right: 0;
    text-align: center;
  }

  #header h1 a {
    display: inline;
    margin: 0 auto;
    min-width: 0;
  }

  #header nav {
    position: fixed;
    padding-top: 80px;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    bottom: auto;
    z-index: 100;
    background: rgba(24, 24, 24, 0.9);
    transition: 0.2s;
  }

  #header nav.open {
    left: 0%;
  }

  #header nav ul {
    float: none;
    width: auto;
  }

  #header nav ul li {
    float: none;
    width: auto;
  }

  #header nav ul li:nth-child(4) {
    margin-left: 0;
  }

  #header nav ul li a {
    padding: 0 20px;
    text-align: center;
    color: #fff;
    line-height: 42px;
  }

  #header ul.social {
    display: none;
  }

  #header #sp-menu-open {
    display: block;
    position: fixed;
    top: 16px;
    left: 16px;
    width: 48px;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    color: #fff;
    background: #111;
    z-index: 200;
    border-radius: 24px;
    transition: 0.2s;
  }

  #header #sp-menu-open .fa-angle-double-left {
    display: none;
  }

  #header #sp-menu-open.active {
    color: #111;
    background: #fff;
  }

  #header #sp-menu-open.active .fa-angle-double-left {
    display: inline;
  }

  #header #sp-menu-open.active .fa-bars {
    display: none;
  }  

  #main section .section-inner {
    padding: 20px 10px 20px 10px;
  }

  #main h2 {
    margin-bottom: 22px;
    font-size: 34px;
  }

  #main h2 span {
    font-size: 18px;
  }

  #main h3 {
    font-size: 20px;
  }

  #main h3.center {
    text-align: left;
  }

  #main h3 br {
    display: none;
  }

  #main h4 {
    font-size: 16px;
  }

  #main p.center {
    text-align: left;
  }

  #main p.center br {
    display: none;
  }

  #footer nav ul li {
    display: block;
  }

  /* common */

  .col-2 li {
    float: none;
    width: auto;
    margin: 0 0 20px 0;
  }

  .col-3 li {
    float: none;
    width: auto;
    margin: 0 0 20px 0;
  }

  table.sp-break th,
  table.sp-break td {
    display: block;
    width: 100% !important;
  }


  /* #main_movie */

  /* #main-image */

  #main-image {
    min-height: 0;
    height: 100% !important;
    /*background: #000 url(../images/top/main_image_bg.jpg) 50% 50% no-repeat;*/
    /*background-size: cover;*/
  }

  #main-image-pic {
    height: 100% !important;
  }

  #main-image-content {
    position: static;
    top: 0;
    padding: 30px 20px;
    font-size: 16px;
    -webkit-transform: translateY(0%); /* Safari用 */
    transform: translateY(0%);
  }

  #main-image-content h2 {
    margin-bottom: 16px;
    padding: 12px 0;
    font-size: 22px;
  }

  /* section#menu */

  section#menu h3 {
    padding: 0;
  }

  section#menu ul.col-3 h3 {
    text-align: left;
  }

  section#menu table.menu-top-table td {
    padding: 0 0 10px 0;
  }

  section#menu table.menu-top-table td.price {
    padding-top: 0;
  }

  section#menu table.menu-list-table tr {
    margin-right: -10px;
    margin-left: -10px;
    display: block;
    overflow: hidden;
  }

  section#menu table.menu-list-table h6 {
    font-size: 16px;
  }

  section#menu table.menu-list-table tr:nth-child(2n) {
    background: rgba(0,0,0,0.025);
  }

  section#menu table.menu-list-table th,
  section#menu table.menu-list-table td {
    padding: 10px 5px;
    display: block;
    width: auto;
    overflow: hidden;
  }

  section#menu table.menu-list-table th:empty,
  section#menu table.menu-list-table td:empty {
    display: none;
  }

  section#menu table.menu-list-table tr:nth-child(2n) th,
  section#menu table.menu-list-table tr:nth-child(2n) td {
    background: none;
  }

  section#menu table.menu-list-table td.image {
    float: left;
    margin-left: -5px;
    padding-right: 0;
    width: calc(50% + 5px);
  }

  section#menu table.menu-list-table td.image img {
    width: 100%;
  }

  section#access #access-map {
    margin: 0 -10px 20px -10px;
    height: 320px;
  }

  section#access #access-map iframe {
    height: 320px;
  }

  section#news dl dt {
    position: static;
    font-size: 12px;
  }

  section#news dl dd {
    margin: 0 0 1em 0;
  }

  section#news .more a {
    font-size: 15px;
  }

  section#contact th {
    padding-top: 10px;
    width: 33%;
  }

  section#contact th {
    display:block;
    margin: 0 auto;
    padding: 5px;
    width: auto;
    border: none;
  }

  section#contact td {
    display:block;
    padding:5px;
    width: auto;
    border: none;
  }

  .sub-image {
    min-height: 120px;
  }

  .sub-image h2 .en {
    padding: 0 10px 10px 10px;
    font-size: 20px;
  }

  .recruit-table th {
    display: block;
    padding: 0 0 10px 0;
    width: auto;
    border-right: none;
    border-bottom: solid 1px #CECECB;
  }

  .recruit-table th br {
    display: none;
  }

  .recruit-table td {
    display: block;
    padding: 10px 0 0 0;
  }

  /* swiper */

  .swiper-container {
    margin-right: -10px;
    margin-left: -10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    padding: 0;
    margin-top: -24px;
    width: 48px;
    height: 48px;
    font-size: 48px;
    line-height: 48px;
    color: rgba(255, 255, 255, 0.6);
    background: none;
  }

  .table-fill th {
    padding: 6px;
  }

  .table-fill td {
    padding: 6px;
  }

  table.sp-break th,
  table.sp-break td {
    display: block;
    width: 100% !important;
  }
}