/*
Theme Name: 永井鰹節店テーマ
Theme URI:https://pixie.jp/nagai/wp-content/themes/nagai/ ( テーマのURL )
Description: habakiri の子テーマです ( テーマの説明 )
Author: Shingo Hirakawa ( 作者名 )
Author URI: https://pixie-palette.com ( 作者のURL )
Version: 1.0.0
Template: habakiri
*/
html,body{
height: 100%;
}
.header{
    background:rgba(255,255,255,0.75)!important;
    z-index: 999999999999;
}
body {
  line-height: 1.8;
  font-weight: 500;
	background:url("images/bodyBack.jpg") center 100% repeat-y;
	background-size: 100% auto;
    font-size: 16px !important;
    margin: 0;
}
/* clearfix Start */
.clearfix:after {
 content: ".";
 display: block;
 clear: both;
 height: 0;
 visibility: hidden;
}
.clearfix {
 display: inline-table;
 min-height: 1px;
}
* html .clearfix {
 height: 1px;
}
.clearfix {
 display: block;
}
.clear {
 clear: both;
}
a img:hover{
	opacity: 0.7;
}
.alignleft{
   float: left !important;
   margin-right: 6px;
}
p{
    letter-spacing: 0.15em;
    text-align: justify;
}
em{
    font-style: normal;
    display: block;
}
a img:hover{
    opacity: 0.7;
}

ul,ol {
     padding: 0 !important;
}
li{
    list-style: none;
}
.w100{
    display: block;
    width: 100%;
    height: auto;
}
.w95{
    display: block;
    width: 95%;
    height: auto;
    margin: 15px auto;
}
.w90{
    display: block;
    width: 90%;
    height: auto;
    margin: 15px auto;
}
.w80{
    display: block;
    width: 80%;
    height: auto;
    margin: 15px auto;
}
.w70{
    display: block;
    width: 70%;
    height: auto;
    margin: 15px auto;
}
.w60{
    display: block;
    width: 60%;
    height: auto;
    margin: 15px auto;
}
.w50{
    display: block;
    width: 50%;
    height: auto;
    margin: 15px auto;
}
.w40{
    display: block;
    width: 40%;
    height: auto;
    margin: 15px auto;
}
.w30{
    display: block;
    width: 30%;
    height: auto;
    margin: 15px auto;
}
.w20{
    display: block;
    width: 20%;
    height: auto;
    margin: 15px auto;
}
.w16{
    display: block;
    width: 14%;
    height: auto;
    margin: 15px auto;
}
.header{
	width: 100%;
	margin: 0 !important;
	padding:0 !important;
	
}
header h1{
	color:#fff;
	display: block;
	width: 100%;
	font-size:18px;
	margin:0;
	padding: 0 0 10px;
	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}
header #logo{
	margin: 15px 0 0 0;
	width: 80% !important;
	height: auto;
	float: left;
	position: relative;
	top: -8px;
}
#HL{
	width:50%;
	float: left;
}
.faxButton{
	margin:-2px 0 0 0;
	float: right !important;
	width: 35% !important;
}
.header div.container{
    padding: 0 2% !important;
	background: url("images/header_bg.png") no-repeat;
	background-size: auto 100%;
	width: 100% !important;
	height: 137px;
}
.siteBranding{
    width: 236px;
    height: 52px;
    background: url("images/logo.png") no-repeat;
    margin: -14px 0 0 -10px;
}
.siteBranding h1{
font-size: 10px;
position: relative;
    top: 33px ;
    left: 105px;
}
a .siteBranding h1{
    color: #000;
}
#contents{
	background: #eee9e2;
	padding-bottom: 25px;
	margin-bottom: -15px;
}
.sub-page-contents{
	width: 90%;
	padding: 0;
	margin: 1% auto;
}
h2.page_title{
	color:#630;
	font-size:1.4em;
	margin-bottom:30px;
}
.sub-page-contents .container{
	margin: 0 auto;
	width: 93%	
}

