@charset "UTF-8";
/* ===== スコープ: scstd- =====
     色はCSS変数で上書き可(テーマに合わせる場合):
     :root{ --scst-green:#2e7d32; --scst-orange:#d95a12; } 等 */
.scstd-wrap {
  max-width: 1080px;
  margin: 0 auto;
  font-family: inherit;
}

/* --- 展開ボタン(全幅・最も目立つ要素) --- */
.scstd-tglbl {
  font-weight: 500;
}

.scstd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  background: #fff;
  color: var(--bc);
  font-size: 1.6rem;
  font-weight: bold;
  border: 1px solid var(--bc);
  border-radius: 5px;
  padding: 1.5rem 2rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(30, 122, 70, 0.28);
}

.scstd-toggle:hover {
  opacity: .92;
}

.scstd-toggle .scstd-tri {
  font-size: 13px;
}

.scstd-toggle[aria-expanded="true"] {
  background: #fff;
  color: var(--bc);
  border: 1px solid var(--bc);
  border-radius: 5px 5px 0 0;
  background: var(--sbc7);
  box-shadow: none;
}

/* --- 詳細パネル --- */
.scstd-detail {
  border: 1px solid var(--bc);
  border-radius: 0 0 5px 5px;
  padding: 18px;
  background: #fff;
  border-top: 0;
}

.scstd-detail[hidden] {
  display: none;
}

.scstd-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.scstd-stepnum {
  background: var(--bc);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex: none;
}

.scstd-steptxt {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--card-text);
}

.scstd-steptxt small {
  font-weight: normal;
  color: #666;
  font-size: 12.5px;
  margin-left: 8px;
  font-weight: 500;
}

.scstd-catselect {
  width: 100%;
  height: 56px;
  border: 2px solid var(--bc);
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--card-text);
  background: #fff;
  padding: 0 12px;
}

/* --- 小カテゴリ(選択式・単一選択) --- */
.scstd-subarea {
  display: none;
  margin: 12px 0 4px;
}

.scstd-subarea.scstd-on {
  display: block;
}

.scstd-subhead {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--bc);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eaf3ec;
  border-radius: 5px;
  padding: .2rem 1rem;
}

#scstd-subheadtxt {
  flex: 1;
  min-width: 0;
  color: var(--fs-color-button--particular__font);
  font-weight: 500;
}

.scstd-subicon {
  width: 50px;
  height: 50px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scstd-subicon svg {
  width: 50px;
  height: 50px;
}

.scstd-subicon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.scstd-iconsrc {
  display: none;
}

.scstd-subpills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ピル: 未選択=白地+緑枠+黒文字 / ホバー=緑塗り+白文字 / 選択=緑塗り+白文字+チェック */
.scstd-subpills .scstd-subpill {
  border: 1.5px solid var(--bc);
  color: var(--card-text);
  background: #fff;
  border-radius: 999px;
  padding: .9rem 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s,color .15s;
}

.scstd-subpills .scstd-subpill:hover {
  background: var(--bc);
  color: #fff;
}

.scstd-subpills .scstd-subpill.scstd-picked {
  background: var(--bc);
  color: #fff;
}

/* SP: 小カテゴリはプルダウン(PCのピルは非表示) */
.scstd-subselectwrap {
  display: none;
}

@media (max-width: 720px) {
  .scstd-subpills {
    display: none;
  }
  .scstd-subselectwrap {
    display: block;
    margin-top: 10px;
  }
  .scstd-subselect {
    width: 100%;
    height: 56px;
    border: 2px solid var(--bc);
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--card-text);
    background: #fff;
    padding: 0 12px;
  }
  .scstd-sublabel {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    display: block;
    font-weight: bold;
  }
}

.scstd-subpills .scstd-subpill .scstd-ck {
  display: none;
  margin-right: 6px;
}

.scstd-subpills .scstd-subpill.scstd-picked .scstd-ck {
  display: inline;
}

/* --- STEP2 条件 --- */
.scstd-specgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.scstd-chipgroup {
  margin-top: 14px;
}

.scstd-chiptitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--bc);
  margin: 0 0 7px;
  border-left: 2px solid var(--bc);
  padding-left: 8px;
}

.scstd-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scstd-chiplabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  border: 2px solid #b9c4bb;
  border-radius: 999px;
  padding: 10px 18px;
  background: #fff;
}

.scstd-chiplabel:hover {
  border-color: var(--bc);
}

.scstd-chiplabel input {
  margin: 0;
}

.scstd-spec .scstd-slbl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.scstd-spec select {
  width: 100%;
  height: 50px;
  border: 1.5px solid #b9c4bb;
  border-radius: 5px;
  font-size: 1.5rem;
  color: var(--card-text);
  background: #fff;
  padding: 0 10px;
}

.scstd-specrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.scstd-specbtn {
  background: var(--scst-orange, #d95a12);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 16px 46px;
  cursor: pointer;
  line-height: 1.4;
}

.scstd-specbtn:hover {
  opacity: .92;
}

.scstd-clearbtn {
  border: 2px solid #8a938b;
  color: #555;
  background: #fff;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px 22px;
  cursor: pointer;
}

.scstd-hint {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 500;
}

/* --- SP --- */
@media (max-width: 720px) {
  .scstd-toggle {
    font-size: 1.5rem;
    padding: 15px 8px;
    gap: 9px;
  }
  .scstd-detail {
    padding: 14px;
  }
  .scstd-specgrid {
    grid-template-columns: 1fr 1fr;
  }
  .scstd-specrow {
    align-items: stretch;
    flex-direction: column;
  }
  .scstd-specbtn, .scstd-clearbtn {
    width: 100%;
    padding: 15px 0;
  }
}
