@charset "utf-8";
/*
Theme Name:阿部商会コーポレートサイト
Theme URI:http://www.value-d.co.jp/
Description:阿部商会コーポレートサイトWPテーマ
Author:Value Drivers
Version:1.0
*/

@import url("css/product/layout.css");
@import url("css/product/agfarm/tire.css");
@import url("css/product/agfarm/lift.css");
@import url("css/product/agfarm/lamp.css");
@import url("css/product/agfarm/xenon.css");
@import url("css/product/agfarm/battery.css");
@import url("css/product/agfarm/oil.css");


/************
共通スタイル
*************/

/*header*/

.img_switch {
  visibility: hidden;
}

body {
  font-size: 14px;
}

header {
  width: 100%;
	padding: 25px 0;
	background-image: url(common/img/bg_header.png);
  background-repeat: repeat;
}

header h1 {
  display: inline;
}

header .inner {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

.headerLink {
  padding-top: 6px;
  float: right;
}

.headerLink ul {
  padding-top: 5px;
  float: left;
}

.headerLink li {
  float: left;
  margin-right: 20px;
}

.headerLink a {
  color: #333;
  font-size: 12px;
  text-decoration: none;
}

.headerLink a:before {
  content: "▶";
  color: #333;
  margin-right: 5px;
}

.headerLink a:hover {
  opacity: 0.7;
}

.headerSearch {
  float: left;
  width: 145px;
  font-size: 12px;
}

/*グローバルナビ*/

#toggle {
  display: none;
}

#gNav li.sp {
  display: none;
}

#gNav {
  width: 100%;
  background-color: #333;
}

#gNav ul {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

#gNav li {
  float: left;
  width: 240px;
  max-width: 25%;
}

#gNav li:hover,
#gNav li.active {
  background-color: #194d99;
}

#gNav li a {
  display: block;
  padding: 12px 0;
  color: #fff;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  border-left: 1px solid #535353;
}

#gNav li:nth-child(4) a {
  border-right: 1px solid #535353;
}

/*#gNav li:nth-child(5) a {
  border-right: 1px solid #535353;
}*/

/*コンテンツ共通*/

.header_img_area {
  width: 100%;
  position:relative;
}

.header_img_area img {
  width: 100%;
  z-index: 1;
}

.header_img_area .page_title {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.header_img_area .page_title span {
  display: block;
  font-weight: bold;
  font-size: 28px;
  margin-bottom: 30px;
  white-space: nowrap;
}

.header_img_area .page_title h1 {
  font-size: 19px;
  font-weight: normal;
}

.content {
  width: 960px;
  max-width: 100%;
  margin: 60px auto;
}

h2,h3 {
  font-weight: bold;
}

h2 {
  color: #194d99;
  font-size: 16px;
  padding: 6px 0;
  padding-left: 30px;
  border-left: 4px solid #194d99;
  background-image: url(common/img/icon_h2.png);
  background-repeat: no-repeat;
  background-position: 10px center;
  margin: 40px 0 20px;
}

h3 {
  font-size: 14px;
  padding-left: 20px;
  background-image: url(common/img/icon_h3.png);
  background-repeat: no-repeat;
  background-position: left center;
  margin: 20px 0;
}

/*パンくず*/

.topic_path {
  font-size: 12px;
}

.topic_path li {
  display: inline;
}

.topic_path li a {
  color: #0033cc;
  text-decoration: none;
}

.topic_path li:after {
  content: ">";
  padding: 0 10px;
}

.topic_path li:last-child:after {
  display: none;
}

/*footer*/

.top_link_wrapper {
  width: 960px;
  max-width: 100%;
  margin: 100px auto 0;
}

.top_link {
  padding: 10px;
  background-color: #222;
  border: 1px solid #222;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 140px;
  float: right;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.top_link:hover {
  background-color: #fff;
  color: #222;
}

footer {
  width: 100%;
	padding: 40px 0 0;
	background-image: url(common/img/bg_header.png);
  background-repeat: repeat;
  line-height: 1.5;
}

footer .inner {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

footer .footer_nav_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

footer .footer_nav_wrapper > li {
  width: 20%;
}

footer .footer_nav_wrapper span {
  display: block;
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 15px;
}

footer .footer_nav_wrapper > li > ul {
  margin-bottom: 20px;
}

footer .footer_nav_wrapper > li li {
  font-size: 12px;
  margin-bottom: 8px;
}

footer .footer_nav_wrapper a {
  text-decoration: none;
  color: #333;
}

footer small {
  display: block;
  font-size: 10px;
  text-align: center;
  color: #fff;
  background-color: #333;
  width: 100%;
  padding: 10px;
}


/**************
以下メディアクエリ
**************/

/*ウィンドウサイズが960px以下の場合*/
@media screen and (max-width:960px) {

  header {
    padding-left: 5%;
    padding-right: 5%;
  }

  .content {
    padding-left: 5%;
    padding-right: 5%;
  }

  footer .inner {
    padding-left: 5%;
    padding-right:5%;
  }

}

@media screen and (min-width:768px) {
  .footer_nav_wrapper > li ul {
    display: block !important;
  }
}

/*ウィンドウサイズが768px以下の場合*/
@media screen and (max-width:768px) {

  /*ヘッダー*/

  header {
    padding: 15px 5%;
  }

  .headerLink {
    display: none;
  }

  /*ナビ*/

  #gNav {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }

  #gNav li.sp {
    display: block;
  }

  #menu{
    display: none;
  }

  #menu li,
  #gNav li {
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 10px;
  }

  #gNav li a {
    font-size: 14px;
    border: none !important;
  }

  /*ハンバーガーメニュー*/

  #toggle {
    display: block;
    float: right;
    width: 28px;
    height: 22px;
    margin-top: 4px;
  }

  header .open {
    background-image: url(common/img/hamburger_btn.png);
    background-repeat: no-repeat;
    height: 22px;
  }

  header .close {
    background-image: url(common/img/hamburger_btn_close.png);
    background-repeat: no-repeat;
    height: 22px;
  }

  /*コンテンツ*/

  .header_img_area .page_title span {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .header_img_area .page_title h1 {
    font-size: 14px;
  }

  /*フッター*/

  .top_link {
    float: none;
    margin: 0 auto;
  }

  footer .footer_nav_wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  footer .footer_nav_wrapper > li {
    width: 100%;
  }

  .footer_nav_wrapper li span {
    cursor: pointer;
    font-size: 16px;
    display: block;
    text-decoration: none;
    cursor:pointer;
    margin-bottom: 10px;
  }

  .footer_nav_wrapper li span:after {
    content: ">";
    display: inline-block;
    float: right;
  }

  .footer_nav_wrapper li span.active:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  .footer_nav_wrapper > li ul {
    display:none;
    top: 20px;
  }

}

/*ウィンドウサイズが460px以下の場合*/
@media screen and (max-width:460px) {

  .logo {
    max-width: 50%;
  }

  #toggle {
    width: 20px;
    height: 16px;
    margin-top: 2px;
  }

  header .open,
  header .close {
    height: 16px;
    width: 20px;
    background-size: contain;
  }

  .header_img_area .page_title span {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .header_img_area .page_title h1 {
    font-size: 11px;
  }

}
