#fvContainer {
  width: 100%;
  height: 100vh;
  position: relative;
}

.fvImg {
  width: calc(88% - 200px);
  height: calc(100vh - 200px);
  position: absolute;
  top: 200px;
  left: 6%;
  overflow: hidden;
  z-index: -1;
}

.fvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fvText {
  width: 284px;
  position: absolute;
  right: 6%;
  bottom: 50px;
}

.fvText h1 img {
  width: 100%;
  vertical-align: bottom;
}

.fvText p {
  margin-top: 13px;
  font-size: 24px;
  letter-spacing: 7px;
  line-height: 2;
}






#linkContainer {
  width: 90%;
  max-width: 900px;
  margin: 150px auto 0;
}

#linkContainer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 24px;
}

#linkContainer ul li {
  flex: 0 1 284px;
  height: 130px;
  position: relative;
}

#linkContainer ul li::after {
  content: "";
  display: block;
  width: 6px;
  height: 65px;
  border-left: 2px solid var(--primaryColor);
  border-bottom: 2px solid var(--primaryColor);
  transform: skewY(-45deg);
  position: absolute;
  top: 55%;
  right: 19px;
}

#linkContainer ul li a {
  display: block;
  width: 284px;
  height: 130px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#linkContainer ul li a img:first-of-type {
  margin-left: 30px;
}

#linkContainer ul li:nth-of-type(1) a img:first-of-type {
  width: 125.9px;
}
#linkContainer ul li:nth-of-type(2) a img:first-of-type {
  width: 136.1px;
}
#linkContainer ul li:nth-of-type(3) a img:first-of-type {
  width: 108.6px;
}
#linkContainer ul li:nth-of-type(4) a img:first-of-type {
  width: 160.2px;
}
#linkContainer ul li:nth-of-type(5) a img:first-of-type {
  width: 80.5px;
}
#linkContainer ul li:nth-of-type(6) a img:first-of-type {
  width: 144.9px;
}
#linkContainer ul li:nth-of-type(7) a img:first-of-type {
  width: 136.5px;
}
#linkContainer ul li:nth-of-type(8) a img:first-of-type {
  width: 124px;
}
#linkContainer ul li:nth-of-type(9) a img:first-of-type {
  width: 111.7px;
}

#linkContainer ul li img:last-of-type {
  width: 100%;
  vertical-align: bottom;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
#linkContainer ul li:hover img:last-of-type {
  transform: translate(-50%, -50%) scale(1.2);
  filter: brightness(80%);
}






/* greeting */
#greetingContainer {
  width: calc(50% + 450px);
  margin: 150px 0 0 auto;
}

.greetingContents {
  display: flex;
}

.greetingText {
  flex: 0 0 430px;
  margin-right: 70px;
}

h2 span {
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
}

h2 img {
  display: block;
}
#greetingContainer h2 img {
  width: 332.7px;
}

.greetingText p:first-of-type {
  margin-top: 45px;
  margin-bottom: 40px;
  font-size: 22px;
  line-height: 2;
}

.greetingImg {
  flex: 1 1 auto;
  margin-top: 10px;
}

.greetingImg img {
  width: 100%;
  vertical-align: bottom;
}

#greetingContainer > .imgWrap {
  width: 25.2%;
  min-width: 290px;
  margin: 100px auto 0;
}

#greetingContainer > .imgWrap img {
  width: 100%;
  vertical-align: bottom;
}






/* overview */
#overviewContainer {
  width: 100%;
  padding-top: 100px;
  margin-top: 100px;
}

.overviewTitle {
  width: 100%;
  height: 500px;
  position: relative;
}

.overviewTitle > h2 {
  position: absolute;
  top: -118px;
  left: 19%;
  z-index: 2;
}

.overviewTitle > h2 img {
  width: 365.1px;
}

.overviewTitle .imgWrap {
  width: 100%;
  height: 100%;
}

.overviewTitle .imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 50%;
}

.overviewContents {
  width: 90%;
  max-width: 900px;
  margin: 90px auto 0;
}

.overviewContents li {
  width: 100%;
  height: 68px;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-size: 14px;
  background: #F3F3F2;
}

