* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px; /* 20%小さく（50px → 40px） */
  width: auto;
  cursor: pointer;
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 商品一覧セクション */
.products {
  padding: 60px 0;
  background-color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.product-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(177, 25, 48, 0.2);
}

.product-item a {
  display: block;
  text-decoration: none;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-item:hover .product-image {
  transform: scale(1.05);
}

/* お問い合わせセクション */
.contact {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  background-color: #b11930;
  color: #ffffff;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(177, 25, 48, 0.3);
}

.contact-btn:hover {
  background-color: #8e1426;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(177, 25, 48, 0.4);
}

/* フッター */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 42px; /* 30%小さく（60px → 42px） */
  width: auto;
  filter: grayscale(100%) brightness(0) invert(1); /* グレースケール + 白色変換 */
}

.footer-info {
  margin-bottom: 30px;
}

.address {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-copyright p {
  font-size: 0.8rem;
  color: #ccc;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .logo {
    height: 32px; /* モバイルでさらに小さく */
  }

  .hero {
    height: 300px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .contact {
    padding: 40px 0;
  }

  .contact-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .contact-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .footer-logo-img {
    height: 35px; /* モバイルでさらに小さく */
  }

  .address {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    height: 28px;
  }

  .hero {
    height: 250px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .products {
    padding: 40px 0;
  }

  .products-grid {
    gap: 15px;
    padding: 0 15px;
  }

  .contact {
    padding: 30px 0;
  }

  .contact-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .contact-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 30px 0 15px;
  }

  .footer-logo-img {
    height: 28px;
    margin-bottom: 15px;
  }

  .address {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }

  .footer-copyright {
    padding-top: 15px;
  }

  .footer-copyright p {
    font-size: 0.7rem;
  }
}
