/* ============================================
   ssm-contract.css
   ============================================ */

:root {
  --ssm-accent:       #e8401c;
  --ssm-accent-light: #fff5f2;
  --ssm-accent-mid:   #f5c4b0;
  --ssm-navy:         #2b4a6e;
  --ssm-text:         #333;
  --ssm-text-sub:     #555;
  --ssm-text-xs:      #888;
}

/* ===== コンテナ ===== */
.ssm-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 15px;
  background: linear-gradient(135deg, rgba(234, 85, 20, 0.08) 0%, #ffffff 50%, rgba(234, 85, 20, 0.08) 100%);
  border-radius: 20px;
}

/* ===== ヒーロー ===== */
.ssm-hero {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  border-bottom: 3px solid var(--ssm-accent-mid);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.ssm-hero__eyebrow {
  font-size: 12px;
  color: var(--ssm-accent);
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.ssm-hero__title {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 500;
  color: var(--ssm-text);
  line-height: 1.55;
  margin-bottom: .875rem;
}
.ssm-hero__title em {
  color: var(--ssm-accent);
  font-style: normal;
}
.ssm-hero__copy {
  font-size: 13px;
  color: var(--ssm-text-sub);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.ssm-reassure-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  max-width: 400px;
  margin: 0 auto;
}
.ssm-reassure-card {
  background: #fff;
  border-radius: 10px;
  padding: .75rem .5rem;
  text-align: center;
  border: .5px solid var(--ssm-accent-mid);
}
.ssm-reassure-card__icon {
  display: block;
  font-size: 16px;
  color: var(--ssm-accent);
  margin-bottom: .25rem;
}
.ssm-reassure-card p {
  font-size: 11px;
  color: var(--ssm-text-sub);
  font-weight: 500;
}

/* ===== セクション共通 ===== */
.ssm-sec {
  padding: 1.5rem 0;
}
.ssm-sec--pb-sm {
  padding-bottom: .5rem;
}
.ssm-sec__title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.ssm-sec__num {
  background: var(--ssm-accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.ssm-sec__label {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ssm-text);
}
.ssm-divider {
  border: none;
  border-top: 1px solid var(--ssm-accent-mid);
  margin: .5rem 0;
}

/* ===== Pattern A: 画像左・テキスト右 ===== */
.ssm-step-a {
  display: flex;
  gap: 1rem;
  background: var(--ssm-accent-light);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: .875rem;
  align-items: flex-start;
}
.ssm-step-a:last-child {
  margin-bottom: 0;
}
.ssm-step-a__img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e0dc;
  border: 1px solid var(--ssm-accent-mid);
}
.ssm-step-a__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ssm-step-a__body {
  flex: 1;
}
.ssm-step-a__tag {
  font-size: 18px;
  color: var(--ssm-accent);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 3px;
}
.ssm-step-a__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--ssm-text);
  margin-bottom: .375rem;
  line-height: 1.4;
}
.ssm-step-a__desc {
  font-size: min(4vw,15px);
  color: var(--ssm-text-sub);
  line-height: 1.65;
}
.ssm-step-a__desc small {
  display: block;
  font-size: min(3.102vw,12px);
  margin-top: 3px;
}
.ssm-step-a__desc small a {
  color: var(--ssm-accent);
}
.ssm-step-a__tel {
  font-size: min(4vw,15px);
  font-weight: 900;
  color: var(--ssm-accent);
  margin-top: .375rem;
}
.ssm-step-a__tel a {
  color: var(--ssm-accent);
  text-decoration: none;
}
.ssm-step-a__note {
  font-size: 11px;
  color: var(--ssm-text-xs);
  margin-top: .375rem;
  line-height: 1.5;
}
.ssm-step-a__btn {
  display: inline-block;
  margin-top: .625rem;
  background: #35b900;
  color: #fff;
  font-size: 12px;
  padding: 7px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* ===== タブ ===== */
.ssm-tab-bar {
  display: flex;
  background: var(--ssm-accent-light);
  padding: .5rem .5rem 0;
  gap: .375rem;
  border-radius: 8px 8px 0 0;
}
.ssm-tab-bar__btn {
  flex: 1;
  padding: .625rem .5rem;
  font-size: 14.5px;
  border: none;
  background: transparent;
  color: var(--ssm-text-sub);
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  border-bottom: 2px solid transparent;
}
.ssm-tab-bar__btn.active {
  background: var(--ssm-accent);
  color: #fff;
  font-weight: 500;
  border-bottom: 2px solid var(--ssm-accent);
}

.ssm-steps {
  background: var(--ssm-accent-light);
  padding: 1.25rem;
  border-radius: 0 0 12px 12px;
  margin-bottom: 1rem;
}

/* ===== 必要書類 ===== */
.ssm-docs-wrap {
  padding: 0 0 1rem;
}
.ssm-docs-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--ssm-text);
  margin: .875rem 0 .625rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ssm-docs-subtitle::before {
  content: '';
  display: block;
  width: 4px;
  height: 14px;
  background: var(--ssm-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.ssm-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: .5rem;
}
.ssm-doc-item {
  background: #fff;
  border: .5px solid var(--ssm-accent-mid);
  border-radius: 8px;
  padding: .625rem .5rem;
  text-align: center;
  font-size: 11px;
  color: var(--ssm-text-sub);
  line-height: 1.4;
}
.ssm-doc-note {
  font-size: 12px;
  color: var(--ssm-text-sub);
  line-height: 1.7;
  background: #f9f6f4;
  border-radius: 8px;
  padding: .875rem 1rem;
  border: .5px solid #e8ddd8;
  margin-top: .75rem;
}
.ssm-doc-note__title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: .375rem;
}
.ssm-doc-note ul {
  padding-left: 1.25rem;
}
.ssm-doc-note li {
  margin-bottom: .25rem;
}
.ssm-alert-box {
  background: var(--ssm-accent-light);
  border-left: 3px solid var(--ssm-accent);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1rem;
  font-size: 12px;
  color: #b83010;
  line-height: 1.65;
  margin-top: .75rem;
}

