/* ============================================================
 * スワイプ検索 /{pref}/match/
 * /assets/match.css（クラスは msw- で始める）
 * 2026-10-16 新規
 * ============================================================ */

.msw,
.msw-sheet,
.msw-modal,
.msw-toast {
  --msw-bg: #0e0e10;
  --msw-card: #1a1a1e;
  --msw-card2: #222228;
  --msw-line: #2c2c32;
  --msw-gold: #c9a86c;
  --msw-gold-d: #a88a52;
  --msw-text: #f2efe9;
  --msw-sub: #9a968f;
  --msw-like: #e0627f;
  --msw-ok: #6cc9a0;
  --msw-ask: #6ca6c9;
  --msw-chat: #5fc7b8;
}

.msw {
  background: var(--msw-bg);
  color: var(--msw-text);
  overflow-x: hidden;
}

.msw-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ---- 上の帯 ---- */
.msw-head {
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--msw-line);
  margin-bottom: 16px;
}

.msw-head__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msw-head__back {
  border: none;
  background: none;
  color: var(--msw-sub);
  font-size: 2rem;
  cursor: pointer;
  width: 28px;
  padding: 0;
}

.msw-head__title {
  flex: 1;
  color: var(--msw-gold);
  font-size: 1.4rem;
  letter-spacing: .08em;
}

.msw-head__area {
  font-size: 1.2rem;
  color: var(--msw-sub);
}

.msw-head__area i {
  margin-right: 3px;
}

.msw-steps {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.msw-steps span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--msw-line);
}

.msw-steps span.is-on {
  background: var(--msw-gold);
}

.msw-preview {
  margin: 8px 0 0;
  font-size: 1.1rem;
  color: var(--msw-gold);
}

/* ---- 画面 ---- */
.msw-screen {
  display: none;
}

.msw-screen.is-on {
  display: block;
}

.msw-h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--msw-text);
}

.msw-lead {
  color: var(--msw-sub);
  font-size: 1.3rem;
  margin: 0 0 16px;
}

/* ---- 入口 ---- */
.msw-entry {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--msw-card);
  border: 1px solid var(--msw-line);
  color: var(--msw-text);
  cursor: pointer;
  margin-bottom: 12px;
}

.msw-entry:hover {
  border-color: var(--msw-gold-d);
}

.msw-entry span {
  display: block;
}

.msw-entry__icon {
  font-size: 2.8rem;
  color: var(--msw-gold);
}

.msw-entry__t {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--msw-gold);
}

.msw-entry__d {
  font-size: 1.2rem;
  color: var(--msw-sub);
}

/* ---- 日時 ---- */
.msw-dates {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.msw-date {
  flex: 0 0 56px;
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  background: var(--msw-card);
  border: 1px solid var(--msw-line);
  color: var(--msw-text);
  cursor: pointer;
  font-size: 1.1rem;
}

.msw-date b {
  display: block;
  font-size: 1.8rem;
}

.msw-date.is-on {
  border-color: var(--msw-gold);
  color: var(--msw-gold);
}

.msw-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.msw-time {
  padding: 8px 0;
  text-align: center;
  border-radius: 8px;
  background: var(--msw-card);
  border: 1px solid var(--msw-line);
  color: var(--msw-text);
  cursor: pointer;
  font-size: 1.3rem;
}

.msw-time.is-on {
  background: var(--msw-gold);
  color: #111;
  border-color: var(--msw-gold);
}

/* ---- ボタン ---- */
.msw-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--msw-gold);
  color: #111;
  cursor: pointer;
}

.msw-btn:disabled {
  background: var(--msw-line);
  color: var(--msw-sub);
  cursor: default;
}

.msw-btn--ghost {
  background: transparent;
  color: var(--msw-gold);
  border: 1px solid var(--msw-gold);
  margin-top: 16px;
}

/* ---- スワイプ ---- */
.msw-prog {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  color: var(--msw-sub);
  margin-bottom: 8px;
}

.msw-prog__bar {
  flex: 1;
  height: 6px;
  background: var(--msw-line);
  border-radius: 3px;
  overflow: hidden;
}

.msw-prog__bar i {
  display: block;
  height: 100%;
  background: var(--msw-like);
  transition: width .3s;
}

.msw-typechip {
  display: inline-block;
  font-size: 1.2rem;
  border: 1px solid var(--msw-gold);
  color: var(--msw-gold);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.msw-deck {
  position: relative;
  /* カードの高さ（幅×3/2＋名前の帯104px）＋上の余白 */
  height: calc(min(448px, 100vw - 32px) * .76 * 3 / 2 + 104px + 40px);
  perspective: 900px;
  perspective-origin: 50% 0%;
}

.msw-card {
  position: absolute;
  top: 28px;
  left: 12%;
  width: 76%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--msw-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  transform-origin: 50% 100%;
  cursor: pointer;
}

.msw-card.is-anim {
  transition: transform .5s cubic-bezier(.22, 1.35, .36, 1), opacity .4s, filter .4s;
}

.msw-card.is-land {
  animation: msw-land .55s ease-out;
}

@keyframes msw-land {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(201, 168, 108, 0);
  }

  35% {
    box-shadow: 0 24px 50px rgba(0, 0, 0, .7), 0 0 0 5px rgba(201, 168, 108, .55);
  }

  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(201, 168, 108, 0);
  }
}

