@charset "UTF-8";
* { box-sizing: border-box; }
body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  background: #faf7f2;
  color: #2b2620;
  margin: 0;
  line-height: 1.8;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 50px 24px 100px 24px; }
h1.page-title { font-size:23px; letter-spacing: 3px; margin-bottom: 34px; border-left: 5px solid #c9a15a; padding-left: 14px; }

.title-row { display:flex; align-items:center; gap:12px; margin-bottom:34px; }
.title-row img.logo-mark { width:40px; height:40px; flex:0 0 40px; }
.title-row h1.page-title { margin-bottom:0; }
a { color: #8a5a3c; }
.btn {
  display: inline-block; background: #201d18; color: #faf7f2; padding: 12px 30px;
  font-size:14px; letter-spacing: 2px; text-decoration: none; border: none; cursor: pointer;
}
.btn.secondary { background: transparent; color: #201d18; border: 1px solid #201d18; }
.btn:disabled { background: #ccc; cursor: not-allowed; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { border: 1px solid #e3d9c6; background: #fff; padding: 20px; }
.product-card h3 { font-size:16px; margin: 0 0 8px 0; }
.product-card p { font-size:13.5px; color: #6b6357; }
.product-card .price { color: #a3803f; font-size:15px; margin: 10px 0; }

/* 作品を選ぶ：1行＝1作品（左：文章＋ボタン／右：画像スペース）のレイアウト */
.product-list { display: flex; flex-direction: column; gap: 44px; }
.product-row { display: flex; align-items: flex-start; gap: 26px; }
.product-info { flex: 1 1 auto; min-width: 0; }
.product-info h3 { font-size: 21px; font-weight: 500; letter-spacing: 1px; margin: 0 0 14px 0; color: #2b2620; }
.product-info p { font-size: 14px; line-height: 1.8; color: #2b2620; margin: 0 0 8px 0; }
.product-info .price { font-size: 14px; color: #2b2620; margin: 0 0 18px 0; }
.product-order-btn {
  display: inline-block; padding: 13px 32px; font-size:13.5px; letter-spacing: 1px;
  color: #2b2620; text-decoration: none; border: none; cursor: pointer;
}
.product-order-btn.c1 { background: #fbd5b1; }
.product-order-btn.c2 { background: #f2c2d8; }
.product-order-btn.c3 { background: #d0eae9; }
.product-image-placeholder {
  flex: 0 0 26%; max-width: 220px; aspect-ratio: 1 / 1;
  border: 1px solid #201d18; background: #fff;
}

form.order-form label { display:block; font-size:14px; margin: 18px 0 6px 0; color:#4a4232; }
form.order-form input[type=text], form.order-form input[type=email], form.order-form input[type=tel],
form.order-form textarea, form.order-form select {
  width: 100%; padding: 10px 12px; border: 1px solid #d8cdb8; font-family: inherit; font-size:15px; background:#fffefb;
}
form.order-form textarea { min-height: 90px; }
.required { color: #b23; font-size:12px; margin-left: 6px; }

table.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
table.cart-table th, table.cart-table td { border-bottom: 1px solid #e3d9c6; padding: 14px 10px; font-size:14.5px; text-align: left; }
table.cart-table th { color: #8a5a3c; font-size:13px; letter-spacing: 1px; }
.cart-total { text-align: right; font-size:18px; margin: 20px 0 34px 0; }

.notice { background: #fbeee6; border: 1px solid #e6c9a8; padding: 16px 20px; font-size:14px; margin-bottom: 26px; }
.error { background: #fdeceb; border: 1px solid #e0a99f; color:#8a2d20; padding: 14px 18px; font-size:14px; margin-bottom:20px; }

table.admin-table { width:100%; border-collapse: collapse; background:#fff; }
table.admin-table th, table.admin-table td { border:1px solid #e3d9c6; padding:10px 12px; font-size:13.5px; }
table.admin-table th { background:#f4e9d8; }

/* サイズ・額の価格表（作品を選ぶページ） */
.price-table-section { margin: 46px 0 10px 0; }
.price-table-heading { font-size:19px; letter-spacing:2px; margin:0 0 24px 0; border-left:5px solid #c9a15a; padding-left:12px; color:#2b2620; }
.price-table-block { margin-bottom: 34px; }
.price-table-block:last-child { margin-bottom: 0; }
.price-table-subheading { font-size:15px; letter-spacing:1px; margin:0 0 8px 0; color:#8a5a3c; font-weight:500; }
.price-table-note { font-size:12.5px; color:#6b6357; margin:0 0 12px 0; }
table.price-table { width:100%; border-collapse: collapse; background:#fff; }
table.price-table th, table.price-table td { border-bottom:1px solid #e3d9c6; padding:12px 10px; font-size:14px; text-align:left; }
table.price-table th { color:#8a5a3c; font-size:12.5px; letter-spacing:1px; background:#fbeee6; font-weight:500; }
table.price-table th:nth-child(2), table.price-table th:nth-child(3),
table.price-table td:nth-child(2), table.price-table td:nth-child(3) { text-align:right; }

/* スマホ表示：商品カードもスマホで3列・均等幅を維持し、文字サイズと余白を縮小して読みやすくする */
@media (max-width: 700px) {
  .wrap { padding: 30px 18px 80px 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .product-card { padding: 10px 8px; }
  .product-card h3 { font-size: 11px; line-height: 1.3; margin: 0 0 5px 0; }
  .product-card p { font-size: 8.5px; line-height: 1.4; }
  .product-card .price { font-size: 9.5px; margin: 6px 0; }
  .product-card .btn { display: block; font-size: 8px; padding: 6px 4px; letter-spacing: 0; text-align: center; }

  .product-list { gap: 30px; }
  .product-row { gap: 14px; }
  .product-info h3 { font-size: 15.5px; margin-bottom: 8px; }
  .product-info p { font-size: 12px; line-height: 1.6; margin-bottom: 6px; }
  .product-info .price { font-size: 12px; margin-bottom: 10px; }
  .product-order-btn { padding: 10px 16px; font-size: 11px; letter-spacing: 0.5px; }
  .product-image-placeholder { flex-basis: 27%; max-width: 100px; }

  table.cart-table thead { display: none; }
  table.cart-table, table.cart-table tbody, table.cart-table tr, table.cart-table td {
    display: block; width: 100%;
  }
  table.cart-table tr { margin-bottom: 20px; border-bottom: 2px solid #d8cdb8; }
  table.cart-table td { border-bottom: none; padding: 6px 0; }

  .price-table-heading { font-size: 16px; margin-bottom: 18px; }
  .price-table-block { margin-bottom: 26px; }
  .price-table-subheading { font-size: 13px; }
  .price-table-note { font-size: 11px; }
  table.price-table th, table.price-table td { font-size: 12px; padding: 9px 6px; }
}
