/*
Theme Name: Mmdesign piece 2023
Author: Marie
Version: 2023
*/



.fadein {
	opacity: 0;
	transform: translateY(20px);
	transition: all 1s;
}

body {
	line-height: 1.6;
	font-size: 16px;
	color: #464646;
	position: relative;
	font-family: YakuHanJP,"TBUDGothic R", sans-serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	letter-spacing: .06em;
}
a,
a img {
	transition: 1s;
}
a:hover img {
	opacity: 0.8;
}
a {
	color: #444f;
}
img {
	max-width: 100%;
	height: auto;
}
.flex {
	display: flex;
	flex-wrap: wrap;
}
.flex img {
	width: 100%;
	height: auto;
}
.alignCenter {
	text-align: center;
}
.alignRight {
	text-align: right;
}
.alignleft {
	text-align: left;
}
.breadscrumb {
	font-size: 11px;
	display: flex;
	flex-wrap: wrap;
}
.pagelink {
	padding: 2em 0;
	display: flex;
	justify-content: space-between;
	font-size: 80%;
	gap: 10px;
}
.oldpage,.newpage {

}
.pagelink a {
	text-decoration: none;
	border: 1px solid #999;
	padding: 10px 20px;
	display: block;
}
.breadscrumb li {
	padding: 0 10px;
	display: block;
}
.breadscrumb li:first-child {
	padding-left: 0;
}

.description {
	font-family: YakuHanJP, "UD Shin Go Conde90 L" ,sans-serif;
	font-weight: bold;
}
.title {
	font-family: YakuHanJP, "UD Shin Go Conde90 M" ,sans-serif;
	font-weight: bold;
}

/*    */
.inner {
	max-width: 999px;
	margin: auto;
}
.inner2 {
	max-width: 777px;
}
.eyecatch img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}
.eyecatch {
	margin-bottom: 1em;
}
header {
	text-align: center;
	padding: 2em 0;
}
.global_menu ul {
	display: flex;
	justify-content: center;
}
.global_menu li {
	padding: 10px;
}

.postinfo {
	font-size: 80%;
}
.normal-list li {
	border-bottom: 1px solid #464646;
	padding: 2em .4em;
}
footer {
	font-size: 80%;
	text-align: center;
	padding: 2em 0;
}
a h2,a .postinfo {
	color: #464646;
}
.txt a {
	text-decoration: underline;
}
.single .eyecatch {
	width: 100vw;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
	height:  30vh;
}
.single .eyecatch::before {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(0,0,0,.224);
	position: absolute;
	top: 0;
	left: 0;
}
.single header {
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
}
.single main {
	padding-top: 30vh;
}
h1,h2 {
	padding: 2em 0 1.24em;
	font-size: 120%;
	font-weight: normal;
}
h3,h4 {
	padding: 1em 0 .4em;
	font-size: 110%;
}
.txt p {
	padding-bottom: 1.36em;
}
.single .postinfo {
	margin-bottom: 33.3px;
}
.footer_widget {
	padding: 2em;
}
.footer_widget .wp-block-social-links {
	display: flex;
	justify-content: center;
}
.profile_area {
	max-width: 300px;

}
.profile_area h2 {
	text-align: center;
}
.profile_area .txt {
	text-align: left
}
.home_top_widget {
	display: flex;
	justify-content: center;
}
.widget.widget_block {
	padding: 2em;
}
figure {
	margin-bottom: 2em;
}
.content figure {
	max-width: 900px;
}
.content .mw600 {
	max-width: 600px;
}
.content {
	margin-bottom: 2em;
}
.content h2 {
	border-bottom: 1px solid rgb(70, 70, 70);
	padding-bottom: 1em;
	margin-bottom: 2em;
}
.footer_menu .menu {
	display: flex;
	justify-content: center;
	margin: 2em auto;
	max-width: 90%
}
.footer_menu .menu li {
	margin-right: 14px;
}
.footer_menu .menu li:last-child {
	margin-right: 0;
}


.mb2em {
	margin-bottom: 2em;
}


/*

ウィジェット

カテゴリーリスト

*/

ul.wp-block-categories {
	text-align: left;
	max-width: 100%;
	width: 300px;
	margin-left: calc(100% - 300px);
}
ul.wp-block-categories ul {
	margin-left: 10px;
}
ul.wp-block-categories ul li {
	padding-bottom: 4px;
}
ul.wp-block-categories ul li::before {
	content: "- ";
}


