@charset "utf-8";

a:hover {
  opacity: 1;
}

main {
  position: relative;
  background: #fff;
  padding: 0 0 0.1px;
  margin-bottom: 50px;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
}

.page__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 75/16;
  background-color: #555555;
  background-image: url(../img/plan/bg-plan.jpg);
  /*background-position: right 30% center;*/
  background-position: center center;
}

@media screen and (min-width:768px) {
  .page__hero {
    aspect-ratio: 288/32;
    background-position: center center;
  }
}

.page__hero .page__hero--title {
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #fff;
}

@media screen and (min-width:768px) {
  .page__hero .page__hero--title {
    font-size: 30px;
  }
}

/* ===== 間取り一覧 ===== */
.page__head {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 100px auto 0;
}
#torigagoArea {
  text-align: center;
  margin-bottom: 50px;
}
#torigagoArea svg {
  width: 70%;
  max-width: 500px;
}
#torigagoArea svg .st0 { transition: .3s;}
#torigagoArea svg [class^="plan_"].active .st0 {
  fill: #cfb266;
}

#btnArea .flex {
  justify-content: space-between;
}
#btnArea [class^="plan_"] {
  width: 32%;
  max-width: 320px;
}
#btnArea [class^="plan_"].active a {
  opacity: .6;
}


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



}

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


  /* ===== 間取り一覧 ===== */
  .page__head {
    font-size: 15px;
    margin: 50px auto 0;
  }
  #torigagoArea {
    margin-bottom: 30px;
  }
  #torigagoArea svg {
    width: 90%;
  }

  #btnArea .flex {
    flex-wrap: wrap;
    gap: 20px;
  }
  #btnArea [class^="plan_"] {
    width: 80%;
    margin: 0 auto;
  }

}
