/*
Theme Name: 和晨家品株式会社
Theme URI: https://washinkahin.co.jp/
Author: 和晨家品株式会社
Author URI: https://washinkahin.co.jp/
Description: 和晨家品株式会社 コーポレートサイト
Tags: washinkahin
Version: 2023
Requires at least: 1
Tested up to: 1
Requires PHP: 7.0
License:
License URI: 
Text 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}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}


html {
	height: 100%;
	font-size: 62.5%;
	width: 100%;
}
body {
	font-family: YakuHanJP, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 1.4rem;
	line-height: 2.6rem;
	position: relative;
	color: #454545;
	background-color: #fff;
	margin: 0;
	padding: 0;
	width: 100%;
}

#wrapper {
	position: relative;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: justify;
}

a {
	color:#454545;
	transition: 0.5s;
}

a:hover {
	color: black;
	text-decoration: none;
	opacity: 0.5 ;
}
a.post-edit-link,
.page-template-page-bland .stage a.post-edit-link,
.edit-bt-area a,
.news-postlist a.post-edit-link {
	background-color: #a60000;
	color: white;
	padding: 0.2rem 0.6rem;
	display: inline;
}

.col-15, .col-sm-15, .col-md-15, .col-lg-15 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	width: 100%;
	line-height: 2rem;
}
.red{
  background-color: red;
}
.blue{
  background-color: blue;
}
@media (min-width: 768px) {
  .col-sm-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
@media (min-width: 992px) {
  .col-md-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
@media (min-width: 1200px) {
  .col-lg-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
@media (min-width: 1200px) {
  .col-xl-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
.col-15{
  width: 20%;
  flex: 0 0 20%;
}

.home h2.title {
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
    font-size: 3.2rem;
    margin-bottom: 12px;
    position: relative;
    
}

.home h2.title span {
	background-color: black;
	padding: .3rem .5rem;
	font-size: 0.8rem;
	color: white;
	font-family: YakuHanJP, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	margin-left: 1rem;
	position: absolute;
	bottom: -2px;
    line-height: 1;
}
.home h2.title span a {
	color: white;
	display: inline-block;
}

.home h3 {
	font-weight: 600;
} 


.page-template h2.title,
.single-post h2.title,
.archive h2.title,
.single-bland h2.title,
.page-template h2.title,
.single h2.title {
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
    font-size: 3rem;
    margin-top: 50px;
    margin-bottom: 60px;
    text-align: center;
}

header{
	height: 130px;
    width: 100%;
    margin: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    box-shadow: 3px 3px 6px -4px rgba(5, 5, 5, 0.4);
    font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
    font-size: 1.6rem;
    position: fixed;
    left: 0;
    top: 0;
    transition: .3s;
    padding-bottom: 3rem;
}

.is-animation{
  height: 60px;
  padding-bottom: 1rem;
}

@media screen and (max-width: 768px) {
header{
    padding-bottom: 2rem;
}
.is-animation{
  height: 80px;
}
}

a.custom-logo-link,
.custom-logo-link  {
	display: block;
	line-height: 1.6rem;
}

.custom-logo-link img {
	width: 230px;
	height: auto;
}

header .menu-gnavi-container .menu {
	display: flex;
	justify-content: flex-end;
}

header .menu-gnavi-container .menu li{
	text-align: right;
    margin: 0 0.6rem;
    line-height: 1.6rem;
}

header .menu-gnavi-container .menu li.current {
	text-decoration: underline;
}

@media screen and (max-width: 400px) {
header .menu-gnavi-container .menu li{
	font-size: 1.4rem;
}
}

header #hd-sns {
	position: absolute;
	top: -35px;
	right: 20px;
	font-size: 1.6rem;
	color: #dddddd;
	font-weight: lighter;
}

header #hd-sns .fa-instagram {
	margin-right: 0.6rem;
}

#sns .instagram a.onurl {
	color: #454545;
}

.slick-dots li button:before{
    font-size:40px;/*初期値は6px*/
}

.slick-dots li{
    width:10px;/*初期値は20px*/
}


.home-thum a{
  position:relative;
  overflow:hidden;
  background-color: white;
  display: flex;
  justify-content: center;
}
.home-thum img{
position:absolute;
}


#container-md {
	padding: 150px 0 80px 0;
	background-color: #f7f7f7;
}


