/*
Theme Name:M&Aライブラリー
*/


/*-------------------------------------------
全体
-------------------------------------------*/
.main-contents{
	display: flex;
	justify-content: space-between;
	width: 80%;
    margin: 5% auto;
}
a{text-decoration: none;}
/*-------------------------------------------
メイン
-------------------------------------------*/
main{
	width: 67%;
}
main h2{
	font-size: 1.3rem!important;
    font-weight: bold!important;
}
.caution{
	background: #917277;
	color: white;
	padding: 1rem 2rem;
}
/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#logo{width: 200px;}

/*-------------------------------------------
フッター
-------------------------------------------*/
.copywrite{
	text-align: center;
}
.footer-top{
	padding: 5% auto;
	background: #f4f7fb;
}
footer{
	background: #b6a3a6;
    color: white;
    padding: 1rem;
}
footer p{
	margin: 0px;
}
.footer-top{
	display: flex;
	justify-content: space-between;
	padding: 5%;
}
.footer-top .logo{width: 30%}
.footer-top .category{width: 30%}
.footer-top .category h4{
	color: #6a4449;
	font-weight: bold;
	font-size: 1.2rem;
	border-bottom: 2px solid #6a4449;
}
.footer-top .category ul{
	padding-left: 0px;
	list-style: none;
}
.footer-top .category li{
	color: black;
	padding: 1rem;
	border-bottom:  1px solid gray;
}
.footer-top .category li a{
	text-decoration: none;
	color: #6a4449;
}


.footer-top .footer-article h4{
	color: #6a4449;
	font-weight: bold;
	font-size: 1.2rem;
	border-bottom: 2px solid #6a4449;
}
.footer-top .footer-article{width: 30%}
.footer-top .footer-article .article-inner{
	display: flex;
	justify-content: space-between;
	margin-bottom: 5%;
}
.footer-top .footer-article .article-inner .left{
	width: 50%;
}
.footer-top .footer-article .article-inner .right{
	width: 50%;
	font-size: 1rem;
	color: black;
	text-decoration: none;
}
.footer-top .footer-article a{
	text-decoration: none;
}

.footer-top .footer-article .article-inner .left img{
	width: 200px;
    height: 120px;
    object-fit: cover;
}
.footer-top .footer-article .article-inner .right h3{
	font-size: 1rem;
}

#footer-logo{width: 300px;}

.article-inner{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.article-inner .article{
	width: 48%;
    display: block!important;
    overflow: hidden;
    /*border: 1px solid indianred;*/
    border-radius:8px;
    margin-bottom: 5%;
}
.article-inner .article .text{
	padding: 8px;
	width: 100%;
	margin: 0 auto;
	display: block;
	/*
	border: 1px solid indianred;
	border-top: 0px;
	border-radius: 0px 0px 8px 8px;*/
}
.article-inner .article a{
	text-decoration: none;
}
.article-inner .article img{
	width: 100%;
    height: 250px;
    object-fit: cover;
}
.article-inner .article .text h3{
	color: black;
	font-size: 1.2rem;
}
.article-inner .article .text .post-cat{
	background: #6b4446;
	color: white;
	padding: 8px 16px;
	font-size: 1rem;
	display: inline;
    border-radius: 4px;
    margin: 5% auto;
}
.article-inner .article .text .post-date{
	color: #b6a3a6;
	display: block;
	margin: 5% auto;
}

/*-------------------------------------------
スライダー(TOPページメインビジュアル)
-------------------------------------------*/
.slider {
    margin: 0 auto;
}
.slider img {
    height: auto;
    width: 100%;
    margin:0 auto;
}
.slider .slide{
	height: auto!important;
    width: 90%!important;
    margin: 0 auto!important;
    display: block!important;
    overflow: hidden;
    /*border: 1px solid indianred;*/
    border-radius:8px;
}
.slider .slide .text{
	padding: 8px;
	width: 100%;
	margin: 0 auto;
	display: block;
	/*
	border: 1px solid indianred;
	border-top: 0px;
	border-radius: 0px 0px 8px 8px;*/
}
.slider .slide .text h3{
	color: black;
	font-size: 1.2rem;
}
.slider .slide .text p{
	background:#6b4446;
	color: white;
	padding: 8px 16px;
	font-size: 1rem;
	display: inline;
    border-radius: 4px;
    margin: 5% auto;
}
.slick-prev:before,
.slick-next:before {
    color: #000;
}
.slider .slide a{text-decoration: none;}


/*-------------------------------------------
サイドバー
-------------------------------------------*/
#sidebar {
  width: 33%;
  height: fit-content;
  padding: 20px;
}
#sidebar .side-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.author {
  text-align: center;
  margin-bottom: 60px;
}
.author img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 30px;
}
.author .profile {
  font-size: 0.875rem;
  text-align: left;
}
.archive {
  text-align: center;
  margin-bottom: 60px;
}
.archive ul {
  border-bottom: solid  1px #777;
}
.archive li {
  font-size: 0.875rem;
  border-top: solid  1px #777;
  padding: 20px;
  text-align: left;
}

#sidebar img{width: 100%; margin: 5% auto;}
#sidebar .tag{
	margin: 10% auto;
}
#sidebar .tag h4{
	color: #6a4449;
	font-weight: bold;
	font-size: 1.2rem;
	border-bottom: 2px solid #6a4449;
}
#sidebar .tag ul{
	padding-left: 0px;
	list-style: none;
}
#sidebar .tag li{
	color: black;
	padding: 1rem;
	border-bottom:  1px solid gray;
}
#sidebar .tag li a{
	text-decoration: none;
	color: #6a4449;
}

