/*---------------------------------------------------------------------------------

	Theme Name: moujitsu.ai
	Template: fukasawa
    Text Domain: fukasawa
	Theme URI: https://andersnoren.se/teman/fukasawa-wordpress-theme/
	Version: 2.1.2
	Description: Fukasawa is a minimal masonry style blog theme for photographers and collectors. It features responsive & retina-ready design, Block Editor support, support for the image, gallery and video post formats, four custom widgets, an archive page template, a gallery slideshow, custom accent color support, custom logo support, editor styles, and much more. Demo: https://andersnoren.se/themes/fukasawa/
	Tags: blog, three-columns, left-sidebar, custom-colors, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, portfolio, grid-layout, block-styles, wide-blocks
	Author: Anders Norén
	Author URI: https://andersnoren.se
	License: GNU General Public License version 2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Requires PHP: 5.6
	Tested up to: 6.0
	
	All files, unless otherwise stated, are released under the GNU General Public License
	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

/* ----------------------------------------------------------------------------------- */

/* navigation */
.mobile-menu a {
	color: #c6c6c6;
}

.mobile-menu li {
	margin-top: 15px;
}

.mobile-menu ul {
	margin-left: 20px;
}

.mobile-menu .current-menu-item:before,
.mobile-menu .current_page_item:before {
	left: -16px;
}

.mobile-menu li.user {
	color: #dddddd;
	text-transform: unset;
}

.mobile-menu h2.wp-block-heading {
	color: #dddddd;
	padding: 20px 1px 0 0;
	font-weight: 700;
	text-transform: unset;
}

/* for local staging */
.mobile-menu ul.wp-block-archives-list.wp-block-archives {
	margin: 0px;
}

.mobile-menu .wp-block-archives-list li {
	display: inline-block;
	margin: 0 1px 1px 0;
	/* padding: 6px 8px; */
	border: none;
}

.mobile-menu .wp-block-archives-list a {
	display: inline-block;
	padding: 6px 8px;
	margin: 0 1px 1px 0;
	border-radius: 2px;
	background: #eee;
	font-size: 11px !important;
	line-height: 1;
	color: #444;
}

/* end of local staging */

.mobile-menu ul.wp-block-categories-list.wp-block-categories {
	margin: 0px;
}

.mobile-menu .wp-block-categories-list li {
	display: inline-block;
	margin: 0 1px 1px 0;
	/* padding: 6px 8px; */
	border: none;
}

.mobile-menu .wp-block-categories-list a {
	display: inline-block;
	padding: 6px 8px;
	margin: 0 1px 1px 0;
	border-radius: 2px;
	background: #eee;
	font-size: 11px !important;
	line-height: 1;
	color: #444;
}

.mobile-menu .widget_tag_cloud::before {
	display: none;
}

.mobile-menu .wp-block-tag-cloud {
	margin-top: 0;
}

.mobile-menu .wp-block-tag-cloud a {
	display: inline-block;
	padding: 6px 8px;
	margin: 0 1px 4px 0;
	border-radius: 2px;
	background: #eee;
	font-size: 11px !important;
	line-height: 1;
	color: #444;
}

span.nowrap {
	display: inline-block;
	margin-right: 10px;
}

ul.main-menu li {
	text-transform: unset;
}

div.post-views {
	position: absolute;
	bottom: 0px;
	z-index: 1;
	margin-bottom: -1px;
	margin-left: 2px;
	font-size: 0.8rem;
	color: #767676;
	text-shadow: 0px -1px 1px white;
}

input[type="file"]#image {
	/* height: 75px; */
	width: 100%;
}

th.right {
	text-align: right;
}

td.right {
	text-align: right;
}

.post-inner {
	/* padding: 0 0 7.5% 0; */
	width: 820px;
}

.post-inner.top-thin {
	padding: 0 0 7.5% 0;
	/* width: 820px; */
}

.post-meta-bottom.top-thin {
	margin-top: 0px;
}

.featured-media.clear img {
	animation: pic-fadein 3s forwards;
	width: inherit;
	margin: 0 auto;
}

@keyframes pic-fadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

select {
	min-width: 120px;
}

input[type=submit].disabled {
	background-color: #bbbbbb;
	color: white;
}

@keyframes blink-border {
	0% {
		border-color: #eef;
		/* 初期の色 */
	}

	50% {
		border-color: #96e5f3;
		/* 中間の色 */
	}

	100% {
		border-color: #eef;
		;
		/* 初期の色に戻る */
	}
}

