* { box-sizing: border-box; }
body { margin: 0; color: #222b38; background: #fff; font-family: Arial, "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }
.topbar { padding: 10px; text-align: center; color: #fff; background: #243c5a; font-size: 12px; letter-spacing: .08em; }
.site-header { height: 76px; padding: 0 max(calc((100% - 1180px)/2), 28px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8ebef; }
.logo { font-size: 25px; font-weight: 800; letter-spacing: .08em; color: #243c5a; white-space: nowrap; }
.logo span { font-weight: 400; }
nav { display: flex; gap: 28px; font-size: 13px; }
.header-actions { display: flex; gap: 20px; font-size: 13px; }
.breadcrumbs { max-width: 1180px; margin: 22px auto; color: #89919b; font-size: 12px; }
main { max-width: 1180px; margin: auto; padding: 0 12px 70px; }
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; }
.gallery { min-width: 0; }
.main-image-wrap { position: relative; overflow: hidden; background: #f3f4f5; }
.main-image { display: block; width: 100%; height: 520px; object-fit: cover; }
.sale-label { position: absolute; top: 18px; left: 18px; padding: 8px 14px; color: white; background: #c85b48; font-size: 12px; }
.thumbnail-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbnail-row img { width: 100%; height: 112px; object-fit: cover; background: #f3f4f5; }
.product-info { padding: 10px 0; }
.category, .eyebrow { color: #8995a3; font-size: 11px; letter-spacing: .13em; }
h1 { margin: 14px 0; font-size: 30px; line-height: 1.55; font-weight: 600; }
.rating { color: #d69a35; font-size: 15px; }
.rating span { color: #7b8490; font-size: 12px; }
.product-lead { margin: 24px 0; color: #68717d; font-size: 14px; line-height: 1.9; }
.price { display: flex; align-items: center; gap: 14px; }
.price strong { font-size: 29px; }
.price del { color: #9ba1a9; font-size: 14px; }
.price span { padding: 4px 8px; color: #fff; background: #c85b48; font-size: 11px; }
.tax-note { margin: 3px 0 24px; color: #89919b; font-size: 11px; }
.option-block { margin: 20px 0; font-size: 13px; }
.color-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.color, .size-options button { padding: 10px 14px; border: 1px solid #d9dee5; background: white; color: #424b57; }
.color.active, .size-options .selected { border: 1px solid #243c5a; background: #f1f5f9; }
.quantity { display: flex; align-items: center; gap: 15px; margin: 25px 0 18px; font-size: 13px; }
.quantity button { width: 34px; height: 34px; border: 1px solid #d9dee5; background: #fff; }
.add-cart, .favorite { width: 100%; height: 54px; border: 0; cursor: pointer; }
.add-cart { color: white; background: #243c5a; font-size: 15px; font-weight: bold; }
.favorite { margin-top: 10px; border: 1px solid #cfd5dd; color: #46515f; background: white; }
.shipping { margin-top: 22px; padding: 16px; color: #68717d; background: #f6f7f8; font-size: 12px; line-height: 2; }
.description { margin: 75px 0; padding: 32px; background: #f7f8fa; }
.description h2 { margin-top: 0; font-size: 20px; }
.description p { color: #68717d; font-size: 14px; line-height: 2; }
.recommendations { margin-top: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid #dce1e7; }
.section-heading h2 { margin: 5px 0 18px; font-size: 25px; font-weight: 600; }
.section-heading > p, .recommend-intro { color: #89919b; font-size: 12px; }
.recommend-intro { margin: 18px 0 24px; }
.recommend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.recommend-card { min-width: 0; }
.recommend-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f2f3f4; }
.recommend-card .brand { margin: 12px 0 5px; color: #929aa4; font-size: 10px; letter-spacing: .08em; }
.recommend-card h3 { margin: 0 0 8px; font-size: 13px; font-weight: 500; line-height: 1.6; }
.recommend-card .recommend-price { font-size: 14px; font-weight: bold; }
.recommend-card .review { margin-top: 5px; color: #c18b34; font-size: 11px; }
footer { padding: 45px 20px; text-align: center; background: #f3f5f7; }
footer p { color: #77818c; font-size: 12px; }
footer small { color: #9ba2aa; }
@media (max-width: 760px) {
  .site-header { padding: 0 16px; height: 64px; } nav { display: none; } .header-actions { gap: 10px; font-size: 11px; }
  .breadcrumbs { padding: 0 14px; } main { padding: 0 14px 50px; }
  .product-detail { grid-template-columns: 1fr; gap: 25px; } .main-image { height: auto; aspect-ratio: 1 / 1; }
  .thumbnail-row img { height: auto; aspect-ratio: 1 / 1; } h1 { font-size: 25px; }
  .recommend-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .section-heading { display: block; } .section-heading h2 { font-size: 21px; }
  .description { margin: 45px 0; padding: 22px; }
}
