/* 詳細ページ専用スタイル */

.main-visual img {margin: 0;
    padding: 0;}

img{dorder:0;}

/* 詳細カテゴリーセクション */
.detail-categories {
    padding: 80px  30px 50px;
    background: white;
}


.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 30px;
    background: #f5f5f5;
}

.container3 {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: #f5f5f5;
}



.park-link {
	text-align: right;
	margin: 20px 0;
	color:red;
}

/* 詳細グリッド */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}


main {
    margin-top: 55px !important;
}

/* パンくずナビ */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 80px;
    font-size:14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ca9b05;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #ca9b05;
    font-weight: 500;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}






/*--------  mj  -------- */



/* ==========================================
   PC向けベーススタイル（画面幅 768px以上を想定）
   ========================================== */

/* 全体レイアウト */
.product-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 上揃え */
  max-width: 1200px;
  gap: 50px; /* 左右の余白 */
}

/* 左側：画像セクション（PCでは固定幅または45-55%） */
.image-section {
  flex: 1; /* 残りの幅を埋める */
  max-width: 522px;
}

.main-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f9f9f9;
  border: 1px solid #eee;
}

.main-visual img {
    margin: 0;
    padding: 0;
}

.thumb-list {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-top: 15px;

}

.thumb-list li {
  overflow: hidden; /* 万が一のはみ出しをカット */
}

.thumb-list li img{
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
  cursor: pointer;
}

/* 右側：情報セクション */
.info-section {
  flex: 0px; /* PCでは幅を固定すると読みやすい */
}

.product-title {
  text-align: left;
  font-size: 1.5rem;
  font-weight: 400;
  color:#000;
  margin-bottom: 0px;
}

.product-title2 {
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: #ca9b05;
  margin-bottom: 0px;
}

.product-title3 {
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: #ca9b05;
  margin-bottom: 0px;
  padding-top:20px;
}

.price {
  text-align: left;
  font-size: 1.5rem;
  color: #000;
  font-weight: 400;
  margin-bottom: 0px;
}

.cart-button {
  width: 100%;
  padding: 18px;
  background: #333;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* スペック表（PC向け） */
.spec-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
}
.spec-table th, .spec-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.spec-table th {
  width: 120px;
  background: #fbfbfb;
}

.spec-table td {
    background: #fbfbfb;
}




/* ==========================================
   モバイル向け調整（画面幅 767px以下）
   ========================================== */
@media screen and (max-width: 768px) {

  .product-wrapper {
    flex-direction: column; /* 縦並び */
    margin: 20px auto;
    gap: 0px;
  }

  .image-section, .info-section {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .main-visual img {
    width: 100%;        /* スマホでは横幅を基準にする */
    height: auto;       /* 高さは自動（正方形なら横幅と同じになる） */
    aspect-ratio: 1 / 1;
    max-height: 70vh;   /* スマホで縦長になりすぎるのを防ぐ */
  }

  .thumb-list li img {
    width: 60px;
    height: 60px;
  }



  .product-title {
    font-size: 1.4rem;
    margin: 20px 0px 0px;
  }

  .price {
    font-size: 1.4rem;
  }


  .spec-table th {
    width: 100px;
    font-size: 0.85rem;
  }

}



@media screen and (max-width: 992px) {

    .product-wrapper {
     flex-direction: column; /* 縦並びに変更 */
     padding: 0px;
     gap: 0px;
  }
  
  .image-section, .info-section {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .main-visual img {
    width: 100%;        /* スマホでは横幅を基準にする */
    height: auto;       /* 高さは自動（正方形なら横幅と同じになる） */
    aspect-ratio: 1 / 1;
    max-height: auto;   /* スマホで縦長になりすぎるのを防ぐ */
  }
	
}



/*--------  mj  -------- */




.detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* レスポンシブデザイン*/
@media (max-width: 768px) {
    .detail-categories {
        padding: 30px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .detail-image {
        height: 200px;
    }
}


@media (max-width: 480px) {
     .detail-categories {
       padding:0px 0px 30px 0px;
    } 

   .details-grid {
        grid-template-columns: 1fr;
    }
    
   .detail-categories h2 {
      text-align: left;
      margin-bottom: 0em;
   }

   .spec-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
   }

  	.page-header {
            background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
            color: white;
            padding: 40px 0;
            text-align: center;
	}

	.page-header h1 {
	    font-size: 2rem;
	    font-weight: 600;
	    margin-bottom: 1rem;
	    color: white;
	}

	.page-header p {
	    font-size: 1rem;
	    color: #ccc;
	    max-width: 400px;
	    margin: 0 auto;
	}

	.product-title {
	  text-align: left;
	  font-size: 1.2rem;
	  font-weight: 500;
	  margin-bottom: 0px;
	}

	.price {
	  font-size: 1.2rem;
	  color: #000;
	  font-weight: 400;
	  margin-bottom: 0px;
	}

         .info{
            font-size: 1rem;
        }
	
	


	.container2 {
	    padding: 30px 20px;
	}

}