input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled) {
	border: 3px solid #eef;
	/* 初期の枠線の色 */
	animation: blink-border 3s infinite !important;
	/* 3秒周期で点滅 */
}

span.generating{
    animation: blinking 1s ease-in-out infinite alternate;
	color: #019ebb;
}
@keyframes blinking {
    0% {opacity: 0;}
    100% {opacity: 1;}

}
mark.generated{
	background: linear-gradient(transparent 45%, #ffbfbf 95%);
	color: #019ebb;
}
span.discarded{
	color: #777777;
}

.posts .post-container>div {
	width: 100%;
	padding: 16px;
	background: #fff;
	/* background: linear-gradient(to bottom right, #FfCaFf, #C8FeFf, #C8FfCa); ; */
	position: relative;
}

.post-content fieldset {
	padding: 15px;
	margin-top: 20px;
}

.post-content fieldset label {
	font-size: 0.8rem;
}

.post-content input[type="text"],
.post-content input[type="email"],
.post-content input[type="tel"],
.post-content input[type="url"],
.post-content input[type="password"],
.post-content textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 0.9em;
	border: none;
	color: #333;
	background: #f2f2f2;
	border-radius: 3px;
	-moz-appearance: none;
	-webkit-appearance: none;
}


/* submitボタンの2重押し防止 */
#wait {
	/** 全画面に強制表示する部分 */
	position: fixed;
	z-index: 999999;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;

	/** 最初は非表示にしておく */
	display: none;

	/** 全画面の背景色 */
	background-color: rgba(0, 0, 0, 0.8);
	padding-top: 70px;
	text-align: center;
}

#wait .wak {
	font-size: 24px;
	font-weight: normal;
	line-height: 140%;
	color: #FFF;
	display: inline-block;
	text-align: center;

	padding-top: 20px;
	padding-right: 40px;
	padding-bottom: 20px;
	padding-left: 40px;

	border: 1px solid #999;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

/* ダウンロードボタン */
.image-container {
    position: relative;
    margin: 0 auto;
    display: table;
}
    position: relative;
    margin: 0 auto;
    display: table;
.image-container img {
	display: block;
	margin: 1px auto;
}
.download-button {
	position: absolute;
	bottom: 6px;
	right: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	text-decoration: none;
	/* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}
.download-button img {
	width: 20px;
	height: 20px;
}    

/* アコーディオン */
.accordion-006 {
	margin-bottom: 7px;
	border-radius: 5px;
	display: block;
	margin: 2px auto;
	padding: 3px 10px;
	border: 2px solid #eee;
}

.accordion-006 summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: .3em .2em;
	color: #767676;
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .2rem;
}

.accordion-006 summary::-webkit-details-marker {
	display: none;
}

.accordion-006 summary::after {
	transform: translateY(-25%) rotate(45deg);
	width: 7px;
	height: 7px;
	margin-left: 10px;
	border-bottom: 3px solid #c2c2c2;
	border-right: 3px solid #c2c2c2;
	content: '';
	transition: transform .3s;
}

.accordion-006[open] summary::after {
	transform: rotate(225deg);
}

.accordion-006 p {
	transform: translateY(-10px);
	opacity: 0;
	margin: 0;
	padding: .6em .3em .3em;
	color: #767676;
	transition: transform .5s, opacity .5s;
	font-size: 1rem;
}

.accordion-006[open] p {
	transform: none;
	opacity: 1;
}

/* アコーディオンここまで */

/* Accessibility Settings -------------------- */

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.6s !important;
		transition-duration: 0.6s !important;
		/* chaged from 0s */
	}
}

/* affiliate */
.af_mobile {
	/* column-gap: normal;
		zoom: 0.85; */
	display: flex;
	margin: 0px;
}

.af_mobile_right {
	margin: auto auto auto 0px;
}

.af_mobile_left {
	margin: auto 0px auto auto;
}

/* Sticky Header */
.sticky-wrapper {
	position: sticky;
	top: 0;
	margin-bottom: 5px;
	background-color: rgba(255, 255, 255, 0.9);
}

.af_text {
	text-align: center;
	font-size: 0.9rem;
	color: #767676;
	padding-bottom: 5px;
	width: 100%;
}

/* Sticky Header */
.sticky-wrapper_head {
	position: sticky;
	top: 0;
	background-color: rgba(255, 255, 255, 0.9);
}

