/*
Theme Name: 恵産業
Version: 1.1
*/

html,
body {
    width: 100%;
}

body {
   font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 18px;
    line-height: 2;
    color: #111;
    margin: 0;
    -webkit-text-size-adjust: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
}

div.clear {
    clear: both;
}

div.clear hr {
    display: none;
}

.breadcrumbs {
    padding: 2em 0;
}

img{
	vertical-align:top;
}

a {
	color: #111111;
    text-decoration: underline;
}

a:hover {
  text-decoration: none;
    color:#dd0000;
}

#bnbt { display: block; text-align: center;}
#bnbt a {display: inline-block; background: #b43900; border-radius: 60px; padding: 1em 2em; text-decoration: none; font-size:20px; line-height: 1; color: #fff; font-weight: bold;-webkit-transition: all .8s;
  transition: all .8s;}
#bnbt a:hover {  background:#000;}

span.wpcf7-list-item { display: block; }

/* ----------------------------------------------
	PageNavi
------------------------------------------------*/

#pnavi {
	display: block;
	width: 100%;
	margin: 2em auto;
	padding-bottom: 3em;
}
.nav-previous a,.nav-next a { width:120px; background: #b43900; color: #fff; display: block; padding: .5em 1em; text-decoration: none; -webkit-transition: 0.5s; transition: 0.5s; text-align: center;}
.nav-previous a:hover,.nav-next a:hover { background: #d57029; color: #fff;}

#page-navi {
    width: 100%;
    margin: 3em 0;
    display: block;
    clear: both;
}

.wp-pagenavi {
    font-size: 14px;
}

.wp-pagenavi span.pages {
    width: 100px;
    display: block;
    margin: 0 auto 1em auto;
    padding: text-align: center;
    border: none;
}

.wp-pagenavi {
    display: block;
    text-align: center;
}

.smaller,
.larger {
    background:  #b43900;
}

.wp-pagenavi a {
    color: #fff;
    border: none;
    padding: 1em;
    text-decoration: none;
    border-right: solid 1px #fff;
    border-left: solid 1px #fff;
}

.wp-pagenavi a:hover {
    background: #d57029;
    color: #fff;
}

.current {
    background: #753520;
    color: #fff;
    border: none;
 border: solid 1px #fff;
}

.previouspostslink,
.nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
    background: #b43900;
border: solid 1px #fff;    
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 12px;
}

.cont-menu-wp {
	margin: 3em 0 4em 0;
}


/*------------------------
	 フォーム
-------------------------*/

input[type="text"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="text"].readonly {
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    line-height: 20px;
    height: 20px;
    padding: 1px 0;
    border: none;
    font-size: 100%;
    color: #555;
    background: #fff;
}