.msw-card__photo {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.msw-card__bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(.55);
}

.msw-card__img {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: rgba(255, 255, 255, .35);
}

.msw-card__info {
  height: 104px;
  box-sizing: border-box;
  padding: 10px 16px 0;
  background: var(--msw-card);
  transition: opacity .3s;
}

.msw-card__name {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.msw-card__name small {
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 6px;
}

.msw-card__shop {
  font-size: 1.2rem;
  color: var(--msw-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msw-card.is-side .msw-card__info,
.msw-card.is-side .msw-pills {
  opacity: 0;
}

.msw-card--end {
  aspect-ratio: 2 / 3;
  padding-bottom: 104px;
  box-sizing: content-box;
  background: var(--msw-bg);
  box-shadow: none;
  cursor: default;
}

.msw-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin: 0 4px 6px 0;
}

.msw-badge--match {
  background: var(--msw-gold);
  color: #111;
}

.msw-badge--ok {
  background: var(--msw-ok);
  color: #0b2a1e;
}

.msw-badge--ask {
  background: var(--msw-ask);
  color: #0b1e2a;
}

.msw-badge--none {
  background: rgba(154, 150, 143, .18);
  color: #c9c5be;
}

.msw-badge--chat {
  background: rgba(95, 199, 184, .18);
  color: var(--msw-chat);
  border: 1px solid rgba(95, 199, 184, .5);
}

.msw-pills {
  position: absolute;
  top: 14px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity .3s;
}

.msw-pill {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  padding: 5px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.msw-pills .msw-pill:nth-child(even) {
  margin-left: 12px;
}

.msw-pill--c0 {
  background: #a65ad9;
}

.msw-pill--c1 {
  background: #2a6fb8;
}

.msw-pill--c2 {
  background: #8fa89a;
}

.msw-pill--c3 {
  background: #e8a23a;
}

.msw-pill--dim {
  background: rgba(0, 0, 0, .45);
  color: rgba(255, 255, 255, .6);
}

.msw-liked-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--msw-like);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s, transform .2s;
}

.msw-card.is-liked .msw-liked-mark {
  opacity: 1;
  transform: scale(1);
}

.msw-card.is-pop .msw-liked-mark {
  animation: msw-pop .5s ease-out;
}

@keyframes msw-pop {
  0% {
    transform: scale(.4);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.msw-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--msw-sub);
  font-size: 1.3rem;
  border: 1px dashed var(--msw-line);
  border-radius: 18px;
  padding: 20px;
}

.msw-empty .msw-btn {
  width: auto;
  padding: 10px 20px;
  font-size: 1.3rem;
}

.msw-acts {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 16px;
}

.msw-act {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--msw-line);
  background: var(--msw-card);
  color: var(--msw-text);
  font-size: 2.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msw-act:disabled {
  opacity: .3;
  cursor: default;
}

.msw-act--nav {
  width: 46px;
  height: 46px;
  font-size: 2rem;
  margin-top: 8px;
  color: var(--msw-sub);
}

.msw-act--like {
  color: var(--msw-like);
  border-color: var(--msw-like);
}

.msw-act--like.is-on {
  background: var(--msw-like);
  color: #fff;
}

.msw-hint {
  text-align: center;
  font-size: 1.1rem;
  color: var(--msw-sub);
  margin: 8px 0 0;
}

.msw-likes {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  overflow-x: auto;
}

.msw-likes span {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--msw-like);
  background-color: var(--msw-card2);
  background-size: cover;
  background-position: center top;
}

.msw-bar {
  margin-top: 16px;
}

.msw-bar__cnt {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  color: var(--msw-sub);
  margin-bottom: 8px;
}

/* ---- 気になる子リスト ---- */
.msw-fixed-dt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--msw-card);
  border: 1px solid var(--msw-gold-d);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.msw-fixed-dt small {
  display: block;
  font-size: 1.1rem;
  color: var(--msw-sub);
}

.msw-fixed-dt b {
  color: var(--msw-gold);
  font-size: 1.6rem;
}

.msw-link {
  background: none;
  border: none;
  color: var(--msw-gold);
  font-size: 1.2rem;
  text-decoration: underline;
  cursor: pointer;
}

.msw-grp {
  margin-bottom: 18px;
}

.msw-grp__t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.msw-grp__t i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.msw-grp__d {
  font-size: 1.1rem;
  color: var(--msw-sub);
  margin-bottom: 8px;
}

