/* clearfix */
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

.sp_only,
.tab_only,
.tab_sp {
  display: none;
}

/*----------------------------------------------------
	 <= 1000px
----------------------------------------------------*/
@media (max-width: 1000px) {
  .container {
    padding-left: 2% !important;
    padding-right: 2% !important;
  }

  header {
    padding: 14px 0 20px;
  }
  header .logo {
    width: 60%;
  }
  header nav {
    display: none;
  }
  header .header_menu {
    display: block;
  }

  #index .top_content .menu .item a h3 {
    font-size: 18px;
  }
  #index .top_content .menu .item a .en {
    font-size: 10px;
  }
}
/*----------------------------------------------------
	phone - tablet <= 767px
----------------------------------------------------*/
@media (max-width: 767px) {
  .tab_only,
  .tab_sp {
    display: block;
  }

  .pc_only {
    display: none;
  }

  #subcatch .inner {
    padding: 60px 0;
  }
  #subcatch .inner h3 {
    font-size: 24px;
  }
  #subcatch .inner h3 small {
    font-size: 18px;
  }

  #catch {
    padding-top: 62.5%;
  }
  #catch video#bgvid {
    display: none;
  }
  #catch #sp_bg {
    display: block;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
  }
  #catch .inner {
    background: none;
  }
  #catch .inner h3 {
    font-size: 24px;
  }

  #main {
    background: url(../images/content_bg.png) no-repeat left top;
    background-size: 80%;
  }

  footer .container .flex .logoarea {
    width: 100%;
    text-align: center;
  }
  footer .container .flex nav {
    display: none;
  }

  #index .top_content h2 {
    font-size: 19px;
  }
  #index .top_content .menu {
    padding: 0 4%;
  }
  #index .top_content .menu .item {
    width: 100%;
  }
  #index .top_content .menu .item a h3 {
    font-size: 18px;
  }
  #index .top_content .menu .item a .en {
    font-size: 10px;
  }
  #index .top_content .menu .item.menu_rec a {
    padding-top: 100%;
  }
  #index .top_content .menu .item.menu_rec a .img {
    height: 100%;
  }
  #index .top_content .menu .item.menu_rec a .img img {
    height: 100%;
    max-width: none;
    width: auto !important;
  }
  #index .top_contact {
    padding: 140px 0;
  }
  #index .top_contact .container h4 {
    font-size: 20px;
  }

  #business #intro h2 {
    font-size: 22px;
  }
  #business #strong ul li {
    padding-left: 2.2em;
    text-indent: -4.5em;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  #business #strong ul li span {
    display: inline-block;
    text-indent: 2.2em;
  }

  #recruit #points h2 {
    font-size: 28px;
  }
  #recruit #points h3 {
    font-size: 20px;
  }
  #recruit #points .points li {
    width: 50%;
  }
  #recruit #points .points li:nth-child(3) {
    background: #d9e8ec;
  }
  #recruit #points .points li:nth-child(4) {
    background: #f1fafc;
  }
  #recruit #voice h2 {
    width: 60%;
  }
}
/*----------------------------------------------------
	phone <= 480px
----------------------------------------------------*/
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .sp_only {
    display: block;
  }

  .tab_only,
  .pc_tab {
    display: none;
  }

  .base_t {
    width: 100%;
  }
  .base_t tr th {
    padding: 10px 0.6em;
  }
  .base_t tr td {
    padding: 10px 1em;
  }

  .btn_blue a {
    min-width: 0;
    width: 80%;
    font-size: 20px;
  }

  #catch {
    padding-top: 75%;
  }
  #catch .inner h3 {
    font-size: 23px;
  }

  #main {
    padding: 40px 0 60px;
  }
  #main h2.sub_title01 {
    font-size: 22px;
  }

  #subcatch .inner {
    padding: 50px 0;
  }
  #subcatch .inner h3 {
    font-size: 22px;
  }
  #subcatch .inner h3 small {
    font-size: 15px;
  }

  #catch .inner h3 {
    font-size: 19px;
  }

  #index .top_content h2 {
    font-size: 16px;
    text-align: left;
    margin-bottom: 16px;
    border-left: 4px solid #1da2c3;
    padding-left: 0.6em;
    letter-spacing: -0.05em;
  }
  #index .top_content .desc {
    text-align: left;
    font-size: 12px;
    margin-bottom: 20px;
  }
  #index .top_content .menu {
    padding: 0 1%;
  }
  #index .top_content .menu .item {
    border-bottom: 10px solid #1da2c3;
  }
  #index .top_content .menu .item a .en {
    display: none;
  }
  #index .top_contact {
    padding: 110px 0;
  }
  #index .top_contact .container h4 {
    font-size: 19px;
  }

  #business #intro h2 {
    font-size: 17px;
  }
  #business #intro .desc {
    text-align: left;
  }
  #business #strong ul li {
    font-size: 14px;
  }
  #business #item_list ul li {
    width: 48%;
  }
  #business #item_list ul li h3 {
    font-size: 14px;
  }
  #business #item_list ul li .desc {
    font-size: 11px;
  }
  #business #jisseki ul li {
    width: 48%;
  }
  #business #jisseki ul li h4 {
    font-size: 14px;
  }
  #business #items .desc .txt {
    width: 100%;
    -webkit-order: 2;
    order: 2;
  }
  #business #items .desc .pic {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  #business #gallery .flex li {
    width: 50%;
  }
  #business #equipments .eq_list {
    padding: 0 4%;
  }
  #business #equipments .eq_list li {
    width: 100%;
    margin-bottom: 10px;
  }

  #company #rinen ul li {
    text-align: center;
  }
  #company #rinen ul li span {
    font-size: 34px;
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }
  #company #message .flex .pic {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  #company #message .flex .txt {
    width: 100%;
  }
  #company #message .greet {
    text-align: left;
  }
  #company #message .name {
    text-align: right;
  }
  #company #outline .outline_t .base_t tr th {
    width: 8em;
  }
  #company #history .box dl {
    font-size: 13px;
  }
  #company #history .box dl dt {
    float: none;
    width: 100%;
    padding-bottom: 0;
    font-weight: bold;
  }
  #company #history .box dl dd {
    padding-left: 0;
  }

  #recruit #points h2 {
    font-size: 20px;
  }
  #recruit #points h3 {
    font-size: 15px;
  }
  #recruit #points .points li .icon {
    padding: 0 30%;
  }
  #recruit #voice h2 {
    width: 100%;
    text-align: center;
  }
  #recruit #voice .container .item {
    margin-bottom: 20px;
  }
  #recruit #voice .container .item .img {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  #recruit #voice .container .item .txt {
    width: 100%;
    padding: 0 4%;
  }
  #recruit #gallery .flex li {
    width: 50%;
  }
  #recruit #about_job h2 {
    font-size: 22px;
  }
  #recruit #about_job .flex .txt {
    width: 100%;
    padding: 0 4%;
    order: 2;
  }
  #recruit #about_job .flex .img {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    order: 1;
  }
}
