
.strap-guide {
  --sg-navy: #1c2b4a;
  --sg-pink-border: #f0a3c0;
  --sg-pink-bg: #fdf1f6;
  --sg-pink-text: #d94f8c;
  --sg-text: #333333;
  --sg-text-sub: #666666;
  --sg-radius: 10px;
  color: var(--sg-text);
  box-sizing: border-box;
  font-size:14px;
}

.strap-guide *,
.strap-guide *::before,
.strap-guide *::after {
  box-sizing: inherit;
}

/* ---------- カード行 ---------- */

.strap-guide__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 2em 0;
}

.strap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.strap-card__badge {
  display: inline-block;
  background: var(--sg-navy);
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
}

p.strap-card__lead {
  margin: 10px 0 0;
  font-size: 14px;
  /* color: var(--sg-text-sub); */
  line-height: 1.4;
  min-height: 2.6em;
}

.strap-card__img {
  width: 80%;
  aspect-ratio: 1.7 / 4;
  object-fit: cover;
  /* border-radius: var(--sg-radius); */
  margin-top: 12px;
  background: #eee;
}

div.strap-card__info {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--sg-pink-border);
  background: var(--sg-pink-bg);
  border-radius: var(--sg-radius);
  padding: 12px 10px;
}

.strap-card__pos {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--sg-pink-text);
}

p.strap-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  /* color: var(--sg-text); */
}

/* ---------- 参考：身長による違い ---------- */

.strap-guide__ref {
  margin-top: 30px;
  padding: 28px 24px;
  border: 1px solid #e5e5e5;
  border-radius: var(--sg-radius);
}

.strap-guide__ref-title {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--sg-navy);
  line-height: 1.4;
  word-break: auto-phrase;
}

.strap-guide__ref-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.ref-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ref-item__img {
  width: 70px;
  flex: 0 0 auto;
}

.ref-item__height {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--sg-navy);
  line-height: 1.5;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  .strap-guide__row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 15px;
  }
}

@media (min-width: 701px) {
  .ref-item + .ref-item  {
  border-left:1px solid #e5e5e5;
  padding-left:1em;
  }
}

@media (max-width: 700px) {
  .strap-guide__ref-row {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 480px) {
  .strap-guide__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
  }
  .strap-guide__ref {
    padding: 20px 20px;
  }

}



/* -------------------- */



.howto-top div:first-child:has(img) {
  margin-top: 15px;
}

.howto-flex-right img {
    max-width: 100px;
    max-height: 75px;
    object-fit: contain;
}

.sp-float-right > *:first-child {
  width:120px;
}


.howto-qa .howto-section > h3,
.howto-qa .howto-section p {
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
    font-size:16px;
}

.howto-qa .howto-section > h3:before,
.howto-qa .howto-section p:before {
    position: absolute;
    left: 0;
    font-weight: bold;
}

.howto-qa .howto-section > h3 {
    font-weight:bold;
}

.howto-qa .howto-section > h3:before {
    content:"Q:";
    color: #007dff;
}

.howto-qa .howto-section h3 + p,
.howto-qa .howto-section h3 + div > p {
    margin-top:10px;
}

.howto-qa .howto-section h3 + p:nth-of-type(1):before,
.howto-qa .howto-section h3 + div > p:nth-of-type(1):before {
    content:"A:";
    color: #ff3000;
}

.howto-qa .howto-section p + h3 {
    margin-top: 20px;
    clear: both;
}

.howto-qa .howto-flex-left img {
  max-height:160px;
  object-fit: contain;
}

@media (max-width: 800px){
  .howto-qa .howto-section > h3,
  .howto-qa .howto-section p {
    font-size:14px;
  }
}


.howto-table {
  overflow: auto;
  margin-top:1em;
}

.howto-table table {
  width:100%;
  table-layout: fixed;
}

.howto-table th,
.howto-table td {
  padding: 4px 3px;
  border:1px solid #ccc;
  font-size: 13px;
  line-height:1.4;
  text-align: center;
  vertical-align: middle;
  @media (max-width: 750px){
    font-size: 10px;
  }
}

.howto-table th {
  background: #775183;
  color: #fff;
  font-weight: bold;
  position: sticky;
}

.howto-table th:first-child {
  left:0px;
  z-index: 1;
}

.howto-table tr:first-child th {
  top:0;
}

.howto-table tr:first-child th:first-child {
    z-index: 2;
}

.howto-table tr:nth-child(odd) {
  background-color: #f5f5f5;
}

.howto-table table + p {
  margin-top:1em;
}

.howto-qa-column2 {
  display:flex;
  gap:20px;
  justify-content:center;
  align-items: center;
}

.howto-qa-column2 img {
  height: 250px;
  width: auto;
}

@media (max-width: 800px){
  .howto-qa-column2 img {
    height: 170px;
  }

  .howto-qa-column2 {
    flex-direction: column;
  }
}
