/*
Theme Name: okuno
Author: takeuchi yuri
Author URI: http://officetakeuchi.com
Description: OKUNO公式HP
Version: 0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------------------------------
1.0 General Setting
--------------------------------------------------------------*/
@import url("css/normalize.css");
/*
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    src: url('https://www.okuno-asahikawa.com/wp-content/themes/okuno/font/NotoSansJP-Regular.otf') format('woff'),
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    src: url('https://www.okuno-asahikawa.com/wp-content/themes/okuno/font/NotoSansJP-Bold.otf') format('woff'),
    font-display: swap;
}
*/
/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #4D4D4D;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.66;
}

@media all and (-ms-high-contrast:none){
  body { font-family:"Noto Sans JP", sans-serif;}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.4;
	margin: 0;
	padding:0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	padding-top: 0;
}

h1 {
	font-size: 24px;
	font-weight: 500;
}

h2 {
	font-size: 18px;
	font-weight: 300;
}

h3 {
	font-size: 18px;
	font-weight: 300;
}

h4 {
	color: #333;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 800;
}

h5 {
	color: #767676;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
}

h6 {
	color: #333;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 800;
}

p {
	margin: 0 0 1.5em;
	padding: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	color: #666;
	font-size: 18px;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

blockquote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
	margin-top: 0.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #eee;
	text-decoration: none;
}

big {
	font-size: 125%;
}

blockquote {
	quotes: "" "";
}

q {
	quotes: "“" "”" "‘" "’";
}

blockquote:before,
blockquote:after {
	content: "";
}

:focus {
	outline: none;
}

.line{white-space: nowrap;}

/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/

label {
	color: #333;
	display: block;
	font-weight: 800;
	margin-bottom: 0.5em;
}

fieldset {
	margin-bottom: 1em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	background: #fff;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
/*	display: block;*/
	padding: 0.7em;
/*	width: 100%;*/
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #222;
	border-color: #333;
}

select {
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	height: 3em;
	max-width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 0.5em;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
	font-weight: 400;
}

button,
input[type="button"],
input[type="submit"] {
  border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: none;
	box-shadow: none;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

input + button,
input + input[type="button"],
input + input[type="submit"] {
	padding: 0.75em 2em;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
	background-color: #ddd;
	color: #222;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
	background: #bbb;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
7.0 Formatting
--------------------------------------------------------------*/

hr {
	background-color: #bbb;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
8.0 Lists
--------------------------------------------------------------*/

ul,
ol {
	margin: 0;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0;
}

/*--------------------------------------------------------------
9.0 Tables
--------------------------------------------------------------*/

table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

th {
	padding: 0.4em;
	text-align: left;
}

tr {
	border-bottom: 1px solid #eee;
}

td {
	padding: 0.4em;
}

th:first-child,
td:first-child {
	padding-left: 0;
}

th:last-child,
td:last-child {
	padding-right: 0;
}

/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/

a {text-decoration: none;color: #4D4D4D;}
a:focus {outline: thin dotted;}
a:hover{color: #868686;outline: 0;}

/*--------------------------------------------------------------
11.0 Featured Image Hover
--------------------------------------------------------------*/

.post-thumbnail {
	margin-bottom: 1em;
}

.post-thumbnail a img {
	-webkit-backface-visibility: hidden;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.post-thumbnail a:hover img,
.post-thumbnail a:focus img {
	opacity: 0.7;
}

/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/
#gnav-wrapper{
	margin: 0 auto;
  width:100%;
  min-width:650px;
  position:relative;
}
ul#gnav{max-width:1000px;width: 100%;margin: 0 auto 10px;}
ul#gnav li a{margin:0 38px;height: 28px;display: inline-block;}
	ul#gnav li{
		display: -moz-inline-box;
		display: inline-block;
		*display: inline;
		*zoom: 1;
	}
	ul#gnav:before,ul#gnav li:after {
		content:"  |  ";
		color:#4D4D4D;
		font-size:11px;
	}

.pagetop {
  position: fixed;
  right:15%;
  bottom: 15%;
  z-index:100;
}

@media all and (min-width: 1000px) {
	ul#gnav li a{margin:0 36px;}
	ul#gnav li#access a{margin:0 64px;}
	ul#gnav li#access a{margin:0 64px;}
	ul#gnav li#shopnews a{margin:0 46px;}
}

@media all and (max-width: 1300px) {
	.pagetop {
  	right:0%;
	bottom: 15%;
	}
}

#ham-menu {
    background-color: #fff; /*メニュー背景色*/
    box-sizing: border-box;
    height: 100%;
    padding: 10px 40px; /*メニュー内左右上下余白*/
    position: fixed;
    right: -300px; /*メニュー横幅 width と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 300px; /*メニュー横幅*/
    z-index: 1000;
}

#menu-background {
    background-color: #333; /*黒背景*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}

#menu-icon {
    background-color: #fff; /*アイコン部分背景色*/
    border-radius: 0 0 0 10px; /*左下角丸*/
    color: #333; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px; /*アイコン縦高さ*/
    line-height: 50px; /*縦位置中央化*/
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
}

#menu-cb {
    display: none; /*チェックボックス本体は消しておく*/
}