.sticky-header {
	z-index: 1000;
	/* padding: 10px 0; */
	margin-bottom: 0px;
}

.af_text_bottom {
	text-align: center;
	font-size: 0.9rem;
	color: #767676;
	padding-bottom: 5px;
	width: 100%;
}

/* Sticky Footer */
.sticky-wrapper_foot {
	position: sticky;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.9);
}

.sticky-footer {
	z-index: 1000;
	padding: 5px 0px 0px 0px;
	margin-top: 0px;
}

.af_text_top {
	text-align: center;
	font-size: 0.9rem;
	color: #767676;
	padding-top: 5px;
	margin-bottom: 0px !important;
	width: 100%;
}

/* -------------------------------------------------------------------------------- */
/*	13. Media Queries
/* -------------------------------------------------------------------------------- */


@media (max-width: 1411px) {

	/* post content */

	.post-content .alignfull,
	.post-content .alignwide {
		margin-left: calc((((100vw - 280px) * .86) - 620px) /-2);
		max-width: calc((100vw - 280px) * .86);
		width: calc((100vw - 280px) * .86);
	}

}


/* @media ( max-width: 1200px ) { */
@media (max-width: 1132px) {

	/* structure */

	.section {
		padding: 60px 0;
	}

	.medium-padding {
		padding: 45px 0;
	}

	.small-padding {
		padding: 30px 0;
	}

	.no-padding {
		padding: 0;
	}

	/* blog */

	.posts .post-container {
		width: 50%;
		padding: 5px;
	}

}


@media (max-width: 1132px) {

	/* post content */

	.post-content .alignfull,
	.post-content .alignwide {
		margin-left: calc((((100vw - 280px) * .86) - (((100vw - 280px) * .86) * .85)) /-2);
	}

}


/* @media ( max-width: 1000px ) { */
@media (max-width: 800px) {

	/* structure */

	.wrapper {
		margin-left: 0;
	}

	.sidebar {
		align-items: center;
		background: #fff;
		border-bottom: 1px solid #ddd;
		display: flex;
		justify-content: space-between;
		font-size: 1em;
		margin: 0;
		padding: 30px 5%;
		position: relative;
		width: 100%;
	}

	.sidebar:before {
		content: none;
	}

	.content,
	.content.thin {
		max-width: 90%;
		margin: 5% auto;
	}

	/* sidebar */

	.main-menu,
	.widgets,
	.credits {
		display: none;
	}

	.mobile-credits {
		color: #c6c6c6;
	}

	.blog-logo,
	.blog-title {
		width: 100%;
	}

	.blog-logo img {
		max-height: 100px;
	}

	/* nav toggle */

	.nav-toggle {
		display: block;
	}

	/* blog */

	.posts .post-container {
		width: 50%;
		padding: 5px;
	}

	/* post content */

	.post-content .alignfull,
	.post-content .alignwide {
		margin-left: calc(((100vw * .9) - 620px) /-2);
		max-width: calc(100vw * .9);
		width: calc(100vw * .9);
	}

}


@media (max-width: 808px) {

	/* post content */

	.post-content .alignfull,
	.post-content .alignwide {
		margin-left: calc(((100vw * .9) - ((100vw * .9) * .85)) /-2);
	}

}


@media (max-width: 800px) {

	/* single post */

	.post-navigation a {
		height: 100px;
	}

}


@media (max-width: 600px) {
	.posts .post-container+.post-container {
		margin-top: inherit;
	}
}

