@charset "utf-8";

/*
Theme Name: うぶや イベント情報
Theme URI:
Description:
Version: 1.5
Author: nw
*/

/* ==========================================================================

	イベント

   ========================================================================== */


header:before {
	top: 0;
}
	
main {
	margin: 150px auto 0;
}

main h2 {
	margin: 0 auto 80px;
	font-size: 2.8rem;
	text-align: center;
	letter-spacing: 0.1em;
}

.post_list {
	font-size: 0;
	letter-spacing: 0;
}

.post_list li {
	display: inline-block;
	vertical-align: top;
	font-size: 1.6rem;
	width: 47.5%;
	margin: 0 5% 50px 0;
}

.post_list li:nth-of-type(2n) {
	margin: 0 0 50px;
}

.post_list li span {
	display: block;
	margin: 5px auto 0;
	color: #3599C1;
	font-size: 1.3rem;
	letter-spacing: 0.1em;
}

.post_list li.new span:after {
	content: "";
	display: inline-block;
	margin: 0 0 0 10px;
	width: 50px;
	height: 24px;
	vertical-align: bottom;
	background: url(/common/images/icon_new.png) no-repeat center center;
	background-size: contain;
}

.post_list li h3 {
	margin: 5px auto;
}

.post_list li p {
	font-size: 1.4rem;
}

.post_list li a:hover img {
	opacity: 0.7;
}


/*--------------------------------
	記事カラム
--------------------------------*/

section article {
}

section article .post {
	width:100%;
	padding: 0 0 60px;
	margin: 0 auto 60px;
	border-bottom: 1px dotted #DEEEF3;
}

section article .post h3 {
	width: 100%;
	line-height: 1.6;
	font-size: 2.0rem;
	margin: 0 0 10px 0;
	padding: 0;
}

section article .post .postInfo {
	margin: 0 0 40px 0;
	color: #3599C1;
	font-size: 1.4rem;
}

section article .post .postInfo.new:after {
	content: "";
	display: inline-block;
	margin: 0 0 0 10px;
	width: 50px;
	height: 24px;
	vertical-align: bottom;
	background: url(/common/images/icon_new.png) no-repeat center center;
	background-size: contain;
}

/* 記事内のスタイル */

section article .post .postText {
	font-size: 1.5rem;
	line-height: 1.8;
	letter-spacing: 0.08em;
	word-break: break-all; /* 英語の時は消す */
	min-height:1px;
	zoom:1;
}

section article .post .postText:after {
	content:".";
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	font-size:0px;
}

section article .post .postText a:link,
section article .post .postText a:visited	{ color:#000; text-decoration:underline; }
section article .post .postText a:hover,
section article .post .postText a:active	{ color:#999; text-decoration:none; }

section article .post .postText p {
	margin: 0 auto 20px;
}

section article .post .postText img {
	display: block;
	max-width: 100%;
	height:auto;
	margin: 0 auto 20px;
}

section article .post .postText .aligncenter {
	margin: 0 auto 20px;
}

section article .post .postText .alignleft {
	float: left;
	margin: 0 20px 20px 0;
}

section article .post .postText .alignright {
	float: right;
	margin: 0 0 20px 20px;
}

section article .post .postText .wp-caption {
	max-width: 100%;
}

section article .post .postText .wp-caption-text {
	/* font-size: .83em; */
	font-size: .9em;
	margin-top: -5px;
}

section article .post .postText strong {
	font-weight: bold;
}

section article .post .postText em {
	font-style: italic;
}

section article .post .postText blockquote {
	font-style: italic;
	margin: 1.12em 40px;
	color: #666;
}

section article .post .postText ul,
section article .post .postText ol {
	margin: 1.12em 0 
}

section article .post .postText ul li {
	list-style-type: disc;
}

section article .post .postText ol li {
	list-style-type: decimal;
}

section article .post .postText h1 {
	font-size: 2em;
	margin: .67em 0;
	font-weight: bold;
}

section article .post .postText h2 {
	font-size: 1.5em;
	margin: .75em 0;
	font-weight: bold;
	text-align: left;
	letter-spacing: 0;
}

section article .post .postText h3 {
	font-size: 1.17em;
	margin: .83em 0;
	font-weight: bold;
}

section article .post .postText h4 {
	margin: 1.12em 0;
	font-weight: bold;
}

section article .post .postText h5 {
	font-size: .83em;
	margin: 1.5em 0;
	font-weight: bold;
}

section article .post .postText h6 {
	font-size: .75em;
	margin: 1.67em 0;
	font-weight: bold;
}

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

section article .archiveTitle {
	display: block;
	font-size: 2.0rem;
	font-weight: bold;
	margin: 0 0 60px 0;
}

section article .postList {
	margin: 0 auto 30px;
}

section article .postList li {
	border-bottom:1px dotted #DEEEF3;
	padding:30px 0;
	min-height:1px;
	zoom:1;
}

section article .postList li:first-child {
	border-top:1px dotted #DEEEF3;
}

section article .postList li h3 {
	font-size: 1.8rem;
	line-height: 1.6;
	font-weight: normal;
	text-align: left;
	margin: 0 0 5px 0;
}

section article .postList li .postInfo {
	margin: 0;
}

section article .postList li .postInfo span {
	display: inline;
	font-size: 1.3rem;
	letter-spacing: 1px;
	margin: 0 0 3px 0;
}

section article .postList li .postInfo em {
	display: inline;
	font-size: 1.3rem;
	font-weight: normal;
	margin: 0 0 0 20px;
}


/*--------------------------------
	操作系
--------------------------------*/

/* 前後記事へのリンク */

.pagelink {
	font-size: 1.4rem;
	margin-top: 60px;
	text-align: center;
	line-height: 1.3;
	min-height:1px;
	zoom:1;
	clear:both;
}

.pagelink:after {
	content:".";
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	font-size:0px;
}

.pagelink .pageprev {
	float: left;
	max-width: 40%;
	position: relative;
	padding: 0 0 0 16px;
	overflow: hidden;
	text-align: left;
}

.pagelink .pageprev:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url(/common/images/arrow_left.svg) center center no-repeat;
	background-size: contain;
	position: absolute;
	left: 0px;
	top: 50%;
	-webkit-transform:translate(0, -50%);
	transform:translate(0, -50%);
}

.pagelink .pagenext {
	float: right;
	max-width: 40%;
	position: relative;
	text-align: right;
	padding: 0 16px 0 0;
	overflow: hidden;
	text-align: right;
}

.pagelink .pagenext:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url(/common/images/arrow_right.svg) center center no-repeat;
	background-size: contain;
	position: absolute;
	right: 0px;
	top: 50%;
	-webkit-transform:translate(0, -50%);
	transform:translate(0, -50%);
}