#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(-300px); /*メニュー本体横幅 width と合わせる*/
}

#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}

/*--------------------------------------------------------------
13.0 Layout
--------------------------------------------------------------*/
.sp{display:none;}
.tablet{display:none;}
@media all and (max-width: 959px) {
	body{/*font-size: 16px;*/}
	.pc{display:none;}
	.tablet{display: block;}
}
@media all and (max-width: 599px) {
	body{/*font-size: 16px;*/}
	.pc{display:none;}
	.tablet{display: none;}
	.sp{display: block;}
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	text-align: center;
	background: #fff;
}

#header{
	position: fixed;
	top:0;
	left:0;
	width:100%;
	margin: 0 auto;
	overflow:hidden;
	z-index:3;
	background: rgba(255, 255, 255, 0.82);
}

#main{
	z-index:1;  margin: 156px auto 0;
	text-align: center;
	overflow: hidden;
	width: 100%;
	height: 100%;
	position:relative;
}
.main-inner{position:relative;
	height: 100%;	
	margin: 0 auto;
	width: 100%;
	max-width:800px;
	overflow:hidden;
}

.inline-block {
    letter-spacing: -.40em; /* 文字間を詰めて隙間を削除する */
}

@media all and (max-width: 959px) {
	#main{width: 98%;margin-top:0px;}
	#header{position:	relative;}
}

.alignleft{float:left}

/*--------------------------------------------------------------
13.1 Header
--------------------------------------------------------------*/

#header #header-inner{width:100%;max-width:1000px;margin: 0 auto;overflow: hidden;}
#header #header-inner ul {list-style: none;}
#header p#logo,
#header h1{margin:50px 0 30px}

#smenu ul#sgnav li {text-align: left;margin-bottom: 10px;list-style:none;}

@media all and (max-width: 959px) {
	#header p#logo,
	#header h1{margin:20px 0;}
}

/*--------------------------------------------------------------
13.2 Front Page
--------------------------------------------------------------*/
#main #slide{
	margin: 0 auto 30px;
	max-width: 1000px;
	width:100%;
}