.smfHidden{
	display:none;
}
.pcHidden{
	display:block;
}
#topLeft{
	width: 65%;
	float: left;
	margin:15px 0 28px 10px;
}
#blogT{
	float: right;
	position: relative;
	top: -48px;
	right:90px;
	margin-bottom:-160px;
}
#topLeft p{
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif" !important;
	line-height: 1.7em !important;
	text-align: justify;
	font-size: clamp(14px, 1.7vw, 17px);
}
div#blog_waku{
	width:30%;
	float:right;
	border-left: 5px solid #A79465;
	margin: 70px 0 0 0;
}
div#blog_waku ul{
	font-size:0.85em;
	margin:0;
	overflow:hidden;
}
div#blog_waku ul li{
	margin:10px;
	line-height:1.3em;
	list-style:none !important;
	padding-left: 1.1em;
	background: url("https://nagai-katsuobushi.com/wp-content/themes/nagai/img/sankaku.png") no-repeat left center;
	border-bottom: 1px dotted #666;
}
div#blog_waku ul li:last-child{
	border: none;
}
div#blog_waku ul li span{
	display:inline-block;
	text-align:right;
	float:right;
	color:#eee;
	font-size:11px;
}	
div#blog_waku ul li a{
	color:#000;
	text-decoration:none;
}
div#blog_waku ul li a:hover{
	color:#900;
	text-decoration:underline;
}
div#top_waku02{
	width:32%;
	height:194px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku02.gif);
	float:left;
	background-size:100% 100%;
	margin-right: 8px;
}
div#top_waku02 h3,div#top_waku03 h3,div#top_waku04 h3,div#top_waku05 h3{
	text-align:center;
	font-size:1em;
	margin:15px 0 8px 0 !important;
	line-height:1.3em;
}
div#top_waku02 h3 a,div#top_waku03 h3 a,div#top_waku04 h3 a{
	text-decoration:none;
	color:#820002;
}
div#top_waku02 h3 a:hover,div#top_waku03 h3 a:hover,div#top_waku04 h3 a:hover{
	color:#000;
	text-decoration:underline;
}
div#top_waku02 p,div#top_waku03 p,div#top_waku04 p,div#top_waku05 p{
	padding:5px 15px 0 10px;
	text-align:justify;
	font-size:0.8em;
	line-height:1.4em;
}
div#top_waku02 h3{
	margin-top:11px !important;
}
div#top_waku02 p{
	padding:8px 20% 0 3%;
}
div#top_waku03{
	width:33%;
	height:196px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku03.gif) no-repeat;
	float:left;
	background-size: 100% auto;
	margin-left:5px;
	margin-bottom:10px;
}
div#top_waku03 p{
	padding:10px 52% 10px 3%;
	line-height:1.6em;
}
div#top_waku04{
	width:33%;
	height:196px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku04.gif) no-repeat;
	background-size: 100% auto;
	float:right;
}
div#top_waku04 p{
	padding:5px 38% 0 3% !important;
	line-height:1.35em;
}
div#top_waku05{
	width:66%;
	height:145px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku05.gif) no-repeat;
	background-size: 100% 100%;
	float:left;
}
div#top_waku05 p{
	padding:0 10px 0 20%;
	line-height:1.35em;
}
div#top_waku05 h3{
	padding-left:205px;
	text-align:left;
	line-height:1.3em;
}
div#top_waku06{
	width:33%;
	height:145px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku06.gif) no-repeat;
	background-size: 100% 100%;
	float:right;
}
div#top_waku06 p{
	font-size:0.9em !important;
	line-height:1.5em;
	padding:7% 3% 0 9%;
}	
img.topGift{
	border:none;
	margin:5px 0 0 12px !important;
}
#page-top {
	position: fixed;
	bottom: 7%;
	right: 5%;
	z-index:9999;
}
#page-top a {
	text-decoration: none;
	color: #ddd;
	line-height:50px;
	text-align: center;
	display: block;
	border-radius: 40px;
	font-size: 50px;
}
#page-top a:hover{
	opacity: 0.7;
}
footer{
	background: #4F2703!important;
	text-align: center;
	font-size: 14px;
	color: #FFF;
	padding: 5px 0 15px 0;
}
footer .container{
width: 95%;
	margin: 5px auto;
	padding: 0;
}
.footer_area{
	font-size: 14px !important;
	margin: 5px auto !important;
	text-align: center;
	color: #fff;
}
.footer_area a{
	color: #fff;
	font-size: 13px;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif" !important;
}
footer p{
	text-align: justify;
	padding-top: 20px;
	margin: 0 auto;
	width: 95%;
	font-size: 13px;
	line-height: 1.5;
	color: #FFF;
}
div#kodawari{
	background:url("images/kodawari_back.gif") no-repeat;
	width:100%;
	background-size: 100% 100%;
	border: 1px solid;
	margin-bottom:12px;
	font-size: clamp(13px, 1.6vw, 20px);
}
div#kodawari h3{
	padding:0 10% 0 2%;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.3 !important
}
p.kodawari{
	line-height:1.35em;
	padding:0 18% 1% 3%;
}
h3.midashi{
	color:#900;
	font-size: clamp(16px, 1.8vw, 22px);
	margin:20px 0 15px 0;
	line-height:1.3em;
}

