* {
  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;
}

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/HP-new-back.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(0.5px); /* 背景画像だけをぼかす */
  z-index: -1; /* 擬似要素を背景に移動させる */
}
/* 共通のcss*/
.h1 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin: 40px 0;
}
#company-HP {
  width: 90%;
  margin: 0 auto;
}
.h1-text {
  text-align: center;
}
.HP-items {
  width: 90%;
  margin: 0 auto;
}
.company-h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 50px;
}
.HP-h2 {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
}
.HP-item {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.HP-item-responsive {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.responsive-item {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.responsive {
  width: 90%;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.HP-item-img img,
.responsive-item-img img {
  width: 100%;
  height: 330px;
  margin: 10px auto;
  border-radius: 15px;
  object-fit: cover;
}

.item-text p {
  width: 90%;
  margin: 0 auto;
  padding: 5px;
  line-height: 1.5;
}
.company-text p {
  width: 100%;
  text-align: center;
  padding: 5px;
  font-size: 1.4rem;
  line-height: 1.5;
}
/*ボタン*/
.button {
  width: 300px;
  margin: 0 auto 40px;
  text-align: center;
  color: aliceblue;
}
/*各ボタン*/
.link-button {
  display: inline-block;
  padding: 15px 25px;
  color: rgb(229, 233, 238);
  margin: 20px 0;
  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;
}

.link-button:hover {
  transform: scale(1.1);
}
/*フッター*/
/*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) {
  .h1 {
    font-size: 1.5rem;
  }

  .company-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 10px;
  }
  .item-text p {
    font-size: 0.9rem;
    padding: 10px;
    line-height: 1.2;
  }
  .company-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .HP-item-img img,
  .responsive-item-img img {
    height: 300px;
  }
  .responsive-img img {
    width: 150px;
    height: 150px;
  }
  .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: 1365px) {
  .HP-item-img img,
  .responsive-item-img img {
    width: 100%;
    height: 450px;
  }
}
@media (min-width: 1366px) and (max-width: 2500px) {
  .HP-items {
    width: 95%;
    display: flex;
  }
  .HP-item {
    width: 30%;
  }
  .HP-item-responsive {
    width: 35%;
    flex-direction: row;
  }
  .responsive-item {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .responsive {
    width: 90%;
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .HP-item-img img,
  .responsive-item-img img {
    width: 100%;
    height: 350px;
  }
  .responsive-img img {
    width: 200px;
  }
  .h1-text {
    width: 32%;
  }
  .responsive {
    width: 30%;
    padding: 15px 15px;
  }
  .item-text p {
    width: 100%;
    margin: 0 auto;
    line-height: 1.1;
    font-size: 1.1rem;
    padding: 15px;
  }
}