.pagelink > a {
	display: block;
	width: 120px;
	margin: 0 auto;
}

/* ページネーション */

.pagenation {
	margin: 30px 0;
	text-align: center;
}

.pagenation ul {
	padding: 0;
	list-style: none;
	font-size: 0;
}

.pagenation ul li {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
	font-size: 13px;
	line-height: 30px;
}

.pagenation ul li a {
	display: block;
	width: 30px;
	height: 30px;
}

.pagenation ul li a:hover {
	color: #3599C1;
	text-decoration: none;
}

.pagenation ul li span.current {
	display: block;
	width: 30px;
	height: 30px;
	color: #3599C1;
}

.pagenation ul li a.prev {
	width: 60px;
	padding: 0 10px 0 20px;
    background: url(/common/images/arrow_left.svg) no-repeat left center;
    background-size: 9px auto;
    border: none;
}

.pagenation ul li a.next {
	width: 60px;
	padding: 0 20px 0 10px;
    background: url(/common/images/arrow_right.svg) no-repeat right center;
    background-size: 9px auto;
    border: none;
}

.pagenation ul li a.prev:hover,
.pagenation ul li a.next:hover {
	background-color: transparent;
	opacity: 0.7;
}

.pagenation ul li a:link,
.pagenation ul li a:visited { color:#000; }
.pagenation ul li a:hover,
.pagenation ul li a:active { color:#3599C1; }


.pagenation ul li a.prev:hover,
.pagenation ul li a.prev:active { color:#999; }
.pagenation ul li a.next:hover,
.pagenation ul li a.next:active { color:#3599C1; }


/* ============================== SP ============================== */

@media only screen and (max-width: 812px) {
	
	header:before {
		top: 0;
	}
		
	main {
		margin: 80px auto 0;
	}
	
	main h2 {
		margin: 0 auto 40px;
		font-size: 2rem;
	}
	
	.post_list li {
		display: inline-block;
		vertical-align: top;
		font-size: 1.6rem;
		width: 100%;
		margin: 0 auto 50px;
	}
	
	.post_list li:nth-of-type(2n) {
		margin: 0 auto 50px;
	}
	
	.post_list li span {
		display: block;
		margin: 5px auto 0;
		color: #3599C1;
		font-size: 1.3rem;
	}

	.post_list li h3 {
	}
	
	.post_list li p {
		font-size: 1.3rem;
	}
	
	.post_list li a:hover img {
		opacity: 1;
	}

	/*--------------------------------
		記事カラム
	--------------------------------*/

	section article {
		float: none;
		width: 100%;
		border-bottom: 1px dotted #DEEEF3;
	}

	section article .post {
		margin: 0 0 30px;
		padding: 0 0 30px;
	}

	section article .post h3 {
		font-size: 1.6rem;
	    margin: 0 0 5px 0;
	}
	
	section article .post .postInfo {
		margin: 0 0 30px 0;
	}
	
	section article .post .postInfo span {
		font-size: 1.2rem;
		margin: 0 10px 0 0;
	}
	
	section article .post .postInfo em {
		font-size: 1.2rem;
	}

	/* 記事内のスタイル */
	
	section article .post .postText {
		font-size: 1.4rem;
		line-height: 1.8;
		letter-spacing: 0.08em;
	}

	section article .post .postText a:link,
	section article .post .postText a:visited	{ color:#000; text-decoration:underline; }
	section article .post .postText a:hover,
	section article .post .postText a:active	{ color:#000; text-decoration:underline; }
	
	section article .post .postText p {
		margin: 0 auto 15px;
	}

	section article .post .postText img {
		width:100%;
		margin: 0 auto 15px;
	}

	section article .post .postText img.alignright {
		margin: 0 auto 15px;
	}
	
	section article .post .postText img.alignleft {
		margin: 0 auto 15px;
	}

	/*--------------------------------
		アーカイブページ
	--------------------------------*/
	
	section article .archiveTitle {
		font-size: 2.0rem;
		font-weight: bold;
		margin: 0 0 60px 0;
	}
	
	section article .postList li {
		border-bottom:1px dotted #DEEEF3;
		padding:15px 0;
		min-height:1px;
		zoom:1;
	}
	
	section article .postList li:first-child {
		border-top:1px dotted #DEEEF3;
	}
	
	section article .postList li h3 {
		font-size: 1.4rem;
	}
	
	section article .postList li .postInfo {
		margin: 0 0 30px 0;
	}

	section article .postList li .postInfo span {
		font-size: 1.2rem;
		margin: 0 10px 0 0;
	}

	section article .postList li .postInfo em {
		font-size: 1.2rem;
	}


	/*--------------------------------
		操作系
	--------------------------------*/

	/* 前後記事へのリンク */
	
	.pagelink {
		font-size: 1.2rem;
		margin: 20px 0;
	}
	
	.pagelink .pageprev,
	.pagelink .pagenext {
		margin: 0 0 10px;
		max-width: 45%;
	}
	
	.pagelink > a {
		display: block;
		margin: 0 auto;
		clear: both;
	}


	/* ページネーション */

	.pagenation {
		margin: 20px 0;
	}
	
	.pagenation ul li {
		margin: 0 4px;
		font-size: 12px;
		line-height: 24px;
	}
	
	.pagenation ul li a {
		width: 24px;
		height: 24px;
	}
	
	.pagenation ul li span.current {
		width: 24px;
		height: 24px;
	}
	
	.pagenation ul li a.prev {
		padding: 0 10px;
	}
	
	.pagenation ul li a.next {
		padding: 0 10px;
	}
	
	.pagenation ul li a.prev:hover,
	.pagenation ul li a.next:hover {
		opacity: 1;
	}



}


/*****************************************************************************/

.vt-contact-form-7{

}

.vt-contact-form-7 form > p{
	margin: 30px 0;
	display: flex;
	justify-content: center;
	position: relative;
}
.vt-contact-form-7 form > p > label{
	width: 100%;
}
.vt-contact-form-7 input[type="email"],
.vt-contact-form-7 input[type="text"]{
	border: 1px solid var(--vt-border-color);
	box-sizing: border-box;
	width:100%;
	/*	width: calc(50% - 10px);*/
	height: 50px;
	line-height: 50px;
	text-indent: 13px;
	color: #6a6b70;
	font-size: 16px;
	margin: 15px 0 0 0;
}

.vt-contact-form-7 textarea{
	border: 1px solid var(--vt-border-color);
	box-sizing: border-box;
	width:100%;
	/*	width: calc(50% - 10px);*/
	height: 130px;
	line-height: 35px;
	text-indent: 13px;
	color: #6a6b70;
	font-size: 16px;
	margin: 12px 0 0 0;
}

.vt-contact-form-7 input[type="submit"]{
	height: 44px;
	text-align: center;
	font-size: 14px;
	background-color: transparent;
	border: 1px solid var(--vt-color-primary);
	color: var(--vt-color-primary);
	padding: 13px 35px;
	margin: 15px auto 0 auto;
	border-radius: 25px;
	font-size: 14px;
}

.wpcf7-spinner {
	position: absolute;
	top: 25px;
	right: 0px;
}

.wpcf7 form .wpcf7-response-output{
	margin: 0em 0em 1em;
	padding: 10px 15px;
	line-height: 30px;
}


@media only screen and (min-width:900px){
	.main-container.home-contact{
		padding: 70px 0px 50px 0px;
	}
	.home-contact .vt-contact-form-7{
		display: flex;
		flex-direction: column;
		padding: 0 25px;
		width:800px;
		margin: 50px auto 0 auto;
		background-color: var(--vt-bg-color-card);
	}
	.vt-contact-form-7 input[type="submit"]{

	}

}


