@charset "UTF-8";
/*
Theme Name:掘削機械・資材屋
Theme URI:
Description:掘削機械・資材屋の専用テンプレートです。
Author:koshimizu ayako
Version:1.0 20221108
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
img{vertical-align: bottom;}

#content p{line-height: 1.75em;}

/* iphone リセット*/
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input, select, textarea{
    border: none;
    outline: none;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/********* base *********/

html{font-size: 62.5%; /* sets the base font to 10px for easier math */}

body{
	color: #000;
	font-size: 18px;
	font-size: 1.8rem;  
  /* sets the default sizing to make sure nothing is actually 10px */
    line-height: 1.62;
}

body, table, input, textarea, select, option, h1, h2, h3, h4, h5, h6{
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

a{text-decoration: none;
    color: #000;}
a:hover{opacity: 0.8;}

.sp{display: none!important;}

img{
    max-width: 100%;
}

@media screen and (max-width: 768px){
    body{font-size: 1.6rem;}
    img{
        max-width: unset;
        width: 100%;
        vertical-align: bottom;}
	.sp{display: block!important;}
	.pc{display: none!important;}
    
}

/********* header *********/
header{
    padding-bottom: 22px;    
    background: url(../img/header_bg.png)repeat-x top;
}

header .inner{
    height: 127px;    
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;    
    position: relative;
}

header .logo {margin: 36px 0 18px;}

header p.tel {
	margin-top: 36px;
    font-size: 3.1rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

header ul.menu {
    margin-top: 15px;    
    display: flex;
    justify-content: center;
}
header ul.menu li {
    display: flex;
    font-weight: bold;    
}

header ul.menu li:after {
    content: '：';
    display: block;
    margin: 0px 3px;
}
header ul.menu li:last-child:after{
    display: none;
}

header .order_btn{
    position: absolute;
    font-weight: bold;
    width: 255px;
    top: 0;
    right: 0;
}
header .order_btn:after {
    content: '▶';
    font-size: 1px;
    color: #fff;
    background: #B20000;
    width: 11px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 3px;
    top: 6px;
    letter-spacing: -1px;    
}

header .order_btn a {
    background: #D90000;
    width: 100%;
    display: block;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    padding: 19px 0 10px;
}

header .cart{
    position: absolute;
    font-weight: bold;
    width: 30px;
    top: 16px;
    right: 275px;
}

header .cart a{
    position: relative;
}

span.cart-icon {
    color: #333;
    font-size: 28px;
}

span.quantity_badge {
    padding: 0;
    position: relative;
    top: -35px;
    left: -9px;
    background: #cd162c;
    color: #fff;
    display: inline-flex;
    vertical-align: top;
    box-sizing: border-box;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.6;
    text-align: center;
    justify-content: center;
}    

.p-header-content.p-header-content--lg a.head_cart {
    text-decoration: none;
}

.zero_quantity_badge{
	background-color:transparent !important;
}
span.zero_quantity_badge{
	color:transparent !important;
}

.c-row__col.c-row__col--fit.u-invisible-md-down {
    display: block !important;
}


@media screen and (max-width:768px){
    header .inner{
        width: 100%;
        height: auto;
    }
    header .logo{
        max-width: 240px;
        margin: 12px 0 10px 5px;        
    }
    header .order_btn{
        display: none;
    }
    
    header .cart{
        right: 100px;    
    }
	 header p.tel {
		text-align:center;
	    margin-top: 0;
	    font-size: 2.8rem;	 
		line-height: 0; 
	}
	.menu-g-nav-container ul li a{color:#fff;}
	header ul.menu li:after{display:none;}
}

@media screen and (max-width: 480px) {
span.cart-icon {
    font-size: 20px;
    top: 16px;
	left: 10px;
    position: relative;
}
span.quantity_badge {
    position: relative;
    top: -23px;
    left: 1px;
    border-radius: 11px;
    color: #fff;
    text-decoration: none !important;
    font-size: 12px !important;
}
}
	@media screen and (max-width: 320px){
span.cart-icon {
    left: 4px;
}
span.quantity_badge {
    left: 14px;
    padding: 2px 6px;
}
}


/********* footer *********/	
footer{
    background: #004C66;
    padding: 21px 0 45px;
    color: #fff;
    font-size: 1.6rem;
}

footer a{color: #fff;}

footer h1.logo {
    margin-bottom: 20px;
}

footer .inner{
    max-width: 1020px;
}
footer .inner > div{
    margin-bottom: 13px;
    display: flex;
    justify-content: space-between;
}

footer ul.menu  {
    width: 380px;
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
footer ul.menu li {
    display: flex;
    font-weight: bold;    
}

footer ul.menu li:after {
    content: '：';
    display: block;
    margin: 0px 3px;
}
footer ul.menu li:nth-child(3):after,
footer ul.menu li:last-child:after{
    display: none;
}

footer li.menu a{
    color: #fff;
    font-size: 1.6rem;
    display: block;
}

p.copy {
    margin-top: 8px;
    padding: 25px 10px 0 0;
    border-top: 2px solid #fff;
    text-align: right;
    font-size: 1.6rem;    
}

@media screen and (max-width: 768px){
    footer{padding: 6% 0 10px;}
    footer h1.logo {
        width: 70%;
        max-width: 384px;
        margin: 0 auto 10px;
    }
    footer .inner{
        padding: 0 15px;
    }

    footer .inner > div{
        display: block;
    }
    
    footer ul.menu{
        width: 100%;
        margin: 22px auto;;    
    }
    footer ul.menu li{
        margin-bottom: 10px;
    }

}


@media screen and (max-width: 768px){
    #nav-drawer {
        width: 80px;
      position: relative;
      margin-left: 0;
      text-align: center;
    }

    /*チェックボックス等は非表示に*/
    .nav-unshown {
      display: none;
    }

    /*アイコンのスペース*/
    #nav-open {
        padding: 10px;
        display: inline-block;
        margin-top: 0;
        margin-right: 0;
        background: #1075b9;
    }

    /*閉じる用の薄黒カバー*/
    #nav-close {
      display: none;/*はじめは隠しておく*/
      position: fixed;
      z-index: 9999;
      top: 0;/*全体に広がるように*/
      right: 0;
      width: 30%;
      height: 100%;
     /* background: black;*/
      opacity: 0;
      transition: .3s ease-in-out;
    }

    /*中身*/
    #nav-content {
      overflow: auto;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9990;/*最前面に*/
      width: 80%;/*右側に隙間を作る（閉じるカバーを表示）*/
      /*max-width: 330px;最大幅（調整してください）*/
      height: 100%;
      background: #fff;/*背景色*/
      transition: .3s ease-in-out;/*滑らかに表示*/
      -webkit-transform: translateX(-105%);
      transform: translateX(-105%);/*左に隠しておく*/
    }

    /*チェックが入ったらもろもろ表示*/
    #nav-input:checked~#nav-close {
      display: block;/*カバーを表示*/
      opacity: .5;
    }

    #nav-input:checked~#nav-content {
      -webkit-transform: translateX(0%);
      transform: translateX(0%);/*中身を表示（右へスライド）*/
      box-shadow: 100px 0px 25px 20px rgba(0, 0, 0, .5);
      z-index: 9995;
    }
    #nav-content{background: #003162 url(../img/close-bg.png) top right no-repeat;
    #nav-content{background: #003162 url(../img/close-bg.png) top right no-repeat;
    background-size: auto;}
    #nav-content-wrap {
        margin: 5% 12% 0 5%;
    }
    #nav-content-wrap ul{
        margin-bottom: 5%;
        flex-wrap: wrap;
        }
    #nav-content-wrap li{
        width: 100%;
        margin-bottom: 15px;
    }
    header ul.menu li:after{
        display: none;
    }
    #nav-content-wrap li a{color: #fff;}

    .hamburger-top {
      height: 40px;
      margin-top: 5px;
    }

    .menu-hamburger-menu-container li {
      float: none;
      font-size: 15px;
      padding: 10px 15px 10px 15px;
      list-style: none;
      text-align: left;
    }

    .menu-hamburger-menu-container li a {
      text-decoration: none;
      color: #000;
    }

    .menu-hamburger-menu-container a:before {
      font-family: FontAwesome;
      content: "\f07b";
      color: #00bb80;/*アイコン色*/
      margin-right: 5px;
    }

    ul#menu-sp-nav li{
        color: #414141;
        font-size: 2.1rem;
    }

    ul#menu-sp-nav li span {
        display: block;
        font-size: 1.6rem;
        color: #8EAF29;
    }
    
    .fb03-inner {
        display: flex;
        padding: 8px 15px 5px 15px;
    }
}