/* ===== お支払い ===== */
.ssm-payment-wrap {
  padding: 0 0 1rem;
}
.ssm-payment-block {
  margin: 0;
}
.ssm-payment-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ssm-text);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ssm-payment-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 14px;
  background: var(--ssm-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.ssm-payment-list {
  list-style: disc;
  padding-left: 1.25rem;
}
.ssm-payment-list li {
  font-size: 13px;
  color: var(--ssm-text-sub);
  padding: .3rem 0;
  line-height: 1.65;
}
.ssm-payment-list li strong {
  color: var(--ssm-accent);
  font-weight: 500;
}

/* ===== CTA ===== */
.ssm-cta-bar {
  background: linear-gradient(135deg, #2b4a6e 0%, #1a3050 100%);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-radius: 16px;
  margin-top: 1.5rem;
}
.ssm-cta-bar__msg {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: .375rem;
}
.ssm-cta-bar__msg em {
  color: #ffb399;
  font-style: normal;
}
.ssm-cta-bar__sub {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  margin-bottom: 1.25rem;
}
.ssm-cta-bar__btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.ssm-cta-bar__btn {
  flex: 1;
  max-width: 220px;
  padding: .875rem 1rem;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.ssm-cta-bar__btn--primary {
  background: var(--ssm-accent);
  color: #fff;
}
.ssm-cta-bar__btn--line {
  background: #00b900;
  color: #fff;
}
.ssm-cta-bar__catch {
  display: flex;
  justify-content: center;
  gap: .625rem;
  flex-wrap: wrap;
}
.ssm-cta-bar__catch span {
  color: rgba(255,255,255,.75);
  font-size: 11px;
  background: rgba(255,255,255,.1);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .ssm-container {
    padding: 20px 12px;
    border-radius: 12px;
  }
  .ssm-step-a {
    flex-direction: column;
	display: flex;
	justify-content: center;
	align-items: center;
  }
  .ssm-step-a__img {
    width: 100%;
    height: auto;
  }
  .ssm-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ssm-cta-bar__btns {
    flex-direction: column;
    align-items: center;
  }
  .ssm-cta-bar__btn {
    width: 100%;
    max-width: 280px;
  }
}