.msw-res {
  background: var(--msw-card);
  border: 1px solid var(--msw-line);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
}

.msw-res.is-off {
  opacity: .4;
}

.msw-res__top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.msw-res__img {
  flex: 0 0 56px;
  height: 70px;
  border-radius: 8px;
  background-color: var(--msw-card2);
  background-size: cover;
  background-position: center top;
}

.msw-res__body {
  flex: 1;
  min-width: 0;
}

.msw-res__name {
  font-weight: 700;
  font-size: 1.4rem;
}

.msw-res__sub {
  font-size: 1.1rem;
  color: var(--msw-sub);
}

.msw-res__st {
  font-size: 1.2rem;
}

.msw-res__btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--msw-gold);
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
  text-decoration: none;
}

.msw-asks {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.msw-ask {
  flex: 1;
  border: 1px solid var(--msw-ask);
  background: transparent;
  color: var(--msw-ask);
  border-radius: 8px;
  padding: 7px 0;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
}

.msw-note {
  font-size: 1.2rem;
  color: var(--msw-sub);
  background: var(--msw-card);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
}

.msw-restart {
  text-align: center;
  margin: 24px 0 0;
}

.msw-restart button {
  background: none;
  border: none;
  color: var(--msw-sub);
  font-size: 1.2rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- 詳細シート ---- */
.msw-sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.msw-sheet-bg.is-on {
  opacity: 1;
  pointer-events: auto;
}

.msw-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  max-width: 480px;
  margin: 0 auto;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #1a1a1e;
  color: #f2efe9;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}

.msw-sheet.is-on {
  transform: translateY(0);
  visibility: visible;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}

.msw-sheet__grip {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #2c2c32;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.msw-sheet__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: none;
  color: #9a968f;
  font-size: 2rem;
  cursor: pointer;
}

.msw-sheet__body {
  overflow-y: auto;
  padding: 6px 16px 16px;
}

.msw-sheet__foot {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 10px 16px 16px;
  border-top: 1px solid #2c2c32;
}

.msw-sheet__foot .msw-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  text-decoration: none;
}

.msw-sheet__like {
  flex: 0 0 52px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e0627f;
  background: transparent;
  color: #e0627f;
  font-size: 2.2rem;
  cursor: pointer;
}

.msw-sheet__like.is-on {
  background: #e0627f;
  color: #fff;
}

.msw-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px 12px;
  padding: 0 16px;
}

.msw-photos--one {
  justify-content: center;
}

.msw-photo {
  position: relative;
  flex: 0 0 78%;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: center;
  background-color: #222228;
}

.msw-photo__bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(.55);
}