#sabahana,#hanakatsuo{
	background:url("images/sabahana_back.png") no-repeat;
	background-size: 100% auto;
	padding: 5px 33% 0 16%;
	text-align: justify;
}
#hanakatsuo{
	background:url(images/hanakatsuo_back.png) no-repeat;
	background-size: 100% auto;
	padding: 5px 42% 15px 16%;
}
#sabahana table,#hanakatsuo table{
	margin-bottom: 18px;
}
#sabahana table th,#hanakatsuo table th{
	font-weight: 500;
	width: 6em;
	vertical-align: top;
}
#sabahana h3,#hanakatsuo h3{
	color: #762942;
	font-size: 28px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	display: inline-block;
	float: left;
}
a.kounyu{
	display: inline-block;
	background:#762942;
	padding: 3px 20px;
	color: #fff;
	text-decoration: none;
	margin: 12px 0 0 20px;
	font-size: 18px;
	cursor: pointer;
}
a.kounyu:hover{
	background: #A93D3E;
}
div.WB{
	background: url(images/wb.png);
	border: 1px solid #aaa;
	padding: 15px 25px;
	margin: 15px 0;
	font-size: clamp(13px, 1.5vw, 16px);
}
div.WB em{
	display: inline-block;
	padding: 22px 15px 0 15px;
	float: left;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 700;
}
div.WB ol{
	width: 75%;
	float: right;
}
#hoshou{
	float: left;
	margin: 0 0 25px 0;
	position: relative;
	left: -130px;
	width: 18%;
	height: auto;
}
p#muki{
	float: left;
	font-size: 15px !important;
	margin-top: -95px;
}
#osusume{
	background:#762942;
	color: #fff;
	font-size: 14px;
	margin: 15px 0 20px 10%;
	text-align: center;
	padding: 6px 0;
}
	
.ohanashi{
	background:url(images/ohanashiBack.png) no-repeat 3% center;
	padding-left: 20%;
	background-size: 15% auto;
	line-height: 1.4;
	font-size: clamp(13px, 1.5vw, 16px);
}
.ohanashi h3{
	background:#B48856;
	color:#fff;
	text-align: center;
	height: 30px;
	line-height: 30px;
	font-size: 19px;
}
.ohanashi span{
	font-size: 80%;
	font-weight: bolder;
	display: block;
	text-align: right;
}
#chiba{
	background: url("images/chibaB.png") no-repeat 98% center;
	background-size: 25% auto;
	padding: 0 29% 0 3%;
	line-height: 1.5em;
	font-size: clamp(13px, 1.5vw, 16px);
}
#chiba h3{
	text-align: left;
	font-size: 25px;
}
p#other{
	height: 42px;
	line-height: 42px !important;
	font-size: 16px !important;
	text-align: center;
	background: #762942;
	color: #fff;
}
div#company1{
	width:100%;
	height:auto;
	background:url(images/company1.gif) no-repeat;
	background-size: 100% auto;
	min-height:19em;
}
p#com1{
	padding:0 0 0 73%;
	font-size: clamp(13px, 1.3vw, 15px);
	line-height: 1.4 !important;
}
div.margin{
	margin-left:20px;
}
div.company2{
	width:50%;
	float:right;
}
div.company2 img{
	margin:10px 0;
}
div.company3{
	width:47%;
	float:left;
	border-top:1px dotted #666;
	border-bottom:1px dotted #666;
	padding:8px 0;
	font-size:1.05em;
	line-height:1.65em;
	margin-top:35px;
}
div.company3 img{
	margin-top:-45px;
}
table#company th{
	width:6em;
	vertical-align:top;
	padding:2px;
	font-size: clamp(13px, 1.3vw, 15px);
	line-height: 1.3;
}	
table#company td{
	padding:2px;
	font-size: clamp(13px, 1.3vw, 15px);
	line-height:1.45;
	text-align: justify;
}
.privacy{
	margin:5px 0 0 20px;
}	
.privacy dt{
	font-weight:bold;
	font-size:15px;
	margin:5px 0;
}	
.privacy dd{
	font-size:13px;
	margin:0 0 20px 8px;
}	
.privacy dd ul{
	margin-left:15px;
	}
