/* =========================
   Cuffs grid
   ========================= */
.kk-cuffs-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 900px){
  .kk-cuffs-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  .kk-cuffs-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* card */
.kk-cuffs-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;

  width:100%;
  text-align:left;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background:#fff;
  padding:0;
  overflow:hidden;
  cursor:pointer;
}

.kk-cuffs-card img{
  width:100%;
  aspect-ratio: 400 / 267; /* サムネ比率を固定 */
  object-fit: cover;
  display:block;
  border-bottom: 1px solid #eee;
}

.kk-cuffs-card__title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  padding: 10px 10px 10px;
  font-weight:700;
  line-height:1.35;
  font-size: 14px;
  min-height: calc(1.35em * 2); /* 2行分固定 */
}

/* =========================
   Modal (dialog)
   ========================= */
dialog#kk-cuffs-modal.kk-cuffs-modal{
  border:0;
  padding:0;
  background:transparent;
}

/* 閉じているときは消す */
dialog#kk-cuffs-modal.kk-cuffs-modal:not([open]){
  display:none;
}

/* 開いているときだけ前面固定 */
dialog#kk-cuffs-modal.kk-cuffs-modal[open]{
  display:block;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(980px, 92vw);
  max-height: 88vh;
  z-index: 999999;
}

dialog#kk-cuffs-modal.kk-cuffs-modal::backdrop{
  background: rgba(0,0,0,.55);
}

#kk-cuffs-modal .kk-cuffs-modal__inner{
  background:#fff;
  border-radius: 14px;
  padding: 16px 16px 18px;
  max-height: 88vh;
  overflow:auto;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

#kk-cuffs-modal .kk-cuffs-modal__close{
  position: sticky;
  top: 0;
  margin-left: auto;
  display:block;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}

#kk-cuffs-modal .kk-cuffs-modal__title{
  margin: 6px 0 6px;
  font-size: 18px;
  line-height: 1.4;
}

#kk-cuffs-modal .kk-cuffs-modal__desc{
  margin: 0 0 12px;
  color:#444;
  line-height: 1.7;
}

/* 画像は1枚想定（将来増えても崩れないよう auto-fit） */
#kk-cuffs-modal .kk-cuffs-modal__images{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

#kk-cuffs-modal .kk-cuffs-modal__figure{
  margin:0;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
  text-align:center;
}

#kk-cuffs-modal .kk-cuffs-modal__figure img{
  width:100%;
  height:auto;
  display:block;

  /* 元が小さいので拡大しすぎない（ボケ対策） */
  max-width: 440px;
  margin: 0 auto;
}

/* =========================================================
   本文ブロック用（時計/コンバーチブル/芯）
   ========================================================= */
.kk-note-box{
  border: 1px solid #e6e6e6;
  background: #fafafa;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0 16px;
}
.kk-em{ color:#d70000; font-weight:800; }

.kk-media-grid{
  display:grid;
  gap: 16px;
  margin-top: 12px;
}
.kk-media-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 700px){
  .kk-media-grid--2{ grid-template-columns: 1fr; }
}
.kk-media{
  margin: 0;
  text-align:center;
}
.kk-media img{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
}

.kk-table-wrap{
  overflow-x:auto;
  margin: 12px 0 16px;
}
.kk-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  min-width: 720px;
}
.kk-table th,
.kk-table td{
  border:1px solid #e6e6e6;
  padding: 10px 12px;
  vertical-align:middle;
}
.kk-table thead th{
  background:#f6f6f6;
  font-weight:700;
}
.kk-center{ text-align:center; }

.kk-cta-note{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f9ff;
  border: 1px solid #dbe7ff;
  text-align:center;
}
.kk-cta-note a{ font-weight:800; }