/*
Theme Name: SILENT BAKES
Theme URI: 
Author:  SILENT BAKES
Author URI: 
Description: The WordPress Theme for SILENT BAKES
Version: 2.0
*/

/*================================================
 *  CSSリセット
 ================================================*/
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,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;font-weight: normal;}body{line-height: 1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display: block}ul{list-style: none}blockquote,q{quotes: none}blockquote: before,blockquote: after,q: before,q: after{content: none}a{margin: 0;padding: 0;font-size: 100%;vertical-align: baseline;background: transparent}del{text-decoration: line-through}abbr[title],dfn[title]{border-bottom: 1px dotted;cursor: help}table{border-collapse: collapse;border-spacing: 0}hr{display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0}input,select{vertical-align: middle}


/*================================================
 *  共通
 ================================================*/

html,body {
    font-size:62.5%;
    font-feature-settings : "palt";
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}
body {
    line-height: 1.5714;
    position: relative;
}
main {
    font-size: 1.6rem;
    padding-top: 80px;
}
p {
/*	line-height: 1.5714;*/
 /*   margin-bottom: 0.5em;*/
}
img {
	max-width: 100%;
    height: auto;
}
hr {
    height:0;
    margin: 0 0 50px 0;
    border: 1px solid #000000;
}

.page-navi li {
    padding: 30px 20px 0 20px;
    flex: 1;
}
.page-navi a {
    background-color: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 5px;
    display: block; 
    font-size: 1.8rem;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    padding: 18px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    box-sizing: border-box;
}
.page-navi a:hover {
    background-color: #CCCCCC;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.page-navi a i {
    padding:0 0.25em;
    font-size: 1.4rem;
}

@media screen and (min-width:767px) {
    main {
        padding-top: 100px;
    }
    .page-navi {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
}


/*================================================
 *  ヘッダー
 ================================================*/

header {
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top:0;
    z-index: 10;
}
header .container {
    position: relative;
    box-sizing: border-box;
    height: 80px;
}
h1 {
    width: 180px;
    height: 60px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}
#gnav button {
	display: block;
}
#gnav nav li {
	margin-bottom: 1em;
    text-align: center;
}
#gnav nav li a {
}

@media screen and (min-width:767px) {
    header {
    } 
    header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
    }
    h1 {
        width: 180px;
        height: 60px;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
    #gnav {
        position: relative;
        width: 100%;
    }
    #gnav button {
        display: none;
    }
    #gnav .drawer-menu {
        display: flex;
        justify-content: center;
    }
    #gnav .drawer-menu .menu-left-container {
        padding-right: 100px;
        width: 50%;
        box-sizing: border-box;
    }
    #gnav .drawer-menu .menu-right-container {
        padding-left: 100px;
        width: 50%;
        box-sizing: border-box;
    }
    #gnav #menu-left {
        display: flex;
        justify-content:flex-end;
    }
    #gnav #menu-right {
        display: flex;
        justify-content:flex-start;
    }
    #gnav nav li {
        margin: 0 1em;
        margin-bottom: 0;
    }
}


/*================================================
 *  トップページ 
 ================================================*/


/* トピック
===================================*/

#infomation {
    padding-bottom: 30px;
}
#infomation h2 {
  overflow: hidden;
  text-align: center;
  font-size: 3.0rem;
  margin: 0 auto 10px auto;
}
#infomation .container {
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    margin-bottom: 30px;
}
#infomation .instagram-postlist {
    margin-bottom: 20px;
}
#infomation .instagram-postlist .postlist-pc {
    display: none;
}

.news-postlist {
    margin: 55px auto 50px auto;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.news-postlist .post {
	 width:250px;
	 margin:0 15px 25px 15px;
}
.news-postlist .post dt {
}
.news-postlist .post dt img {
    width: 100%;
    height: 180px;
	object-fit:cover;
} 
.news-postlist .post dd {
    font-size: 1.6rem;
    font-weight: 600;
}
.news-postlist .post dd p{
    line-height: 1.75;
}
.news-postlist .post dd a {
    display: inline;
    padding-bottom: 5px;
    border-bottom: 1px dotted #000000;
}
.news-postlist .post dd .postdate {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.linklist {
    text-align: center;
}
.linklist a {
    text-align: center;
    display: inline-block;
    line-height: 1;
    padding: 0.7em 3em;
    border: 2px solid #000;
}


@media screen and (min-width:767px){
    
    #infomation {
        padding-bottom: 100px;
    }
    #infomation .container {
        margin-left: auto;
        margin-right: auto;
        padding-top: 55px;
        margin-bottom: 55px;
    }
    #infomation .instagram-postlist .postlist-pc {
        display: block;
    }
    #infomation .instagram-postlist .postlist-sp {
        display: none;
    }
}

/* footer
===================================*/

.copyright {
    margin: 0;
    padding: 30px 10px;
    font-size: 1.0rem;
    text-align: left;
}
#pageTop {
    font-size: 3.0rem;
    position: absolute;
    bottom: 0px;
    right: 10px;
}
#pageTop a {
    color: #FFFFFF;
}
@media screen and (min-width:480px) {
     .copyright {
        font-size: 1.2rem;
        text-align: center;
    }
}

