﻿/* PC */
@media screen and (min-width: 769px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  /*-------------
undermain
-------------*/
  .underlayer_main {
    width: 1000px;
    margin: 10px auto 0 auto;
    overflow: hidden;
    padding: 0 0 60px 0;
  }
  .underlayer_right {
    width: 750px;
    margin: 0 0 30px 0;
    float: right;
    overflow: hidden;
  }
  h2.banner {
    width: 100%;
    font-family: 'Noto Serif JP', serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 75px;
    border-bottom: solid 5px #e0e0e0;
    margin: 0 0 15px 0;
    clear: both;
  }
  h2.banner span {
    font-family: auto;
    font-size: 18px;
    line-height: 38px;
    margin: 0 0 0 10px;
  }
  img.banner_icon {
    margin: 0 15px 0 0;
  }
  h3.underlayertitle_top {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 0 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 20px 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle:before, h3.underlayertitle_top:before {
    content: "●";
    padding-right: 7px;
    padding-left: 7px;
  }
  /*-------------
side
-------------*/
  .side {
    width: 200px;
    margin: 0 0 0 0;
    float: left;
    overflow: hidden;
  }
  .side h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 29px;
    line-height: 29px;
    font-weight: 500;
    letter-spacing: -1px;
  }
  .side h2 span {
    display: block;
    font-size: 12px;
    font-family: auto;
    text-align: center;
    letter-spacing: 0;
  }
  .side_newsbox {
    width: 100%;
    height: 135px;
    margin: 0 auto 0 auto;
    overflow-y: scroll;
    background-color: #f6f6f6;
  }
  ul.side_newslist {
    margin: 10px;
    font-size: 13px;
  }
  ul.side_newslist li {
    border-bottom: solid 1px #d8d8d8;
    line-height: 20px;
    padding: 7px 0 2px 0;
  }
  ul.side_newslist img {
    margin: 0 0 -2px 0;
    width: 35px;
  }
  span.date {
    display: inline-block;
    width: 90px;
  }
  span.news {
    display: inline-block;
    padding: 0 0 0 0;
    width: 100%;
  }
  span.news a {
    text-decoration: underline;
  }
  .side p {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    line-height: 31px;
    letter-spacing: -1px;
    margin: 20px 0 0 0;
  }
  /*-------------
company
-------------*/
  table.company {
    float: left;
    border-collapse: collapse;
    width: 550px;
    margin: 0 0 40px 0;
    line-height: 20px;
  }
  table.company th {
    text-align: justify;
    padding: 11px 0 8px 10px;
    border-bottom: dotted 1px #999;
    width: 120px;
    font-weight: 500;
    vertical-align: top;
  }
  table.company td {
    padding: 8px 0 8px 0;
    width: 390px;
    border-bottom: dotted 1px #999;
  }
  img.company_img1 {
    float: right;
  }
  img.company_img2 {
    float: right;
  }
  /*-------------
products
-------------*/
  h3.products_title {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    padding: 0 0 0 10px;
    margin: 0 0 15px 0;
    line-height: 35px;
    height: 35px;
  }
  .products_box {
    width: 100%;
    margin: 0 0 40px 0;
    overflow: hidden;
  }
  ul.products_list1.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list1.clearfix li:nth-child(odd) {
    font-size: 15px;
    line-height: 25px;
    border-bottom: solid 1px #999;
    margin: 0 0 8px 0;
  }
  ul.products_list1.clearfix li:nth-child(even) {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 20px 0;
  }
  .products_box h3 {
    width: 210px;
    font-size: 14px;
    line-height: 30px;
    height: 30px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    margin: 30px 0 10px 0;
    text-align: center;
  }
  ul.products_list2.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(1), ul.products_list2.clearfix li:nth-child(2) {
    font-size: 15px;
    line-height: 35px;
    margin: 0 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(n+3) {
    font-size: 13px;
    line-height: 23px;
    margin: 0 0 7px 0;
  }
  .products_box h4 {
    font-size: 15px;
    line-height: 35px;
    margin: 25px 0 0 0;
    font-weight: 500;
  }
  .products_box table {
    border-collapse: collapse;
    width: 570px;
    margin: 0 0 20px 0;
    font-size: 13px;
    line-height: 20px;
  }
  .products_box table th {
    text-align: justify;
    padding: 5px 0 5px 10px;
    border: solid 1px #c3c3c3;
    color: #fff;
    background-color: #676767;
    width: 150px;
    font-weight: 500;
    vertical-align: top;
  }
  .products_box table td {
    padding: 5px 0 5px 15px;
    border: solid 1px #c3c3c3;
  }
  .products_box table caption {
    width: 125%;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
    caption-side: bottom;
    margin: 8px 0 0 0;
  }
  ul.products_list3.clearfix {
    width: 100%;
    margin: 20px 0 0 0;
  }
  ul.products_list3.clearfix li {
    float: left;
    margin: 0 0 0 15px;
    background: #000;
  }
  ul.products_list3.clearfix li:nth-child(1) {
    margin: 0 0 0 0;
  }
  ul.products_list3.clearfix li img {
    display: block;
    opacity: 1;
    transition: .3s;
  }
  ul.products_list3.clearfix li:hover img {
    opacity: 0.8;
  }
  .products_box p {
    font-size: 13px;
    line-height: 24px;
  }
  /*-------------
contact
-------------*/
  img.banner_icon2 {
    margin: 19px 15px 0 0;
  }
  p.contact_text span {
    color: #ff0000;
  }
  #contact .form {
    clear: both;
  }
  #contact .form table {
    border-collapse: collapse;
    width: 100%;
    margin: 30px auto 0 auto;
    font-size: 12px;
  }
  #contact .form table th, #contact .form td {
    line-height: 25px;
    border-bottom: dotted 1px #c5c5c5;
  }
  #contact .form table th {
    width: 25%;
    padding: 8px 0 8px 10px;
    text-align: left;
    vertical-align: top;
  }
  #contact .form td {
    padding: 8px 0 8px 10px;
    text-align: left;
  }
  #contact .form td input#companyname, #contact .form td input#name, #contact .form td input#comname {
    width: 60%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#mail, #contact .form td input#address {
    width: 80%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#tel, #contact .form td input#fax, #contact .form td input#addresscode {
    width: 60%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  select {
    vertical-align: middle;
    margin: 5px;
    border: none;
    padding: 5px;
    font-size: 11px;
    background-color: #e3e3e3;
  }
  #contact .form td textarea#comment {
    margin-top: 10px;
    width: 90%;
    height: 200px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form #formEnd {
    text-align: center;
    margin: 5px 0 30px 0;
  }
  #contact .form #formEnd button {
    margin: 10px 5px 0;
    padding: 0 0 0 5px;
    border: 0;
    background-color: #fff;
  }
  #contact .form #formEnd:hover {
    opacity: 0.8;
  }
}
/* Tablet */
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  /*-------------
undermain
-------------*/
  .underlayer_main {
    width: 100%;
    margin: 55px auto 50px auto;
    overflow: hidden;
    padding: 0 0 0 0;
  }
  .underlayer_right {
    width: 95%;
    margin: 0 auto 0 auto;
    float: none;
    overflow: hidden;
  }
  h2.banner {
    width: 100%;
    font-family: 'Noto Serif JP', serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 50px;
    border-bottom: solid 5px #e0e0e0;
    margin: 0 0 15px 0;
    clear: both;
  }
  h2.banner span {
    font-family: auto;
    font-size: 16px;
    line-height: 30px;
    margin: 0 0 0 10px;
  }
  img.banner_icon {
    margin: 0 10px 0 0;
    width: 50px;
  }
  h3.underlayertitle_top {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 0 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 0 0 0 0;
  }
  h3.underlayertitle {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 20px 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle:before, h3.underlayertitle_top:before {
    content: "●";
    padding-right: 7px;
    padding-left: 7px;
  }
  /*-------------
company
-------------*/
  .company {
    width: 100%;
    max-width: 550px;
    margin: 5px auto 20px auto;
    text-align: left;
    line-height: 17px;
  }
  .company dt {
    background-color: #eee;
    padding: 5px 5px 5px 10px;
    font-weight: 500;
  }
  .company dd {
    padding: 5px 5px 5px 10px;
  }
  img.company_img1 {
    float: none;
    width: 160px;
  }
  img.company_img2 {
    float: none;
    width: 200px;
  }
  /*-------------
products
-------------*/
  h3.products_title {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    padding: 0 0 0 10px;
    margin: 0 0 15px 0;
    line-height: 35px;
    height: 35px;
  }
  .products_box {
    width: 100%;
    margin: 0 0 30px 0;
    overflow: hidden;
  }
  ul.products_list1.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list1.clearfix li:nth-child(odd) {
    font-size: 15px;
    line-height: 25px;
    border-bottom: solid 1px #999;
    margin: 0 0 8px 0;
  }
  ul.products_list1.clearfix li:nth-child(even) {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 20px 0;
  }
  .products_box h3 {
    width: 210px;
    font-size: 14px;
    line-height: 30px;
    height: 30px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    margin: 30px 0 10px 0;
    text-align: center;
  }
  ul.products_list2.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(1), ul.products_list2.clearfix li:nth-child(2) {
    font-size: 15px;
    line-height: 35px;
    margin: 0 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(n+3) {
    font-size: 13px;
    line-height: 23px;
    margin: 0 0 7px 30px;
    text-indent: -2em;
  }
  .products_box h4 {
    font-size: 15px;
    line-height: 35px;
    margin: 25px 0 0 0;
    font-weight: 500;
  }
  .products_box table {
    border-collapse: collapse;
    width: 100%;
    max-width: 570px;
    margin: 0 0 20px 0;
    font-size: 13px;
    line-height: 20px;
  }
  .products_box table th {
    text-align: justify;
    padding: 5px;
    border: solid 1px #c3c3c3;
    color: #fff;
    background-color: #676767;
    width: 120px;
    font-weight: 500;
    vertical-align: top;
  }
  .products_box table td {
    padding: 5px;
    border: solid 1px #c3c3c3;
  }
  .products_box table caption {
    width: 100%;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
    caption-side: bottom;
    margin: 8px 0 0 0;
  }
  img.product_img1, img.product_img2, img.product_img3, img.product_img4 {
    max-width: 459px;
  }
  ul.products_list3.clearfix {
    width: 100%;
    margin: 20px auto 0 auto;
  }
  ul.products_list3.clearfix li {
    float: left;
    width: 240px;
    margin: 0 10px 15px 0;
  }
  .products_box p {
    font-size: 13px;
    line-height: 24px;
  }
  /*-------------
contact
-------------*/
  img.banner_icon2 {
    margin: 0 15px -5px 0;
    width: 40px;
  }
  p.contact_text span {
    color: #ff0000;
  }
  #contact .form {
    clear: both;
  }
  #contact .form table {
    border-collapse: collapse;
    width: 100%;
    margin: 30px auto 0 auto;
    font-size: 12px;
  }
  #contact .form table th, #contact .form td {
    line-height: 25px;
    border-bottom: dotted 1px #c5c5c5;
  }
  #contact .form table th {
    width: 25%;
    padding: 5px;
    text-align: left;
    vertical-align: top;
  }
  #contact .form td {
    padding: 5px;
    text-align: left;
  }
  #contact .form td input#companyname, #contact .form td input#name, #contact .form td input#comname {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#mail, #contact .form td input#address {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#tel, #contact .form td input#fax, #contact .form td input#addresscode {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  select {
    vertical-align: middle;
    margin: 5px;
    border: none;
    padding: 5px;
    font-size: 11px;
    background-color: #e3e3e3;
  }
  #contact .form td textarea#comment {
    margin-top: 10px;
    width: 100%;
    height: 200px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form #formEnd {
    text-align: center;
    margin: 5px 0 30px 0;
  }
  #contact .form #formEnd button {
    margin: 10px 5px 0;
    padding: 0 0 0 5px;
    border: 0;
    background-color: #fff;
  }
}
/* SP */
@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  /*-------------
undermain
-------------*/
  .underlayer_main {
    width: 100%;
    margin: 55px auto 50px auto;
    overflow: hidden;
    padding: 0 0 0 0;
  }
  .underlayer_right {
    width: 95%;
    margin: 0 auto 0 auto;
    float: none;
    overflow: hidden;
  }
  h2.banner {
    width: 100%;
    font-family: 'Noto Serif JP', serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 50px;
    border-bottom: solid 5px #e0e0e0;
    margin: 0 0 15px 0;
    clear: both;
  }
  h2.banner span {
    font-family: auto;
    font-size: 16px;
    line-height: 30px;
    margin: 0 0 0 10px;
  }
  img.banner_icon {
    margin: 0 10px 0 0;
    width: 50px;
  }
  h3.underlayertitle_top {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 0 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 0 0 0 0;
  }
  h3.underlayertitle {
    width: 100%;
    line-height: 30px;
    font-size: 15px;
    margin: 20px 0 15px 0;
    clear: both;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: solid 1px #999;
    padding: 20px 0 0 0;
  }
  h3.underlayertitle:before, h3.underlayertitle_top:before {
    content: "●";
    padding-right: 7px;
    padding-left: 7px;
  }
  /*-------------
company
-------------*/
  .company {
    width: 100%;
    margin: 5px auto 20px auto;
    text-align: left;
    line-height: 17px;
  }
  .company dt {
    background-color: #eee;
    padding: 5px 5px 5px 10px;
    font-weight: 500;
  }
  .company dd {
    padding: 5px 5px 5px 10px;
  }
  img.company_img1 {
    float: none;
    width: 160px;
  }
  img.company_img2 {
    float: none;
    width: 200px;
  }
  /*-------------
products
-------------*/
  h3.products_title {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    padding: 0 0 0 10px;
    margin: 0 0 15px 0;
    line-height: 35px;
    height: 35px;
  }
  .products_box {
    width: 100%;
    margin: 0 0 30px 0;
    overflow: hidden;
  }
  ul.products_list1.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list1.clearfix li:nth-child(odd) {
    font-size: 15px;
    line-height: 25px;
    border-bottom: solid 1px #999;
    margin: 0 0 8px 0;
  }
  ul.products_list1.clearfix li:nth-child(even) {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 20px 0;
  }
  .products_box h3 {
    width: 210px;
    font-size: 14px;
    line-height: 30px;
    height: 30px;
    font-weight: 500;
    color: #fff;
    background-color: #676767;
    margin: 30px 0 10px 0;
    text-align: center;
  }
  ul.products_list2.clearfix {
    width: 100%;
    margin: 10px 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(1), ul.products_list2.clearfix li:nth-child(2) {
    font-size: 15px;
    line-height: 35px;
    margin: 0 0 0 0;
  }
  ul.products_list2.clearfix li:nth-child(n+3) {
    font-size: 13px;
    line-height: 23px;
    margin: 0 0 7px 30px;
    text-indent: -2em;
  }
  .products_box h4 {
    font-size: 15px;
    line-height: 35px;
    margin: 25px 0 0 0;
    font-weight: 500;
  }
  .products_box table {
    border-collapse: collapse;
    width: 100%;
    max-width: 570px;
    margin: 0 0 20px 0;
    font-size: 13px;
    line-height: 20px;
  }
  .products_box table th {
    text-align: justify;
    padding: 5px;
    border: solid 1px #c3c3c3;
    color: #fff;
    background-color: #676767;
    width: 80px;
    font-weight: 500;
    vertical-align: top;
  }
  .products_box table td {
    padding: 5px;
    border: solid 1px #c3c3c3;
  }
  .products_box table caption {
    width: 100%;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
    caption-side: bottom;
    margin: 8px 0 0 0;
  }
  img.product_img1 {
    max-width: 459px;
  }
  ul.products_list3.clearfix {
    width: 240px;
    margin: 20px auto 0 auto;
  }
  ul.products_list3.clearfix li {
    float: none;
    margin: 0 0 15px 0;
  }
  .products_box p {
    font-size: 13px;
    line-height: 24px;
  }
  /*-------------
contact
-------------*/
  img.banner_icon2 {
    margin: 0 15px -5px 0;
    width: 40px;
  }
  p.contact_text span {
    color: #ff0000;
  }
  #contact .form {
    clear: both;
  }
  #contact .form table {
    border-collapse: collapse;
    width: 100%;
    margin: 30px auto 0 auto;
    font-size: 12px;
  }
  #contact .form table th, #contact .form td {
    line-height: 25px;
    border-bottom: dotted 1px #c5c5c5;
  }
  #contact .form table th {
    width: 25%;
    padding: 5px;
    text-align: left;
    vertical-align: top;
  }
  #contact .form td {
    padding: 5px;
    text-align: left;
  }
  #contact .form td input#companyname, #contact .form td input#name, #contact .form td input#comname {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#mail, #contact .form td input#address {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form td input#tel, #contact .form td input#fax, #contact .form td input#addresscode {
    width: 100%;
    height: 23px;
    padding: 0 0 0 5px;
    background-color: #e3e3e3;
    border: none;
  }
  select {
    vertical-align: middle;
    margin: 5px;
    border: none;
    padding: 5px;
    font-size: 11px;
    background-color: #e3e3e3;
  }
  #contact .form td textarea#comment {
    margin-top: 10px;
    width: 100%;
    height: 200px;
    background-color: #e3e3e3;
    border: none;
  }
  #contact .form #formEnd {
    text-align: center;
    margin: 5px 0 30px 0;
  }
  #contact .form #formEnd button {
    margin: 10px 5px 0;
    padding: 0 0 0 5px;
    border: 0;
    background-color: #fff;
  }
}