﻿@media screen and (min-width: 481px) {
  #underlayer_main {
    width: 1000px;
    margin: 20px auto 50px auto;
    overflow: hidden;
    min-height: 800px;
  }
  /*-------------
sidemenu
-------------*/
  .side.clearfix {
    float: left;
    width: 200px;
    margin: 0 0 50px 0;
  }
  p.side_text1 {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin: 30px 0 0 0;
  }
  p.side_text2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 25px;
    margin: 5px 0 12px 0;
  }
  .side.clearfix a:hover {
    opacity: 0.8;
  }
  /*-------------
main_right
-------------*/
  .underlayermain_right.clearfix {
    float: right;
    width: 750px;
    margin: 0 0 0 0;
  }
  h3.underlayertitle_top {
    width: 100%;
    line-height: 25px;
    font-size: 18px;
    margin: 0 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #979797;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle {
    width: 100%;
    line-height: 25px;
    font-size: 18px;
    margin: 20px 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #979797;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle:before, h3.underlayertitle_top:before {
    content: "●";
    padding-right: 7px;
    padding-left: 7px;
  }
  /*-------------
company
-------------*/
  p.companytext.clearfix {
    line-height: 20px;
    float: left;
    width: 500px;
    margin: 0 0 25px 0;
  }
  img.companyimg1 {
    margin: 205px 0 0 25px;
  }
  img.companyimg2 {
    margin-top: 15px;
  }
  table.company {
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 40px 0;
    line-height: 20px;
  }
  table.company th {
    text-align: justify;
    padding: 11px 0 8px 10px;
    border-bottom: dotted 1px #979797;
    width: 120px;
    font-weight: 500;
  }
  table.company td {
    padding: 8px 0 8px 0;
    border-bottom: dotted 1px #979797;
  }
  /*-------------
business
-------------*/
  img.businessimg1 {
    margin: 25px 0 0 0;
  }
  p.businessimg2 {
    width: 538px;
    margin: 35px auto 5px auto;
  }
  p.businesstext {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    margin: 0 0 35px 0;
  }
  ul.businesslist.clearfix {
    margin: 20px 0 0 0;
  }
  ul.businesslist.clearfix li {
    float: left;
  }
  ul.businesslist.clearfix li:nth-child(odd) {
    margin-right: 30px;
  }
  ul.businesslist.clearfix li:nth-child(n+3) {
    margin-top: 15px;
  }
  p.businesstitle {
    background-color: #282828;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 30px;
    height: 30px;
    margin: 20px 0 15px 0;
  }
  ul.businesslist2.clearfix {
    margin: 15px 0 30px 0;
  }
  ul.businesslist2.clearfix li {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    list-style-type: disc;
    margin: 0 0 0 25px;
  }
  ul.businesslist3.clearfix {
    margin: 0 0 0 10px;
  }
  ul.businesslist3.clearfix li {
    line-height: 20px;
  }
  ul.businesslist3.clearfix li:nth-child(2), ul.businesslist3.clearfix li:nth-child(7) {
    margin: 0 0 15px 0;
  }
  img.business_movie {
    width: 360px;
    maegin: 0;
    padding: 0;
  }
  /*-------------
product
-------------*/
  ul.productlist.clearfix {
    margin: 20px 0 0 0;
  }
  ul.productlist.clearfix li {
    float: left;
    margin: 0 0 25px 0;
  }
  ul.productlist.clearfix li:nth-child(odd) {
    margin-right: 30px;
  }
  /*-------------
equipment
-------------*/
  img.equipmentimg {
    margin: 15px 0 0 0;
  }
  p.equipmenttext {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 0 15px;
  }
  /*-------------
movie
-------------*/
  #black_back {
    width: 100%;
    height: 288px;
    background-color: #000;
  }
  .movie_list {
    width: 750px;
    margin: 0;
    padding: 0;
  }
  .movie_list li {
    width: 360px;
    list-style: none;
    float: left;
    font-size: 15px;
    font-weight: bold;
  }
  .movie_list li:nth-child(odd) {
    width: 360px;
    margin: 0 30px 0 0;
    padding: 0;
  }
  /*-------------
contact
-------------*/
  p.contacttext {
    font-size: 15px;
    line-height: 25px;
    margin: 20px 0 0 15px;
  }
  span.fontred {
    color: #ff0000;
  }
  #toiawase .form {
    clear: both;
  }
  #toiawase .form table {
    border-collapse: collapse;
    width: 100%;
    margin: 5px 0 0 0;
  }
  #toiawase .form table th, #toiawase .form td {
    line-height: 25px;
    border-bottom: dotted 1px #979797;
  }
  #toiawase .form table th {
    width: 180px;
    padding: 5px 0 5px 20px;
    text-align: left;
    vertical-align: top;
  }
  #toiawase .form td {
    padding: 5px 0 5px 14px;
  }
  #toiawase .form td input#companyname, #toiawase .form td input#name, #toiawase .form td input#comname {
    width: 400px;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td input#mail, #toiawase .form td input#adress {
    width: 450px;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td input#tel, #toiawase .form td input#fax {
    width: 300px;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td textarea#comment {
    margin-top: 10px;
    width: 500px;
    height: 200px;
    font-size: 12px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form #formEnd {
    text-align: center;
    margin: 5px 0 60px 0;
  }
  #toiawase .form #formEnd button {
    margin: 10px 0 0;
    border: 0;
    background-color: #fff;
  }
  #toiawase .form #formEnd button:hover {
    opacity: 0.8;
  }
  ul.privacy {
    margin: 0 0 0 20px;
  }
  ul.privacy li {
    line-height: 20px;
    margin: 0 0 20px 0;
  }
}
/*---SP---*/
@media screen and (max-width: 480px) {
  .underlayermain_right.clearfix {
    width: 100%;
    margin: 0 0 0 0;
  }
  img.banner {
    max-width: 100%;
    margin: 0 0 0 0;
  }
  h3.underlayertitle_top {
    width: 100%;
    line-height: 25px;
    font-size: 16px;
    margin: 0 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #979797;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle {
    width: 100%;
    line-height: 25px;
    font-size: 16px;
    margin: 3% 0 3% 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #979797;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle:before, h3.underlayertitle_top:before {
    content: "●";
    padding-right: 7px;
    padding-left: 7px;
  }
  /*-------------
company
-------------*/
  img.companyimg1 {
    max-width: 54%;
    margin: 0 23% 0 23%;
  }
  img.companyimg2 {
    max-width: 90%;
  }
  p.companytext.clearfix {
    font-size: 13px;
    line-height: 20px;
    width: 100%;
    margin: 0 0 10% 0;
  }
  table.company {
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 40px 0;
    line-height: 20px;
  }
  table.company th {
    text-align: justify;
    padding: 11px 0 8px 10px;
    border-bottom: dotted 1px #979797;
    width: 120px;
    font-weight: 500;
  }
  table.company td {
    padding: 8px 0 8px 0;
    border-bottom: dotted 1px #979797;
  }
  .gray {
    width: 98%;
    margin: 0 0 0 0;
    padding: 0 0 0 2%;
    background-color: #BAB8B8;
  }
  .undergray {
    width: 98%;
    margin: 0 0 0 0;
    padding: 0 0 0 2%;
  }
  /*-------------
business
-------------*/
  img.businessimg1 {
    max-width: 100%;
  }
  p.businessimg2 {
    width: 100%;
  }
  p.businessimg2 img {
    max-width: 80%;
    margin: 0 10% 0 10%;
    text-align: center;
  }
  p.businesstext {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 30px;
    margin: 0 0 0 0;
  }
  ul.businesslist.clearfix {
    width: 100%;
  }
  ul.businesslist.clearfix img {
    max-width: 100%;
  }
  ul.businesslist.clearfix li {
    width: 48%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    float: left;
  }
  ul.businesslist.clearfix li:nth-child(2n) {
    width: 48%;
    margin: 0 0 0 4%;
    padding: 0 0 0 0;
  }
  p.businesstitle {
    background-color: #282828;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 30px;
    height: 30px;
    margin: 20px 0 15px 0;
  }
  ul.businesslist2.clearfix {
    margin: 15px 0 30px 0;
  }
  ul.businesslist2.clearfix li {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    list-style-type: disc;
    margin: 0 0 0 25px;
  }
  ul.businesslist3.clearfix {
    margin: 0 0 15% 0;
  }
  ul.businesslist3.clearfix li {
    line-height: 20px;
  }
  ul.businesslist3.clearfix li:nth-child(2), ul.businesslist3.clearfix li:nth-child(7) {
    margin: 0 0 15px 0;
  }
  /*-------------
product
-------------*/
  ul.productlist.clearfix {
    width: 100%;
    margin: 0 0 5% 0;
  }
  ul.productlist.clearfix img {
    max-width: 100%;
  }
  ul.productlist.clearfix li {
    width: 48%;
    margin: 0 0 0 0;
    float: left;
  }
  ul.productlist.clearfix li:nth-child(2n) {
    width: 48%;
    margin: 0 0 0 4%;
  }
  /*-------------
equipment
-------------*/
  img.equipmentimg {
    max-width: 100%;
  }
  p.equipmenttext {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 15% 0;
  }
  /*-------------
movie
-------------*/
  #black_back {
    width: 100%;
    height: auto;
    margin: 0 0 0 0;
    padding: 3% 0;
    background-color: #000;
  }
  .movie_list {
    width: 100%;
    margin: 0 0 0 0;
    padding: 0;
  }
  .movie_list img {
    max-width: 100%;
  }
  .movie_list li {
    width: 48%;
    list-style: none;
    float: left;
    font-size: 15px;
    font-weight: bold;
  }
  .movie_list li:nth-child(2n) {
    width: 48%;
    margin: 0 0 0 4%;
    list-style: none;
    font-size: 15px;
    font-weight: bold;
  }
  /*-------------
contact
-------------*/
  p.contacttext {
    font-size: 10px;
    margin: 0 0 0 0;
  }
  span.fontred {
    color: #ff0000;
  }
  #toiawase .form {
    clear: both;
  }
  #toiawase .form table {
    border-collapse: collapse;
    width: 100%;
    margin: 5px 0 0 0;
  }
  #toiawase .form table th, #toiawase .form td {
    line-height: 25px;
    border-bottom: dotted 1px #979797;
  }
  #toiawase .form table th {
    width: 30%;
    padding: 0 0 0 0;
    text-align: left;
    vertical-align: top;
  }
  #toiawase .form td {
    padding: 5px 0 5px 14px;
  }
  #toiawase .form td input#companyname, #toiawase .form td input#name, #toiawase .form td input#comname {
    width: 90%;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td input#mail, #toiawase .form td input#adress {
    width: 90%;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td input#tel, #toiawase .form td input#fax {
    width: 90%;
    height: 20px;
    font-size: 12px;
    padding: 0 0 0 5px;
    background-color: #e2e2e2;
    border: none;
  }
  #toiawase .form td textarea#comment {
    margin-top: 10px;
    width: 90%;
    height: 200px;
    font-size: 12px;
    background-color: #e2e2e2;
    border: none;
  }
  /*#toiawase .form #formEnd {
    text-align: center;
    margin: 0 0 0 0;
  }
  #toiawase .form #formEnd button {
    margin: 0 0 0 0;
    border: 0;
    background-color: #fff;
  }*/
  #toiawase .form #formEnd {
    text-align: center;
    margin: 20px 0 0 0;
  }
  #toiawase .form #formEnd button {
    width: 46%;
    margin: 0 0 0 0;
    border: 0;
    background-color: #fff;
  }
  ul.privacy {
    margin: 0 0 0 20px;
  }
  ul.privacy li {
    line-height: 20px;
    margin: 0 0 20px 0;
  }
  img.resetbutton {
    max-width: 100%;
  }
  img.submitbutton {
    max-width: 100%;
  }
}