.overviewContents li p {
  flex: 0 0 172px;
  font-weight: bold;
}

.overviewContents li:nth-of-type(2n) {
  background: #fff;
}

.overviewTel div {
  display: flex;
  align-items: center;
}







/* history */
#historyContainer {
  width: 100%;
  margin-top: 200px;
}

.historyTitle {
  width: 100%;
  position: relative;
}
.historyTitle::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--primaryColor);
}

.historyTitle h2 {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.historyTitle img {
  width: 280.5px;
}

.historyContents {
  width: calc(50% + 450px);
  margin-top: 90px;
  display: flex;
}

.historyImg {
  flex: 1 1 auto;
  margin-top: 10px;
  margin-right: 70px;
}

.historyImg img:first-of-type {
  width: 100%;
  vertical-align: bottom;
}

.historyImg img:nth-of-type(2) {
  width: 65%;
  display: block;
  margin: 100px auto 0;
}

.historyText {
  flex: 0 0 450px;
}

.historyText li {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #F3F3F2;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}
.historyText li:first-of-type {
  padding-top: 0;
}
.historyText li:last-of-type {
  border-bottom: none;
}

.historyText li span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
}






#galleryContainer {
  width: 100%;
  margin-top: 200px;
  padding: 70px 0 150px;
  background: #F3F3F2;
}

.galleryContentsContainer {
  width: calc(50% + 450px);
  margin: 0 0 0 auto;
}

.galleryContents {
  width: 100%;
  margin-bottom: 150px;
}
.galleryContents:last-of-type {
  margin-bottom: 0;
}

.newHouse img {
  width: 441.3px;
}

.shop img {
  width: 196.1px;
}

.oldHouse img {
  width: 393.6px;
}

.galleryTitle p {
  margin-top: 20px;
}

.mainGallery {
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: 0.6s;
}

.mainGallery.open {
  visibility: visible;
  opacity: 1;
}

.backBtn {
  display: flex;
  align-items: center;
  position: absolute;
  top: 5%;
  right: 5%;
  cursor: pointer;
  z-index: 1;
}
.backBtn::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 30px;
  background: var(--primaryColor);
  margin-right: 10px;
}

.backBtn::after {
  content: "";
  display: inline-block;
  width: 58px;
  height: 6px;
  margin-top: -6px;
  border-bottom: 1px solid var(--primaryColor);
  border-right: 1px solid var(--primaryColor);
  transform: skew(45deg);
  margin-left: 10px;
}

.backBtn img {
  width: 63px;
}

.gallery {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.gallery li {
  height: 90vh;
  list-style: none;
}

.gallery img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.slick-prev, 
.slick-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    cursor: pointer;
    outline: none;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    height: 20px;
    width: 20px;
}
.slick-prev {
    left: -40px;
    transform: translateY(-50%) rotate(-135deg);
}
.slick-next {
    right: -40px;
    transform: translateY(-50%) rotate(45deg);
}

.slick-prev:before, .slick-next:before {
  display: none;
}

.choice-btn {
  margin-top: 40px;
}

.choice-btn li{
	cursor: pointer;
	outline: none;
  list-style:none;
}

.choice-btn li {
  width: 433px;
  margin-right: 30px;
  padding-top: 10px;
  transition: 0.3s;
}
.choice-btn li:hover {
  margin-top: -10px;
  filter: brightness(70%);
}

.choice-btn li img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.choice-btn .slick-prev {
  left: 20px;
  top: calc(50% + 5px);
}

.choice-btn .slick-next {
  right: 20px;
  top: calc(50% + 5px);
}







#flowContainer {
  width: 100%;
  margin: 130px auto 0;
}

