/*
Theme Name: Sample child by chane
Author: Chane
Template: sampletheme
version: 1.0
*/

/*
モバイルファーストで記述
当ファイルでlocalで開発→「webproduction」内からgithubへ
セレクタごとにメディアクエリを書くスタイルでやってみる
*/

/* リセット部分 */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
	font-family: inherit !important;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

a {
  color: #000;
  text-decoration: none;
}
/* 再度訪問時もリンク色なし */
a:visited {
	color: #000;
}
a:hover {
	text-decoration: none;
	color: #d4d4d4;
}

/* */

html {
	font-size: 16px;
}

/* body全体 */
body {
	font-size: 1rem;
	background-color: #f3f3f3;	
	font-family: "yu-gothic-pr6n", sans-serif !important;
 font-weight: 400;
 font-style: normal;
}

/* 見出しのみフォントを変更 */
h1, h2, h3, h4, h5, h6 {
	font-family: "fot-tsukuardgothic-std", sans-serif !important;
	font-weight: 700;
	font-style: normal;
}

h1 {
	font-size: 1.7rem;
}

h2 {
	font-size: 1.5rem;
	border-bottom: solid 3px #d4d4d4;
	padding-bottom: 10px;
}


h3 {
	font-size: 1.2rem;
	padding: 0.25em 0.5em;
  background: transparent;
  border-left: solid 5px #d4d4d4;
}

/* ウェジットのaの色を変更 */
.widget a {
	color: inherit;
}
.widget a:hover {
	color: #d4d4d4;
}
/* */

/*-- ヘッダー --*/

.site-header {
	padding: 0 1em;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
	background-color: #f3f3f3;
	z-index: 10;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
}
@media only screen and (min-width: 768px) {
	.site-header {
		height: 90px;
	}
}

.site-title {
	font-size: 1rem;
	margin: 10px;
}
@media only screen and (min-width: 768px) {
	.site-title {
		font-size: 1.5rem;
	}
}

.site-branding {
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: static;
}
@media only screen and (min-width: 768px) {
	.site-branding {
		height: 90px;
	}
}

.btn-menu {
	border: 1px solid #999;
	color: #999;
	background-color: transparent;
}
.btn-menu:hover {
	color: #fff;
	background-color: #999;
}

.main-navigation {
	width: 0;
	height: calc(100vh - 3rem);
	margin-top: 0;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	color: #000;
	background-color: #d4d4d4;
	font-size: 1.5rem;
	transition: 0.3s;
}
.main-navigation.open-menu {
	width: 100%;
}

.main-navigation {
	padding: 20px 0 50px;
}

.main-navigation .main-menu {
	display: none;
	text-align: center;
}
.main-navigation.open-menu .main-menu {
	display: block;
}

.main-navigation .main-menu > li {
	display: block;
	margin-top: 20px;
}

.main-navigation .main-menu > li > a{
	font-weight: 400;
}

/* あとで変更
.main-navigation {
	width: 0;
}
.main-navigation.open-menu {
	width: 100%;
}
*/

/* 親テーマの謎の擬似要素を削除 */
.site-description::before {
	display: none;
}

/*-- コンテンツ全体 --*/
.site-content {
	padding-top: 50px;
}
@media only screen and (min-width: 768px) {
	.site-content {
		/* PC版はヘッダーと被らないようにパディングにプラス */
		padding-top: calc(90px + 1em);
	}
}

/*-- アーカイブページ --*/

/*-- 個別投稿ページ --*/

/* メイン要素(タイトル~コメント) */
.site-main {
	margin: 0 auto;
	padding: 1rem 0;
	background-color: #fff;
}
@media only screen and (min-width: 768px) {
	.site-main {
		width: 850px;
		max-width: 90%;
	}
}

/* 記事内のリンクの下線(親テーマ)を無効化 */
article .entry-content a {
	text-decoration: none;
}

/* タイトルエリア */

article .entry-header {
	text-align: center;
}

.post-categories {
  display: flex;
	margin: 10px;
}
@media only screen and (min-width: 768px) {
	.post-categories {
		margin: 20px;
	}
}

.post-categories li{
	padding: 2px 5px;
	margin-right: 10px;
	background-color: #f3f3f3;
}

/* 親テーマの謎の擬似要素を削除 */
article .entry-title:before {
  display: none;
}

.entry-title {
	font-size: 1.5rem;
	margin-top: 20px;
	margin-bottom: 20px;
}

}

.custom-date {
	color: #d4d4d4;
}

/* 本文 */

/* 「ほかの記事」 */

article .other-article {
	margin-top: 100px;
}
@media only screen and (min-width: 768px) {
	article .other-article {
	margin-top: 120px;
	}
}

.other-article ul li {
	margin-top: 5px;
	margin-left: 5px;
}
@media only screen and (min-width: 768px) {
	.other-article ul li {
	margin-top: 10px;
	margin-left: 10px;
	}
}

/* 前後ページへのリンク */

@media only screen and (min-width: 768px) {
	/* 親テーマのmin-widthを初期値に */
	.post-navigation .nav-links .nav-previous, .post-navigation .nav-links .nav-next {
		min-width: auto;
	}
	
	/* 親テーマのmax-widthを変更 */
	.post-navigation {
		max-width: 100%;
	}
}
	
.post-navigation .nav-links {
		margin: 0 auto;
		width: 500px;
		flex-direction: row;
		justify-content: space-between;
}

/* 前後ページリンクに左右に余白を追加 */
.post-navigation {
	padding: 0 1rem;
}

/* 前後ページリンクホバー時の色も全体に合わせる */
.post-navigation .nav-links a:hover {
	color: #d4d4d4;
}

/*-- フッター --*/

/* 親テーマのいらない擬似要素を削除 */
.wp-block-heading::before {
	display: none;
}

.site-footer {
	text-align: center;
}

@media only screen and (min-width: 768px) {
	#colophon .widget-column {
		text-align: start; /*ウィジェットのみ初期化*/
		width: 850px;
		max-width: 100%;
		margin: 0 auto;
	}
}

@media only screen and (min-width: 768px) {
	#colophon .widget-column .widget {
		width: auto;
		margin-right: 100px;
	}
}

/* メディアクエリコピー用 */
@media only screen and (min-width: 768px) {
	.a {
		b: c;
	}
}