﻿@media screen and (min-width: 481px) {
  /*-------------
base
-------------*/
  body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
  }
  img {
    border: 0;
    vertical-align: top;
  }
  body {
    background-color: #fff;
  }
  a {
    color: #4c4c4c;
    outline: none;
    text-decoration: none;
    font-size: 12px;
  }
  a:hover {
    text-decoration: none;
  }
  ul, ol {
    list-style: none;
  }
  .fLeft {
    float: left;
  }
  .clearfix:after {
    content: "";
    clear: both;
    display: block;
  }
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  header {
    width: 100%;
    height: auto;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    background-color: #404040;
  }
  img.header_logo {
    display: none;
  }
  /*-------------
firefox fade対策
-------------*/
  img {
    box-shadow: #000 0 0 0;
  }
  img, x:-moz-any-link, x:default {
    box-shadow: #000 0 0 0;
  }
  /*-------------
fontstyle
-------------*/
  body {
    font-family: "メイリオ", -webkit-body, sans-serif, "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo;
    font-size: 12px;
    line-height: 2.2;
    color: #282828;
    letter-spacing: 0;
    font-weight: 500;
    -webkit-text-size-adjust: 100%;
  }
  /*-------------
container
-------------*/
  #container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .topmain {
    background-color: #000;
    height: 447px;
    position: relative;
    z-index: 1;
  }
  .topmain_inner {
    width: 1000px;
    margin: 0 auto;
  }
  /*-------------
memu
-------------*/
  /*nav*/
  div#menu {
    background-color: #404040;
    height: 80px;
    position: relative;
    overflow: hidden;
    z-index: 100;
  }
  div#menu_inner {
    width: 1000px;
    margin: 0 auto;
    padding: 12px 0 0 0;
  }
  div#menu h1 {
    float: left;
  }
  div#menu-nav {
    float: right;
    width: 642px;
    margin: 10px 0 0 0;
  }
  #menu-nav li {
    float: left;
    padding: 5px 0 0 0;
    letter-spacing: 1px;
    line-height: 30px;
  }
  #menu-nav ul a {
    display: block;
    padding: 0 22px;
    height: 30px;
    text-align: center;
    font-size: 15px;
    color: #fff;
  }
  #menu-nav li a:hover {
    border-bottom: solid 5px #fff;
  }
  li#menu_last {
    margin: -10px 0 0 15px;
  }
  li#menu_last a {
    height: 40px;
    padding: 0;
  }
  li#menu_last a:hover {
    border: none;
  }
  /*-------------
main
-------------*/
  #main {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }
  .kw-stocker {
    width: 1000px;
    margin: 0 auto;
  }
  @media screen and (max-width: 999px) {
    .kw-stocker {
      width: 100%;
      margin: 0 auto;
    }
    .kw-stocker img {
      width: 100%;
    }
  }
  .kw-stocker img:hover {
    opacity: 0.7;
  }
  .topbox1.clearfix {
    width: 1000px;
    margin: 0 auto;
    padding: 75px 0 0 0;
  }
  .topbox2.clearfix {
    width: 100%;
    height: 821px;
    background: linear-gradient(#fff 24%, #000 0, #000 80%, #fff 0);
    margin: 30px 0;
  }
  .topbox2_inner.clearfix {
    width: 1000px;
    margin: 0 auto;
    background: url(../images/top/topimg2.png) no-repeat;
    height: 821px;
  }
  p.painting_bt {
    padding: 790px 0 0 85px;
  }
  .topbox3.clearfix {
    width: 100%;
    height: 330px;
    background: linear-gradient(#000 91%, #fff 9%);
    margin: 70px 0 30px 0;
  }
  .topbox3_inner.clearfix {
    width: 1000px;
    margin: 0 auto;
  }
  p.equ_bt {
    width: 300px;
    margin: 0 auto;
    position: relative;
    top: -43px;
    z-index: 100;
  }
  .topbox4.clearfix {
    width: 1000px;
    margin: 0 auto;
  }
  img.topbox4_left.clearfix {
    float: left;
  }
  .topbox4_light.clearfix {
    float: right;
    width: 400px;
    margin: 90px 100px 50px 0;
  }
  .newsbox {
    width: 100%;
    height: 130px;
    overflow-y: scroll;
    background-color: #e0e0e0;
    padding: 10px 0;
    margin: 5px 0 0 0;
  }
  table.topboxtable {
    width: 90%;
    border-collapse: collapse;
    vertical-align: top;
    margin: 0 auto;
    font-size: 13px;
  }
  table.topboxtable th {
    text-align: left;
    line-height: 20px;
    padding: 10px 0 2px 0;
    vertical-align: top;
  }
  table.topboxtable th img {
    margin: -3px 0 0 10px;
  }
  table.topboxtable td {
    line-height: 19px;
    border-bottom: dotted 1px #a1a1a1;
  }
  .blog_btn {
    width: 400px;
    margin: 0 auto;
  }
  .pagetop {
    display: none;
    position: fixed;
    bottom: 250px;
    right: 25px;
  }
  /*-------------
footer
-------------*/
  #footer {
    clear: both;
    margin: 0 auto;
    width: 100%;
    background-color: #404040;
    color: #fff;
  }
  footer .ft_middle {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
  }
  .footer_box.clearfix {
    float: left;
    width: 480px;
  }
  p.footertext {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    margin: 18px 0 0 0;
    letter-spacing: 1px;
  }
  p.footertext1 {
    font-size: 15px;
    line-height: 23px;
    margin: 15px 0 0 0;
  }
  p.footertext2 {
    font-size: 22px;
    line-height: 20px;
    margin: 7px 0 15px 0;
    letter-spacing: -1px;
  }
  .footermail.clearfix {
    margin: 10px 0 0 0;
  }
  .footer_box2.clearfix {
    float: left;
    width: 520px;
    margin: 55px 0 0 0;
  }
  img.footetitle.clearfix {
    margin: 6px 15px 0 0;
  }
  ul.footer_box2list.clearfix {
    margin: 20px 0 13px 0;
  }
  ul.footer_box2list li {
    line-height: 22px;
    font-size: 15px;
    float: left;
    margin: 0 10px 5px 0;
    width: 120px;
  }
  ul.footer_box2list li a {
    font-size: 15px;
    color: #fff;
  }
  ul.footer_box2list a:hover {
    text-decoration: underline;
  }
  .ft_bottom {
    line-height: 25px;
    font-size: 11px;
  }
}
/*---SP---*/
@media screen and (max-width: 480px) {
  body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
  }
  body {
    margin: 1% 2%;
    font-family: "メイリオ", -webkit-body, sans-serif, "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo;
    font-size: 12px;
    line-height: 2.2;
    color: #4e4e4e;
    letter-spacing: 0;
    font-weight: 500;
    -webkit-text-size-adjust: 100%;
    width: 96%;
  }
  .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
  }
  ul, ol {
    list-style: none;
  }
  a {
    text-decoration: none;
    color: #000;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  img.header_logo {
    margin: 2% 0 0 0;
    ;
  }
  .headergray {
    width: 100%;
    background-color: #404040;
    margin: 0 0 2% 0;
  }
  .headerblack {
    width: 100%;
    background-color: #000;
    margin: -2% 0 0% 0;
    padding: 2% 0% 0% 0%;
  }
  img.banner {
    max-width: 100%;
    margin: 5% 0% 0% 0%;
  }
  nav {
    margin-right: -16px;
  }
  nav ul {
    display: flex;
    align-items: center;
  }
  nav ul li {
    list-style: none;
    font-size: 16px;
  }
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 16px;
  }
  #nav_toggle {
    display: none;
  }
  /*メニュー部分*/
  @media screen and (max-width:960px) {
    nav {
      display: none;
      position: absolute;
      top: 60px;
      width: 100%;
      background: #fff;
      z-index: 101;
      left: 0;
    }
    nav ul {
      display: block;
      margin: 0 auto;
      padding: 0;
      width: 90%;
    }
    nav ul li {
      list-style: none;
      /*margin: auto 10%;*/
      text-align: left; /*border-bottom: 1px solid #fff;*/
      font-family: "Arial Black", Gadget, sans-serif;
    }
    nav ul li:last-child {
      border: none;
    }
    nav ul li a {
      display: block;
      text-decoration: none;
      color: #000;
    }
  }
  @media screen and (max-width:960px) {
    /*開閉ボタン*/
    #nav_toggle {
      display: block;
      width: 40px;
      height: 40px;
      position: absolute;
      right: 330px;
      top: 57px;
      cursor: pointer;
      z-index: 101;
    }
    #nav_toggle div {
      position: relative;
      bottom: 42px;
      left: 314px;
    }
    #nav_toggle span {
      display: block;
      height: 5px;
      background: #fff;
      position: absolute;
      width: 100%;
      left: 0;
      -webkit-transition: 0.5s ease-in-out;
      -moz-transition: 0.5s ease-in-out;
      transition: 0.5s ease-in-out;
    }
    #nav_toggle span:nth-child(1) {
      top: 0px;
    }
    #nav_toggle span:nth-child(2) {
      top: 12px;
    }
    #nav_toggle span:nth-child(3) {
      top: 24px;
    }
    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
      top: 12px;
      -webkit-transform: rotate(135deg);
      -moz-transform: rotate(135deg);
      transform: rotate(135deg);
    }
    .open #nav_toggle span:nth-child(2) {
      width: 0;
      left: 50%;
    }
    .open #nav_toggle span:nth-child(3) {
      top: 12px;
      -webkit-transform: rotate(-135deg);
      -moz-transform: rotate(-135deg);
      transform: rotate(-135deg);
    }
  }
  iframe {
    max-width: 100%;
    height: auto;
    margin: 0 0 0 0;
  }
  img.topimg1 {
    max-width: 100%;
  }
  img.topimg2 {
    max-width: 100%;
    margin: 0 0 0 0;
  }
  img.btn {
    max-width: 80%;
    margin: 0 10% 0 10%;
    text-align: center;
  }
  img.topbox4_left {
    max-width: 100%;
  }
  .newsbox {
    width: 100%;
    height: 130px;
    overflow-y: scroll;
    background-color: #e0e0e0;
    padding: 0 0 0 0;
    margin: 0 0 5% 0;
  }
  table.topboxtable {
    width: 90%;
    border-collapse: collapse;
    vertical-align: top;
    margin: 0 auto;
    font-size: 13px;
  }
  table.topboxtable th {
    text-align: left;
    line-height: 20px;
    padding: 0 0 0 0;
    vertical-align: top;
  }
  table.topboxtable th img {
    margin: -3px 0 0 10px;
  }
  table.topboxtable td {
    line-height: 19px;
    border-bottom: dotted 1px #a1a1a1;
  }
  #footer {
    clear: both;
    margin: 0 auto;
    width: 100%;
    background-color: #404040;
    color: #fff;
  }
  .footerlogo {
    width: 100%;
    margin: 0;
  }
  img.footer_logo {
    max-width: 80%;
    margin: 5% 10%;
    text-align: center;
  }
  p.footertext {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    width: 90%;
    margin: 0 5% 0 5%;
    letter-spacing: 1px;
    text-align: center;
  }
  p.footertext1 {
    width: 90%;
    margin: 3% 5%;
    font-size: 15px;
    line-height: 23px;
    text-align: center;
  }
  p.footertext2 {
    width: 90%;
    margin: 0 5% 0 5%;
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    letter-spacing: -1px;
  }
  img.btn {
    max-width: 80%;
    margin: 3% 10%;
    text-align: center;
  }
  .copyright {
    width: 90%;
    font-size: 10px;
    margin: 0 5%;
    text-align: center;
  }
  .kw-stocker {
    width: 100%;
    margin: 0 auto;
  }
  .kw-stocker img {
    width: 100%;
  }
  .blog_btn {
    width: 80%;
    margin: 0 auto;
  }
  .blog_btn img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }
}