* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  position: relative;
  z-index: 1;
}
body {
}
html::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.705),
      rgba(255, 255, 255, 0.705)
    ),
    url("img/live-back.png");
  background-size: cover;
  background-position: center;
  filter: blur(0.5px); /* 背景画像だけをぼかす */
  z-index: -1; /* 擬似要素を背景に移動させる */
}
/* 共通のcss*/
.h1 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin: 40px 0;
}

h1,
h2,
h3 {
  text-align: center;
}
h2,
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
/*各ボタン*/

.button {
  width: 300px;
  margin: 5px auto;
  height: 55px;
  text-align: center;
  color: aliceblue;
  display: inline-block;
  padding: 15px 25px;
  background-color: #626161;
  border: 2px solid #333;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease-in-out;
}
.button:hover {
  transform: scale(1.1);
}
/*各テキスト*/
.item-text {
  width: 90%;
  margin: 0 auto;
  height: auto;
  align-items: center;
}
.h1-text {
  padding: 15px 0;
  line-height: 1.5;
}
/*ページトップの見出し*/
#company-nextwave {
  width: 90%;
  margin: 0 auto;
}

#nextwave-catchcopy p {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}
.catchcopy-h1 {
  font-size: 1.2rem;
  margin: 20px 0;
}
.nextwave-item {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.nextwave-item-img img {
  width: 100%;
  height: 400px;
  margin: 10px auto;
  border-radius: 15px;
  object-fit: cover;
}

.item-text p,
.nextwave-catchcopy {
  width: 90%;
  text-align: center;
}
/*フッター*/
/*food*/
#food {
  position: relative;
  background-color: #fafaf9;
  overflow: hidden;
}
.food-p {
  flex-wrap: wrap;
  position: absolute;
  font-size: 15rem;
  font-weight: 700;
  opacity: 0.08;
  color: #a9a9a4;
  pointer-events: none;
  width: 100%;

  letter-spacing: 25px;
}
.nav-ul {
  margin: 10px 30px;
  list-style: none;
}
.nav-ul li {
  font-size: 1.7rem;
  padding: 20px 30px;
}
.nav-ul li a {
  transition: color 0.4s;
  cursor: pointer;
}
.nav-ul li a:hover {
  color: #7b7b79;
}

.copyright {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0;
}

/*レスポンシブデザイン*/
@media (min-width: 344px) and (max-width: 480px) {
  .catchcopy-h1 {
    font-size: 1rem;
  }
  #nextwave-catchcopy p {
    font-size: 0.8rem;
  }
  .item-text {
    height: auto;
  }
  .h1-text {
    font-size: 0.8rem;
  }
  .button {
    width: 220px;
    height: 50px;
    font-size: 0.8rem;
  }
  .nav-ul li {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .copyright-p {
    font-size: 0.9rem;
  }
  .copyright-p2 {
    font-size: 0.8rem;
  }
}

@media (min-width: 481px) and (max-width: 820px) {
}
@media (min-width: 821px) and (max-width: 2500px) {
  #nextwave-catchcopy p {
    font-size: 1.2rem;
    line-height: 2.5;
  }

  .nextwave-item {
    width: 80%;
  }
  .nextwave-item-img img {
    width: 100%;
    height: auto; /* 自動調整 */
    max-height: 400px; /* 必要に応じて最大高さを設定 */
    margin: 40px 0;
  }
  .h1-text {
    font-size: 1.3rem;
    line-height: 1.8;
  }
}