/*================================================
 *  お知らせ
 ================================================*/

#news {
    padding-top: 50px;
    padding-bottom: 60px;
}
#news .container {
    max-width: 1096px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.entryposts {
    width: 100%;
}
.entryposts article {
    border: 1px solid #CCCCCC;
    padding: 20px;
    margin-bottom: 37px;
    box-sizing: border-box;
}
#news aside {
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
} 
.postdata {
    padding-top: 30px;
}
.postdate {
    font-size: 1.6rem;
    margin-bottom: 0.5em;
}
.post-title {
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 1px dotted #000000;
    padding-bottom: 8px;
}
.post-summary {
    font-size: 1.5rem;
}

.entryposts .post-summary p {
    margin-bottom: 2em;
} 
.entryposts .post-summary .postph {
    width: 300px;
    height: auto;
    margin-bottom: 1em;
}
.postlink {
    text-align: center;
}
.postlink a {
    display: inline-block;
    padding: 1em 2em;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}
#news aside h3 {
    text-align: center;
    line-height: 100px;  
}
#news aside .news-post {
    border-bottom: 1px solid #CCCCCC;
    box-sizing: border-box;
    padding: 25px 20px 25px 30px;
}
#news aside .news-post:last-of-type {
    border-bottom: none;
}
#news aside .news-post dt {
    margin-bottom: 0.25em;
}

@media screen and (min-width:480px){
    
    #news {
        margin-bottom: 130px;
    }
    .entryposts article {
        border: 1px solid #CCCCCC;
        padding: 50px;
        margin-bottom: 37px;
        box-sizing: border-box;
    }
    .postlink a {
        display: inline-block;
        padding: 1em 3em;
        color: #FFFFFF;
        line-height: 1;
    }

}

@media screen and (min-width:767px){
  
    .entryposts {
        width: 736px;
        margin-right: 20px;
    }
    #news .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    #news aside {
        width: 230px;
        border: 1px solid #CCCCCC;
        box-sizing: border-box;
    }
}

.pg-nav {
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 50px;
}
.pg-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pg-nav li {
    padding: 0 6px;
}
.pg-nav a {
    display: block;
    width: 36px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #000;
    text-align: center;
    font-weight: 300;
}
.post-nav {
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 50px;
}
.post-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-nav li {
    width: 30%;
}
.post-nav a {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
/*    border: 1px solid #000;*/
    text-align: center;
    letter-spacing: 0.1em;
    box-sizing: border-box;
}

@media screen and (min-width:340px) {
    .post-nav a {
        font-size: 1.4rem;
    }
}
@media screen and (min-width:678px) {
    .pg-nav {
        margin-bottom: 0px;
    }
    .pg-nav a {
        display: block;
        width: 40px;
        height: 36px;
        line-height: 38px;
/*        border: 1px solid #000;*/
        text-align: center;
    }
    .post-nav {
        width: 65%;
        margin-bottom: 0px;
        margin-left: auto;
        margin-right: auto;
    }
    .pg-nav ul {
        height: 60px;
        line-height: 60px;
    }
    .post-nav ul {
        height: 34px;
        line-height: 36px;
    }
    .post-nav li {
        width: 27%;
    }
}

.alignleft {
	float: left;
	margin-right: 1em;
}
.alignright {
	float: right;
	margin-left: 1em;
}
.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
}
img.aligncenter {
	display: block;
}

@media screen and (min-width:678px) {
  
	#side .widget {
		width: 100%;
		padding: 0px 0px;
		box-sizing: border-box;
	}

}


/*================================================
 *  Contact
 ================================================*/

.mw_wp_form {
    font-size: 1.3rem;
    margin-bottom: 30px;
}
.mw_wp_form h3 {
    margin-bottom: 1em;
}
.mw_wp_form h3 span {
    padding-bottom: 0.25em;
    font-size: 1.5rem;
    padding-right: 2em; 
    border-bottom: 1px solid #000;
}
.mw_wp_form .fcC00 {
    color: #CC0000;
}
.mw_wp_form p {
}
.mw_wp_form .error_blank, .mw_wp_form .error_match {
    color: #FF0000;
}
input[type="text"], input[type="email"] {
	border: 1px solid #333333;
	background-color:#EFEFEF;
	padding:10px !important;
	width:100% !important;
	box-sizing: border-box;
}
.mw_wp_form .mwform-tel-field input[type="text"] {
	width:auto !important;
}
textarea {
	border: 1px solid #bbb !important;
	background-color:#EFEFEF;
	padding:10px !important;
	width:100%;
	height:300px;
	box-sizing: border-box;
}
.sendbtn {
	text-align:center !important;
	padding-top:30px !important;
}
.sendbtn input[type="submit"] {
   line-height: 1 !important;
	padding:10px 30px !important;
	background-color:#000000 !important;
	cursor:pointer;
	color:#FFFFFF !important;
	background-image:none !important;
	display:block !important;
	margin: 0 auto !important;
	-webkit-appearance: none;
}
.complete-message p {
	font-size:1.4rem;
    margin-bottom:1.25em;
}

@media screen and (min-width:769px) {
    
}