/* 全体の基本設定 */
body {
  background-color: #F7F3CA;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  line-height: 1.8;
  color: #333;
  margin: 0; /* ← ここが重要！ */
}

.page-wrapper {
  max-width: 1100px;      /* 中央の幅 */
  margin: 40px auto;     /* 中央寄せ */
  /* background: #fff;      /* 白背景 */
  padding: 40px;         /* 内側の余白 */
  border-radius: 8px;    /* 角丸で上品に */
  /* box-shadow: 0 0 10px rgba(0,0,0,0.05); /* ほんのり影 */
}

/* 見出し */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 20px;
}

/* リンク */
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.product-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.gallery {
  width: 400px; /* 写真の幅を固定して左側に */
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnails img {
  width: 80px;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
}

.thumbnails img.active {
  border-color: #1a3c5a; /* 藍色の枠線 */
}

.thumbnails img:hover {
  border-color: #333;
}


.product-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.product-image img {
  max-width: 400px;
  height: auto;
}

.product-info {
  max-width: 700px;
}

.buy-button {
  display: inline-block;
  background: #1a3c5a; /* 藍色 */
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* テーブル */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.size-table th,
.size-table td {
  border-bottom: 1px solid #d6cfae; /* 和紙に合う淡い茶色 */
  padding: 10px 8px;
  text-align: left;
}

.size-table th {
  background: #efe8c4; /* 和紙より少し濃いクリーム色 */
  font-weight: bold;
}

.size-table tr:hover {
  background: #f2ebd0; /* 和紙色に自然に馴染む薄い影色 */
}


/* フッターをセンターに */
.center {
  text-align: center;
  margin: 20px 0;
}

.center img {
  display: block;
  margin: 0 auto 10px;
}

/* セクションの余白 */
section {
  margin-bottom: 40px;
}
