/* 基本樣式 */
body {
  padding-top:80px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #0d1b2a;
  line-height: 1.6;
  text-align: center;
  font-size:16px;
}



/* 頁首 */
header {
  position: fixed;
  top:0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 20px;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  transition: color 0.3s, font-weight 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #a9c4bb;
  font-weight: 600;
}



/* 主視覺 */
#hero {
  height: 1000px;
  background-image: url(images/background.jpg);
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position:relative;
}

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 20px;
  color: #000;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff, 0 0 60px rgba(255,255,255,0.8);
  margin-bottom:20px; 
}

#hero p {
  font-family:  'Playfair Display', serif; 
  font-size: 3rem;
  color: #000;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff, 0 0 60px rgba(255,255,225,0.8);
}

#logo{
  text-align: center;
  margin-top: 40px;
}

#logo .hero-logo{
  width: 200px;
  height: auto;
}

/* 區塊標題 */
section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* 段落樣式 */
section p {
  text-align: center;
  margin: 10px auto;
  max-width: 800px;
  font-size: 1.1rem;
}

/* 商品展示 */
.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.product-card img {
  width: 300px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-card.hidden { display: none; }

#showMore {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  cursor: pointer;
}

/* グリッドスタイル */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 工作夥伴 */
#partners .partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.partners-logos a img {
  width: 150px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.partners-logos a img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 聯絡我們 */
#contact {
  padding: 80px 20px;
  background: #f5f5f5;
}

#contact a:hover {
  color: #a9c4bb;
}


@media(max-width: 800px){
  /*ヘッダーは非表示*/
  header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 12px;
    background: rgba(255,255,255,0.95);
    position: fixed;
    top: 0;
    width:100%;
    z-index:100;
    font-size:10px;
    padding-left:0;
    padding-right:0;
  }
  nav ul {
    flex-direction: column;
    margin:0;
    padding:0;
  }

  .nav{
    display: none;
    position: absolute;
    top: 100%;
    left:0;
    width: 100%;
    background: #fff;
  }

.nav ul li{
  padding:8px 12px;
  margin:0;
  padding:0;
}

.menu-toggle{
  font-size:8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav.open{
  display: block;
}

*{
  font-family: "Noto Sans TC", sans-serif !important;
}

/*HEROをファーストビューに*/
  #hero{
  display: none;
  }
  
  .hero-logo{
   content: url(images/aa.jpg);
   width: auto !important;
   align-items:center !important;
   display: block !important;
   max-width: 100%!important;
   height: auto !important;
   margin-left:auto!important;
   margin-right:auto!important;
   transform:none!important;
  }

  .product-card img {
    width: 50%;
  }

  section .hero-text h1 {
    font-size:20px;
  }

  section p{
    font-size:11px;
  }
*{
box-sizing: border-box;
}

}
a {
  text-decoration: none;
  color: inherit;
}



html{
  -webkit-text-size-adjust:100%;
}