@media (max-width: 500px) {

	/* affiliate */
	.af_mobile {
		column-gap: normal;
		zoom: 0.85;
		display: flex;
		margin-top: 0px;
		/* margin: auto auto auto -9vw; */
	}

	div#wait .af_mobile {
		margin: auto;
	}

	/* sidebar */

	.sidebar {
		padding: 20px 5%;
	}

	.blog-title a {
		padding: 5px 7px 5px 9px;
		font-size: 16px;
		letter-spacing: 2px;
	}

	/* blog */

	.posts .post-container {
		width: 100%;
		padding: 0;
	}

	.posts .post-container+.post-container {
		margin-top: 20px;
	}

	.load-container {
		margin-top: 30px;
	}

	/* single post */

	.post.single .post-inner {
		padding-top: 30px;
		max-width: 96%;
	}

	.post.single .post-title {
		font-size: 1.00em;
		margin-bottom: 20px;
	}

	body.single-post .content.thin,
	body.page .content.thin,
	body.single-attachment .content.thin {
		/* margin: 0; */
		max-width: 98%;
	}

	.post-navigation {
		padding: 0 3%;
	}

	/* post content */

	.post-content h1,
	.post-content h2,
	.post-content h3,
	.post-content h4,
	.post-content h5,
	.post-content h6 {
		margin: 40px 0 20px;
	}

	.post-content h1 {
		font-size: 1.25em;
	}

	.post-content h2 {
		font-size: 1.15em;
	}

	.post-content h3 {
		font-size: 1.05em;
	}

	.post-content h4 {
		font-size: 1.0em;
	}

	.post-content h5 {
		font-size: 1em;
	}

	.post-content h6 {
		font-size: 0.85em;
	}

	.post-content blockquote,
	.post-content .wp-block-quote.is-large,
	.post-content .wp-block-quote.is-style-large {
		padding: 0 60px 0 0;
		margin: 1.5em 0;
	}

	.post-content blockquote:before {
		font-size: 48px;
		width: 56px;
		height: 56px;
		top: -2px;
		right: -11px;
	}

	.post-content blockquote p,
	.post-content .wp-block-quote.is-large p,
	.post-content .wp-block-quote.is-style-large p {
		font-size: 1.05em;
		line-height: 150%;
	}

	.post-content blockquote cite {
		font-size: 0.8rem;
	}

	.post-content hr {
		margin: 2em 0;
	}

	.post-content .alignfull,
	.post-content .alignwide {
		margin-left: calc(50% - 50vw);
		max-width: 100vw;
		width: 100vw;
	}

	.post-content .alignleft,
	.post-content .alignleft img,
	.post-content .alignright,
	.post-content .alignright img {
		max-width: 100%;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	/* comments */

	.comments-title,
	.comment-reply-title {
		font-size: 1.25em;
	}

	#cancel-comment-reply-link {
		font-size: 0.85rem;
	}

	.comment-actions .fleft,
	.comment-actions .fright {
		float: none;
	}

	.comment-awaiting-moderation {
		margin-bottom: 15px;
	}

	.comments-nav {
		padding: 18px 0;
	}

	.comments-nav span {
		display: none;
	}

	/* respond */

	.comment-form {
		margin-top: 30px;
	}

	.comment-form p {
		margin-top: 20px;
	}

	.comment-form p:first-child {
		margin-top: 0;
	}

	p.comment-form-author,
	p.comment-form-email {
		width: 100%;
		float: none;
		margin: 20px 0 0 0;
	}

	.comment-form textarea {
		height: 180px;
	}

	/* pagination */

	.page-title {
		font-size: 16px;
		padding-bottom: 20px;
	}

	.archive-title {
		margin: 0;
	}

	.archive-description {
		margin: 10px 0 0;
	}

}

/* @media (max-width: 500px) { */
@media (max-width: 800px) {

	/* navigation */
	/* .mobile-menu a {
		color: #c6c6c6;
	}

	.mobile-menu li {
		margin-top: 15px;
	}

	.mobile-menu ul {
		margin-left: 20px;
	}

	.mobile-menu .current-menu-item:before,
	.mobile-menu .current_page_item:before {
		left: -16px;
	} */

	/* blog */

	.posts .post-container>div {
		width: 100%;
	}

	/* single post */

	.post-navigation {
		padding: 15px;
	}

	.post-navigation a {
		max-height: 80px;
		width: 100%;
		margin: 0;
		float: none !important;
	}

	.post-navigation a+a {
		margin-top: 15px;
	}

	.post-meta-bottom ul li {
		float: none;
		display: block;
		margin: 0;
	}

	.post-meta-bottom ul li+li {
		margin-top: 8px;
	}

	/* post formats */

	.post.single .flex-direction-nav {
		margin-top: -16px;
	}

	.post.single .flex-direction-nav a {
		width: 32px;
		height: 32px;
	}

	.post.single .flex-direction-nav li:nth-child(1) a {
		margin-left: -32px;
	}

	.post.single .flex-direction-nav li:nth-child(2) a {
		margin-right: -32px;
	}

	.post.single .flexslider:hover .flex-direction-nav a {
		margin-left: 0;
		margin-right: 0;
	}

	/* post content */

	.post-content fieldset {
		padding: 8px;
	}

	/* pagination */

	.archive-nav {
		margin: 30px 0 25px;
	}

	.posts .post-container>div {
		padding: 10px;
	}

}