@charset "utf-8";

.floor {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.floor:first-child {
  margin-top: 0;
}

.floor.reverse {
  flex-direction: row;
}

.floor__title {
  max-width: 16%;
  flex-basis: 16%;
  display: flex;
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  flex-direction: column-reverse;
  justify-content: center;
  color: rgba(0, 0, 0, 1);
}

.floor__title__jp {
  font-size: 5rem;
  line-height: 1.4;
}

.floor__title__en {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.6;
}

.floor__title b {
  color: rgba(24, 141, 96, 1);
}

.floor-main {
  max-width: calc(84% - 60px);
  flex-basis: calc(84% - 60px);
}

.floor__item {
  margin-bottom: 20px;
  background-image: url(../images/ps/floor/bg_floor.png);
  background-position: center center;
  background-size: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.floor-header {
  display: flex;
  flex-direction: row-reverse;
}

.floor-header__title {
  max-width: calc(120px + 5vw);
  flex-basis: calc(120px + 5vw);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floor-header__title__en {
  margin-bottom: 20px;
  border-bottom: 5px solid rgba(24, 141, 96, 1);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(24, 141, 96, 1);
}

.floor-header__title__en .num {
  display: block;
  font-size: 8rem;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.floor-header__title__jp {
  display: flex;
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  line-height: 1.4;
  flex-direction: column;
}

.floor-header__title__jp__sub {
  font-size: 1.8rem;
}

.floor-header__title__jp__main {
  font-size: 4rem;
}

.floor-header__image {
  max-width: calc(100% - (120px + 5vw));
  flex-basis: calc(100% - (120px + 5vw));
  height: calc(250px + 25vw);
  max-height: 600px;
  border-radius: 0 0 20px 0;
  overflow: hidden;
}

.floor-header__image img {
  height: 100%;
  object-fit: cover;
}

.floor__item__main {
  width: 100%;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.floor-drawing {
  max-width: 40%;
  flex-basis: 40%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.floor-main__wrap {
  max-width: calc(60% - 60px);
  flex-basis: calc(60% - 60px);
}

.floor-main__catch {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.floor-main__text {
  margin: 30px 0;
  font-size: 1.4rem;
  line-height: 2;
}

.floor-main-spec__title {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.floor-main-spec__list {
  display: flex;
  flex-wrap: wrap;
  color: rgba(0, 0, 0, 1);
  align-items: center;
}

.floor-main-spec__list dt,
.floor-main-spec__list dd {
  margin: 2px 0;
}

.floor-main-spec__list dt {
  max-width: 120px;
  flex-basis: 120px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
}

.floor-main-spec__list dd {
  max-width: calc(100% - 120px);
  flex-basis: calc(100% - 120px);
  display: flex;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  align-items: center;
}

.floor-main-spec__list dd sup {
  font-size: 1.1rem;
}

.floor-main-spec__list dd span:first-child {
  min-width: 85px;
  flex-basis: 85px;
}

.floor-main-spec__list dd span:last-child {
  font-size: 1.4rem;
}

@media screen and (max-width: 1280px) {
  .floor {
    margin-top: 12vw;
  }
}

@media screen and (max-width: 1024px) {
  .floor__title__en {
    font-size: 1.6rem;
  }

  .floor__title__jp {
    font-size: 4rem;
  }
  .floor-header.noimage {
    flex-direction: column;
  }

  .floor-main {
    max-width: calc(84% - 6vw);
    flex-basis: calc(84% - 6vw);
  }

  .floor-header__title__en .num {
    font-size: 6rem;
  }

  .floor-header__title__jp__sub {
    font-size: 1.6rem;
  }

  .floor-header__title__jp__main {
    font-size: 3rem;
  }

  .floor__item__main {
    padding: 6vw;
  }

  .noimage .floor__item__main {
    display: block;
  }

  .floor-main__wrap {
    max-width: calc(60% - 6vw);
    flex-basis: calc(60% - 6vw);
  }

  .noimage .floor-drawing {
    max-width: 400px;
    margin: 20px auto;
  }

  .noimage .floor-main__wrap {
    max-width: none;
  }
}

@media screen and (max-width: 800px) {
  .floor {
    margin-top: 16vw;
    display: block;
  }

  .floor__title,
  .floor-main {
    max-width: none;
  }

  .floor__title {
    margin-bottom: 40px;
    writing-mode: inherit;
  }
}

@media screen and (max-width: 640px) {
  .floor__item {
    border-radius: 10px;
  }

  .floor-header {
    flex-direction: column-reverse;
  }

  .floor-header__image {
    height: auto;
    max-width: none;
    border-radius: 0;
  }

  .floor-header__image img {
    object-fit: contain;
  }

  .floor-header__title {
    max-width: none;
    padding: 0 6vw;
    flex-direction: row;
  }

  .floor-header__title__en {
    margin-right: 10px;
    margin-bottom: 0;
  }

  .floor-header__title__en .num {
    font-size: 5rem;
    line-height: 1.1;
    border-bottom-width: 4px;
  }

  .floor__item__main {
    display: block;
  }

  .floor__item__main {
    padding: 0 6vw;
  }

  .floor-drawing,
  .floor-main__wrap {
    max-width: none;
  }

  .floor-main__wrap {
    padding: 30px 0;
  }

  .floor-header__title__jp {
    writing-mode: inherit;
    font-feature-settings: "palt";
  }

  .floor-main__catch {
    font-size: 2rem;
  }
}
