/*
Theme Name: naturalpetdeli Theme
Theme URL: https://naturalpetdeli.co.jp/
Description: naturalpetdeli Theme
Author: Shintaro hamada
Version: naturalpetdeli 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font-weight: inherit;
    vertical-align: baseline;
    background: transparent;
}

html {
  box-sizing: border-box;
  overflow-y: scroll; /* All browsers without overlaying scrollbars */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}
html, body {
    width: 100%;
    height: 100%;
}
*,
:::before,
:::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

:::before,
:::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to :::before and :::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}
/* # =================================================================
   # General elements
   # ================================================================= */

/* Add the correct display in iOS 4-7.*/
audio:not([controls]) {
  display: none;
  height: 0;
}

hr {
  overflow: visible; /* Show the overflow in Edge and IE */
}

/*
* Correct `block` display not defined for any HTML5 element in IE 8/9
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox
* Correct `block` display not defined for `main` in IE 11
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

small {
  font-size: 80%; /* Set font-size to 80% in `small` elements */
}

[hidden],
template {
  display: none; /* Add the correct display in IE */
}

abbr[title] {
  border-bottom: 1px dotted; /* Add a bordered underline effect in all browsers */
  text-decoration: none; /* Remove text decoration in Firefox 40+ */
}

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
  -webkit-text-decoration-skip: objects; /* Remove gaps in links underline in iOS 8+ and Safari 8+ */
}
a:link {
    text-decoration: none;
}
a {
    color: inherit;
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

b,
strong {
  font-weight: bolder; /* Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+ */
}

dfn {
  font-style: italic; /* Address styling not present in Safari and Chrome */
}

/* Address styling not present in IE 8/9 */
mark {
  background-color: #ff0;
  color: #000;
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* # =================================================================
   # Forms
   # ================================================================= */

input {
  border-radius: 0;
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Safari 8 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule. */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden; /* Internet Explorer 11- */
}

audio,
canvas,
progress,
video {
  display: inline-block; /* Internet Explorer 11+, Windows Phone 8.1+ */
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Hide content from screens but not screenreaders */
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled] {
  cursor: default;
}

/* # =================================================================
   # Selection
   # ================================================================= */

/* Specify text selection background color and omit drop shadow */

::-moz-selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #000;
  text-shadow: none;
}
.error-error_site-main {
    position: relative;
    height: 100vh;
    margin: 0;
    padding: 5.0625em 0 0;
	background: #000;
}

.error-error {
    position: absolute;
    top: 45%;
    -webkit-transform: translateY(-45%);
    -moz-transform: translateY(-45%);
    -ms-transform: translateY(-45%);
    -o-transform: translateY(-45%);
    transform: translateY(-45%);
    width: 100vw;
}

.error-error_page-header{
    padding: 0 1em;
    margin: 0 auto;
    max-width: 38.443359375em;
    color: #fff;
}

.error-error_page-header h3{
    margin-bottom: .7em;
    font-size: 2rem;
    display: block;
	line-height: 50px;
	text-align: center;
}

.error-error_page-content {
    padding: 0 1em;
    margin: 0 auto;
    max-width: 38.443359375em;
    color: #fff;
}
/*wp-pagenavi 17*/
.wp-pagenavi {
	clear: both;
	text-align:center;
	margin-top: 50px;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: #000;
	background-color: #FFFFFF;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: thin solid #000;
}
.wp-pagenavi a:hover{
	color: #fff;
	background-color: #000;
    }
.wp-pagenavi span.current{
	color: #fff;
	background-color: #000;
    }


#content .news_wrapper{
	padding: 100px 0;
}
@media screen and (max-width: 768px){
#content .news_wrapper{
	padding: 80px 0;
}
}

/************************************
** 投稿個別ページ
************************************/
.post-contents-all{
	width: 100%;
	margin: 0 auto;
}

.post-contents-all .content-inner{
	max-width: 1240px;
	margin: 0 auto;
	padding: 100px 50px;
}
.article-img img, .the_content img{
	width: 100%;
	height: auto;
	margin: 25px auto;
}
.article-info h1{
	letter-spacing: 2px;
	margin: 20px 0 10px;
	text-align: left;
	font-size: 20px;
	font-weight: bold;
}
.article-date{
	letter-spacing: 2px;
	font-size: 12px;
	color: #333;
}
.the_content{
	letter-spacing: 2px;
	line-height: 1.7;
	margin-top: 100px;
}

