/*
Theme Name: トミファ
Theme URI: https://tomifa.js
*/


/*  --- お問い合わせフォーム --- */
.grecaptcha-badge {
	visibility: hidden;
}
.wpcf7-spinner{
	display:none;
}
.wpcf7 .wpcf7-not-valid {
    background-color: #FFCACA!important;
}
.wpcf7 span.wpcf7-not-valid-tip {
	font-size: 80%;
	text-align:center;
	margin-top:0.5em;
}
.wpcf7 form .wpcf7-response-output {
    margin: 30px auto 0;
    padding: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    color: #2d2d2d!important;
    background-color: #FFCACA!important;
    border: none;
    font-size:1.2rem;
    letter-spacing:0;
}
.wpcf7 form.sent .wpcf7-response-output {
    color: #2d2d2d!important;
    background-color: #c8ffff!important;
    border: none;
    font-size:1.2rem;
    letter-spacing:0;
}
.wpcf7 form.spam .wpcf7-response-output{
	color: #f56e28!important;
	background-color: #fef0e9!important;
	border: none;
}
span.wpcf7-list-item {
    display: inline-block;
    margin: 0.25em 0 0.25em 0;
}
/* 必須赤色表示 */
.wpcf7 .required {
    color: #f00!important;
}
/* 任意緑色表示 */
.wpcf7 .any {
    color: #080!important;
}
/*  --- チェックボックスアニメ --- */
.checkAnime .wpcf7-list-item-label {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.checkAnime .wpcf7-list-item-label::before {
    background: #fff;
    border: 1px solid #5F5F5F;
    border-radius: 3px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.checkAnime .wpcf7-list-item-label::after {
    border-right: 6px solid var(--blue);
    border-bottom: 3px solid var(--blue);
    content: '';
    display: block;
    height: 20px;
    left: 7px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(.7, .7, 1);
    transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(.7, .7, 1);
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    width: 9px;
}
input[type=checkbox]:checked + .wpcf7-list-item-label::before {
    border-color: #ccc;
}
input[type=checkbox]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
    -webkit-transform: rotate(45deg) scale3d(1, 1, 1);
    transform: rotate(45deg) scale3d(1, 1, 1);
}
.wpcf7-radio .wpcf7-list-item label {
    padding: 0 0.5em 0 0;
}
/*  --- ページャー --- */
.wp-pagenavi{
	font-weight: 500;
	font-family: "Barlow", sans-serif;
	margin : 35px 0 0;
	font-size:1.6rem;
	text-align:center;
	letter-spacing:0;
}
.wp-pagenavi span.current{
	background-color: #bfe2cc;
	border-radius: 100%;
	color : #008b34;
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
}
.wp-pagenavi a{
	color:#008b34;
	transition:0.25s;
	border-radius: 100%;
}
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.first,
.wp-pagenavi a.last{
	background-color: #008b34 ;
	color :#fff;
}
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink{
	color :#008b34;
	background-color: transparent ;
}
.wp-pagenavi a:hover{
	background-color: #bfe2cc ;
	border-radius: 100%;
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: none;
    margin: 8px;
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
	padding:0;
}
section#single .left .single-contents .gallery-item img{
	width:95%;
	height:auto;
	border:none;
	margin:0;
}
.gallery{
	margin:3em 0!important;
}
.gallery .gallery-caption{
	text-align: left;
	font-size: 1.2rem;
	margin-top: 0.25em;
}
@media only screen and (max-width:768px) {
	.wp-pagenavi{
		margin : 2rem 0 3rem;
		font-size:1.2rem;
}
.wp-pagenavi span.current{
	width:30px;
	height:30px;
	line-height:30px;
}
.wp-pagenavi a:hover{
	width:30px;
	height:30px;
	line-height:30px;
}
.wp-pagenavi a, .wp-pagenavi span {
    margin: 4px;
    width:30px;
    height:30px;
	line-height:30px;
}
.gallery{
	margin:1.5em 0!important;
}