/*

フォーム

*/
.wpcf7 {
	/*
	background: linear-gradient(to right, #e0e7d0,#c0d1da, #ced4c5);
	*/
	background: #E0ECFE;
	position: relative;
	padding: 4% 2%;
	max-width: 800px;
	margin: auto;
}
.wpcf7 table {
	z-index: 24;
	position: relative;
	width: 100%;
}
.wpcf7 th {
	text-align: right;
	width: 30%;
	vertical-align: middle;
}
.wpcf7 th,.wpcf7 td {
	padding: 14px;
}
.wpcf7 td p {
	padding-bottom: 0;
}
.wpcf7::before {
	content: "";
	background-image: url(/piece/wp-content/uploads/2024/04/flowers.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center bottom;
	width: 100%;
	height: 600px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	
}
input,textarea {
	border: none;
	outline: none;
	padding: 20px;
	background: rgba(255,255,255,.7);
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	transition: .6s;
	max-width: 100%;
	box-sizing: border-box;
}
input[type="submit"] {
	max-width: 400px;
	margin: auto;
	display: block;
	background: rgba(255,255,255,.7);
	transition: .3s;
	color: #464646;
}
input[type="submit"]:hover {
	background: white;
}
input[type="radio"] {
	width: 20px;
}

.wpcf7-radio label {
	position: relative;
	cursor: pointer;
	padding: 5px 5px 5px 33px;
	display: block;
}

.wpcf7-radio label::before,
.wpcf7-radio label::after {
	content: "";
	display: block; 
	border-radius: 50%;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}

.wpcf7-radio label::before {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	left: 5px;
}

.wpcf7-radio label::after {
	border-radius: 50%;
	background-image: url(https://slowpace.net/piece/wp-content/uploads/2024/04/flower-purple.png);
	background-size: 100%;
	background-position: no-repeat;
	opacity: 0;
	width: 29px;
	height: 29px;
	left: 3px;
}

.wpcf7-radio .wpcf7-list-item label:has( input:checked)::after {
	opacity: 1;
}

.wpcf7-radio input[type="radio"] {
	position: absolute;
	white-space: nowrap;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
}
/* メッセージ */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	z-index: 24;
	background: rgba(255,255,255,.7);
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	bottom: 100px;
	width: fit-content;
	animation-name: opacity0;
	animation-fill-mode: forwards;
	animation-duration: 6s;
}
@keyframes opacity0 {
		0% {}
		100% {
			opacity: 0;
			display: none;
			
		}
}

.wpcf7-not-valid-tip {
	color: #DFA1B9 !important;
	position: absolute;
	left: 20px;
}
.wpcf7-not-valid-tip::before {
	content: "\f30b";
	font-family: fontawesome;
	margin-right: 4px;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid
 {
	border: 4px solid #e2d3f0;
/*	background: #f4eff9;*/
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #e2d3f0 !important;
	border-width: 6px;
	padding: 20px;
	background: #f4eff9;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #7587c1 !important;
	border-width: 6px;
	border-radius: 30px;
	padding: 20px;
	background: #d5dcef;
	z-index: 24;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	bottom: 100px;
	width: fit-content;
}
/* ブログカード */

.blog-card {
	padding: 30px 20px;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	margin-bottom: 2em;
}
.blog-card-thumbnail {
	width:  40%;
}
.blog-card-ttl {
	
}
.blog-card-content {
	width: 60%;
	padding: 3.4% 0 3.4% 3.4%;
}
.blog-card-excerpt,.blog-card-url {
	font-size: 13px;
	padding: 3% 0;
}
.blog-card-url img {
	width: 16px;
}

/* pr */
.pr::before {
	content: "PR";
	border: 1px solid #efefef;
	padding: 2px;
	margin-right: 4px;
	font-size: 12px;
}
.pr {
	margin-bottom: 1em;
}

.wp-block-image figcaption {
	font-size: 80%;
}

/* 関連記事 */
.related_article ul {
	
}
.related_article li {
	width: 25%;
	padding: 0 8px;
}
.related_article a {
	text-decoration: none;
}

/*コメント*/
.comment-respond input,
.comment-respond textarea {
	background: #fafafa;
	width: fit-content;
	display: block;
	margin: .4em 0;
	
}

.commentlist .reply,
.fn {
	font-size: 80%;
}
.comment-meta {
	position: absolute;
	top: 10px;
	right: 50px;
	font-size: 11px;
}
.reply {
	position: absolute;
	top: 10px;
	right: 10px;
}
.commentlist p {
	padding: 10px;
}
.commentlist li {
	background: #eee;
	padding: 2em 1em 1em;
	margin-bottom: 1em;
	position: relative;
}
.commentlist .children li {
	background: white;
}
.comment-author {
	border-bottom: 1px solid #999;
	margin-bottom: 6px;
}
.comment-author.vcard img {
	width: 24px;
}