/*
Theme Name: misora-fudosan
*/

/* ============================
	common
============================ */

#wrapper {
  min-width: 1064px;
  overflow: hidden;
}

.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.bold {
  font-weight: 600;
}

.center {
	text-align: center;
}

@media screen and (max-width: 767px) {
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}

/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: absolute;
  transition: all 0.35s ease;
  top: 60px;
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
}

#sp-menu.opening {
  position: fixed;
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
  height: calc(100vh - 60px);
  z-index: 2;
}

#sp-menu .menu-item a {
  text-align: center;
  line-height: 1;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-weight: 600;
}

#sp-menu .sub-menu {
  display: none;
  opacity: 0;
  transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
  display: block;
  opacity: 1;
  transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
  margin: 30px 0 0;
}

#sp-menu .sp-contact-box a {
  box-sizing: border-box;
  display: block;
  background-color: #0040ab;
  text-align: center;
  color: #fff;
  padding: 10px 0;
  font-weight: 600;
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 0;
  background-color: #0040ab;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
}

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #fff no-repeat left top;
  width: 30px;
  height: 2px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 33%;
}

#btn-hamburger .border:nth-child(2) {
  transform: rotate(0);
  opacity: 1;
  top: 50%;
}

#btn-hamburger .border:nth-child(3) {
  top: 67%;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(45deg);
  top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
  opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding: 10px 20px 10px 0;
  background: #fff;
  flex-wrap: nowrap;
}
#menu-header-nav-1 {
	flex-wrap: nowrap;
}
#h-gnav-box.flex-start {
  align-items: center;
  flex-wrap: nowrap;
}

#h-gnav-box .menu-item {
	position: relative;
	padding: 0 16px;
	text-wrap-mode: nowrap;
}
#h-gnav-box .menu-item:first-child {
	padding-left: 0;
}
#h-gnav-box .menu-item:last-child {
	padding-right: 0;
}

#h-gnav-box .menu-item + .menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 24px;
  background-color: #ebebeb;
}

#h-gnav-box .menu-item a {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.875;
  letter-spacing: 0.05em;
}

#h-gnav-contact {
  margin-left: 58px;
}

#h-gnav-contact a {
  display: block;
  box-sizing: border-box;
  background-color: #0040ab;
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.66;
  width: 240px;
  height: 80px;
  align-content: center;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 1249px) {
	#h-gnav-contact {
		margin-left: 20px;
	}
}

@media screen and (max-width: 1199px) {

}

@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
    right: 0;
  }

  #header .h-inner {
    padding: 0;
  }
}

/* ============================
	footer
============================ */
#footer .f-inner {
  padding: 67px 50px;
  background-color: #EDF3FA;
}

#footer .f-content {
  display: flex;
  gap: 50px;
  justify-content: left;
  align-items: center;
  padding-bottom: 50px;
  border-bottom: 1px solid #E0E0E0;
}

#copyright {
  padding: 30px 0 0;
  display: flex;
  justify-content: space-between;
}
#copyright .copy-left {
	font-size: 1.6rem;
	font-weight: 500;
}
#copyright .copy-right {
	font-size: 1.6rem;
	font-weight: 500;
	font-family: "Montserrat", sans-serif;
	color: #A8B4C3;
}

.f-com-upper {
	font-size: 1.6rem;
}
.f-com-upper .noto {
	font-family: "Noto Sans JP", sans-serif;
}
.f-com-upper .monst {
	font-family: "Montserrat", sans-serif;
}
.f-com .lower {
	font-size: 1.6rem;
	font-family: "Montserrat", sans-serif;
}

@media screen and (max-width: 767px) {
  #footer .f-inner {
    padding: 60px 0;
  }
  #footer .f-content ,
  #copyright {
	flex-direction: column;
	padding-bottom: 0;
	gap: 30px;
  }
  #copyright .copy-right {
	text-align: right;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  width: 100%;
  margin: 100px 0 0;
  padding: 10px 30px 0;
  position: relative;
}

#top-mv .mv-inner {
  height: 550px;
	border-radius: 20px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

#top-mv .mv-slides {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

#top-mv .mv-slides,
#top-mv .mv-slides .slick-list,
#top-mv .mv-slides .slick-track {
  height: 100%;
}

#top-mv .mv-slides li {
	height: 100%;
	position: relative;
	overflow: hidden;
}

#top-mv .mv-slides img {
	width:100%;
	height:100%;
	display:block;
	object-fit:cover;
	backface-visibility:hidden;
	transform:scale(1);
	animation:none;
	will-change:transform;
}
#top-mv .mv-slides .add-animation img{
	animation: mvZoom 4.2s linear 0s forwards; 
}
@keyframes mvZoom{
	0%   { transform: scale(1); }
	100% { transform: scale(1.12); }
}

#top-mv .mv-inner.flex-start {
  justify-content: center;
}
#top-mv #mv-ttl {
	align-content: center;
}



#mv-ttl {
  position: relative;
}

#mv-ttl .mv-catch {
	font-family: "Shippori Mincho", serif;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.9;
	letter-spacing: 0.02em;
	color: #fff;
	text-align: center;
}

#mv-ttl .mv-text {
	text-align: center;
	font-size: 1.6rem;
	font-weight: 600;
	margin-top: 30px;
	letter-spacing: 0.02em;
	line-height: 2;
	color: #fff;
}

@media screen and (max-width: 1400px) {
  .mv-inner::before {
    background-size: contain;
    background-position: center bottom;
  }
}