.msw-photo__img {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.msw-pf-name {
  font-size: 2.2rem;
  font-weight: 700;
}

.msw-pf-name small {
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 6px;
  color: #9a968f;
}

.msw-pf-shop {
  font-size: 1.2rem;
  color: #9a968f;
  margin-bottom: 10px;
}

.msw-pf-shop a {
  color: #c9a86c;
}

.msw-pf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.msw-pf-stats div {
  background: #222228;
  border-radius: 10px;
  padding: 8px 0;
  text-align: center;
  font-size: 1.1rem;
  color: #9a968f;
}

.msw-pf-stats b {
  display: block;
  font-size: 1.5rem;
  color: #f2efe9;
}

.msw-pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.msw-pf-tags .msw-pill:nth-child(even) {
  margin-left: 0;
}

.msw-pf-sec {
  margin-top: 18px;
}

.msw-pf-sec__t {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.4rem;
  font-weight: 700;
  color: #c9a86c;
  margin-bottom: 8px;
}

.msw-pf-sec__t a {
  font-size: 1.2rem;
  font-weight: 400;
  color: #9a968f;
  text-decoration: none;
}

.msw-pf-comment {
  font-size: 1.3rem;
  line-height: 1.8;
  background: #222228;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: pre-wrap;
}

.msw-pf-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.msw-pf-week div {
  background: #222228;
  border-radius: 8px;
  padding: 6px 0;
  text-align: center;
  font-size: 1rem;
  color: #9a968f;
  line-height: 1.4;
}

.msw-pf-week b {
  display: block;
  font-size: 1.3rem;
  color: #f2efe9;
}

.msw-pf-week .is-on,
.msw-pf-week .is-on b {
  color: #6cc9a0;
}

.msw-diaries {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px;
}

.msw-diary {
  flex: 0 0 42%;
  background: #222228;
  border-radius: 10px;
  overflow: hidden;
  color: #f2efe9;
  text-decoration: none;
}

.msw-diary__img {
  aspect-ratio: 1 / 1;
  background-color: #2c2c32;
  background-size: cover;
  background-position: center;
}

.msw-diary__body {
  padding: 6px 8px 8px;
}

.msw-diary__date {
  font-size: 1rem;
  color: #9a968f;
}

.msw-diary__title {
  font-size: 1.2rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.msw-pf-price {
  border-radius: 10px;
  overflow: hidden;
}

.msw-pf-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.msw-pf-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 0;
  border: 1px solid #c9a86c;
  border-radius: 999px;
  font-size: 1.3rem;
  color: #c9a86c;
  text-decoration: none;
}

.msw-loading {
  text-align: center;
  color: #9a968f;
  font-size: 1.2rem;
  padding: 20px 0;
}

/* ---- 診断・トースト ---- */
.msw-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, .78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.msw-modal.is-on {
  display: flex;
}

.msw-modal__in {
  background: #1a1a1e;
  color: #f2efe9;
  border: 1px solid #a88a52;
  border-radius: 16px;
  padding: 24px 18px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.msw-modal__in h3 {
  color: #c9a86c;
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.msw-modal__in p {
  font-size: 1.3rem;
  color: #9a968f;
  margin: 0 0 16px;
}

.msw-modal__lbl {
  color: #9a968f;
  font-size: 1.2rem;
}

.msw-modal__type {
  color: #c9a86c;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 6px 0;
}

.msw-modal .msw-pf-tags {
  justify-content: center;
  margin-bottom: 16px;
}

.msw-toast {
  position: fixed;
  left: 50%;
  top: 80px;
  z-index: 1200;
  transform: translateX(-50%) translateY(-20px);
  background: #26262c;
  color: #f2efe9;
  border: 1px solid #e0627f;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 1.3rem;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  white-space: nowrap;
}

.msw-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- 気になる子リスト（v2：予約リクエスト・チャット・電話/SMS/LINE） ---- */
.msw-quota {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: rgba(95, 199, 184, .1);
  border: 1px solid rgba(95, 199, 184, .4);
  color: var(--msw-chat);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.msw-quota b {
  font-size: 1.5rem;
}

.msw-res__name small {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--msw-sub);
  margin-left: 4px;
}

.msw-res__badges {
  margin-top: 4px;
}

.msw-res__badges .msw-badge {
  margin-bottom: 2px;
}

.msw-res__acts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.msw-btn--sm {
  padding: 11px;
  font-size: 1.4rem;
  text-align: center;
  text-decoration: none;
}

.msw-btn--chat {
  background: transparent;
  color: var(--msw-chat);
  border: 1px solid var(--msw-chat);
  padding: 11px;
  font-size: 1.4rem;
}

.msw-btn--chat:disabled {
  background: transparent;
  color: var(--msw-chat);
  opacity: .35;
}

.msw-subs {
  display: flex;
  gap: 6px;
}

.msw-sub {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: #24242a;
  padding: 8px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ece8e0;
  text-decoration: none;
}

.msw-sub i {
  font-size: 1.5rem;
}

.msw-sub--sms {
  border-color: rgba(108, 201, 160, .55);
}

.msw-sub--sms i {
  color: #6cc9a0;
}

.msw-sub--tel {
  border-color: rgba(201, 168, 108, .55);
}

.msw-sub--tel i {
  color: var(--msw-gold);
}

.msw-sub--line {
  border-color: rgba(6, 199, 85, .55);
}

.msw-sub--line i {
  color: #06c755;
}

.msw-chatprev {
  background: #222228;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.msw-chatprev__to {
  font-size: 1.1rem;
  color: #9a968f;
  margin-bottom: 6px;
}

.msw-chatprev__bubble {
  background: #5fc7b8;
  color: #062824;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 12px;
  font-size: 1.3rem;
  margin-left: 30px;
  white-space: pre-wrap;
}

.msw-modal__in .msw-modal__small {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.msw-modal__in .msw-btn--ghost {
  margin-top: 8px;
}

.msw-talk {
  margin-top: 14px;
}

.msw-talk__note {
  margin: 6px 0 0;
  font-size: 1.1rem;
  color: #9a968f;
  text-align: center;
}

.msw-direct {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--msw-line);
}

.msw-direct__note {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #9a968f;
}

.msw-telmsg {
  margin: 4px 0 12px;
  padding: 14px 12px;
  border: 1px solid var(--msw-gold, #c9a86c);
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: center;
}

.msw-telmsg b {
  font-size: 1.6rem;
  color: var(--msw-gold, #c9a86c);
}

a.msw-btn {
  text-decoration: none;
}

/* ============================================================
 * 2026-10-16 調整
 *   ・詳細シートのスクロールバーを出さない（縦・横とも）
 *   ・PC（768px〜）は横幅を 480px → 560px に
 *     PCはマウスで横にめくれないので、詳細シートの写真・日記は横スクロールをやめる
 * ============================================================ */

/* ---- スクロールバーを出さない（スクロール自体はできる） ---- */
.msw-sheet__body,
.msw-photos,
.msw-diaries {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.msw-sheet__body::-webkit-scrollbar,
.msw-photos::-webkit-scrollbar,
.msw-diaries::-webkit-scrollbar {
  display: none;
}

/* 料金表などがはみ出して、シート自体が横に動かないように */
.msw-sheet__body {
  overflow-x: hidden;
}

/* ---- PC ---- */
@media (min-width: 768px) {

  .msw-inner {
    max-width: 560px;
  }

  .msw-sheet {
    max-width: 560px;
  }

  /* カードの高さの計算も 560px（内側528px）に合わせる */
  .msw-deck {
    height: calc(min(528px, 100vw - 32px) * .76 * 3 / 2 + 104px + 40px);
  }

  /* 写真：3枚まで横に並べて全部見える形に */
  .msw-photos {
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 0 0 12px;
    padding: 0;
  }

  .msw-photo {
    flex: 0 0 calc((100% - 16px) / 3);
  }

  /* 1枚だけのときは大きめにまん中 */
  .msw-photos--one .msw-photo {
    flex-basis: 50%;
  }

  /* 日記：6件を3列×2段に */
  .msw-diaries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .msw-diary {
    flex: none;
  }
}

/* ---- 気になる子リスト：名前・写真のところをタップで詳細（2026-10-16） ---- */
.msw-res__top.is-link {
  cursor: pointer;
  border-radius: 8px;
}

.msw-res__top.is-link:hover .msw-res__name,
.msw-res__top.is-link:focus-visible .msw-res__name {
  color: var(--msw-gold);
}

.msw-res__top.is-link:focus-visible {
  outline: 2px solid var(--msw-gold);
  outline-offset: 2px;
}

.msw-res__go {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 1.1rem;
  color: var(--msw-sub);
}

.msw-res__go i {
  font-size: 1.2rem;
}

/* ---- 気になる子リスト：ほかの日の出勤予定（2026-10-16） ---- */
/* お休みの子は写真・名前だけ薄く。［この日で探す］や連絡ボタンは押しやすいまま */
.msw-res.is-off {
  opacity: 1;
}

.msw-res.is-off .msw-res__top {
  opacity: .45;
}

.msw-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(108, 201, 160, .45);
  border-radius: 10px;
  background: rgba(108, 201, 160, .08);
  font-size: 1.2rem;
  color: var(--msw-sub);
}

.msw-next__t b {
  color: var(--msw-ok);
  font-size: 1.3rem;
  margin-left: 2px;
}

.msw-next__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--msw-ok);
  color: #0b2a1e;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.msw-next--none {
  display: block;
  margin: 0;
  border-color: var(--msw-line);
  background: var(--msw-card2);
  line-height: 1.6;
}

/* 詳細シート：出勤予定を読み込み中 */
.msw-btn--wait {
  background: var(--msw-line);
  color: var(--msw-sub);
  cursor: default;
}

/* ---- 2026-10-16 SPでカードを画面の高さに合わせる・動きを軽く ----
   カードの幅＝「横幅の76%」と「画面の高さから上下の部品の分を引いた残り×2/3」の小さいほう。
   上下の部品（見出し・進み具合・♥ボタン・名前の帯など）はおよそ 400px。
   PC（768px〜）は今まで通り横幅で決める */
@media (max-width: 767.98px) {

  .msw-deck {
    height: calc(min(min(448px, 100vw - 32px) * .76, max(180px, (100svh - 400px) * 2 / 3)) * 3 / 2 + 104px + 40px);
  }

  .msw-card {
    width: min(76%, max(180px, (100svh - 400px) * 2 / 3));
    left: 50%;
    margin-left: calc(min(76%, max(180px, (100svh - 400px) * 2 / 3)) / -2);
  }

  /* スワイプ画面の見出しを少し詰める */
  #mswSwipeHead .msw-h1 {
    font-size: 1.7rem;
  }

  #mswSwipeHead .msw-lead {
    margin-bottom: 8px;
    font-size: 1.2rem;
  }

  .msw-acts {
    margin-top: 8px;
  }
}

/* めくる動きを短く（0.5秒 → 0.35秒） */
.msw-card.is-anim {
  transition: transform .35s cubic-bezier(.22, 1.2, .36, 1), opacity .3s, filter .3s;
}

/* ---- 2026-10-16 SP：カードの幅は match.js の fitDeck() が測って --msw-cw に入れる ----
   （上の svh の見積もりより後ろに書いているので、こちらが効く。デッキの高さも JS が入れる） */
@media (max-width: 767.98px) {

  .msw-card {
    width: var(--msw-cw, 76%);
    left: 50%;
    margin-left: calc(var(--msw-cw, 76%) / -2);
  }

  /* 名前の帯は 88px（match.js の CARD_INFO_SP と合わせる）。バッジは1行に収め、はみ出しは切る */
  .msw-card__info {
    height: 88px;
    padding: 8px 12px 0;
    white-space: nowrap;
    overflow: hidden;
  }

  .msw-card__info .msw-badge {
    font-size: 1rem;
    padding: 1px 8px;
    margin: 0 3px 4px 0;
  }

  .msw-card__name {
    font-size: 1.8rem;
  }

  .msw-card__name small {
    font-size: 1.2rem;
  }

  .msw-card--end {
    padding-bottom: 88px;
  }
}

/* SP：スワイプ画面の見出しを詰めて、カードに高さを回す */
@media (max-width: 767.98px) {

  .msw-head {
    padding: 8px 0 8px;
    margin-bottom: 10px;
  }

  #mswSwipeHead .msw-h1 {
    font-size: 1.6rem;
    margin-bottom: 2px;
  }

  #mswSwipeHead .msw-lead {
    margin-bottom: 4px;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  #mswSwipeHead .msw-prog {
    margin-bottom: 0;
  }
}