.top .main-inner .info-area{margin:0 auto;text-align: left;font-size:0px;clear: both;width:812px;margin-right:-12px;}
.top .main-inner .info-area dl{display:inline-block; font-size:13px;margin:0 12px 35px 0;vertical-align:top;width: 150px;}
.top .main-inner .info-area dl dt{
  letter-spacing: normal;float:none;margin-bottom:10px;
	width:150px;
	height:150px;
	overflow:hidden;
  position:relative;
}
.top .main-inner .info-area dl dt img{
	max-width:140%;
/*  min-width:100%;*/
  width:auto;
  min-height:100%;
  max-height:140%;
  height:auto;
  position:absolute;
  top:-40%;
  right:-40%;
  bottom:-40%;
  left:-40%;
  margin:auto;
}
.top .main-inner .info-area dl dd{letter-spacing: normal;float:none;margin:0;height:auto;background-color:#FFF;text-align: left;    font-weight: 300;}
.top .main-inner .info-area dl dd img{margin:2px 8px 2px 0;}

.top .main-inner h1{width:160px;float:left;}

@media all and (max-width:850px) {
.top .main-inner .info-area{width:98%;margin:0 auto;}
.top .main-inner .info-area dl{width:18%;margin:0 1% 5%}
.top .main-inner .info-area dl dt{
	width:100px;
	height:100px;
}
}
@media all and (max-width:599px) {
	.top .main-inner h1{margin-left:5%;}
	.top .main-inner .info-area dl{width:98%;}
	.top .main-inner .info-area dl dt{float:left;width: 53%;height:180px;margin-right: 3%;}
	.top .main-inner .info-area dl dd{float: left;width:44%;margin-bottom:1%;}
}

/*--------------------------------------------------------------
13.3 Regular Content
--------------------------------------------------------------*/
.main-inner header{
	text-align: left;
}

.main-inner p {
    margin-bottom:1em;
}

.button {
	display: inline-block;
	width: 200px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
}
.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.button {
	background-color: #AEB966;
	color: #fff;
}

.button a{color: #fff;display:block;}
.button:hover {
	filter: alpha(opacity=75);
	-moz-opacity:0.75;
	opacity:0.75;
}




.site-content-contain {
	background-color: #fff;
	position: relative;
}

.site-content {
	padding: 2.5em 0 0;
}

/*--------------------------------------------------------------
13.5 Pages
--------------------------------------------------------------*/
/* topics */
.topics #main .main-inner{max-width: 1000px;}
.topics #main h1{
		font-size: 40px;
    font-weight: 200;
    text-align:left;}
.topics #main p.date{font-size: 20px;text-align:left;}
.topics #main p#info{text-align:left;}
#main .articleblk{max-width: 800px;
    margin: 0 auto 50px;overflow: hidden;text-align: left;}

.navigation{margin:50px auto 80px;text-align:center;max-width: 480px;font-size: 80%;}
.single .navigation{overflow:hidden;}
nav.navigation{ display: block;position: relative;}
.navigation .previous,
.navigation .next{background-color:#C0BFBF;padding:10px;width:45%;}
.navigation .previous{float:left;}
.navigation .next{float:right;}
.navigation .wp-pagenavi a,.navigation .wp-pagenavi span{padding:8px 10px;border:1px solid #DFDFDF;margin: 2px;}
.wp-pagenavi {
    clear: both;
}
@media all and (max-width: 599px) {

.topics #main h1{
		font-size: 130%;
	}
	.topics #main p.date{font-size: 110%;}
}

/* access */
.access #main .main-inner{max-width: 1000px;}
.access #accessimg{width:50%; float:left;margin-bottom:10%;text-align:left;padding-right:20px;}
.access #accesstxt{width:50%; float:right;margin-bottom:10%;text-align:left;}
.access #mainphoto{margin-bottom:20px;}
.access #main h1 {
    font-size: 40px;
    font-weight: 200;
}

#accessimg p {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
#accessimg p iframe,
#accessimg p object,
#accessimg p embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media all and (max-width:980px) {
	.access #accesstxt,
	.access #accessimg{width:100%; float:none;padding:0;}
	
}



/* page */
.page #main .main-inner{text-align: left;max-width: 1000px;margin-bottom:10px;}
.page #main .main-inner #article_header{margin-bottom:10px;}
.page #main .main-inner #article_header h1{
    font-size: 200%;
    font-weight: 600;
}

@media all and (max-width: 599px) {
.page #main .main-inner #article_header h1{
    font-size: 150%;
}
}

.page #main .main-inner ul{margin-bottom:10px;}

.page #main .table01 th {
    border: #E1E1E1 1px solid;
    width: 30%;
    padding: 1.5em;
    font-weight: 300;
    background-color: #AEB966;
    color: #FFF;
}

