@import url("global.css");
.introduction {
  display: flex;
  gap: min(90px,5vw);
  margin-bottom: 110px;
}
.introduction .main {
  width: 50%;
  flex-shrink: 0;
}
.introduction .main .catch {
  font-size: min(28px,3.5vw);
  margin-bottom: 30px;
  color: #639A70;
}
.introduction .main .text {
  line-height: 2;
}
.introduction .main .text p + p {
  margin-top: 20px;
}
.introduction .image {
  min-height: 500px;
}
.introduction .image img {
  border-radius: 6px;
}
.introduction .image img.objectfit {
  object-position: 30% center;
}

#kodawaribox {
  background-color: #F1F0E7;
  padding-block: 90px 140px;
}
#kodawaribox .sectitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-bottom: 55px;
}
#kodawaribox .sectitle h3 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(20px, 3.2vw, 34px);
}
#kodawaribox .sectitle h3::before {
  content: "";
  width: 48px;
  height: 48px;
  background: url("../img/title_tateuriinfo.png") no-repeat center center/contain;
}
#kodawaribox .sectitle .sub {
  font-size: min(20px,2.5vw);
  display: flex;
  padding-top: 6px;
  align-items: center;
  gap: 8px;
}
#kodawaribox .sectitle .sub::before, #kodawaribox .sectitle .sub::after {
  content: "";
  width: 10px;
  height: 1px;
  background-color: #1D1D1D;
  display: block;
}
#kodawaribox .main {
  display: grid;
  gap: min(50px,4vw) min(60px,4vw);
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px 400px;
  --radius: 8px;
}
#kodawaribox .main li:first-child {
  grid-row: 1 / 3;
}
#kodawaribox .main li:first-child a .text .title {
  font-size: min(44px,3vw);
}
#kodawaribox .main li:first-child a .text .title .image::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, black);
}
#kodawaribox .main li a {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
@media (any-hover: hover) {
  #kodawaribox .main li a:hover .image::before {
    opacity: .8;
  }
  #kodawaribox .main li a:hover .image img {
    filter: brightness(1.2);
  }
  #kodawaribox .main li a:hover .linkbutton {
    translate: 10px 0;
  }
}
#kodawaribox .main li a .image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#kodawaribox .main li a .image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
  opacity: .5;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
}
#kodawaribox .main li a .image img {
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
}
#kodawaribox .main li a .num {
  background-color: #F1F0E7;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  border-bottom-right-radius: 15px;
  font-size: 18px;
  width: 150px;
  height: 70px;
  display: flex;
  gap: 5px;
  align-items: center;
  box-sizing: border-box;
  padding: 0 0 5px 10px;
}
#kodawaribox .main li a .num span {
  display: block;
  width: 38px;
  height: 38px;
  color: #fff;
  font-family: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  background: url("../img/snsbg.png") no-repeat center center/contain;
  align-content: center;
  text-align: center;
}
#kodawaribox .main li a .num::before, #kodawaribox .main li a .num::after {
  content: "";
  position: absolute;
  background: transparent;
  width: var(--radius);
  height: var(--radius);
  border-top-left-radius: var(--radius);
  box-shadow: calc(var(--radius) * .4 * -1) calc(var(--radius) * .4 * -1) 0 calc(var(--radius) * .4) #F1F0E7;
}
#kodawaribox .main li a .num::before {
  top: 0;
  right: calc( var(--radius) * -1);
}
#kodawaribox .main li a .num::after {
  bottom: calc( var(--radius) * -1);
  left: 0;
}
#kodawaribox .main li a .text {
  position: absolute;
  bottom: 50px;
  max-width: 420px;
  left: min(50px,2.8vw);
  padding-right: 200px;
  color: #fff;
  z-index: 1;
}
#kodawaribox .main li a .text .title {
  font-size: min(30px,2.4vw);
  margin-bottom: 10px;
  line-height: 1.5;
  word-break: keep-all;
}
#kodawaribox .main li a .text p {
  font-size: 14px;
}
#kodawaribox .main li a p:has(.linkbutton) {
  position: absolute;
  right: min(50px,2.8vw);
  bottom: 50px;
  z-index: 2;
}
#kodawaribox .main li a p:has(.linkbutton) .linkbutton {
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint ( 1300px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1300px) {
  #kodawaribox .main li a .text {
    bottom: 100px;
    max-width: none;
    padding-right: min(50px,2.8vw);
  }
  #kodawaribox .main li a p:has(.linkbutton) {
    bottom: 30px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  .introduction {
    display: block;
    margin-bottom: -50px;
  }
  .introduction .main {
    width: auto;
    margin-bottom: 40px;
  }
  .introduction .main .catch {
    font-size: min(24px,5.2vw);
  }
  .introduction .main .text {
    line-height: inherit;
  }
  .introduction .image {
    min-height: inherit;
    aspect-ratio: 3 / 2;
  }

  #kodawaribox {
    padding-block: 110px 80px;
  }
  #kodawaribox .sectitle {
    display: block;
    margin-bottom: 50px;
  }
  #kodawaribox .main {
    display: block;
    --radius: 5px;
  }
  #kodawaribox .main li + li {
    margin-top: 30px;
  }
  #kodawaribox .main li:first-child a .text .title {
    font-size: min(25px,5vw);
  }
  #kodawaribox .main li:first-child a .text .title .image::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
  }
  #kodawaribox .main li a {
    display: block;
    height: 320px;
    box-sizing: border-box;
    padding-top: 120px;
  }
  #kodawaribox .main li a .num {
    border-bottom-right-radius: 10px;
    font-size: 16px;
    width: 140px;
    height: 60px;
  }
  #kodawaribox .main li a .text {
    position: relative;
    bottom: auto;
    padding-inline: 5vw;
    left: auto;
  }
  #kodawaribox .main li a .text .title {
    font-size: min(25px,5vw);
  }
  #kodawaribox .main li a .image::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
  }
  #kodawaribox .main li a p:has(.linkbutton) {
    bottom: 20px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  .introduction {
    margin-bottom: -50px;
  }
  .introduction .main .catch {
    margin-bottom: 25px;
  }
  .introduction .main .text p + p {
    margin-top: 1em;
  }
  .introduction .image img {
    border-radius: 5px;
  }

  #kodawaribox {
    padding-block: 100px 60px;
  }
  #kodawaribox .sectitle {
    margin-bottom: 35px;
  }
  #kodawaribox .sectitle h3 {
    gap: 12px;
  }
  #kodawaribox .sectitle h3::before {
    width: 40px;
    height: 40px;
  }
  #kodawaribox .sectitle .sub {
    font-size: min(16px,3.5vw);
    padding-top: 5px;
    gap: 5px;
  }
  #kodawaribox .sectitle .sub::before, #kodawaribox .sectitle .sub::after {
    width: 6px;
  }
  #kodawaribox .main li + li {
    margin-top: 25px;
  }
  #kodawaribox .main li:first-child a .text .title {
    font-size: min(25px,5vw);
  }
  #kodawaribox .main li a {
    height: 260px;
    padding-top: 90px;
  }
  #kodawaribox .main li a .num {
    font-size: 15px;
    width: 125px;
    height: 50px;
    padding: 0 0 5px 5px;
  }
  #kodawaribox .main li a .num span {
    width: 36px;
    height: 36px;
  }
  #kodawaribox .main li a .text p {
    font-size: 13px;
  }
  #kodawaribox .main li a p:has(.linkbutton) {
    right: 5vw;
  }
}

/*# sourceMappingURL=housing.css.map */
