
/* ==========================================
   MONOPICKLE BRAND DESIGN
   Visual refresh 窶� script.js unchanged
========================================== */

:root {
  --purple: #7460e7;
  --purple-dark: #5946c8;
  --purple-light: #eee9ff;
  --pink: #ffc3df;
  --mint: #dff8ee;
  --ink: #373149;
  --muted: #797286;
  --line: #e8e1f1;
  --paper: #fff;
  --bg: #faf8ff;
  --shadow: 0 16px 48px rgba(81,58,136,.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont,
    "Hiragino Sans", "Yu Gothic", "Helvetica Neue", sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid #a89cff;
  outline-offset: 3px;
}

.hidden { display: none !important; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(116,96,231,.12);
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1200px;
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4d3fa1;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .025em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: linear-gradient(145deg,#aa83ff,#6852d7);
  color: white;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 6px 16px #7460e744;
}
.brand-mark span {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 13px;
  color: #f1a8d4;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #6d6580;
  font-size: 13px;
  font-weight: 700;
}
.header nav a:hover { color: var(--purple); }
.nav-search {
  padding: 10px 19px;
  border-radius: 99px;
  color: #fff !important;
  background: var(--purple);
}
.search-back {
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 800;
}
.search-header-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aaa2b7;
  font-size: 12px;
  font-weight: 800;
}
.search-header-step i {
  width: 22px;
  height: 1px;
  background: #d7cfeb;
}
.search-header-step .active { color: var(--purple); }

/* ==========================================
   SHARED
========================================== */

.section-kicker, .hero-kicker, .eyebrow {
  display: inline-block;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  padding: 14px 23px;
  background: linear-gradient(120deg,#8b72f3,#6751d9);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 9px 24px #7460e73d;
  transition: transform .2s, box-shadow .2s;
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 26px #7460e74d;
}

/* ==========================================
   MASCOT 窶� CSS ORIGINAL
========================================== */

.mascot {
  --scale: 1;
  position: relative;
  width: 260px;
  height: 315px;
  flex-shrink: 0;
  transform: scale(var(--scale));
  transform-origin: center center;
  filter: drop-shadow(0 22px 15px rgba(104,72,167,.19));
}

.mascot-body {
  position: absolute;
  z-index: 3;
  left: 31px;
  top: 72px;
  width: 198px;
  height: 210px;
  border: 3px solid rgba(87,55,158,.18);
  border-radius: 45% 46% 42% 42%;
  background: linear-gradient(145deg,#bd9dff 2%,#9876ed 52%,#7960d3 100%);
  box-shadow: inset 15px 14px 23px rgba(255,255,255,.29),
              inset -12px -8px 16px rgba(84,54,153,.16);
}

.mascot-horn {
  position: absolute;
  z-index: 1;
  top: 41px;
  width: 78px;
  height: 85px;
  background: #9e7bea;
  border-radius: 15% 90% 10% 90%;
}
.horn-left { left: 37px; transform: rotate(-34deg); }
.horn-right { right: 37px; transform: scaleX(-1) rotate(-34deg); }

.mascot-ear {
  position: absolute;
  z-index: 2;
  top: 115px;
  width: 65px;
  height: 85px;
  border-radius: 50%;
  background: #a788ef;
}
.ear-left { left: 5px; transform: rotate(-23deg); }
.ear-right { right: 5px; transform: rotate(23deg); }

.mascot-face {
  position: absolute;
  top: 86px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-around;
}

.mascot-eye {
  width: 20px;
  height: 29px;
  border-radius: 50%;
  background: #322847;
  box-shadow: inset 4px 6px 0 -2px #fff;
}

.mascot-mouth {
  position: absolute;
  left: 50%;
  top: 38px;
  width: 25px;
  height: 13px;
  border-bottom: 4px solid #443050;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.mascot-blush {
  position: absolute;
  top: 32px;
  width: 33px;
  height: 15px;
  background: #ffb1cb;
  border-radius: 50%;
  opacity: .8;
}
.blush-left { left: 3px; }
.blush-right { right: 3px; }

.mascot-foot {
  position: absolute;
  z-index: 2;
  top: 264px;
  width: 74px;
  height: 40px;
  background: #7457c6;
  border-radius: 50%;
}
.foot-left { left: 37px; transform: rotate(-14deg); }
.foot-right { right: 37px; transform: rotate(14deg); }

/* ==========================================
   HOME
========================================== */

.new-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(circle at 83% 40%,#e5dbff 0,transparent 35%),
    radial-gradient(circle at 6% 92%,#ffe5f2 0,transparent 30%),
    linear-gradient(130deg,#fefcff,#f6f0ff);
}

.hero-decoration {
  position: absolute;
  border: 2px solid rgba(170,132,246,.15);
  border-radius: 50%;
  pointer-events: none;
}
.deco-one { width: 350px; height: 350px; right: -180px; top: -160px; }
.deco-two { width: 220px; height: 220px; left: -130px; bottom: -110px; }

.new-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  min-height: 670px;
  margin: auto;
  padding: 65px 26px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  align-items: center;
  gap: 35px;
}

.hero-copy { min-width: 0; }

.hero-copy h1 {
  margin: 15px 0 18px;
  font-size: clamp(29px,3.1vw,45px);
  font-weight: 800;
  line-height: 1.43;
  letter-spacing: -.04em;
  color: #423653;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--purple);
  background: linear-gradient(transparent 69%,#ffd7ec 69%);
}

.hero-subtitle {
  margin: 0 0 28px;
  color: #756c84;
  font-size: 15px;
  line-height: 2;
}

.hero-search-form {
  max-width: 605px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e7def7;
  border-radius: 23px;
  box-shadow: var(--shadow);
}
.hero-search-form > label {
  display: block;
  margin-bottom: 9px;
  color: #594c72;
  font-size: 13px;
  font-weight: 800;
}
.hero-search-form textarea {
  display: block;
  width: 100%;
  min-height: 90px;
  resize: vertical;
  padding: 13px 15px;
  border: 1px solid #eae3f4;
  border-radius: 13px;
  background: #fbfaff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
}
.hero-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.hero-form-bottom > span {
  color: #a39bab;
  font-size: 12px;
}

.hero-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
}
.hero-examples > span {
  flex-basis: 100%;
  color: #887d9a;
  font-size: 12px;
  font-weight: 700;
}
.hero-examples button, .example-button {
  padding: 8px 13px;
  border: 1px solid #e4daf5;
  border-radius: 99px;
  background: #fff;
  color: #6758a8;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.hero-examples button:hover, .example-button:hover {
  background: #f1ebff;
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  min-height: 465px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(145deg,#e8d6ff,#ffe8f5);
}
.mascot-hero { z-index: 2; animation: mascotFloat 4s ease-in-out infinite; }
@keyframes mascotFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.art-spark {
  position: absolute;
  color: #ab8ff0;
  font-size: 34px;
}
.art-spark-one { top: 26px; right: 65px; }
.art-spark-two { bottom: 98px; left: 36px; color: #ed9bc6; }
.art-bubble {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  border: 1px solid #eadff8;
  box-shadow: var(--shadow);
  font-size: 12px;
}
.art-bubble-top { top: 60px; left: -5px; transform: rotate(-5deg); }
.art-bubble-bottom { right: -10px; bottom: 65px; transform: rotate(4deg); }
.art-bubble span { font-size: 19px; }
.hero-art-caption {
  position: absolute;
  bottom: 16px;
  color: #9983bc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.section-wrap {
  width: min(1120px,calc(100% - 40px));
  margin: auto;
  padding: 95px 0;
}
.section-heading { text-align: center; }
.section-heading h2 {
  margin: 12px 0;
  font-size: clamp(24px,2.7vw,34px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.section-heading p, .feature-lead {
  color: var(--muted);
  font-size: 14px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 38px;
}
.step-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 26px #57447d0a;
  transition: transform .2s;
}
.step-card:hover { transform: translateY(-4px); }
.step-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  font-size: 30px;
  margin-bottom: 24px;
}
.step-lilac { background: #eee6ff; }
.step-pink { background: #ffe7f2; }
.step-mint { background: #e2f8f1; }
.step-number {
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}
.step-card h3 { margin: 9px 0; font-size: 19px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }

.features-section {
  background: linear-gradient(135deg,#f4efff,#ffeff7);
}
.feature-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}
.feature-layout h2 {
  margin: 14px 0;
  font-size: clamp(25px,3vw,37px);
  line-height: 1.55;
}
.feature-layout h2 span { color: var(--purple); }
.feature-points { display: grid; gap: 14px; }
.feature-points > div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px #57447d0b;
}
.feature-points > div > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--purple);
  background: #eee9ff;
  font-weight: 900;
}
.feature-points strong { display: block; font-size: 15px; }
.feature-points p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

.bottom-cta {
  padding: 85px 20px;
  background: #fff;
  text-align: center;
}
.bottom-cta-inner {
  max-width: 740px;
  margin: auto;
  padding: 55px 24px;
  border-radius: 30px;
  background: linear-gradient(130deg,#eae1ff,#ffe8f5);
}
.tiny-star { color: var(--purple); }
.bottom-cta h2 {
  margin: 12px 0;
  font-size: clamp(25px,3vw,36px);
  line-height: 1.5;
}
.bottom-cta p { color: var(--muted); font-size: 13px; }
.bottom-cta .button-primary { margin-top: 12px; }

/* ==========================================
   SEARCH / CONDITION PAGE
========================================== */

.search-page {
  min-height: 100vh;
  padding: 62px 20px 90px;
  background:
    radial-gradient(circle at 4% 10%,#f7e4ff,transparent 35%),
    radial-gradient(circle at 96% 31%,#ffedf6,transparent 30%),
    #faf8ff;
}
.search-main { max-width: 850px; margin: auto; }
.search-intro { margin-bottom: 30px; text-align: center; }
.search-intro h1 {
  margin: 12px 0;
  color: #493858;
  font-size: clamp(27px,3.1vw,38px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.search-intro p { margin: 0; color: var(--muted); font-size: 14px; }

.search-mascot-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 16px 26px;
  border: 1px solid #e5d9fa;
  border-radius: 23px;
  background: linear-gradient(110deg,#ece5ff,#fff1f7);
}
.mascot-mini {
  --scale: .32;
  width: 92px;
  height: 104px;
  margin: 0 5px;
  transform-origin: top left;
  flex: 0 0 92px;
}
.mascot-mini > span {
  transform-origin: top left;
}
.mascot-mini .mascot-body {
  left: 10px;
  top: 24px;
  width: 70px;
  height: 72px;
  border-width: 1px;
}
.mascot-mini .mascot-horn {
  top: 10px;
  width: 29px;
  height: 34px;
}
.mascot-mini .horn-left { left: 10px; }
.mascot-mini .horn-right { right: 10px; }
.mascot-mini .mascot-ear { top: 41px; width: 23px; height: 32px; }
.mascot-mini .ear-left { left: 0; }
.mascot-mini .ear-right { right: 0; }
.mascot-mini .mascot-face { top: 29px; left: 8px; right: 8px; }
.mascot-mini .mascot-eye { width: 7px; height: 11px; box-shadow: inset 2px 3px 0 -1px #fff; }
.mascot-mini .mascot-mouth { top: 14px; width: 10px; height: 5px; border-bottom-width: 2px; }
.mascot-mini .mascot-blush { top: 12px; width: 11px; height: 6px; }
.mascot-mini .mascot-foot { top: 91px; width: 29px; height: 14px; }
.mascot-mini .foot-left { left: 12px; }
.mascot-mini .foot-right { right: 12px; }

.mascot-message strong { color: #5e49b2; font-size: 15px; }
.mascot-message p { margin: 6px 0 0; color: #746785; font-size: 12px; }

.consultation-card, .condition-card {
  padding: 30px;
  border: 1px solid #e7dff2;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.consultation-top, .condition-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.consultation-top > div, .condition-card-top > div { display: grid; }
.consultation-top > div span, .condition-card-top > div span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.consultation-top strong, .condition-card-top strong { font-size: 18px; }
.consultation-status, .condition-ready {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 99px;
  background: #f1edff;
  color: #705aca;
  font-size: 11px;
  font-weight: 800;
}
.consultation-card > label {
  display: block;
  margin-bottom: 11px;
  font-size: 13px;
  font-weight: 800;
}
.textarea-wrap { position: relative; }
.textarea-wrap textarea {
  width: 100%;
  min-height: 175px;
  resize: vertical;
  padding: 18px;
  padding-bottom: 36px;
  border: 1px solid #e6ddf4;
  border-radius: 17px;
  background: #fcfaff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
}
#characterCount {
  position: absolute;
  right: 15px;
  bottom: 11px;
  color: #aaa0b7;
  font-size: 11px;
}
.example-area { margin-top: 22px; }
.example-area > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.example-buttons { display: flex; gap: 9px; flex-wrap: wrap; }
.organize-button, .search-products-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  padding: 13px 21px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(115deg,#9079f3,#6d55d6);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px #7460e73d;
}
.organize-button:hover, .search-products-button:hover { filter: brightness(1.05); }
.input-help { margin: 11px 0 0; color: #a299b0; font-size: 11px; text-align: center; }

.condition-section { margin-top: 55px; }
.condition-heading { margin-bottom: 22px; }
.condition-heading h2 {
  margin: 8px 0;
  font-size: clamp(23px,2.5vw,30px);
}
.condition-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.condition-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 17px;
}
.condition-item { min-width: 0; }
.condition-item label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.condition-item input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #e6ddf4;
  border-radius: 12px;
  background: #fcfaff;
  color: var(--ink);
  font-size: 13px;
}
.condition-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.condition-safety {
  margin-top: 23px;
  padding: 17px 19px;
  border-radius: 15px;
  background: #f3efff;
}
.condition-safety strong { color: var(--purple-dark); font-size: 12px; }
.condition-safety p { margin: 5px 0 0; color: #71668a; font-size: 12px; }
.condition-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
}
.summary-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e1f7ec;
  color: #229667;
  font-weight: 900;
}
.condition-summary strong { font-size: 13px; }
.condition-summary p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.condition-actions { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.edit-button {
  padding: 13px 18px;
  min-height: 53px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: #625876;
  font-size: 12px;
  font-weight: 800;
}
.condition-actions .search-products-button { flex: 1; width: auto; margin: 0; }

/* ==========================================
   RESULTS PAGE
========================================== */

.mp-results {
  min-height: 100vh;
  padding: 45px 20px 90px;
  background:
    radial-gradient(circle at 5% 6%,#f2e8ff,transparent 31%),
    radial-gradient(circle at 98% 16%,#ffecf4,transparent 25%),
    #faf8ff;
}
.mp-results-container { max-width: 1140px; margin: 0 auto; }
.results-top-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid #e6dbf8;
  border-radius: 26px;
  background: linear-gradient(110deg,#f1ebff,#ffeff6);
}
.results-banner-copy { min-width: 0; flex: 1; }
.results-banner-copy h1 {
  margin: 9px 0;
  color: #463854;
  font-size: clamp(24px,2.8vw,34px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.mp-intro-text { margin: 8px 0 0; color: #766a84; font-size: 13px; line-height: 1.8; }
.results-banner-mascot { flex: 0 0 110px; }

.mp-condition-box {
  margin-bottom: 29px;
  padding: 22px 25px;
  border: 1px solid #e8e0f2;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}
.mp-condition-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.mp-condition-head strong { font-size: 15px; }
.mp-condition-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #e5def0;
  border-radius: 11px;
  background: #fff;
  color: #6d5ba6;
  font-size: 12px;
  font-weight: 800;
}
.mp-condition-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-condition-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 5px 12px;
  border-radius: 99px;
  background: #f0ebff;
  color: #6251ab;
  font-size: 12px;
  font-weight: 800;
}
.mp-condition-tags span.required { background: #e5f8ef; color: #278665; }
.mp-condition-tags span.excluded { background: #fff0f4; color: #ad577b; }

.mp-loading {
  padding: 53px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  text-align: center;
  color: var(--muted);
}
.mp-loading strong { display: block; color: #4e3e69; }
.mp-loading p { margin: 10px 0 0; font-size: 12px; }
.mp-loading-spinner {
  width: 35px;
  height: 35px;
  margin: 0 auto 17px;
  border: 3px solid #ece6ff;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: mpSpin .85s linear infinite;
}
@keyframes mpSpin { to { transform: rotate(360deg); } }

.mp-products { display: grid; gap: 20px; }
.mp-product-card {
  display: grid;
  grid-template-columns: 62px 215px minmax(0,1fr);
  gap: 23px;
  align-items: start;
  padding: 25px;
  border: 1px solid #e6def0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.mp-product-card.best {
  border-color: #aa94f1;
  box-shadow: 0 17px 48px #775ada21;
}
.mp-rank-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f0ecf8;
  color: #675b80;
  font-size: 14px;
  font-weight: 900;
}
.mp-product-card.best .mp-rank-number {
  background: linear-gradient(135deg,#9d83f6,#6e56d5);
  color: #fff;
}
.mp-rank-title {
  display: block;
  margin-top: 8px;
  max-width: 63px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.mp-product-image-link { display: block; }
.mp-product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 215px;
  padding: 14px;
  overflow: hidden;
  border-radius: 18px;
  background: #fbf9ff;
}
.mp-product-image img {
  display: block;
  width: 100%;
  max-height: 205px;
  object-fit: contain;
  transition: transform .2s;
}
.mp-product-image-link:hover img { transform: scale(1.04); }

.mp-product-label {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 11px;
  border-radius: 99px;
  background: #eee9ff;
  color: #6a55c3;
  font-size: 11px;
  font-weight: 900;
}
.mp-product-name-link { color: inherit; }
.mp-product-name {
  margin: 0;
  color: #403648;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.mp-product-name-link:hover .mp-product-name { text-decoration: underline; }
.mp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.mp-price { color: #5841bc; font-size: 25px; font-weight: 900; }
.mp-rating { color: #ed9561; font-size: 13px; font-weight: 900; }
.mp-review-count { color: var(--muted); font-size: 12px; }
.mp-match-tags, .mp-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.mp-match-tag, .mp-feature-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 9px;
  background: #f3effa;
  color: #6c617b;
  font-size: 11px;
  font-weight: 700;
}
.mp-match-tag.good { background: #e5f8ee; color: #288764; }

.mp-why {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #f8f5ff;
}
.mp-why strong { color: #5844a8; font-size: 13px; }
.mp-reason-list { display: grid; gap: 8px; margin-top: 10px; }
.mp-reason-item { display: flex; gap: 8px; color: #686071; font-size: 12px; }
.mp-check { color: #29a36f; font-weight: 900; }
.mp-caution {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid #f4e4cb;
  border-radius: 14px;
  background: #fffaf2;
}
.mp-caution strong { display: block; color: #956a36; font-size: 12px; }
.mp-caution p { margin: 4px 0 0; color: #806e59; font-size: 11px; }

.mp-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 19px;
}
.mp-note { margin: 0; color: #99909e; font-size: 10px; }
.mp-card-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.mp-reject-button, .mp-rakuten-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}
.mp-reject-button {
  border: 1px solid #ddd5ed;
  background: #fff;
  color: #76648a;
}
.mp-reject-button:hover { background: #faf5ff; }
.mp-rakuten-button {
  border: 0;
  background: var(--purple);
  color: #fff;
}
.mp-rakuten-button:hover { background: var(--purple-dark); }

.mp-result-actions {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
.mp-more-button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #dcd1f4;
  border-radius: 14px;
  background: #fff;
  color: #6552b6;
  font-size: 13px;
  font-weight: 900;
}
.mp-more-button:hover { background: #f5f0ff; }

.mp-compare { margin-top: 55px; }
.comparison-heading h2, .mp-method h2 {
  margin: 9px 0 12px;
  color: #463855;
  font-size: clamp(23px,2.5vw,29px);
}
.comparison-heading p { color: var(--muted); font-size: 13px; }
.mp-table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.mp-table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
}
.mp-table th, .mp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee8f5;
  color: #61586d;
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}
.mp-table th { color: #493d5b; background: #fbf8ff; font-weight: 900; }
.mp-table tr:last-child th, .mp-table tr:last-child td { border-bottom: 0; }
.mp-compare-product { display: grid; gap: 5px; max-width: 200px; }
.mp-compare-product strong { font-size: 12px; }

.mp-method {
  margin-top: 55px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
}
.mp-method p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.mp-error-link { color: var(--purple); font-weight: 800; }

/* ==========================================
   FOOTER
========================================== */

.footer, footer {
  padding: 35px 22px 22px;
  border-top: 1px solid #eae2f3;
  background: white;
}
.footer-inner {
  max-width: 1140px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.footer-inner > strong { color: #6150a5; font-size: 16px; }
.footer-inner > strong span { color: #f1a4ce; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #82798e; font-size: 11px; }
.footer-links a:hover { color: var(--purple); }
.footer-inner > span { color: #aaa2b3; font-size: 11px; }
.affiliate-note {
  max-width: 1140px;
  margin: 24px auto 0;
  color: #9991a5;
  font-size: 10px;
  line-height: 1.8;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 950px) {
  .new-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy h1 { font-size: clamp(30px,5vw,42px); }
  .hero-search-form { margin: 0 auto; text-align: left; }
  .hero-examples { justify-content: center; }
  .hero-art { min-height: 370px; max-width: 500px; margin: auto; width: 100%; }
  .feature-layout { grid-template-columns: 1fr; gap: 32px; }
  .mp-product-card { grid-template-columns: 55px 175px minmax(0,1fr); gap: 16px; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 62px; padding: 10px 15px; }
  .logo { font-size: 15px; }
  .brand-mark { width: 33px; height: 33px; font-size: 20px; }
  .header nav { gap: 12px; }
  .header nav > a:not(.nav-search) { display: none; }
  .nav-search { padding: 8px 12px; font-size: 11px; }
  .search-header-step { display: none; }
  .search-back { font-size: 12px; }

  .new-hero-inner { padding: 45px 20px 30px; gap: 10px; }
  .hero-copy h1 { font-size: 29px; }
  .hero-subtitle { font-size: 13px; }
  .hero-search-form { padding: 15px; border-radius: 18px; }
  .hero-form-bottom { align-items: stretch; }
  .hero-form-bottom .button-primary { font-size: 12px; padding: 11px 14px; }
  .hero-form-bottom > span { font-size: 10px; align-self: center; }
  .hero-art { min-height: 330px; }
  .hero-art .mascot-hero { --scale: .8; transform: scale(.8); }
  .hero-art .mascot-hero { animation: none; }
  .hero-art::before { width: 280px; height: 280px; }
  .art-bubble { font-size: 10px; padding: 9px 11px; }
  .art-bubble-top { top: 35px; left: 0; }
  .art-bubble-bottom { bottom: 40px; right: 0; }
  .hero-art-caption { bottom: 4px; }

  .section-wrap { width: min(100% - 32px,1120px); padding: 65px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 13px; }
  .step-card { padding: 22px; }
  .step-icon { margin-bottom: 15px; }
  .bottom-cta { padding: 55px 15px; }
  .bottom-cta-inner { padding: 42px 20px; }

  .search-page { padding: 32px 14px 65px; }
  .search-intro h1 { font-size: 27px; }
  .search-intro p { font-size: 12px; }
  .search-mascot-banner { gap: 8px; padding: 12px; }
  .mascot-message strong { font-size: 12px; }
  .mascot-message p { font-size: 11px; }
  .consultation-card, .condition-card { padding: 19px; border-radius: 20px; }
  .consultation-top strong, .condition-card-top strong { font-size: 15px; }
  .consultation-status { font-size: 9px; }
  .condition-grid { grid-template-columns: 1fr; }
  .condition-actions { flex-direction: column; align-items: stretch; }
  .condition-actions .search-products-button, .edit-button { width: 100%; }
  .condition-heading h2 { font-size: 23px; }

  .mp-results { padding: 25px 13px 70px; }
  .results-top-banner { padding: 20px; }
  .results-banner-copy h1 { font-size: 23px; }
  .results-banner-mascot { display: none; }
  .mp-condition-box { padding: 17px; }
  .mp-condition-head { flex-direction: column; align-items: flex-start; }
  .mp-product-card { display: block; padding: 18px; }
  .mp-rank-number { width: 42px; height: 42px; }
  .mp-rank-title { margin: 6px 0 13px; max-width: none; text-align: left; }
  .mp-product-image { min-height: 210px; margin-bottom: 18px; }
  .mp-product-name { font-size: 16px; }
  .mp-price { font-size: 22px; }
  .mp-card-bottom { align-items: stretch; }
  .mp-card-buttons { width: 100%; }
  .mp-reject-button, .mp-rakuten-button { flex: 1; text-align: center; }
  .mp-method { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* 5蛟呵｣懈ｯ碑ｼ��譛邨よ署譯茨ｼ�2026-10�� */
.mp-original-request { margin:0 0 22px;padding:18px 20px;border:1px solid var(--line);border-radius:17px;background:#fff; }
.mp-original-request strong {display:block;color:var(--purple-dark);font-size:13px;margin-bottom:7px}
.mp-original-request p {margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.mp-results #productSection > .comparison-heading {margin:34px 0 20px}
.mp-recommendation {margin-top:55px;scroll-margin-top:95px}
.mp-recommendation-container {margin-top:24px}
.mp-recommendation .mp-final-pick {padding:0;margin:0}
.mp-recommendation .mp-final-pick__product {border:1px solid var(--line);background:#fff;border-radius:23px;padding:24px;box-shadow:var(--shadow)}
.mp-recommendation .mp-final-pick__name {overflow-wrap:anywhere}
@media (max-width: 640px) {
  .mp-original-request {padding:14px}
  .mp-recommendation .mp-final-pick__product {padding:15px}
  .mp-recommendation {margin-top:38px}
}


/* 5蛟呵｣懈ｯ碑ｼ�｡ｨ�夂強縺�判髱｢縺ｧ繧りｪｭ繧√ｋ繧医≧縺ｫ蝗ｺ螳壼ｹ��遏ｭ縺�Λ繝吶Ν縺ｧ謨ｴ逅� */
.mp-table-wrap { overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
.mp-table { table-layout:fixed; width:100%; min-width:860px; border-collapse:separate; border-spacing:0; }
.mp-table th,.mp-table td { box-sizing:border-box; padding:15px 12px; min-width:0; overflow-wrap:anywhere; word-break:normal; line-height:1.55; font-size:12px; }
.mp-table thead th { vertical-align:top; background:#f6f1ff; }
.mp-table thead th:not(:first-child) { width:calc((100% - 126px)/5); }
.mp-table th:first-child { position:sticky; left:0; z-index:2; width:126px; min-width:126px; max-width:126px; background:#f7f3fc; box-shadow:2px 0 5px rgba(50,30,90,.05); }
.mp-table thead th:first-child { z-index:4; }
.mp-table tbody td { background:#fff; }
.mp-table tbody tr:nth-child(even) td { background:#fcfaff; }
.mp-table tbody td.mp-compare-best,.mp-table thead th.mp-compare-best { background:#f0ebff; }
.mp-compare-index { display:block; margin-bottom:7px; font-weight:800; color:#6652c7; }
.mp-compare-best-label { display:inline-block; margin-bottom:6px; background:#6b53d5; color:#fff; border-radius:99px; font-size:10px; font-weight:800; padding:2px 7px; }
.mp-compare-name { display:block; font-size:12px; line-height:1.5; color:#34284d; overflow-wrap:anywhere; }
.mp-table td.mp-compare-muted { color:#827991; }
.mp-table td.mp-compare-positive { font-weight:800; color:#235f4a; }
@media(max-width:700px) { .mp-table { min-width:810px; } .mp-table th,.mp-table td { padding:12px 10px; font-size:11px; } .mp-table th:first-child { width:106px; min-width:106px; max-width:106px; } }