@media screen and (max-width: 1200px) {
	.mainvisual {
		margin-top: 83px;
	}
}
@media screen and (max-width: 767px) {
	#top-mv .mv-inner {
		height: 400px;
		padding: 0 10px;
	}
	.mainvisual {
		margin-top: 63px;
		padding: 10px 10px 0;
	}
	#mv-ttl .mv-catch {
    font-size: min(7.8vw, 3rem);

	}
	#mv-ttl .mv-text {
		font-size: 1.6rem;
		margin-top: 20px;
	}
}

#page-mv {
	padding-bottom: 10px;
}
#page-mv .mv-inner {
  padding: 100px 0;
  background-image: url(./images/mv_01.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

#page-mv .page-ttl {
  margin: 0;
  text-align: center;
    font-size: 3rem;
	color: #fff;
	font-weight: 600;
	font-family: "Shippori Mincho", serif;
}

@media screen and (max-width: 767px) {
  #page-mv .mv-inner {
    padding: 60px 0;
  }
  #page-mv .page-ttl {
    font-size: 2.1rem;
  }
}

/* ============================
	section
============================ */
.sec-inner {
  padding: 100px 0;
}

.sec-en {
	font-family: "Montserrat", sans-serif;
	letter-spacing: 0.1em;
	font-weight: 600;
	font-size: 2.2rem;
	line-height: 1;
	color: #B5B8BC;
	margin-bottom: 10px;
}

.ttl-head .sec-ttl {
	font-family: "Shippori Mincho", serif;
	font-size: 5rem;
	font-weight: 600;
	color: #0040AB;
	line-height: 1.44;
}

.sec-ttl {
  text-align: center;
  margin: 0;
}

.content-width {
  box-sizing: border-box;
  max-width: 1064px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.content-box {
  margin: 50px 0 0;
}

@media screen and (max-width: 767px) {
  .content-width {
    width: 100%;
  }
  .ttl-head .sec-ttl {
	font-size: 3.2rem;
  }
  .sec-en {
	font-size: 2rem;
  }
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 8px 0;
  font-size: 1.2rem;
  color: #000;
}


/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 30px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  line-height: 3;
  color: #999;
  border: 2px solid #ccc;
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #EDF3FA;
  color: #5088CA !important;
  border-color: #EDF3FA;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  background: #fff;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover {
	color: #5088CA !important;
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #5088CA;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.6rem;
  color: #999;
}

/* ============================
	post parts
============================ */
.post-date {
  font-size: 1.6rem;
  margin-right: 38px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #B6B8BC;
}

.post-cats {
  line-height: 1;
  margin: 0 0 0 20px;
}

.post-cats.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.post-cat {
  display: block;
  background-color: #EDF3FA;
  color: #5088CA !important;
  font-size: 1.6rem;
  padding: 8px 10px;
  width: 116px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}


/* ============================
	news list
============================ */
.news-item {
  padding: 30px 0;
	align-items: center;
}
.news-item:first-child {
	padding-top: 0;
}

.news-item {
  border-bottom: 1px solid #DADCE0;
}

.news-item .post-ttl {
  font-size: 1.6rem;
  margin: 0 0 0 65px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
	justify-content: flex-start;
  }
  .news-item .post-ttl {
    margin-left: 0;
	margin-top: 15px;
	font-size: 1.6rem;
  }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: -30px;
  margin-left: -80px;
}

.card-item {
  width: 280px;
  margin-top: 30px;
  margin-left: 80px;
}

.card-item .post-thumb img {
  width: 100%;
}

.card-item .post-info {
  margin-top: 20px;
}

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .card-item {
    width: 100%;
  }
}

/* ============================
	contact form
============================ */
.contact-box .required {
  display: inline-block;
  background-color: #e21414;
  color: #fafafa;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 0 0 20px;
  padding: 4px 8px;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box textarea {
  box-sizing: border-box;
}

.contact-box th {
  box-sizing: border-box;
  width: 25%;
}

.contact-box td {
  box-sizing: border-box;
  width: 75%;
}

.contact-box .your-email {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .zip {
  width: 150px;
  box-sizing: border-box;
}

.contact-box .your-address {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .your-content {
  width: 100%;
  box-sizing: border-box;
}

#consent-box {
  text-align: center;
}

#submit-box .wpcf7-response-output {
  text-align: center;
}

#btn-submit {
  width: 300px;
  position: relative;
  margin: 0 auto;
}

#btn-submit .wpcf7-submit {
  background-color: #111;
  color: #fff;
  line-height: 1;
  width: 300px;
  padding: 16px 0;
}

#btn-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 10px;
}

@media screen and (min-width: 768px) {
  .contact-box th {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .contact-box input[type="text"],
  .contact-box input[type="password"],
  .contact-box input[type="email"],
  .contact-box input[type="tel"],
  .contact-box input[type="url"],
  .contact-box input[type="number"],
  .contact-box textarea {
    width: 100%;
  }

  .contact-box td,
  .contact-box th {
    display: block;
    width: 100%;
  }
}

/* ============================
	404
============================ */
#error-404 .content-box p {
  text-align: center;
}

@media screen and (min-width: 1200px) {
  #sp-menu {
    display: none;
  }

  #btn-hamburger {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  #h-gnav-box {
    display: none;
  }
}


#privacy-policy section ul li + li {
	margin-top: 40px;
}
#privacy-policy .privacy-company {
	margin-top: 50px;
}