html {
  font-size: 62.5%;
}

#bathsalts {
  width: 100%;
  max-width: 800px;
  padding-bottom: 1rem;
  background-color: #fff;
}

#bathsalts * {
  box-sizing: border-box;
}

#bathsalts img {
  display: block;
  border: 0;
  width: 100%;
}

#bathsalts .bg-yellow {
  background-color: #E3CB74;
  padding-bottom: 1rem;
}

#bathsalts .bg-green {
  background-color: #92AD9B;
  padding-bottom: 1rem;
}

#bathsalts p {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 3rem;
  line-height: 1.8;
  letter-spacing: 0.3rem;
  color: #fff;
  margin: 1rem 0;
}

#bathsalts p span {
  display: inline-block;
}

#bathsalts .top p {
  font-family: "游明朝", "Yu Mincho", YuMincho, serif;
  font-weight: 600;
  font-style: normal;
  color: #BF9700;
  text-align: center;
  text-shadow: 0 0 20px #fff, 0 0 15px #fff, 0 0 10px #fff;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke;
  margin: 0;
}

#bathsalts .top p:nth-of-type(1) {
  font-size: 6rem;
  letter-spacing: 0;
  margin-bottom: -1.5rem;
}

#bathsalts .top p:nth-of-type(2) {
  font-size: 3rem;
  letter-spacing: 0.3rem;
  margin-top: -1rem;
  margin: 0 0 0.5rem;
}

#bathsalts .bg-green .top p:nth-of-type(1) {
  font-size: 5.5rem;
  color: #3a6a4a;
}

#bathsalts .bg-green .top p:nth-of-type(2) {
  font-size: 2.8rem;
  color: #3a6a4a;
}

#bathsalts .item-detail .flex {
  display: flex;
}

#bathsalts .item-detail .cursive {
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
  line-height: 1.5;
  transform: rotate(-16deg);
  margin: auto;
}

#bathsalts .item-detail [class^="text"] {
  text-align: left;
  margin: 1rem;
}

#bathsalts .item-detail .text-r {
  text-align: right;
  line-height: 1.5;
  margin: 3rem 2.5rem;
}

#bathsalts .item-detail .text-l {
  text-align: left;
  line-height: 1.5;
  margin: 3rem 2.5rem;
}

#bathsalts .bg-img {
  background-image: url(./images/202503047007.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4rem 1rem;
}

#bathsalts .bg-img .index p:nth-of-type(1) {
  color: #FA9905;
  font-size: 4.5rem;
  font-weight: 700;
  text-align: center;
}

#bathsalts .bg-img .index p:nth-of-type(2) {
  color: #1F1F1F;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-align: center;
}

#bathsalts .bg-img .flex {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin: 4rem 0;
}

#bathsalts .bg-img .flex img {
  width: 50%;
}

#bathsalts .bg-img .flex img:nth-of-type(2) {
  margin: 1rem 0 0;
}

#bathsalts .banner {
  margin: 4rem 0.5rem;
}

#bathsalts .notice-table > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#bathsalts .notice-table > div > div {
  width: 49%;
}

#bathsalts .notice-table td {
  padding: 1rem;
}

#bathsalts .sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  #bathsalts .sp-only {
    display: none;
  }

  #bathsalts .sp-width {
    width: 60%;
  }
 
  #bathsalts p {
    font-size: 1.8rem;
    margin: 1rem 0;
  }

  #bathsalts .top p:nth-of-type(1) {
    font-size: 5rem;
  }
  
  #bathsalts .top p:nth-of-type(2) {
    font-size: 2.5rem;
  }

  #bathsalts .bg-green .top p:nth-of-type(1) {
    font-size: 3.4rem;
    margin-bottom: 0.1rem;
  }
  
  #bathsalts .bg-green .top p:nth-of-type(2) {
    font-size: 2rem;
  }

  #bathsalts .item-detail .cursive {
    font-size: 3rem;
    margin: auto;
  }

  #bathsalts .bg-img {
    padding: 3rem 1rem;
  }
  
  #bathsalts .bg-img .index p:nth-of-type(1) {
    font-size: 3.5rem;
  }
  
  #bathsalts .bg-img .index p:nth-of-type(2) {
    font-size: 1.7rem;
  }
  
  #bathsalts .bg-img .flex {
    margin: 2rem 0;
  }

}

@media screen and (max-width: 500px) { 
  #bathsalts .pc-only {
    display: none;
  }

  #bathsalts .sp-only {
    display: unset;
  }
  
  #bathsalts p {
    font-size: 1.8rem;
  }
  
  #bathsalts .top p:nth-of-type(1) {
    font-size: 3.5rem;
    margin-bottom: -1rem;
  }
  
  #bathsalts .top p:nth-of-type(2) {
    font-size: 2rem;
  }

  #bathsalts .bg-green .top p:nth-of-type(1) {
    font-size: 3.2rem;
    line-height: 1.5;
    margin: 1rem 2rem 0.1rem;
  }
  
  #bathsalts .bg-green .top p:nth-of-type(2) {
    font-size: 1.6rem;
    margin: 0 2rem;
  }

  #bathsalts .top p {
    -webkit-text-stroke: 3px #fff;
  }
  

  #bathsalts .item-detail .cursive {
    font-size: 2.8rem;
    margin-top: 2rem;
  }

  #bathsalts .bg-img .flex {
    margin: 2rem 0;
  }

  #bathsalts .bg-img {
    padding: 2rem 1rem;
  }

  #bathsalts .bg-img .index p:nth-of-type(1) {
    font-size: 2.7rem;
  }
  
  #bathsalts .bg-img .index p:nth-of-type(2) {
    font-size: 1.3rem;
  }

  #bathsalts .notice-table > div > div {
    width: 100%;
  }

}