.privacy dd em{
	font-style:normal;
	font-weight:bold;
	}
h4.midashi{
	background:url("images/h4back2.gif") no-repeat;
	height:49px;
	margin:15px 0;
	font-size:1.6em;
	line-height:49px;
	border:none;
	color:#000;
}
table.tokutei{
	border-collapse:collapse;
	margin:15px 20px;
	width:90%;
	font-size:0.9em;
	line-height:1.3em;
}
table.tokutei caption{
	text-align:left;
	font-weight:bold;
	padding-bottom:10px;
	color:#630;
	font-size:1.2em;
	line-height:1em;
}
table.tokutei th{
	background-color:#F0E5E2;
	padding:5px;
	width:12em;
}
table.tokutei td{
	background-color:#FFF;
	padding:8px;
}
div#souryou{
	width:700px;
	margin:15px auto;
	text-align:left;
	font-size:0.9em;
}
table.souryou{
	width:48%;
	float:left;
	font-size: clamp(13px, 1.5vw, 16px);
	line-height:1.5em;
	border-collapse:collapse;
	margin:0 10px 10px 0;
	font-family:"ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace
}
table.souryou th{
	text-align:center;
	font-weight:bold;
	color:#FFF;
	background-color:#633;
	padding:5px;
	width: 4em;
}
table.souryou td{
	padding:5px;
}
td.ken{
	background-color:#EDE1DE;
}
td.price{
	background-color:#FFF;
	color:#900;
	text-align:right;
	width:5em!important;
	font-weight: 700;
}
div#post_container{
	width:630px;
	float:left;
}
div.post{
	border:2px solid #E6D2B6;
	background-color:#FFF;
	padding:10px 20px 6px 20px;
	box-shadow:3px 3px 3px #CBB79B;
	margin:18px 0;
}
div#menu{
	float:right;
	width:230px;
	background-color:#EFE2CF;
	padding:10px;
	box-shadow:3px 3px 3px #CBB79B;
}
div.post_date{
	font-size:0.8em;
	text-align:right;
	border-top:1px dotted #630;
	padding-top:5px;
	margin-top:8px;
	margin-bottom:15px;
}
div#previous{
	font-size:0.7em;
	width:310px;
	float:left;
	margin-top:25px;
}
div#next{
	font-size:0.7em;
	width:310px;
	float:right;
	text-align:right;
	margin-top:25px;
}






@media (max-width: 991px) {
table.souryou{
	width:95%;
	float:none;
	font-size:14px;
	line-height:1.5em;
}
table.souryou td{
	padding: 8px 5px;
	}
td.price{
	font-size: 18px;
}	
	
h3.midashi{
font-size:20px;
	margin:20px 0 15px 0;
	line-height:1.3em;
}
div.company2{
	width:100%;
	float:none;
}
div.company3{
	width:100%;
	float:none;
}
div#company1{
	width:100%;
	height:auto;
	background:url(images/company1.gif) no-repeat;
	background-size: 100% auto;
	min-height:19em;
}
p#com1{
	padding:38% 0 4% 0;
	font-size:15px;
	line-height: 1.5;
	width: 100%
}
p#com1 br{
	display: none;
	}
.sub-page-contents{
	width: 94%;
	margin:0 auto !important
}
#topLeft{
	width: 100%;
	float: none;
	margin:15px 0 28px 0;
}
div#blog_waku{
	width:65%;
	float:right;
	border-left: 5px solid #A79465;
	margin:0;
}
#blogT{
	float: none;
	position: relative;
	top: -20px;
	right:0;
	width: 25%;
	margin-bottom:0;
}
div#top_waku02{
	width:98%;
	height:160px;
	background:url("images/top_waku02.jpg") no-repeat;
	float:none;
	background-size:100% 100%;
	margin:2px auto;
}
div#top_waku02 h3,div#top_waku03 h3,div#top_waku04 h3,div#top_waku05 h3{
	text-align:center;
	font-size:1.3em;
	line-height:1.6em;
	padding-top:1% !important;
	margin: 0 0 10px 0;
}
	div#top_waku04 h3{
	padding-top:0% !important;
	margin-bottom: -7px;
	}