.the_content p, .the_content li{
	font-size: 14px;
}

.the_content h2{
	font-size: 18px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}
.the_content h3{
	font-size: 16px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}

.the_content h4{
	font-size: 14px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}

@media screen and (max-width: 768px){
.the_content{
	margin-top: 50px;
}
.the_content p, .the_content li{
	font-size: 12px;
}
.post-contents-all .content-inner{
	padding: 80px 20px;
}
}


/************************************
** お問い合わせフォームの入力
************************************/

.contact-contact{
	max-width:  1240px;
	padding: 100px 50px;
	margin: 0 auto;
}

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field,
.wpcf7-select,
.inquiry textarea{
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: 0;
  padding: 0 12px;
  border: #000 1px solid !important;
  border-radius: 3px;
  box-shadow: none;
  color: #000;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
@media(max-width:500px) {

    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry{
	width: 100%;
	margin-bottom: 20px;
}

.entry-content .inquiry tr,
.entry-content table {
    border: none;
}


.verticallist .wpcf7-list-item {
    display: block
}
#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}
#formbtn:hover {
    background: #fff;
    color: #ffaa56;
    border: 2px none;
}
.inquiry th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px;
}

.inquiry input,
.inquiry select,
.inquiry textarea{
    border: none;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}
/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
.contact-contact{
	padding: 70px 20px;
}
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}
}
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#fff;
 padding-right:5px;
 width:30%;
 background:#595757;
 border:none;
 vertical-align: middle;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:none;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border: none;	
}
.inquiry td p{
 margin: 20px;
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background: #FF0004;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background: #00BAFF;
 color:#fff;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:1em 0;
 margin-top:30px;
 width:100%;
 background: #ff9600;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 border: none;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#ff8100;
 color:#fff;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-weight: bold !important;
    display: block;
    padding: 12px;
	font-size: 12px;
}
/************************************
** プライバシーポリシーページ・利用規約
************************************/
.privacy_inner h2{
    font-size: 26px;
    font-weight: 700;
    line-height: 2;
}
.privacy_inner p.numbers{
    font-size: 26px;
    font-weight: 700;
    line-height: 2;
}
.privacy_inner p{
    font-size: 16px;;
    line-height: 2;
	letter-spacing: 0.2em;
	margin-bottom: 20px;
}
@media(max-width:768px){
.privacy_inner h2{
    font-size: 19px;
}
.privacy_inner p.numbers{
    font-size: 19px;
}
.privacy_inner p{
    font-size: 14px;
}
.inquiry th{
	text-align: left;
	font-size: 14px;
	color: #fff;
	padding-right: 5px;
	width: 30%;
	background: #595757;
	border: none;
}
.inquiry td{
	margin: 0;
}
.inquiry td p{
 margin: 0;
}
}

/************************************
** パンくずリスト
************************************/
div.breadcrumbs {
  width: 100%;
  font-size: 11px !important;
  background: #f5f5f5;
  padding: 20px;
}
.breadcrumbs-area{
  max-width: 1240px;
  padding: 0 50px;
  margin:0px auto;
}

.post__pagination {
    max-width: 1000px;
    overflow: hidden;
    padding: 0 20px 70px;
    margin: 0 auto;
}
.post__pagination__left,
.post__pagination__right{
    width: 49%;
}
.post__pagination__left{
    float:left;
}
.post__pagination__right{
    float:right;
}
.post__pagination__left > a,
.post__pagination__right > a{
    display:block;
    position:relative;
}
.post__pagination__left__img,
.post__pagination__right__img{
    display:block;
    background:#000;
}
.post__pagination__left__img > img,
.post__pagination__right__img > img{
    width:100%;
    height:100px;
    object-fit:cover;
    opacity:0.3;
}
.post__pagination__left__text,
.post__pagination__right__text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 999;
    color: #fff;
    font-size:14px;
}
@media(max-width:768px){
.breadcrumbs-area{
  padding: 0;
}
