@charset "utf-8";
/*
Theme Name: seikankensa
Theme URI: null
Description: Description
Author: 81bridge - LZJ
Version: 1.0
*/

.aligncenter {
	display: block;
	margin: 0 auto;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
	max-width: 100%;
}

a.nolink,
a.nolink:hover {
	opacity: 1;
	cursor: default;
	pointer-events: none;
}
.wp-block-image figure,
.wp-block-image figcaption {
	display: block;
}
.bgimg {
	width:100%;
	display: block;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.bgimg img {
	display: none !important;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
img[class*="wp-image-"], img[class*="attachment-"] {
    height: auto;
    max-width: 100%;
}
.wp-block-image figure, .wp-block-image figcaption {
    display: block;
}
a.nolink, a.nolink:hover {
    opacity: 1;
    cursor: default;
    pointer-events: none;
}
#main .submit {
	position: relative;
}
div.wpcf7 .ajax-loader,
div.wpcf7 .wpcf7-spinner {
	margin: 0 0 0 -12px;
	display: block;
	position: absolute;
	left: 50%;
	bottom: -30px;
}
.errorTxt {
	display: none;
	color: #dc3232;
	font-size: 1em;
	font-weight: normal;
}
.hideError .wpcf7-not-valid-tip {
	display: none !important;
}
.span-val.empty {
	display: none;
}
.span-val.empty+br {
	display: none;
}
.wpcf7-list-item {
	margin: 0;
}
.wpcf7-form-control-wrap:has(input[type="file"]) {
	position: static;
}

/* cookie-consent  */
.cookie-consent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: -200px;
  left: calc(50% - min(115.4rem,100%)/2);
  width: min(115.4rem,100%);
  font-size: calc(1.2rem * 1.2);
  background: #fff;
  padding: 1.2em;
  box-sizing: border-box;
  border: 1px solid #ddd;
  visibility: visible;
  transition: .5s;
  z-index: 100;
}
.cookie-consent.is-show {
  bottom: 30px;
}
.cookie-text {
  width: 90%;
}
.cookie-text a {
	color: #0080B5;
}
.cookie-agree {
  color: #fff;
  background: dodgerblue;
  padding: .5em 1.5em;
}
.cookie-agree:hover {
  cursor: pointer;
}
/* パッと消える */
.cc-hide1 {
  display: none;
}
/* ゆっくり消える */
.cc-hide2 {
  animation: hide 1s linear 0s;
  animation-fill-mode: forwards;
}
@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* メディアクエリ */
@media screen and (max-width: 738px) {
  .cookie-consent {
    flex-direction: column;
    width: calc(100% - 1.5rem * 2);
    left: 1.5rem;
  }
  .cookie-text {
    width: 100%;
    margin-bottom: 1em;
  }
}