/* ==== 2026-10-16 SP：メインカードを画面幅の75%に ====
   写真は 4:5、名前の帯は 72px（match.js の PHOTO_RATIO_SP / CARD_INFO_SP と合わせる）。
   ‹ › はカードの左右、♥ は写真の右下に重ねる。位置は match.js の fitDeck() が入れる */
@media (max-width: 767.98px) {

  #mswSwipe.is-sp {
    position: relative;
  }

  .msw-card__photo,
  .msw-card--end {
    aspect-ratio: 4 / 5;
  }

  .msw-card__info {
    height: 72px;
    padding: 6px 12px 0;
  }

  .msw-card__name {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .msw-card--end {
    padding-bottom: 72px;
  }

  /* 下のボタン段は使わない（ボタンだけカードに重ねる） */
  #mswSwipe.is-sp .msw-acts {
    height: 0;
    margin: 0;
  }

  #mswSwipe.is-sp .msw-act {
    position: absolute;
    z-index: 30;
    margin: 0;
  }

  #mswSwipe.is-sp .msw-act--nav {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    background: rgba(14, 14, 16, .72);
    border-color: rgba(255, 255, 255, .18);
    color: #f2efe9;
  }

  #mswSwipe.is-sp .msw-act--nav:disabled {
    opacity: .25;
  }

  #mswSwipe.is-sp .msw-act--like {
    width: 56px;
    height: 56px;
    font-size: 2.4rem;
    background: rgba(14, 14, 16, .55);
    border: 2px solid var(--msw-like);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  }

  #mswSwipe.is-sp .msw-act--like.is-on {
    background: var(--msw-like);
    color: #fff;
  }

  /* ♥済みの印（右上）は、右下の♥ボタンと重ならないのでそのまま */
  #mswSwipe.is-sp .msw-hint {
    margin-top: 10px;
  }
}