.page #main .table01 td {
    background-color: #FFF;
    border: #E1E1E1 1px solid;
    padding: 0;
}
.page #main .table01 td textarea,
.page #main .table01 td input {
    border: 0;
    padding: 3%;
}
/* contact */
#main p.send input[type="submit"] {
    width: 100%;
    text-align: center;
    background-color: #AEB966;
    color: #FFF;
    border-radius: 8px;
    padding: 3% 2.5%;
    font-size: 120%;
    margin: 1% auto 0;
    -webkit-box-shadow: 1px 1px 1px #C5C4C4;
    box-shadow: 1px 1px 1px #C5C4C4;
    margin-bottom: 3%;
    -webkit-appearance: button;
    cursor: pointer;
    overflow: hidden;
        font-weight: 300;
}

.wpcf7-textarea, .wpcf7-text {
    width: 94%;
}
div.wpcf7-validation-errors {
    border: 2px solid #D12B2B;
}
.required {
    float: right;
    padding-top: 2px;
    color: #FFF;
    background-color: #E95E5C;
    display: block;
    font-weight: 500;
    padding: 3px 6px;
    font-size: 75%;
}
div.wpcf7-response-output {
    margin: 0em 0.5em 2em;
    padding: 1em;
}

/* 404 page */
.customize-support #main .main-inner #article_header h1 {
    font-size: 40px;
    font-weight: 200;
}
.customize-support #main .main-inner {
    text-align: left;
    max-width: 1000px;
    margin-bottom: 100px;
}


.assistive-text, .customize-support .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}
.error404 #primary{
	padding 3em 2em;
}

.error404 #primary p{
  font-size:120%;	
}

.error404 #primary .search-form,
.search .#primary .search-form {
	margin-bottom: 3em;
}

/*--------------------------------------------------------------
13.6 Footer
--------------------------------------------------------------*/
div#footer {
	margin: 0 auto 10px;
	padding:0 2%;
	position:relative;
}
div#footer p#copyright{
	font-size:12px;
	margin: 0 auto;
	font-size: 10px;
	padding:10px 0;
}

#footer-inner{position:relative;
	height: 100%;	
	margin: 0 auto;
	max-width:1000px;width: 100%;
	overflow:hidden;
}
#footer ul {
	margin:0 auto;
  line-height: 1.35;
	overflow:hidden;
	font-size:12px;
	text-align:left;
	float: left;
}
#footer ul#fnav {
	float: right;
}

#footer ul#fnav li{
  margin-left:32px;
  margin-right:0px;
}

#footer ul.pagetop {
	text-align:center;
}
	#footer ul li {
			margin-right:32px;
			display: -moz-inline-box;
			display: inline-block;
			*display: inline;
			*zoom: 1;
	}
	
	#footer ul.pagetop li {
		display: block;
		margin-bottom:15%;
	}
	#footer ul li a{margin:0;}
	/*
	#footer ul:before,li#blog:after {
		content:"  |  ";
		color:#4D4D4D;
		font-size:11px;
	}
*/
#footer ul li a img:hover {
	filter: alpha(opacity=75);
	-moz-opacity:0.75;
	opacity:0.75;
}
@media all and (max-width:850px) {
	#footer ul.pagetop li {margin-right:2px;}
	text-align:center;
	#footer ul#fnav,
	#footer ul{float:none;margin:0 auto 15px;}
}

@media all and (max-width: 599px) {
	#footer ul li {/*margin-right: 2%;margin-bottom: 5%;*/}
}

/*--------------------------------------------------------------
16.0 Media
--------------------------------------------------------------*/
img {
	max-width:100%;
	height:auto;
	vertical-align: middle;
}

#main a img:hover {
	filter: alpha(opacity=75);
	-moz-opacity:0.75;
	opacity:0.75;
}

/* test */
#mihon #topics .info-area {
  display: flex;
  flex-wrap:wrap;/*回り込み有効化*/
}

#mihon #topics .info-area dl{
  width: calc(100% / 3);/*3等分*/
  margin-right:0;
}

.wp-video{
  margin:0 auto 2%;
  max-width:1000px;
}