/* ================================================================
   speaking/r-pronunciation-consonant-clusters — local.css
   ================================================================ */

/* ----------------------------------------------------------------
   KATAKANA TABLE（カタカナ比較表）
   ---------------------------------------------------------------- */
.rp-katakana-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: .8rem 0 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(4,63,109,.09);
}
.rp-katakana-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  line-height: 1.6;
}
.rp-katakana-table thead tr { background: #043F6D; }
.rp-katakana-table thead th {
  padding: .6rem 1rem;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
}
.rp-katakana-table tbody tr:nth-child(odd)  { background: #f9fbfd; }
.rp-katakana-table tbody tr:nth-child(even) { background: #fff; }
.rp-katakana-table tbody td {
  padding: .55rem 1rem;
  border-bottom: 1px solid rgba(4,63,109,.06);
  color: #35393C;
}
.rp-katakana-table tbody td:first-child {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #043F6D;
}
.rp-katakana-table tbody td:last-child {
  font-family: 'Raleway', sans-serif;
  font-size: .83rem;
  color: #EB4878;
}

/* ----------------------------------------------------------------
   COARTICULATION COMPARISON（共調音イメージ）
   ---------------------------------------------------------------- */
.rp-coartic {
  background: rgba(4,63,109,.04);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin: 1rem 0 1.4rem;
}
.rp-coartic__title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #46A2DA;
  font-family: 'Raleway', sans-serif;
  margin-bottom: .85rem;
}
.rp-coartic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.rp-coartic__item {
  background: #fff;
  border-radius: 7px;
  padding: .85rem 1rem;
  border-left: 3px solid transparent;
}
.rp-coartic__item--native { border-left-color: #46A2DA; }
.rp-coartic__item--jp     { border-left-color: #EB4878; }
.rp-coartic__label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  margin-bottom: .4rem;
}
.rp-coartic__item--native .rp-coartic__label { color: #46A2DA; }
.rp-coartic__item--jp     .rp-coartic__label { color: #EB4878; }
.rp-coartic__item p {
  font-size: .855rem;
  line-height: 1.72;
  color: #35393C;
  margin: 0;
}

/* ----------------------------------------------------------------
   PRACTICE STEPS（段階的練習法）
   ---------------------------------------------------------------- */
.rp-steps {
  list-style: none;
  padding: 0;
  margin: .6rem 0 1.3rem;
  counter-reset: rp-cnt;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.rp-steps li {
  counter-increment: rp-cnt;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: rgba(4,63,109,.035);
  border-radius: 8px;
  padding: .9rem 1rem;
}
.rp-steps li::before {
  content: counter(rp-cnt);
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  background: #46A2DA;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  margin-top: .1rem;
}
.rp-steps__body { flex: 1; min-width: 0; }
.rp-steps__word {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: #043F6D;
  font-family: 'Raleway', sans-serif;
  margin-bottom: .35rem;
  letter-spacing: .02em;
}
.rp-steps li p {
  font-size: .875rem;
  line-height: 1.72;
  color: #35393C;
  margin: 0;
}

/* ----------------------------------------------------------------
   CLUSTER GROUPS（クラスターグループ）
   ---------------------------------------------------------------- */
.rp-cluster {
  border-left: 3px solid #46A2DA;
  border-radius: 0 8px 8px 0;
  background: rgba(70,162,218,.05);
  padding: .85rem 1.1rem;
  margin: .65rem 0;
}
.rp-cluster__words {
  font-size: .9rem;
  font-weight: 700;
  font-style: italic;
  color: #043F6D;
  font-family: 'Raleway', sans-serif;
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.rp-cluster p {
  font-size: .875rem;
  line-height: 1.75;
  color: #35393C;
  margin: 0;
}

@media (max-width: 640px) {
  .rp-coartic__grid { grid-template-columns: 1fr; }
  .rp-katakana-table { font-size: .82rem; }
}