#searchform{
	position: relative;
}
#sidebar #s{
  border: 2px solid #8f7275;
  background-color: white;
  width: 70%;
  font-size: 24px;
  height: 40px;
}

#sidebar input[type="submit"] {
  color: #fff;
  background-color: #8f7275;
  border: 1px solid #000;
  padding: 0 15px 0 15px;
  margin: 0px;
  position: absolute;
  right: 5%;
  width: 20%;
  height: 40px;
}


/*-------------------------------------------
検索結果
-------------------------------------------*/
.search main{
	width: 100%;
}
.search .mainserch{
	width: 67%;
}
.search .article{
	display: flex;
	justify-content: space-between;
	margin-bottom: 5%;
}
.search .article .left{
	width: 30%;
}
.search .article .left img{width: 100%;height: 200px; object-fit: cover;}
.search .article .right{
	width: 65%;
}


/*-------------------------------------------
カテゴリ一覧ページ
-------------------------------------------*/
.article-cat-inner{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.article-cat-inner .article{
	width: 48%;
    display: block!important;
    overflow: hidden;
    /*border: 1px solid indianred;*/
    border-radius:8px;
    margin-bottom: 5%;
}
.article-cat-inner .article .text{
	padding: 8px;
	width: 100%;
	margin: 0 auto;
	display: block;
	/*
	border: 1px solid indianred;
	border-top: 0px;
	border-radius: 0px 0px 8px 8px;*/
}
.article-cat-inner .article a{
	text-decoration: none;
}
.article-cat-inner .article img{
	width: 100%;
    height: 250px;
    object-fit: cover;
}
.article-cat-inner .article .text h3{
	color: black;
	font-size: 1.2rem;
}
.article-cat-inner .article .text .post-cat{
	background: #6b4446;
	color: white;
	padding: 8px 16px;
	font-size: 1rem;
	display: inline;
    border-radius: 4px;
    margin: 5% auto;
}
.article-cat-inner .article .text .post-date{
	color: #b6a3a6;
	display: block;
	margin: 5% auto;
}


/*-------------------------------------------
記事ページ
-------------------------------------------*/
.related-post-wrap h4{
	color: #6a4449;
	font-weight: bold;
	font-size: 1.2rem;
	border-bottom: 2px solid #6a4449;
}
.post .post-title{
	font-size: 1.5rem;
	font-weight: bold;
}
.post .post-date{
	color: #b6a3a6;
	display: block;

	margin: 5% auto;
}
.post img{
	width: 100%;
    height: 400px;
    object-fit: cover;
}
.post-categories{
	padding-left: 0px;
    list-style: none;
}
.post-categories li{
	background: #6b4446;
	color: white;
	padding: 8px 16px;
	font-size: 1rem;
	display: inline;
    border-radius: 4px;
    margin: 5% auto;
}
.post-categories li a{
	text-decoration: none;
	color: white;
}
.post .gaiyou{

}
.post .big-midashi{
	color: #fff;
    padding: 15px;
    background-color: #6a434a;
    margin: 30px -12px 30px;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.35;
    position: relative;
}
.post .small-midashi{
	color: #6a434a;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.7;
    margin: 20px 0 10px 15px;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}
.post .small-midashi::before {
    content: "";
    border-left: 7px solid #6a434a;
    min-height: 25px;
    position: absolute;
    left: -23px;
    top: 7px;
}

.post .honbun{

}


.related-post-wrap ul{
		display: flex;
    list-style: none;
    padding-left: 0px;
    justify-content: space-between;
}
.related-post-wrap ul li{
	width: 33%;
}
.related-post-wrap ul li img{
	width: 100%;
	object-fit: cover;
}
.related-post-wrap ul li a{
	text-decoration: none;
  color: black;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  aside
  -------------------------------------------*/
  #sidebar {
  	width: 100%;
    padding: 0;
  }
  .main-contents {
	  display: block;
	  width: 90%;
	  margin: 5% auto;
	}
	main {
		width: 100%;
	}
	.article-inner {
    display: block;
  }
  .article-inner .article {
    width: 100%;
  }
  .footer-top {
  	display: block;
  }
  .footer-top .logo {
  	width: 100%;
  	margin: 10% auto;
  	text-align: center;
  }
  .footer-top .category {
  	width: 100%;
  	margin-bottom: 10%;
  }
  .footer-top .footer-article {
  	width: 100%;
  	margin-bottom: 10%;
  }
  .footer-top .footer-article .article-inner .left img {
    width: 90%;
    height: 100px;
    object-fit: cover;
  }
  .article-cat-inner {
  	display: block;
  }
  .article-cat-inner .article {
    width: 100%;
  }
  .post img {
    height: 250px;
  }
  .search .mainserch {
  	width: 100%;
  }
  .search .article {
   	display: block;
   	margin-bottom: 10%;
  }
  .search .article .left {
    width: 100%;
  }
  .search .article .right {
    width: 100%;
  }
  .related-post-wrap ul{
		display: block;
	}
	.related-post-wrap ul li {
	    width: 100%;
	    margin-bottom: 10%;
	}

}