input[type="tel"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="email"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

textarea {
    height: auto;
    line-height: 1.5;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
    padding: .5em 3em;
    background: #b43900;
    background: -moz-linear-gradient(top, #b43900 0%, #b43900 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b43900), color-stop(100%, #b43900));
    background: -webkit-linear-gradient(top, #b439007 0%, #b43900 100%);
    background: -o-linear-gradient(top, #b43900 0%, #b43900 100%);
    background: linear-gradient(to bottom, #b43900 0%, #b43900 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b43900', endColorstr='#1549aa', GradientType=0);
    border: 0;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    line-height: 1.5;
    font-size: 16px;
    color: #fff;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #212121;
    background: -moz-linear-gradient(top, #d57029 0%, #d57029 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d57029), color-stop(100%, #d57029));
    background: -webkit-linear-gradient(top, #d57029 0%, #d57029 100%);
    background: -o-linear-gradient(top, #d57029 0%, #d57029 100%);
    background: linear-gradient(to bottom, #d57029 0%, #d57029 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d57029', endColorstr='#d57029', GradientType=0);
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}


*:first-child+html input[type="submit"] {
    padding: 3px;
}

#search {
    background: #e2e2e2;
    margin: 0;
    padding: 1em .5em;
    text-align: center;
}

#vi { display: block;  position: relative;}
#vi img { width: 100%; height: auto;}
.viimg {position: relative;}
#vicopy { position: absolute;top: 30%;bottom: 30%; left:.6em; z-index: 1; width: 490px;}
#vicopy {font-family: 游明朝, YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; font-size: 68px; line-height: 1; }
#vicopy span {  font-size: 48px;}
.vcr { text-align: right;}
.visub { font-size: 20px; text-align: center; background: #df0000; color: #ffffff; display: block; padding:.6em 0;}
#main-copy { display: block; background: #f0ebdf;}
#main-copy-in { width: 90%; display: block; margin: auto; padding: 3em 0;}
#main-copy h1 { line-height: 1.4; font-size: 30px; margin-bottom: 1.6em; padding: 0;}
#cpld { display: flex;}
#cpld section:first-of-type {margin-right: 3em;}
.ld01 { flex-basis: 60%;}
.img01 { flex-basis: 40%; }
#three { display: block;}
#three-in { display: flex; justify-content: space-between; width: 90%; margin: auto; padding: 3em 0;}
#three-in section { flex: 1; margin: 2%;}
#three-in section img { width: 100%; height: auto;}
#three h2 {font-size: 22px; line-height: 1.3;}
#unei { display: block; background: #fcfbef;}
#unei-in { width: 90%; display: block; margin: auto; padding: 3em 0;}
#topcap { text-align: center;}
#topcap h2 { font-size: 40px; display: inline-block; background: #ffffff; padding:.5em 1em; border:solid 1px #111;}
#item { display: flex; justify-content: space-between; flex-wrap: wrap;}
#item section { flex-basis: 46%; margin: 2%; display: flex;}
#item h3 { font-size: 26px; line-height: 1.4; margin: 0; padding: 0;}
#item .subn { font-size: 16px; font-weight: bold; line-height: 1.4; margin: 0; padding: 0;}
#item p { font-size: 16px; line-height: 1.8; margin: .5em 0 0 0; padding: 0;}
#srimg img { width: 180px; height: 180px; border-radius: 50%; }
#itemld { flex-basis: 60%;}
#srimg { width: 200px; height: 200px; margin-right: 1em;}
#kyusyoku { background: #f4eee0; display: block;}
#kyusyoku-in { width: 90%; display: flex; align-items: center; margin: auto; padding: 3em 0;}
#kyusyoku-in section:first-of-type {margin-right: 2em;}
#kyusyoku-in h2 { margin: 0 0 .6em 0; padding: 0;}
#kyusyoku-in p { font-weight: bold;}
.kyusyokuimg { flex-basis: 33%;}
.kyusyokuld { flex-basis: 100%;}
#quick { background: #f4e3e0; display: block;}
#quick-in { width: 90%; display: flex; align-items: center; margin: auto; padding: 3em 0;}
#quick-in section:first-of-type {margin-right: 2em;}
#quick-in h2 { margin: 0 0 .6em 0; padding: 0;}
#quick-in p { font-weight: bold;}
.quickimg { flex-basis: 40%;}
.quickld { flex-basis: 100%;}
#bentoh {background: #cc3300; display: block;}
#bentoh-in { display: flex; justify-content: space-between; width: 90%; padding: 3em 0; margin: auto;}
.bentld { flex-basis: 60%;}
.bentimg { flex-basis: 400px;}
#bentoh-in section:first-of-type {margin-right: 2em;}
#bentoh-in h2 { font-size: 42px; color:#ffffff; border-bottom: solid 4px #ffae00; padding: 0 0 .3em 0; margin: 0 0 1em 0;}
#bentoh-in p { color:#ffffff; font-weight:bold;}
#topics { width: 90%; display: block; margin: auto; padding: 3em 0 5em 0;}
#news { display: block;}
#news-in { width: 100%; display: block;}
#tptit { display: flex; justify-content: space-between; align-items: center;}
#tptit h2 { font-size: 42px; }
#tptit h2 span { font-size: 28px; margin-left: 1em;}
#news-in dt { font-weight: normal;  padding: .5em 0 .5em 2em;}
#news-in dd { margin: -3em 0 0 0; padding: .5em 0 .5em 10em; }
#news-in dd span { color:#cc3300; margin-right: 1em;}
#news-in a { text-decoration: none; color:#111111;}
#news-in a:hover {color:#dd0000;}
#news-in dd:nth-of-type(odd) { background: #f2f1e8;}
#tplis { font-weight: bold;}
#tplis::before { content:url(images/arow.svg); padding-right: .3em;  vertical-align: middle;} 
#cont { max-width: 1100px; width: 90%; display: block; margin: auto;}
#bigbn { display: block; max-width: 700px; width: 90%;  margin: auto; padding:0em 0 7em 0; }
#footer { background: #f1efd8;}
#footer img { width: 100%; height: auto;}
#footer-inner { width: 90%; display: block; margin: auto; padding:3em 0 5em 0; font-size: 16px; line-height: 1.6;}
#fdcont {display: flex; justify-content: space-between;}
#fdlogo { font-size: 36px; font-weight: bold; margin-bottom: .2em;}
#footer-inner ul { list-style: none; padding: 0;}
#footer-inner ul a {text-decoration: none; display: block; text-align: center; background: #ffffff; padding: .5em 2em; margin-bottom: .6em; border-radius: 8px;}

#footer-inner ul a.haccp::before { content:url(images/haccp.png); vertical-align: middle; position: relative; top:.1em;}
#footer-inner ul a.ky::before { content:url(images/ky.png); vertical-align: middle; position: relative; top:.1em;}
#footer-inner #banner { display: block; text-align: center; padding-bottom: 4em;}
#footer-inner #banner section { display: block; width: 200px; margin: auto; }
#banner p { font-size: 12px;}
p {
    margin-bottom: 1.5em;
}
#content { display: block; margin-bottom: 8em; border-top: solid 1px #333;}
#flow { display: block; background: #f7f5ec; border-radius: 10px; margin: 4em 0 1em 0; text-align: center; }
#flow-inner { padding: 0 3em 3em 3em; text-align: left;}
.flow-t { font-size: 20px; font-weight: bold; display: inline-block; padding: .6em 2em; background: #fff; border: solid 1px #333; position: relative; top:-1.5em; border-radius: 30px;}
.flow-x {font-size: 20px; font-weight: bold; margin: 0 0 .3em 0; }
#flow-ld { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2em; border-bottom: dotted 1px #333; padding-bottom: 2em;}
.flld { flex-basis: 90%;}
.flimg {flex-basis: 160px; margin-left: 1em;}
#content #flow-ld p { margin: 0; padding: 0;}
#content h1 { font-size: 38px; line-height: 1.4; border-bottom: solid 4px #cc3300; padding-bottom:.3em ; margin: 0 0 1em 0;}
#content h2 { font-size: 30px; border-left: solid 10px #cc3300; padding-left:.6em ; margin: 0 0 1em 0;}
#content h3 { font-size: 26px; border-bottom: dotted 1px #727272; padding-bottom:.2em ; margin: 0 0 1em 0;}
#content h3::before {content: '● '; color: #cc3300;}
#content h4 { font-size: 24px; }
#img-tow { display: flex; justify-content: space-between; margin-bottom: 1em;}
#img-tow section { flex:1; margin: 2%;}
#img-the { display: flex; justify-content: center; margin-bottom: 1em;}
#img-the section { margin: 2%; text-align: center;}
#content dl { margin-left: 2em; margin-bottom: 2em;}
#content dt { }
#content dd { margin: -2em 0 1em 0; padding-left:10em ;}
#content dd::before {content: '： '; margin-left: -1.4em;}
#content dl.cp { margin-left: 1em; margin-bottom: 2em;}
#content dl.cp dd { margin: -2em 0 1em 0; padding-left:7em ;}
#content dl.cp dd::before {content: ''; margin-left: 0;}
#content #news-in dl { margin-left: 0; margin-bottom: 2em;}
#content #news-in dt { font-weight: normal;  padding: .5em 0 .5em 2em;}
#content #news-in dd { margin: -3em 0 0 0; padding: .5em 0 .5em 10em; }
#content #news-in dd::before {content: ''; margin-left: 0em;}
#content #news-in dd span { color:#cc3300; margin-right: 1em;}
#content #news-in a { text-decoration: none; color:#111111;}
#content #news-in a:hover {color:#dd0000;}
#content #news-in dd:nth-of-type(odd) { background: #f2f1e8;}
.cap2 { font-size: 18px; display: block; border: solid 1px #777; padding: .3em 1em;}
#content ul {
    margin: 0 0 3em 1em;
    padding: 0;
}

#content ul li {
    margin: 0 0 1em 2em;
    padding: 0;
    list-style-position: outside;
}


#content ol {
    margin: 0 0 3em 2em;
    padding: 0 0 0 1em;
}

#content ol li {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding: 0;
}

blockquote {
    clear: both;
    padding: 10px 0 10px 15px;
    margin: 10px 0 25px 30px;
    border-left: 5px solid #ccc;
}

blockquote p {
    padding: 5px 0;
}

table {
    border: 1px #dddddd solid;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 2em 0;
    width: 100%;
}

table th {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    font-weight: normal;
    background: #f2f2f2;
    vertical-align: middle;
}

table th:first-child {
	width: 30%;
}

table th span {
    color: red;
}

table td {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    background: #fff;
    vertical-align: middle;
}

table td.txc {
	text-align: center;
}

table p {
    margin: 0;
    padding: 0;
}

dl {
    margin: 0;
}

dt {
    font-weight: bold;
}

dd {
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

img.aligncenter {
    display: block;
    margin: 0 auto 1em auto;
}

img.alignright {
    margin: 0 0 1em 1em;
    display: inline;
}

img.alignleft {
    margin: 0 1em 1em 0;
}

.alignright {
	margin: 0 0 1em 1em;
    float: right;
}

.alignleft {
	margin: 0 1em 1em 0;
    float: left;
}

.red {
    color: #ff0000;
}

.shadow {
	box-shadow: 0 0 15px 0 rgba(0,  0,  0, 0.13);
}

@media only screen and (max-width: 1000px) {
   #main-copy .br-sp { display: none;}
}
@media only screen and (max-width: 900px) {
#item { display: block; }
#item section { margin-bottom: 2em;}
#kyusyoku-in { display: block; }
#kyusyoku-in section:first-of-type {margin-right: 0em;}
#kyusyoku-in h2 {text-align: center;}
.kyusyokuimg { width: 100%; text-align: center; margin-bottom: 1em;}
#quick-in { display: block; }
#quick-in section:first-of-type {margin-right: 0em;}
#quick-in h2 {text-align: center;}
.quickimg { width: 100%; text-align: center; margin-bottom: 1em;}
}
@media only screen and (max-width: 800px) {
#vicopy { top: 28%;bottom: 28%;  width: 300px;}
#vicopy {font-size: 48px;  }
#vicopy span {  font-size: 28px;}
.visub { font-size: 14px; }
#cpld { display: block;}
#cpld section:first-of-type {margin-right: 0em;}
.ld01 { margin-bottom: 2em;  }
#main-copy h1 { font-size: 26px; }
#three-in { display: block;}
#three-in section {  margin: 0 0 2em 0;}
#topcap h2 { font-size: 30px; }
#fdcont {display: block; }
#fdlogo { font-size: 28px; font-weight: bold; margin-bottom: .2em;}
}
@media only screen and (max-width: 644px) {
   body {font-size: 16px;line-height: 1.5;}     
   #content dd { margin: -1.5em 0 1em 0;}
#vicopy { width: 200px;}
#vicopy {font-size: 28px;  }
#vicopy span {  font-size: 22px;}
.visub { font-size: 2.2vw; line-height: 1;}
#main-copy-in { padding: 2em 0 4em 0;}
#main-copy h1 { line-height: 1.6; font-size: 20px; }
#topcap h2 { font-size: 22px; }
#item h3 { font-size: 20px; }
#srimg img {
  width: 100px;
  height: 100px;
  border-radius: 50%; 
}
#itemld { flex-basis: 70%;}
#srimg { width: 110px; height: 110px; margin-right: .5em;}
#item .subn { font-size: 14px;}
#item p { font-size: 14px; line-height: 1.6; }
#bentoh-in { display: block; }
#bentoh-in section:first-of-type {margin-right: 0; margin-bottom: 1em;}
#bentoh-in h2 { font-size: 32px; color:#ffffff; border-bottom: solid 4px #ffae00; padding: 0 0 .3em 0; margin: 0 0 .5em 0;}
#tptit { display: block; }
#tptit h2 { font-size: 28px; text-align: center;}
#tptit h2 span { font-size: 18px; margin-left: 0; display: block;}
#tplis {text-align: center; margin-bottom: 3em} 
#news-in dt { font-weight: normal;  padding:  0;}
#news-in dd { margin: 0 0 1em 0; padding:  0 0 1em 1em; border-bottom: dotted 1px #111; }
#news-in dd:nth-of-type(odd) { background: none;}
#fdcont section:first-of-type { margin-bottom: 3em;}
.flow-t { font-size: 18px;}
#content h1 { font-size: 28px; }
#content h2 { font-size: 24px;}
#content h3 { font-size: 20px;}
#content h4 { font-size: 18px; }
#content dl { margin-left: 0; }
#content ul {
    margin: 0 0 3em 1em;
    padding: 0;
}
#content ol {
    margin: 0 0 3em 1em;
    padding: 0 0 0 1em;
}
.alignright {
	margin: 0 0 1em 0;
    float: none;
}

.alignleft {
	margin: 0 0 1em 0;
    float: none;
}
    span.wpcf7-list-item {
        display: block;
        padding: .6em 0;
    }
    textarea {
        height: auto;
        line-height: 1.5;
        width: 70%;
    }
    input[type="text"],
    textarea {
        width: 70%;
    }
    input[type="tel"],
    textarea {
        width: 70%;
    }
    input[type="email"],
    textarea {
        width: 70%;
    }
    input[type="url"],
    textarea {
        width: 70%;
    }
}