/*
Theme Name: 
Theme URI: 
*/

.wpcf7-turnstile.cf-turnstile{
	visibility: hidden;
}
/*  --- お問い合わせフォーム --- */
.grecaptcha-badge {
    visibility: hidden;
}
.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;
}
/* 必須赤色表示 */
.wpcf7 .required {
    color: #f00!important;
}
/* 任意緑色表示 */
.wpcf7 .any {
    color: #080!important;
}
span.wpcf7-list-item {
    display: block;
    margin: 0.25em 0 0.25em 0;
}
/*  --- チェックボックスアニメ --- */
.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(--main);
    border-bottom: 3px solid var(--main);
    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);
}
/*  --- ラジオボタンアニメ --- */
input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
span.wpcf7-list-item{
	display: inline-block;
    margin: 0 15px 0 0;
	padding:16px 0 16px 50px;
	transition: all 0.25s linear;
}
@media only screen and (max-width:820px) {
	span.wpcf7-list-item{
		padding:16px 0 16px 0;
	}
}
.radioAnime .wpcf7-list-item.first {
  margin-left: 0;
}

.radioAnime span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
	transition: .25s linear;
}

.radioAnime span.wpcf7-list-item-label::before {
	display: block;
	content: "";
	border: 3px solid #AAAAAA;
	height: 16px;
	width: 16px;
	margin-right: 10px;
	transition: border .25s linear;
	border-radius: 100%;
}
.radioAnime span.wpcf7-list-item-label::after {
  display: block;
  position: absolute;
  content: "";
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--main);
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
.radioAnime input[type="radio"]:checked + span.wpcf7-list-item-label::after {
	display: block;
}
.radioAnime input[type="radio"]:checked + span.wpcf7-list-item-label {
  color:var(--main);
}
.radioAnime input[type="radio"]:checked + span.wpcf7-list-item-label::before {
	border: 3px solid var(--main);
}


/*  --- ページャー --- */
.wp-pagenavi{
	font-weight: 500;
	font-family: 'Lexend Peta', sans-serif;
	margin : 10rem 0 0;
	font-size:1.6rem;
	text-align:center;
	letter-spacing:0;
}
.wp-pagenavi span.current{
	background-color: #E8F4FC;
	border-radius: 100%;
	color : #0080CB;
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
}
.wp-pagenavi a{
	color:#0080CB;
	transition:0.25s;
	border-radius: 100%;
}
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.first,
.wp-pagenavi a.last{
	background-color: #0080CB ;
	color :#fff;
}
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink{
	color :#0080CB;
	background-color: transparent ;
}
.wp-pagenavi a:hover{
	background-color: #E8F4FC ;
	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;
}