/*
Theme Name: Genova Template
File: top.css
Theme Author: Genova Design
Author URI: https://genova.co.jp/
Description: Description: This file is reserved for the top-page css
Version: 1.0
*/
body {
  color: #291D1A;
}

#wrapper {
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 20px;
    line-height: 33px;
  }
}
/* @media screen and (min-width: 1240px) {
	#mainimage.elementor-section>.elementor-container {
		-webkit-box-align: end;
		-ms-flex-align: end;
		align-items: flex-end;
	}
} */
#mainimage {
  position: relative;
  z-index: 98;
}
#sec1 {
  font-family: "Shippori Mincho Medium", serif;
  font-weight: 500;
  color: #57301B;
}
#sec1 h2.elementor-heading-title {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 0.02em;
  color: #E09041;
}
#sec1 h3.elementor-heading-title {
  font-size: 24px;
  line-height: 40px;
  letter-spacing: 0.1em;
}
#sec1 .txtbox .txt {
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 0.01em;
}
#sec1 .txtbox .txt .highlight {
  font-size: 24px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 0;
}
#sec1 .txtbox .txt .highlight::before {
  content: "";
  width: 26px;
  height: 26px;
  background: #F5DB92;
  border-radius: 99px;
  -webkit-filter: blur(5px);
          filter: blur(5px);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
}
#sec1 .contact-box .btnTel {
  -webkit-box-shadow: 0 10px 20px 0 #E8E8E8;
          box-shadow: 0 10px 20px 0 #E8E8E8;
}
#sec1 .contact-box dl {
  font-family: "Shippori Mincho Semibold";
  font-weight: 600;
}
#sec1 .contact-box dl dt {
  background: #5F4418;
  color: #fff;
}
@media screen and (min-width: 768px) {
  #sec1 h2.elementor-heading-title {
    font-size: 36px;
    line-height: 56px;
    letter-spacing: 0.1em;
  }
  #sec1 h3.elementor-heading-title {
    font-size: 32px;
    line-height: 56px;
  }
  #sec1 .txtbox .txt {
    font-size: 32px;
    line-height: 56px;
    letter-spacing: 0.06em;
  }
  #sec1 .txtbox .txt .highlight {
    font-size: 42px;
    letter-spacing: 0.06em;
  }
  #sec1 .txtbox .txt .highlight::before {
    width: 50px;
    height: 50px;
  }
}

#sec2 .box-style {
  height: 100%;
  min-height: 185px;
  padding: 20px 0;
  background: #fff;
  -webkit-box-shadow: 0 10px 20px 0 rgba(44, 33, 15, 0.15);
          box-shadow: 0 10px 20px 0 rgba(44, 33, 15, 0.15);
  border-radius: 8px;
  text-align: center;
}
#sec2 .box-style .elementor-image-box-title {
  font-family: "Shippori Mincho Medium", serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.01em;
  text-align: center;
  color: #291D1A;
}
#sec2 .box-style.box-5 .elementor-image-box-img > a {
  margin: 0 12px 0 -12px;
}
#sec2 .set .elementor-image-box-img {
  height: 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
	margin: 0 auto;
}
#sec2 .set .elementor-row {
  max-width: none;
  width: calc(100% + 20px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: -10px;
  margin-right: -10px;
}
#sec2 .set .elementor-row .elementor-column {
  padding: 10px;
}
@media screen and (min-width: 768px) {
  #sec2 .box-style.box-5 .elementor-image-box-img > a {
    margin: 0 14px 0 -14px;
  }
  #sec2 .set .elementor-image-box-img {
    height: 160px;
  }
  #sec2 .set .elementor-row {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
  }
  #sec2 .set .elementor-row .elementor-column {
    padding: 15px;
  }
}

#sec3 .set .elementor-image-box-title {
  font-family: "Shippori Mincho Medium", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #5F4418;
}
#sec3 .set .elementor-image-box-description {
  margin-top: 10px;
}
#sec3 .set .imgbox {
  position: relative;
  z-index: 1;
}
#sec3 .set .txtbox {
  margin-top: 20px;
  position: relative;
  z-index: 0;
}
#sec3 .set .txtbox::before {
  content: "";
  background: url("../img/top/deco1.png") center/contain no-repeat;
  position: absolute;
  top: -100%;
  bottom: -100%;
  left: -100%;
  right: -100%;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  #sec3 .set .elementor-image-box-title {
    font-size: 28px;
  }
  #sec3 .set .elementor-image-box-description {
    margin-top: 20px;
  }
  #sec3 .set .txtbox {
    max-width: 440px;
    margin: 0 auto;
  }
  #sec3 .set .txtbox::before {
    background-size: auto;
  }
}

#sec4 .imgbox .elementor-image {
  -webkit-box-shadow: 0 1px 20px 0 rgba(44, 55, 15, 0.2);
          box-shadow: 0 1px 20px 0 rgba(44, 55, 15, 0.2);
}
#sec4 .txtbox .elementor-image {
  -webkit-box-shadow: 0 1px 20px 0 rgba(44, 55, 15, 0.2);
          box-shadow: 0 1px 20px 0 rgba(44, 55, 15, 0.2);
}
@media screen and (min-width: 768px) {
  #sec4 {
    position: relative;
    z-index: 0;
  }
  #sec4::before {
    content: "";
    width: calc(50% + 400px);
    background: url("../img/top/bg3.jpg") center/cover no-repeat;
    position: absolute;
    top: 63px;
    bottom: 0;
    right: 0;
    z-index: -1;
  }
  #sec4 .imgbox {
    width: 434px;
    margin-left: -54px;
  }
  #sec4 .txtbox {
    width: 700px;
  }
  #sec4 .txtbox .elementor-widget-image {
    width: 306px;
    position: absolute;
    bottom: 50px;
    right: -60px;
  }
}
@media screen and (min-width: 1024px) {
  #sec4 .txtbox .elementor-widget-image {
    right: -118px;
  }
}