@charset "UTF-8";
/* ==========================================================
   SIDAS common block (shared by makeshop product pages)
   File: https://asset.sidas.co.jp/makeshop/common/css/common.css
   - All rules are scoped to #sidas-common
   - Spacing follows the product LP blocks (e.g. #recola-sabot)
   Breakpoints: <=1024px tablet, <=767px mobile
   ========================================================== */

div#sidas-common {
  --sidas-common-space-section: 100px;  /* between groups / above this block */
  --sidas-common-space-inner: 40px;     /* image to text */
  --sidas-common-text: #555;
  --sidas-common-note: #888;
  --sidas-common-button: #fee000;

  max-width: 1200px;
  float: none;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  margin: var(--sidas-common-space-section) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--sidas-common-space-section);
  color: var(--sidas-common-text);
  line-height: 1.9;
  text-align: center;
}

#sidas-common,
#sidas-common *,
#sidas-common *::before,
#sidas-common *::after {
  box-sizing: border-box;
}

/* ---------- Font: system sans-serif (same as product LPs) ---------- */
#sidas-common,
#sidas-common p,
#sidas-common div,
#sidas-common section,
#sidas-common a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

/* ---------- Reset makeshop theme decoration ---------- */
#sidas-common p,
#sidas-common div,
#sidas-common section {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  float: none;
  width: auto;
  text-align: center;
}

#sidas-common img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ---------- Groups ---------- */
#sidas-common .sidas-common-group {
  display: flex;
  flex-direction: column;
  gap: var(--sidas-common-space-inner);
}

#sidas-common .sidas-common-text p + p {
  margin-top: 1em;
}

/* Notes: smaller and lighter than body text */
#sidas-common .sidas-common-note {
  font-size: 0.8em;
  line-height: 1.6;
  color: var(--sidas-common-note);
}

/* ---------- Size table ----------
   Markup is vertical (one row per size).
   Mobile: shown as is (2 columns).
   >=768px: rows are laid out side by side, so the table reads horizontally.
   Cells never wrap. */
#sidas-common .sidas-common-size {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}

#sidas-common .sidas-common-size th,
#sidas-common .sidas-common-size td {
  padding: 8px 12px;
  border: 1px solid #c8c8c8;
  white-space: nowrap;
  text-align: center;
  font-weight: 400;
  vertical-align: middle;
}

/* First cell of each row: label / size name */
#sidas-common .sidas-common-size th {
  background: #7a7a7a;
  color: #fff;
}

#sidas-common .sidas-common-size td {
  background: #fff;
  color: #333;
}

/* Mobile: the first row is the header row */
@media (max-width: 767px) {
  #sidas-common .sidas-common-size tr:first-child td {
    background: #7a7a7a;
    color: #fff;
  }
}

@media (min-width: 768px) {
  #sidas-common .sidas-common-size,
  #sidas-common .sidas-common-size tbody {
    display: block;
  }

  #sidas-common .sidas-common-size tbody {
    display: flex;
  }

  #sidas-common .sidas-common-size tr {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
  }

  #sidas-common .sidas-common-size th,
  #sidas-common .sidas-common-size td {
    display: block;
    margin: 0 0 -1px -1px;   /* collapse shared borders */
  }

  #sidas-common .sidas-common-size tr:first-child th,
  #sidas-common .sidas-common-size tr:first-child td {
    margin-left: 0;
  }

  /* Label column: left aligned, like the original image */
  #sidas-common .sidas-common-size tr:first-child th,
  #sidas-common .sidas-common-size tr:first-child td {
    text-align: left;
  }
}

/* ---------- Download button ---------- */
#sidas-common .sidas-common-button {
  display: inline-block;
  max-width: 100%;
  padding: 14px 48px;
  border: 0;
  border-radius: 9999px;
  background: var(--sidas-common-button);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s;
}

#sidas-common .sidas-common-button:visited,
#sidas-common .sidas-common-button:hover,
#sidas-common .sidas-common-button:focus {
  color: #000;
  text-decoration: none;
}

/* Hover: 90% opacity (only on devices with a mouse) */
@media (hover: hover) {
  #sidas-common .sidas-common-button:hover {
    opacity: 0.9;
  }
}

#sidas-common .sidas-common-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* ==========================================================
   Tablet (<=1024px)
   ========================================================== */
@media (max-width: 1024px) {
  div#sidas-common {
    --sidas-common-space-section: 60px;
    --sidas-common-space-inner: 20px;
  }
}