div#top_waku02 p,div#top_waku03 p,div#top_waku04 p,div#top_waku05 p{
	padding:4% 25% 0 6% !important;
	text-align:justify;
	font-size:0.9em;
	line-height:1.4em;
}
	
div#top_waku05 p{
	padding:2% 2% 0 25% !important;
	letter-spacing: -0.04em;
	}
div#top_waku02 p{
	padding-right: 76px;
	margin-top: 5px
}	
div#top_waku03{
	width:98%;
	height:160px;
	background:url("images/top_waku03.jpg") no-repeat;
	float:none;
	background-size:100% 100%;
	margin-left:0;
	margin:2px auto;
}
div#top_waku03 p{
	padding:15px 53% 10px 11px;
	line-height:1.5em;
}	
	div#top_waku03 h3{
	margin:18px 0 5px 0;
		position: relative;
		top:11px !important;
	}
	div#top_waku04 h3{
		position: relative;
		top:11px !important;
	}
	div#top_waku04 h4{
	margin:18px 0 5px 0;
	position: relative;
	top:32px !important;
	}
	div#top_waku04 p{
		padding-left: 0;
	}
img.topGift{
	margin:10px 0 0 6% !important;
	position: relative;
	top:-15px;
}
div#top_waku04{
	width:98%;
	height:170px;
	background:url(images/top_waku04.jpg) no-repeat;
	background-size:100% 100%;
	float:none;
	margin:2px auto;
}	
div#top_waku04 p{
	padding:8px 39.5% 10px 1%;
	line-height:1.35em;
	letter-spacing: -0.05em;
}	
div#top_waku05{
	width:98%;
	height:195px;
	background:url("images/top_waku05.jpg") no-repeat;
	background-size:100% 100%;
	float:none;
	margin:-10px auto 3px auto !important;
}	
div#top_waku05 p{
	padding:0 5px 0 30%;
	line-height:1.3em;
	font-size: 0.8em;
}
div#top_waku05 h3{
	padding-left:0;
	position: relative;
	top: 10px;
}	
div#top_waku06{
	width:100%;
	height:120px;
	background:url(https://nagai-katsuobushi.com/wp-content/themes/nagai/img/top_waku06.gif) no-repeat;
	background-size: 100% 100%;
	float:none;
	border: 1px solid
}
div#top_waku06 p{
	font-size:0.9em !important;
	line-height:1.5em;
	padding:18px 10px 0 12%;
}
	
	
	
	
	
#HL{
		width: 90%;
		float: none;
	}
header h1{
		font-size: 12px;
	}
	.faxButton{
		display: none;
	}
#menu-g-menu{
	border: 3px solid #fff;
	width: 100% !important;
	background:#000 !important;
	margin: -65px 0 0 0 !important;
	position: relative;
	top: -18px;
}
#menu-g-menu li{
	width: 100% !important;
}
#menu-g-menu li:last-child{
width:100% !important
}
.main-navigation , .nav-menu-open,.header-nav-container{
	border: none !important;
	background: none !important;
}
.header-nav-container{
	border-top:2px solid #fff !important;
}

#menu-g-menu a{
	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 16px;
	color: #fff !important;
	padding: 0 !important;
	margin: 0 !important;
	display:block;
	line-height: 45px;
}
header #logo{
	margin: -8px 0 0 ;
	width:40%!important;
	height: auto;
	float: left;
	position: relative;
	top: -3px;
}	
.header div.container{
	width: 100%;
	height:82px;
	background-size: 100% 100% !important
}
header h1{
		font-size: 12px;
	margin: 5px 0
	}
header #logo{
	margin: -8px 0 0 ;
	width:40%!important;
	height: auto;
	float: left;
	position: relative;
	top: 8px;
}
	.titleMawari a{
		display: inline-block;
		background: #BF0004;
		color: #fff;
		text-align-last: center;
		padding: 5px 8px;
		
	}
}
	
	
	
	
@media (max-width: 480px) {	
.pcHidden{
	display:none;
}	
.smfHidden{
	display:block;
}
	.size14{
		font-size: 14px;
	}	
div#kodawari{
	background:url("images/kodawari_backS.jpg") no-repeat;
	width:100%;
	background-size: 100% 100%;
	border: 1px solid;
	margin-bottom:12px;
	font-size:14px;
}
p.kodawari{
	line-height:1.35em;
	padding:0 3% 1% 3%;
}	
	
}













