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

/* --- 展開ボタン(全幅・最も目立つ要素) --- */
.scstd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  background: var(--scst-green, #1e7a46);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  border-radius: 10px;
  padding: 17px 10px;
  margin-top: 14px;
  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 .scstd-sub {
  font-weight: normal;
  font-size: 12px;
  opacity: .85;
}

.scstd-toggle[aria-expanded="true"] {
  background: #fff;
  color: var(--scst-green, #1e7a46);
  border: 2.5px solid var(--scst-green, #1e7a46);
  box-shadow: none;
  padding: 15px 8px;
}

/* --- 詳細パネル --- */
.scstd-detail {
  border: 2.5px solid var(--scst-green, #1e7a46);
  border-radius: 10px;
  padding: 18px;
  margin-top: 10px;
  background: #fbfdfb;
}

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

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

.scstd-stepnum {
  background: var(--scst-green, #1e7a46);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  flex: none;
}

.scstd-steptxt {
  font-size: 15.5px;
  font-weight: bold;
  color: #222;
}

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

.scstd-catselect {
  width: 100%;
  height: 56px;
  border: 3px solid var(--scst-green, #1e7a46);
  border-radius: 10px;
  font-size: 17px;
  font-weight: bold;
  color: #222;
  background: #fff;
  padding: 0 12px;
}

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

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

.scstd-subhead {
  font-size: 14px;
  font-weight: bold;
  color: var(--scst-green, #1e7a46);
  margin-bottom: 8px;
}

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

.scstd-subpills .scstd-subpill {
  border: 2px solid var(--scst-green, #1e7a46);
  color: var(--scst-green, #1e7a46);
  background: #f7fbf8;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.scstd-subpills .scstd-subpill:hover {
  opacity: .85;
}

.scstd-subpills .scstd-subpill.scstd-picked {
  background: var(--scst-green, #1e7a46);
  color: #fff;
}

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

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

.scstd-direct {
  margin-top: 9px;
  font-size: 13px;
}

.scstd-direct a {
  color: #0b5aa5;
  text-decoration: underline;
}

.scstd-direct .scstd-directlink {
  display: none;
}

.scstd-direct.scstd-has .scstd-directlink {
  display: inline;
}

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

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

.scstd-spec select {
  width: 100%;
  height: 52px;
  border: 2px solid #b9c4bb;
  border-radius: 8px;
  font-size: 16px;
  color: #222;
  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: 10px;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 46px;
  cursor: pointer;
}

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

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

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

/* --- SP --- */
@media (max-width: 720px) {
  .scstd-toggle {
    font-size: 15px;
    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;
  }
}
