@charset "UTF-8";

.cubes {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
}

@media screen and (min-width: 768px) {
  .cubes {
  }
}

.cube {
  background-image: linear-gradient(45deg, #0A1B7E, #0080CD);
  color: #fff;
  line-height: 1.5;
  padding: 2rem;
}

.cube_ttl {
  text-align: center;
  font-weight: bold;
}

.cube_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.cube_img {
  max-width: 6rem;
  max-height: 6rem;
}
.cube_num {
  font-size: 5rem;
  font-family: "Pathway Gothic One", sans-serif;
  line-height: 1em;
  display: inline-block;
}
.cube_txt {
  font-size: 2.8rem;
  display: inline-block;
  font-weight: bold;
}

.cube:nth-child(1) {
  flex-direction: column;
  gap: 4rem;
}

.cube:nth-child(1) .cube_img {

}

.cube:nth-child(2) {
  
}

.cube:nth-child(3) {
  
}
.cube:nth-child(3) .cube_img {
}

.cube:nth-child(4) {
}
.cube:nth-child(4) .cube_img {
  
}

.cube:nth-child(5) {
}
.cube:nth-child(5) .cube_img {
}

.cube:nth-child(6) {
}
.cube:nth-child(6) .cube_img {
}

.cube:nth-child(7) {
  
}
.cube:nth-child(7) .cube_img {
}

.cube:nth-child(8) {
  
}
.cube:nth-child(8) .cube_img {
  
}

@media screen and (min-width: 768px) {
  .cube {
    height: 28rem;
  }
}

@media screen and (max-width: 767px) {
  .cube {
    padding: 3rem 2rem;
  }

  .cube_num {
    font-size: 2rem;
  }
}

.item {
  
}

.item_head {
  font-weight: bold;
  font-size: 3.2rem;
  border-left: 6px solid #00A4EB;
  padding-left: .5em;
  line-height: 1.5;
}

.item_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
}

.item_card {

}

.item_img {
  width: 100%;
}

.item_ttl {
  font-size: 2.6rem;
  font-weight: bold;
  margin-top: 2rem;
}

.item_txt {
  margin-top: 2rem;
}

.item_txt::before {
  content: "";
  margin-bottom: 2rem;
  display: block;
  background-image: linear-gradient(to right, rgba(10, 27, 126, 0.6), rgba(0, 128, 223, 0.6));
  height: 1px;
}

@media screen and (max-width: 767px) {
  .item {
    
  }
  
  .item_head {
    font-size: 2rem;
  }
  
  .item_row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .item_card {
  
  }
  
  .item_ttl {
    font-size: 1.8rem;
  }
  
  .item_txt {
    margin-top: 1rem;
  }
  
  .item_txt::before {
    margin-bottom: 1rem;
  }
}

.banner {
  display: block;
  color: #fff;
  background-image: url(../img/health_bg.jpg);
  background-position: 100% 50%;
  background-size: cover;
  padding: 8rem;
  cursor: pointer;
}

.banner:visited {
  color: #fff;
}

.banner_ttl {
  font-weight: bold;
  font-size: 3.2rem;
  margin-bottom: 3rem;
}

.banner_btn {
  position: relative;
  border: 1px solid #fff;
  background-color: rgba(0 0 0 / 50%);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30rem;
  max-width: 100%;
  height: 4rem;
  color: #fff;
  font-weight: bold;
}

.banner_arrow {
  width: 1.8rem;
  height: auto;
  position: absolute;
  inset: 50% 1rem auto auto;
  translate: 0 -50%;
}

@media screen and (max-width: 767px) {
  .banner {
    padding: 4rem 2rem;
  }

  .banner_ttl {
    font-size: 2rem;
    text-align: center;
  }
}

@media (hover: hover) {
  .banner {
    transition: opacity .3s;
  }

  .banner:hover {
    opacity: 0.8;
    text-decoration: none;
  }
}