/*  clearfix  */
a {
  text-decoration: none;
}
.cf {
  zoom: 1;
}

.cf:before,
.cf:after {
  display: table;
  content: "";
}
.cf:after {
  clear: both;
}

.cf:before,
.cf:after {
  display: table;
  content: "";
}

.clearfix::after {
    content: " ";
    display: block;
    clear: both;
}

.container_floor {
  width: 100%;
  max-width: 960px;
  margin: 50px auto;
  padding-top: 50px;
}

.btn {
  position: relative;
  width: 300px;
  height: 160px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.btn img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
}

.btn:hover img:nth-of-type(2) {
  opacity: 0;
}

.group-1,
.group-2,
.group-3,
.group-4 {
  position: relative;
}
.group-1u {
  width: 150px;
  height: 80px;
  position: absolute;
  top: 13.5%;
  left: 50%;
}

.group-1v {
  width: 150px;
  height: 80px;
  position: absolute;
  top: 36%;
  left: 50%;
}

.group-2st {
  width: 160px;
  position: absolute;
  top: -11%;
  left: 49.8%;
}

.group-2uv {
  width: 155px;
  position: absolute;
  top: 0%;
  left: 49.5%;
}

.group-3uv {
  width: 155px;
  position: absolute;
  top: 0%;
  left: 49.5%;
}

.group-4s {
  width: 150px;
  height: 80px;
  position: absolute;
  top: 36.1%;
  right: 50%;
}

.group-4u {
  width: 150px;
  position: absolute;
  top: 13.7%;
  left: 50%;
  height: 80px;
}

.group-4-tv {
  height: 160px;
}

.floorname:before {
  top: 7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ea7178;
}

.floorname:after {
  top: 7px;
  left: 6px;
  width: 1px;
  height: 100%;
  background: #ea7178;
}

.floorname {
  display: none;
  position: absolute;
  left: 0;
  top: 35px;
  height: 100%;
  padding-left: 30px;
}
.floorname {
  display: block;
  top: 10%;
  padding-left: 20px;
}
.floorname:before,
.floorname:after {
  content: "";
  position: absolute;
}

.floorname:before {
  top: 7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ea7178;
}

.floorname-span {
  background: linear-gradient(transparent 60%, #ff6 60%);
  font-size: 24px;
  padding: 0px 10px;
}

.floorname_detail {
  font-size: 16px;
  margin-left: 56px;
  position: relative;
  z-index: 100;
}


h6 {
  border-bottom: 1px solid #000;
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 16px
}

.wrapper-item {
  display: flex;
  flex-direction: row;
}

.side {
  width: 20%;
  text-align: center;
  border: 1px solid #f1989c;
  margin-left: 20px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.side:hover {
    background-color: #ffc9d7;
    }

.side a {
  display: block;
    padding: 16px 0;
    border-color: #f1989c;
    color: #f17178;
}

.group-4s-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    left: 130px;
    text-align: center;
}

.group-4tv-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: -40px;
    left: 430px;
    text-align: center;
}

.group-4u-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    right: 110px;
    text-align: center;
}

.group-3st-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    left: 130px;
    text-align: center;
}

.group-3uv-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    right: 110px;
    text-align: center;
}

.group-2st-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    left: 130px;
    text-align: center;
}

.group-2uv-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    right: 110px;
    text-align: center;
}

.group-1st-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    left: 130px;
    text-align: center;
}

.group-1uv-name {
  color: #f17178;
    width: 100px;
    position: absolute;
    border: 1px solid;
    top: 50px;
    right: 110px;
    text-align: center;
}


@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */
  .group-1uv-name,
  .group-1st-name,
  .group-2uv-name,
  .group-2st-name,
  .group-3uv-name,
  .group-3st-name,
  .group-4u-name,
  .group-4tv-name,
  .group-4s-name
  {
    display: none;
  }
  
  .wrapper-item {
    flex-wrap: wrap; 
    justify-content: space-between; 
  }

  .side {
    width: 48%; 
    margin: 10px 0; 
  }

  h6 {
    font-size: 14px; 
    padding-top: 30px;
  }
  
  .floorname {
    margin-left: 30px;
  }
}

@media screen and (max-width: 480px) {
	
.container_floor {
  margin: 0 ;
  padding-bottom: 10px;
	}
 
  /* 480px以下に適用されるCSS（スマホ用） */
  .group-1uv-name,
  .group-1st-name,
  .group-2uv-name,
  .group-2st-name,
  .group-3uv-name,
  .group-3st-name,
  .group-4u-name,
  .group-4tv-name,
  .group-4s-name
  {
    display: none;
  }
  
  .wrapper-item {
    flex-wrap: wrap;
    justify-content: center;
  }

  .side {
    width: 100%; 
    margin: 5px 0; 
  }

  h6 {
    font-size: 12px;
    padding-top: 5px;
    
  }

  .side a {
    font-size: 14px;
    padding: 12px 0; 
  }
  
  .floorname {
    padding-left: 0;
    margin-top: -10px;
  }
  .floorname:before {
    display: none;
  }

  .floorname:after {
    display: none;
  }
  
  .wrapper {
    margin-bottom: 20px;
  }
  
  .wrapper-item {
    margin: 0px 20px;
  }
}
