/*
 Theme Name:   子テーマ Twenty Sixteen
 Theme URI:    https://example.com/twentysixteen-child/
 Description:  Twenty Sixteenの子テーマです
 Author:       あなたの名前
 Author URI:   https://example.com
 Template:     twentysixteen
 Version:      1.0.1
 Text Domain:  twentysixteen-child
*/

/* 	own */
.site-inner {
	padding: 0 10%
}

/* own */
.site-content {
	display: flex
}

/* own */
.content-area {
	font-size: 0.8rem;
}

/* own */
.sidebar {
	padding: 0%;
}

/* own */
.entry-title {
	font-size: 1.6rem;
}

.home .entry-title {
	font-size: 1rem;
}

.archive .entry-title {
	font-size: 1rem;
}

.search .entry-title {
	font-size: 1rem;
}

/* own */
.entry-footer {
	font-size: 0.6rem;
	margin: 0%
}

/* own */
.entry-header {
	margin-right: 0%;
    margin-left: 0%;
}

.home .post-thumbnail {
    margin-right: 5%;
}

.archive .post-thumbnail {
    margin-right: 5%;
}

.search .post-thumbnail {
    margin-right: 5%;
}

/* own */
.entry-content {
	margin-right: 0%;
    margin-left: 0%;
}

/* own */
.post-thumbnail {
	margin: 0 0 1.75em
}

/* own */
li {
	list-style-position: inside;
/* 	list-style-position: outside; */
}

/* own */
.site-info {
	text-align: center;
}

/* own */
.navigation.pagination {
	margin: 0 13.0769% 4.421052632em;
}

.nav-links {
	display: flex;
}

/* own */
@media screen and (min-width: 44.375em) {
    .post-navigation .post-title {
		font-size: 1rem
	}
}

/* own */
@media screen and (min-width: 44.375em) {
	.comments-area {
		margin: 5.25em 0%;
	}
}

/* own */
@media screen and (min-width: 44.375em) {
    .post-navigation {
		margin-left: 0%;
		margin-right: 0%;
	}
}

/* own */
.nav-previous {
	width: 50%;
	padding: 0% 5%;
}

/* own */
.nav-next {
	width: 50%;
	padding: 0% 5%;
}

.post-navigation div + div{
	border-top: none;
}

.page-title {
    text-align: center;
}

.page-header {
	margin: 0 0% 3.5em;
}

.entry-summary {
	margin-bottom: 2em;
}

.entry-content h4 {
    margin-top: 1.75em;
}

article {
    flex-wrap: wrap;
	background-color: #eeeeee;
    border-radius: 8px;
	padding: 2% 2% 2% 2%;
}

.home article {
	display: flex;
}

.archive article {
	display: flex;
}

.search article {
	display: flex;
}
	
article .post-thumbnail {
	flex: 1 0 40%;
}

article .entry-header {
	flex: 1 0 55%;
    align-content: center;
}

article .entry-footer {
	flex: 1 0 100%;
}

.site-header {
	padding: 3.9375em 0%;
}

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

#primary {
	flex: 1 0 60%;
}

#secondary {
	margin: 0 0 0 5%;
    font-size: 0.7rem;
/* 	flex: 1 0 35%; */
	width: 35%;
}

.sidebar {
    position: sticky;
    height: fit-content;
	top: 52px;
}

ul {
	list-style: none;
}

.widget {
	margin-bottom: 3em;
}

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

.menu-toggle {
/* 	display: none; */
}

@media screen and (max-width: 810px) {
	#secondary {
		display: none;
	}
	
	.site-content {
		display: block;
	}
	
	.content-area {
		font-size: 0.8rem;
		width: 100%;
	/* 	margin-right: 5%; */
	}
	
	.post-navigation .post-title {
		font-size: 1rem;
		word-break: break-word;
	}
	
	.site-footer .main-navigation {
		display: block;
	}

	.menu-toggle {
		display: block;
	}
}


@media screen and (max-width: 480px) {
	#secondary {
		display: none;
	}
	
	.site-content {
		display: block;
	}
	
	.content-area {
		font-size: 0.8rem;
		width: 100%;
	/* 	margin-right: 5%; */
	}
	
	.site-inner {
		padding: 0 5%
	}
	
	.post-navigation .post-title {
		font-size: 0.8rem;
		word-break: break-word;
	}
	
/* 	#page {
		background-color: red;
	} */
}

.site-header-main {
	display: -webkit-block;
	display: -ms-block;
	display: block;
}

.wp-block-code code {
	background-color: inherit;
}

#site-header-menu {
	height: 100vh;
}

.site-header-menu {
	display: block;
	position: fixed;
	top: 0px;
    left: -100px;
	width: 20%;
    background-color: rgba(128,128,128,0.9);
    color: white;
    z-index: 1000;
	margin: 0px;
	text-align: center;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s ease-in-out, left 0.4s ease-in-out, visibility 0.4s ease-in-out; 
	
}

.site-header-menu.toggled-on {
	left: 0px;
	visibility: visible;
	opacity: 1;
	transition: opacity 0.4s ease-in-out, left 0.4s ease-in-out;
}

#menu-toggle {
	margin: 0px;
}


@media screen and (max-width: 783px) {
	.site-header-menu {
		width: 30%;
	}
	
	#menu-toggle {

	}
}


@media screen and (max-width: 710px) {	
	.site-header-menu {
		
	}
	
	#menu-toggle {

	}
}

body {
	font-family: Segoe UI, SegoeUI, Arial, sans-serif
}

.cat-item a:hover {
	background-color: rgba(128,128,128,1);
}

.own-lang-menu {
	position:absolute;
	top: calc(3.9375em + 1.3125em);
	right: 10%;
	display: flex;
	gap: 16px;
}

.single h2 {
/* 	color: white; */
	background-color: rgba(221,221,255,1);
}

.page article h2 {
/* 	color: white; */
	background-color: rgba(221,221,255,1);
}

aside h2 {
	/* 	color: white; */
	margin-bottom: 5%;
	background-color: rgba(221,221,255,1);
}

.cat-dropdown {
	margin-top: 5%;
}

.search-form {
	margin-bottom: 5%;
}

#cat-sidebar {
	margin-bottom: 5%;
}

.recent-posts {
    display: flex;
    margin: 0%;
}

.recent-posts li {
	flex: 1;
    width: 30%;
    margin-right: 3.3%;
}

.recent-posts li:nth-child(3) {
	margin-right: 0%;
}