/* SP：カードを上に詰める（デッキ内のカードの位置 top は match.js の CARD_TOP と合わせる）。
   見出しの説明文は省いて、カードに高さを回す（見出しと「診断まで」は残す） */
@media (max-width: 767.98px) {

  #mswSwipe.is-sp .msw-card {
    top: 16px;
  }

  #mswSwipe.is-sp #mswSwipeHead .msw-lead {
    display: none;
  }

  #mswSwipe.is-sp #mswSwipeHead .msw-h1 {
    margin-bottom: 4px;
  }
}

/* SP：‹ › は出さない（うしろに次の子がのぞいているので、スワイプで分かる）。♥だけ写真の右下に */
@media (max-width: 767.98px) {

  #mswSwipe.is-sp .msw-act--nav {
    display: none;
  }
}


/* ============================================================
 * 2026-10-18 今日会える子
 *   入口のメイン（.msw-entry--main）・エリアを選ぶ（.msw-ag）・現在地（.msw-geo）
 *   今日の時間帯（.msw-slot）・スワイプ見出しのエリア（.msw-achip）・近くのエリアのバッジ
 * ============================================================ */
.msw-entry--main {
  border-color: var(--msw-like);
  background: linear-gradient(135deg, rgba(224, 98, 127, .16), var(--msw-card) 70%);
}

.msw-entry--main .msw-entry__icon,
.msw-entry--main .msw-entry__t {
  color: #f3a3b6;
}

/* ---- 現在地 ---- */
.msw-geo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--msw-like);
  border-radius: 12px;
  background: rgba(224, 98, 127, .08);
  color: #f3a3b6;
  text-align: center;
  cursor: pointer;
}

.msw-geo span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.msw-geo i {
  margin-right: 4px;
}

.msw-geo small {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--msw-sub);
}

.msw-geo--sm {
  margin-bottom: 4px;
}

.msw-geo.is-on {
  background: rgba(224, 98, 127, .2);
}

.msw-geo-msg {
  min-height: 1.6rem;
  margin: 6px 0 12px;
  font-size: 1.2rem;
  color: var(--msw-gold);
  text-align: center;
}

