/* ヘッダー */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #3a7db8;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
}

/* ナビゲーション */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #3a7db8;
}

.nav-icons {
  display: flex;
  align-items: center;
}

.nav-icons a {
  margin-left: 20px;
  color: #555;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-icons a:hover {
  color: #3a7db8;
}

.cart-count {
  background-color: #e84c3d;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -5px;
  right: -5px;
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.9),
      rgba(255, 245, 245, 0.8)
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="5" fill="%23ff9eb4" opacity="0.2"/><circle cx="50" cy="50" r="8" fill="%2391c1e7" opacity="0.2"/><circle cx="80" cy="80" r="6" fill="%23a0d6b4" opacity="0.2"/></svg>');
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.btn {
  display: inline-block;
  background-color: #3a7db8;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.7rem !important;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #2c6092;
}

/* 商品カテゴリー */
.categories {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 1.4rem;
  color: #333;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a7db8;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.category-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-img {
  height: 120px;
  background-color: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-img i {
  font-size: 70px;
  color: #3a7db8;
}

.category-info {
  padding: 20px;
}

.category-info h3 {
  color: #333;
}

/* 人気商品 */
.featured-products {
  padding: 30px 0;
  background-color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  /* height: 220px; */
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  margin-bottom: 10px;
  color: #333;
}

.price {
  font-size: 0.9rem;
  color: #3a7db8;
  font-weight: bold;
  margin-bottom: 7px;
}
.original-price {
  text-decoration: line-through;
  color: #777;
  font-size: 0.8rem;
  margin-left: 5px;
}

/* 特集セクション */
.features {
  padding: 30px 0;
  background-color: #f0f7ff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-card i {
  font-size: 30px;
  color: #3a7db8;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: #333;
}

/* フッター */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #3a7db8;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #3a7db8;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3a506b;
  color: #ccc;
  font-size: 0.9rem;
}

.tabs-wrapper {
			/* display: grid;
			grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
			gap: 18px; */
			max-width: 100%;
			position: relative;
			max-height: 200px;
			overflow: hidden;
			transition: max-height 0.5s ease;
			padding: 10px;
		}

.tab {
  display: inline-block;
  padding: 0px 4px;
  background: #fff8e6;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e1e8ff;
  font-size: 1rem;
  align-items: center;
  line-height: 25px;
  height: 30px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.08);
}
.tab a {
  color: #e6a23c;
}
.tab:hover {
  /* background: #3498db;
			color: white; */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.tab.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0 10px 10px;
  }

  .nav-icons {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 576px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .nav-icons {
    margin-top: 15px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-img {
    height: 60px;
  }

  .category-img i {
    font-size: 35px;
    color: #3a7db8;
  }

  .category-info {
    padding: 10px;
  }
}