.flowTitle {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.flowTitle img {
  width: 171.1px;
}

.flowContents {
  margin-top: 20px;
}

.flow {
  width: calc(50% + 450px);
  margin-bottom: 130px;
  position: relative;
}

.flowImg {
  flex: 0 1 70%;
  margin-right: 30%;
}

.flowImg img {
  width: 100%;
  vertical-align: bottom;
}

.flowText {
  width: 38.9%;
  height: 343px;
  padding: 60px;
  box-sizing: border-box;
  position: absolute;
  bottom: -50px;
  left: 60%;
  background: var(--primaryColor);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.flow:first-of-type .flowText img {
  width: 280.2px;
}

.flow:nth-of-type(2) .flowText img {
  width: 243.8px;
}

.flow:nth-of-type(3) .flowText img {
  width: 219px;
}

.flow:nth-of-type(4) .flowText img {
  width: 299.3px;
}

.flowText p {
  font-size: 14px;
  color: #fff;
}

.flow:nth-of-type(2n) {
  margin-left: auto;
  margin-right: 0;
}

.flow:nth-of-type(2n) .flowImg {
  margin-left: 30%;
  margin-right: 0;
}

.flow:nth-of-type(2n) .flowText {
  left: auto;
  right: 60%;
  z-index: 1;
}






.flowContents2 {
  width: 100%;
  margin-top: 200px;
}

.flow2ImgContainer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.circleText {
  width: 120px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.circleText img:first-of-type {
  width: 93px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circleText img:nth-of-type(2) {
  width: 136px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: circleText 20s linear infinite both;
}

@keyframes circleText {
  0% {transform:translate(-50%, -50%) rotate(0deg);}
  100% {transform:translate(-50%, -50%) rotate(360deg);}
}

.flow2 {
  flex: 0 1 50%;
  height: 428px;
  position: relative;
}

.flow2 img:first-of-type {
  width: 80.1px;
  position: absolute;
  top: 13px;
  left: 10px;
}
.flow2:nth-of-type(3) img:first-of-type {
  width: 89.1px;
  left: auto;
  right: 10px;
}

.flow2 img:nth-of-type(2) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow2Text {
  flex: 0 1 100%;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.flow2Text dl {
  flex: 0 1 50%;
}

.flow2Text dt {
  font-size: 22px;
}

.flow2Text dd {
  margin-top: 20px;
  font-size: 14px;
}

.flow2Text dl:nth-of-type(2) dt, .flow2Text dl:nth-of-type(2) dd {
  margin-left: 0;
}





#projectsContainer {
  width: 100%;
  margin-top: 200px;
  padding: 100px 0 200px;
  background: #F3F3F2;
}

.projectsTitle {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.projectsTitle img {
  width: 327.2px;
}

.projectContents {
  width: 90%;
  max-width: 900px;
  margin: 20px auto 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.project {
  flex: 0 1 435px;
}

.project img {
  width: 100%;
  vertical-align: bottom;
}






#contactContainer {
  width: calc(50% + 450px);
  max-width: 100%;
  margin: 150px 0 0 auto;
}

.contactContents {
  min-width: 90%;
  margin: 0 auto;
  display: flex;
}

.contactText {
  flex: 0 1 300px;
  margin-right: 50px;
}

.contactText h2 img {
  width: 290.1px;
}

.contactText p:first-of-type {
  font-size: 20px;
  margin-top: 30px;
}

.contactText p:nth-of-type(2) {
  margin-top: 20px;
}

.tel {
  width: 295.2px;
  margin-top: 50px;
}

.contactBtn {
  width: 200px;
  height: 50px;
  margin-top: 30px;
  border: 2px solid var(--primaryColor);
  border-radius:  25px;
  box-sizing: border-box;
}

.contactBtn a {
  display: block;
  width: 100%;
  height: 100%;
  padding-left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.contactBtn a img {
  width: 18.7px;
  margin-left: 8px;
}

.contactImg {
  flex: 0 1 auto;
  width: calc(100% - 370px);
  margin-left: 70px;
}

.contactImg .imgWrap:first-of-type {
  width: 82.8%;
  margin: 10px 0 0 auto;
}

.contactImg .imgWrap:nth-of-type(2) {
  width: 54.4%;
  margin-top: -4%;
  position: relative;
  z-index: 1;
}

.contactImg .imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.mapContainer {
  width: 100%;
  height: 410px;
  max-width: 900px;
  margin: 130px auto 0 0;
}

.mapContainer iframe {
  width: 100%;
  height: 100%;
}