@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Sawarabi+Mincho&family=Zen+Old+Mincho:wght@400;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,900;1,400&display=swap");

html {
  font-size: 62.5%;
}

#newlife {
  font-size: 1.4rem;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #ffffff;
  background-image:
    linear-gradient(90deg, #e2e2e2 1px, transparent 1px),
    linear-gradient(#e2e2e2 1px, transparent 1px);
  background-position: 10px 10px;
  background-size: 41px 41px;
  padding-bottom: 4rem;
}

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

#newlife img {
  width: 100%;
  display: block;
  margin: 0;
}

#newlife .title {
  margin: 0 0 15rem;
}

#newlife .title h1 {
  font-size: 4rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin: 4rem auto 1.5rem;
  text-align: center;
  color: #3c3c3c;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#newlife .title p {
  font-size: 1.25rem;
  font-family: "メイリオ", "Meiryo", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2.2;
  margin: 3rem 2rem;
  text-align: center;
  color: #3c3c3c;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#newlife .title ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 5rem 2rem 9rem;
  padding-top: 1px;
  list-style: none;
}

#newlife .title ul li {
  width: calc((100% - 2rem) / 3);
}

@media screen and (max-width: 600px) {
  #newlife .title ul {
    margin: 5rem 3rem 9rem;
    gap: 1.5rem;
    justify-content: center;
  }

  #newlife .title ul li {
    width: calc((100% - 3rem) / 2);
  }
}

@media screen and (max-width: 500px) {
  #newlife .title ul {
    margin: 5rem 1rem 9rem;
    gap: 1rem;
  }

  #newlife .title ul li {
    width: calc((100% - 1rem) / 2);
  }
}

#newlife h2 {
  font-family: dnp-shuei-mgothic-std, sans-serif;
  color: #405251;
  letter-spacing: 0.05em;
  margin: 0 0 2rem;
  padding: 6.4rem 0 0;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: 1.5rem;
  font-weight: normal;
}

#newlife h2 strong {
  font-family: dnp-shuei-mgothic-std, sans-serif;
  color: #405251;
  letter-spacing: 0.05em;
  display: block;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  font-weight: bold;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#newlife h2 strong::after {
  content: "";
  display: block;
  background-color: #405251;
  margin: 0 auto 2rem;
  width: 30%;
  height: 1px;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  #newlife h2 {
    margin: 0 2rem 2rem;
  }

  #newlife h2 strong::after {
    width: 70%;
  }
}

#newlife h3 {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#newlife h3 strong {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  color: #704039;
  margin: 5rem auto 0;
  padding: 0.3rem 5rem;
  display: inline-block;
  font-size: 1.75rem;
  font-weight: bold;
  word-break: keep-all;
  overflow-wrap: anywhere;
  position: relative;
}

#newlife h3 strong::before {
  display: block;
  width: 100%;
  letter-spacing: 0.1em;
  font-size: 1.25rem;
  position: absolute;
  top: -2rem;
  left: 0;
}

#newlife .bg-beige {
  position: relative;
  background-color: #f8f5e7;
  margin: 18rem 0 1rem;
  padding: 2.7rem 0 7rem;
}

/* Bathroom */
#newlife > div:nth-of-type(3) {
  margin: 13rem 0 1rem;
}

#newlife .bg-beige > img {
  transform: translateY(-112%);
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: 1rem auto 0;
  width: 32%;
}

@media screen and (max-width: 600px) {
  #newlife .bg-beige {
    margin: 15rem 0 1rem;
  }

  #newlife > div:nth-of-type(3) {
    margin: 11rem 0 1rem;
  }

  #newlife .bg-beige > img {
    width: 40%;
  }
}

#newlife .bg-green {
  position: relative;
  background-color: #f9fcf2;
  padding: 0 0 5rem;
}

#newlife .bg-green::before {
  content: "";
  background-color: #f9fcf2;
  position: absolute;
  top: -10rem;
  height: 10rem;
  width: 100%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

#newlife .ranking strong::before {
  content: "Ranking";
  color: #a81b4b;
}

#newlife .recommend strong::before {
  content: "Best pick!";
  color: #eea6a6;
}

#newlife .color strong::before {
  content: "2026 Lucky color";
  color: #eea6a6;
}

#newlife .simple strong::before {
  content: "Simple";
  color: #eea6a6;
}

#newlife .flower strong::before {
  content: "Flower";
  color: #eea6a6;
}

#newlife .item1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#newlife .item1 a {
  display: block;
  width: calc(95% / 2);
  margin-top: 1rem;
}

#newlife .item2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 1rem 2rem 0;
}

#newlife .item2 img {
  margin-bottom: 0.8rem;
}

#newlife .item2 a {
  display: block;
  font-family: "メイリオ", "Meiryo", sans-serif;
  font-size: 1.15rem;
  margin-top: 2rem;
  width: calc((100% - 2rem) / 3);
  text-align: center;
  text-decoration: underline;
  color: #036eb7;
}

#newlife .item3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#newlife .item3 a {
  display: block;
  width: calc(98% / 4);
  margin-top: 2rem;
}

#newlife .item4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#newlife .item4 a {
  display: block;
  width: calc(96% / 4);
  margin-top: 2rem;
}

@media screen and (max-width: 600px) {
  #newlife .item1 a {
    width: 80%;
    margin-top: 2rem;
  }

  #newlife .item2 a {
    width: 48%;
  }

  #newlife .item2 a:first-child {
    width: 70%;
  }

  #newlife .item3 a {
    width: calc(98% / 2);
  }

  #newlife .item4 a {
    width: calc(96% / 2);
  }
}

#newlife > span {
  display: block;
  margin: 2rem 0 0;
  text-align: center;
}

#newlife > span a {
  display: inline-block;
  font-family: dnp-shuei-mgothic-std, sans-serif;
  font-size: 1.55rem;
  color: #fff;
  background-color: #eea6a6;
  border: solid 3px #eea6a6;
  border-radius: 3px;
  padding: 0.75rem 6rem;
}

#newlife > span a::after {
  content: "　▶";
}

#newlife > span a:hover {
  color: #eea6a6;
  background-color: #fff;
}

#newlife .coodinate a {
  background-color: #a81b4b;
  border: solid 3px #a81b4b;
}

#newlife .coodinate a:hover {
  color: #a81b4b;
}

#newlife .marker {
  background-color: #fff5c2;
  font-size: 1.5rem;
}

#newlife .gold a {
  background-color: #cfba33;
  border: solid 3px #cfba33;
}

#newlife .gold a:hover {
  color: #cfba33;
}

#newlife .red a {
  background-color: #cd6038;
  border: solid 3px #cd6038;
}

#newlife .red a:hover {
  color: #cd6038;
}

#newlife .blue a {
  background-color: #465ea6;
  border: solid 3px #465ea6;
}

#newlife .blue a:hover {
  color: #465ea6;
}

#newlife > a {
  display: block;
  margin: 6rem auto 0;
}