/* ---- エリアグループ ---- */
.msw-ags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.msw-ag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--msw-line);
  border-radius: 10px;
  background: var(--msw-card);
  color: var(--msw-text);
  text-align: left;
  line-height: 1.3;
  cursor: pointer;
}

.msw-ag__n {
  font-size: 1.3rem;
  font-weight: 700;
}

.msw-ag__c {
  font-size: 1.1rem;
  color: var(--msw-sub);
}

.msw-ag__c b {
  color: var(--msw-gold);
}

.msw-ag.is-on {
  border-color: var(--msw-like);
  background: rgba(224, 98, 127, .14);
}

.msw-ag.is-on .msw-ag__n::before {
  content: "✓ ";
  color: #f3a3b6;
}

.msw-ag.is-zero {
  opacity: .5;
}

.msw-area-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 12px -16px 0;
  padding: 12px 16px 8px;
  background: linear-gradient(rgba(14, 14, 16, 0), var(--msw-bg) 28%);
}

.msw-area-foot .msw-btn--ghost {
  margin-top: 8px;
  border: none;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: underline;
}

/* ---- 今日の時間帯 ---- */
.msw-slots {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
}

.msw-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--msw-line);
  border-radius: 12px;
  background: var(--msw-card);
  color: var(--msw-text);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}

.msw-slot small {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--msw-sub);
}

.msw-slot.is-on {
  border-color: var(--msw-gold);
  background: rgba(201, 168, 108, .14);
}

.msw-slot.is-on small {
  color: var(--msw-gold);
}

.msw-otherday {
  display: block;
  margin: 16px auto 0;
  color: var(--msw-sub);
}

/* ---- スワイプ見出しのエリア ---- */
.msw-achips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 2px 0 8px;
}

.msw-achip {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(224, 98, 127, .14);
  color: #f3a3b6;
  font-size: 1.1rem;
}

.msw-achip i {
  margin-right: 3px;
}

.msw-achips .msw-link {
  font-size: 1.1rem;
  color: var(--msw-sub);
}

/* ---- 近くのエリアの子 ---- */
.msw-badge--near {
  background: rgba(201, 168, 108, .18);
  color: var(--msw-gold);
}

/* 2026-10-18 タイプ診断（入口の2つ目は小さなリンク） */
.msw-entry--link {
  margin-top: 4px;
  padding: 10px 8px;
  border: none;
  background: transparent;
  text-align: center;
}

.msw-entry--link:hover {
  border-color: transparent;
}

.msw-entry--link .msw-entry__t {
  font-size: 1.4rem;
  color: #f3a3b6;
  text-decoration: underline;
}

.msw-entry--link .msw-entry__t i {
  margin-right: 4px;
  font-size: 1.2rem;
}

.msw-entry--link .msw-entry__d {
  margin-top: 2px;
  font-size: 1.1rem;
}

/* 2026-10-18 最初の画面をなくした分の見出し・タイプ診断ページ */
.msw-kicker {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: #f3a3b6;
  letter-spacing: .04em;
}

.msw-howto {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: msw-howto;
}

.msw-howto li {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 12px 10px 44px;
  border: 1px solid var(--msw-line);
  border-radius: 10px;
  background: var(--msw-card);
  font-size: 1.2rem;
  color: var(--msw-sub);
  counter-increment: msw-howto;
}

.msw-howto li::before {
  content: counter(msw-howto);
  position: absolute;
  left: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--msw-like);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.msw-howto b {
  display: block;
  font-size: 1.4rem;
  color: var(--msw-text);
}

.msw-shindan-link {
  display: block;
  margin: 18px 0 0;
  padding: 12px;
  border: 1px dashed rgba(224, 98, 127, .5);
  border-radius: 12px;
  text-align: center;
  font-size: 1.3rem;
  color: #f3a3b6;
  text-decoration: none;
}

.msw-shindan-link i {
  margin-right: 4px;
}

/* 2026-10-18 仮の ♥（会員でないとき）・続きの帯・LINE */
.msw-pend {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(224, 98, 127, .5);
  border-radius: 12px;
  background: rgba(224, 98, 127, .08);
  text-align: center;
}

.msw-pend__t {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--msw-text);
}

.msw-pend__login,
.msw-modal__login {
  display: inline-block;
  margin-top: 10px;
}

.msw-btn--like {
  background: var(--msw-like);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.msw-btn--line {
  background: #06c755;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.msw-btn--line i {
  margin-right: 4px;
}

.msw-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -6px 0 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--msw-card2);
  font-size: 1.2rem;
  color: var(--msw-sub);
}

.msw-resume .msw-link {
  flex: 0 0 auto;
  font-size: 1.2rem;
}

/* 2026-10-18 タイプ診断の ♡（好き・金色・届かない）／今日会える子の ♡（気になる・ピンク・届く） */
.msw-act--like {
  flex-direction: column;
  gap: 0;
}