#news,
#bland,
#company,
#sns {
	margin-top: 50px;
}

#news .entry-date {
	font-size: 1.2rem;
}
@media screen and (max-width: 576px) {
.news-widget {
	padding: 0px 40px;
}
	
}

.news-widget h4.widget-title {
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.news-widget .widget-container {
	margin-bottom: 1rem;
}

.news-widget .widget-container ul li {
	margin-bottom: 0.4rem;
}
    
#news .home-thum a{
  padding-bottom:100%;
}
#news .home-thum img{
top: 50%;
transform: translate(0,-50%);
}

#bland .home-thum a{
  padding-bottom:70%;
}
#bland .home-thum img{
top: 35%;
transform: translate(0,-35%);
}


#bland h3 {
	text-align: center;
	line-height: 2rem;
	margin-top: .3rem;
}

#sns .instagram {
	font-size: 3rem;
	color: #dddddd;
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
}

#sns .instagram .fab {
	line-height: 0;
	margin-right: 1rem;
}

#sns .instagram a.onurl {
	color: #454545;
}

.news-postlist {
	background-color: white;
	padding: 40px 40px 30px;
    margin-bottom: 40px;
}

.news-postlist h3.title {
	font-size: 2rem;
	font-weight: bold;
	margin: 0.6rem 0 1.6rem;
}
.news-postlist h3.title a {
	text-decoration: underline;
}

.page-template-page-bland .stage a {
	display: block;
}

.page-template-page-bland .stage hr {
	margin-top: 3rem;
	margin-bottom: 5rem;
}

.page-template-page-company .company-profile {
	margin-top:  2rem;
}

.page-template-page-company .company-profile h3 {
	font-size: 2rem;
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
}

.page-template-page-company .company-profile h4,
.page-template-page-company .company-profile p {
	line-height: 2rem;
	margin-bottom: 0;
}

.page-template-page-company hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.page-template-page-contact .entry-content span {
	margin-bottom: 0;
	font-size: 1.2rem;
}

.page-template-page-contact h5 {
	font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
	font-size: 2rem;
}

.page-template-page-contact .py-sm-3,
.page-template-page-contact .pb-3 {
	border-bottom: 1px solid black;
}

@media screen and (max-width: 576px) {
.page-template-page-contact .py-sm-3 {
		border-bottom: none;
}
.br-sm {
	display: none;
}
.page-template-page-contact h5 {
	display: inline;
	margin-right: 1rem;
}
}

.page-template-page-contact .pb-4 {
	border-bottom: 1px solid black;
}

.page-contact-bt {
	clear: both;
    width: 100%;
    text-align: center;
    display: block;
    background-color: #000000;
    padding: 10px 40px;
    color: #fff;
    margin-top: 24px;
}

.wpcf7 input {
    display: inline-block;
    padding: 8px;
    border: none;
}
.wpcf7 textarea {
    width: 100%;
    display: block;
    padding: 5px;
    border: none;
}
@media screen and (max-width: 576px) {
.wpcf7 input {
	width: 100%;
}
}
input.wpcf7-submit {
    clear: both;
    width: 100%;
    text-align: center;
    display: block;
    background-color: #000000;
    padding: 10px 40px;
    color: #fff;
    margin-top: 24px;
}
div.wpcf7 .wpcf7-spinner {
    display: block;
}


ul.page-numbers {
	text-align: center;
	margin-bottom: 40px;
}

ul.page-numbers li {
	display: inline-block;
	font-size: 1.2rem;
	padding: 0 1rem;
	background-color: #d5d5d5;
}



footer#footer {
	text-align: center;
	-moz-box-shadow: 0 0 5px 0 #ccc;
    -webkit-box-shadow: 0 0 5px 0 #ccc;
    box-shadow: 0 0 5px 0 #ccc;
}

.ft-menu {
	text-align: center;
	padding: 20px 0;
}

footer .menu-gnavi-container .menu {
	display: flex;
	justify-content:center;
}

footer .menu-gnavi-container .menu li{
	text-align: center;
    margin: 0 1rem;
    font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
    font-size: 1.6rem;
}

@media screen and (max-width: 576px) {
footer .menu-gnavi-container .menu li{
    margin: 0 0.8rem;
    font-size: 1.4rem;
}
}

footer#footer #copyright {
	text-align: center;
	min-height: 100px;
}