html {
  overflow-x: hidden;
  font-weight: 16px;
}

main {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

header {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.header-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: rgba(255, 226, 226, 0.95);
  z-index: 1000;
  padding: 15px 0;
  padding: 30px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.global-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.global-nav a {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px 40px;
  border: 3px solid white;
  border-radius: 10px;
  color: black;
}

.image-container {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 90px;
}

.header-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.images-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5rem;
  text-shadow: 0px 0px 20px rgba(255, 0, 0, 1), 
               0px 0px 40px rgba(255, 0, 0, 0.8),
               5px 5px 15px rgba(255, 0, 0, 1);
  margin: 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 50px;
  border: 5px solid rgb(255, 255, 255);
  border-radius: 50%;
  filter: drop-shadow(0 -25px 0 0 white)
          drop-shadow(0 25px 0 0 white)
          drop-shadow(-25px 0 0 0 white)
          drop-shadow(25px 0 0 0 white)
          drop-shadow(-18px -18px 0 0 white)
          drop-shadow(18px -18px 0 0 white)
          drop-shadow(-18px 18px 0 0 white)
          drop-shadow(18px 18px 0 0 white)
          drop-shadow(0 -30px 0 0 white)
          drop-shadow(0 30px 0 0 white)
          drop-shadow(-30px 0 0 0 white)
          drop-shadow(30px 0 0 0 white);
  animation: slime 1.5s ease-in-out infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes slime {
  0% {
    border-radius: 50% 45% 55% 50% / 50% 50% 50% 50%;
  }
  10% {
    border-radius: 48% 52% 50% 50% / 52% 48% 50% 50%;
  }
  20% {
    border-radius: 45% 55% 50% 50% / 55% 45% 50% 50%;
  }
  30% {
    border-radius: 50% 50% 48% 52% / 50% 52% 48% 50%;
  }
  40% {
    border-radius: 50% 50% 45% 55% / 50% 55% 45% 50%;
  }
  50% {
    border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
  }
  60% {
    border-radius: 55% 45% 50% 50% / 50% 50% 52% 48%;
  }
  70% {
    border-radius: 50% 50% 52% 48% / 50% 48% 52% 50%;
  }
  80% {
    border-radius: 50% 50% 55% 45% / 48% 52% 50% 50%;
  }
  90% {
    border-radius: 48% 52% 50% 50% / 50% 50% 48% 52%;
  }
  100% {
    border-radius: 50% 45% 55% 50% / 50% 50% 50% 50%;
  }
}

section {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

#concept {
  text-align: center;
}

#concept::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: rgb(255, 2, 2);
  margin: 10px auto 0 auto;
}

#product {
  text-align: center;
}

#company {
  text-align: center;
}

.concept-section {
  max-width: 1440px;
  margin: 40px auto;
  padding: 40px 20px;
}

.concept-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.concept-card {
  max-width: 600px;
}

.concept-card img {
  width: 100%;
  height: auto;
  display: block;
}

.text-p {
  text-align: center;
  font-size: 1.2rem;
}

#product {
  text-align: center;
}

#product::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: rgb(255, 2, 2);
  margin: 10px auto 0 auto;
}

.product-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  max-width: 400px;
  position: relative;
  margin-bottom: 30px;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-info {
  position: relative;
  background-color: white;
  border: 2px solid #333;
  padding: 15px 20px;
  margin: -30px 20px 0 20px; /* -30px画像にかぶせています */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: center;
  border-radius: 8px;
}

.product-title {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.product-description {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 0.9rem;
}

.product-price {
  margin: 0;
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.1rem;
}

/* オーバーレイスタイル */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.overlay.active {
  display: flex;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

#company {
  text-align: center;
}

#company::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: rgb(255, 2, 2);
  margin: 10px auto 0 auto;
}

.company-content {
  margin: 40px auto 80px auto;
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
}

.company-content p {
  display: flex;
  margin: 10px auto 50px auto;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.company-name,
.company-address,
.company-phone,
.company-email {
  display: flex;
  position: relative;
}

.company-name::before {
  content: "会社名";
  display: inline-block;
  width: 120px;
  position: relative;
}

.company-name::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background-color: #ff0202;
}

.company-address::before {
  content: "住所";
  display: inline-block;
  width: 120px;
  position: relative;
}

.company-address::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background-color: #ff0202;
}

.company-phone::before {
  content: "電話番号";
  display: inline-block;
  width: 120px;
  position: relative;
}

.company-phone::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background-color: #ff0202;
}

.company-email::before {
  content: "メール";
  display: inline-block;
  width: 120px;
  position: relative;
}

.company-email::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background-color: #ff0202;
}

.span-p- {
  margin-left: 30px;
}

footer p {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(255, 226, 226, 0.95);
  font-size: 1rem;
  font-weight: bold;
  color: #666;
}

@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .site-title {
    font-size: 1rem;
  }

  .global-nav ul {
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .global-nav a {
    padding: 8px;
    font-size: 0.6rem;
  }

  .image-container {
    height: auto;
    margin-top: 90px;
  }

  .header-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .images-title {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .concept-section {
    margin: 8px auto;
    padding: 20px 10px;
  }

  .concept-card {
    max-width: 100%;
  }

  .text-p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-info {
    margin: -20px 10px 0 10px;
    padding: 10px 15px;
  }

  .product-title {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.8rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .company-content {
    font-size: 1rem;
    padding: 0 15px;
    max-width: 100%;
  }

  .company-content p {
    flex-direction: column;
    gap: 5px;
  }

  .company-name::before,
  .company-address::before,
  .company-phone::before,
  .company-email::before {
    width: 100%;
  }

  .company-name::after,
  .company-address::after,
  .company-phone::after,
  .company-email::after {
    width: 100%;
  }

  .span-p- {
    margin-left: 0;
  }

  footer p {
    font-size: 0.9rem;
    padding: 15px 10px;
  }
}