.msw-act__lbl {
  display: block;
  margin-top: -2px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
}

.msw-act--like.is-diag {
  color: var(--msw-gold);
  border-color: var(--msw-gold);
}

.msw-act--like.is-diag.is-on {
  background: var(--msw-gold);
  color: #111;
}

.msw-sheet__like.is-diag {
  border-color: var(--msw-gold);
  color: var(--msw-gold);
}

.msw-sheet__like.is-diag.is-on {
  background: var(--msw-gold);
  color: #111;
}

.msw-gold {
  color: var(--msw-gold);
}

.msw-prog--diag .msw-prog__bar i {
  background: linear-gradient(90deg, var(--msw-like), var(--msw-gold));
}

.msw-diagnote {
  margin: 2px 0 4px;
  font-size: 1.05rem;
  color: var(--msw-sub);
}

.msw-acc {
  display: inline-block;
  margin: 4px 0 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(224, 98, 127, .15);
  color: #f3a3b6;
  font-size: 1.1rem;
}

.msw-switch {
  margin: 4px 0 6px;
  padding: 8px 10px;
  border: 1px solid var(--msw-like);
  border-radius: 10px;
  background: rgba(224, 98, 127, .1);
  color: #f3a3b6;
  font-size: 1.2rem;
  text-align: center;
}

.msw-loginline {
  margin: 14px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--msw-card2);
  color: var(--msw-sub);
  font-size: 1.15rem;
  text-align: center;
}

.msw-loginline a {
  color: var(--msw-gold);
}

@media (max-width: 767.98px) {

  #mswSwipe.is-sp .msw-act--like.is-diag {
    border-color: var(--msw-gold);
    color: var(--msw-gold);
  }

  #mswSwipe.is-sp .msw-act--like.is-diag.is-on {
    background: var(--msw-gold);
    color: #111;
  }
}

/* タイプ診断のときは、カード右上の ♡ 済みの印も金色 */
#mswSwipe.is-diag .msw-liked-mark {
  background: var(--msw-gold);
  color: #111;
}

/* 今日会える子の人数（match.js countHTML・2026-10-18） */
.msw-count {
    margin: 6px 0 0;
    font-size: 1.2rem;
    color: #9b9188;
}

.msw-count b {
    font-size: 1.4rem;
    color: var(--gold, #c9a86c);
}

/* ==========================================================
   2026-10-18 時間を細かく選ぶ・もう少し絞る（今日会える子）
   match.js の hoursHTML() / nfHTML() / nfModalHTML()
   ========================================================== */

/* --- 時間を細かく選ぶ --- */
.msw-hourwrap {
    grid-column: 1 / -1;
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.4rem;
}

.msw-hourtoggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.3rem;
}

.msw-hourtoggle b {
    color: #e2c58f;
}

.msw-hourtoggle i {
    font-size: 1.1rem;
}

.msw-hours {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.msw-hours[hidden] {
    display: none;
}

.msw-hour {
    padding: 0.8rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.msw-hour.is-on {
    border-color: #f5308b;
    background: rgba(245, 48, 139, 0.18);
    font-weight: 700;
}

/* --- もう少し絞る（スワイプの見出しの中） --- */
.msw-nf {
    margin: 0.6rem 0 0.2rem;
    font-size: 1.3rem;
}

.msw-nf__open {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.msw-nf__sg {
    margin: 0 0 0.6rem;
    line-height: 1.5;
}

.msw-nf__sg b {
    color: #e2c58f;
}

.msw-nf__acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
}

.msw-nf .msw-nf__go {
    width: auto;
    margin: 0;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
}

.msw-nf--on {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.2rem;
}

.msw-nf__t {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 99rem;
    background: rgba(201, 168, 108, 0.18);
    color: #e2c58f;
    font-weight: 700;
}

/* --- 条件を選ぶ小窓 --- */
.msw-nf__ax {
    margin: 1.2rem 0;
    text-align: left;
}

.msw-nf__axl {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.msw-nf__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.msw-nf__chip {
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 99rem;
    background: transparent;
    color: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}

.msw-nf__chip.is-on {
    border-color: #c9a86c;
    background: rgba(201, 168, 108, 0.22);
    color: #e2c58f;
    font-weight: 700;
}

/* 2026-10-18 もう少し絞る：見出しを手前に
   うしろのカードは上にずらして置いているので、見出しの下側に食い込む。
   見出しを手前に出し、絞り込みの下に余白を取って、ボタンにカードがかぶらないようにする */
#mswSwipeHead {
    position: relative;
    z-index: 5;
}

.msw-nf {
    margin-bottom: 1.6rem;
}

/* 提案の条件は次の行に（SPで1文字だけ折り返さないように） */
.msw-nf__sg b {
    display: block;
    margin-top: 0.2rem;
}
