/*
Theme Name: Shisan Navi - Simulator LP
Theme URI: https://shisan-navi.jp
Description: 資金繰りシミュレーターLP専用テーマ
Author: Shisan Navi
Version: 1.0.0
Text Domain: shisan-navi
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: #1a1a2e; background: #f5f7fa; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.lp-wrapper { width: 100%; overflow-x: hidden; }
.lp-container { max-width: 540px; margin: 0 auto; padding: 0 20px; }

.hero { background: linear-gradient(135deg, #1a2a4a 0%, #2d4a7a 100%); padding: 48px 0 40px; text-align: center; }
.hero__label { display: inline-block; background: rgba(255,255,255,0.12); color: #c0d4f0; font-size: 0.75rem; font-weight: 500; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.05em; }
.hero__title { color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.4; margin-bottom: 16px; letter-spacing: 0.02em; }
.hero__subtitle { color: #b8cceb; font-size: 0.875rem; line-height: 1.8; max-width: 460px; margin: 0 auto; }

.trust-bar { background: #fff; border-bottom: 1px solid #e8ecf1; padding: 14px 0; }
.trust-bar__list { display: flex; justify-content: center; gap: 24px; list-style: none; }
.trust-bar__item { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: #4a5568; font-weight: 500; }
.trust-bar__icon { width: 18px; height: 18px; background: #2563eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-bar__icon svg { width: 11px; height: 11px; fill: #fff; }

.simulator { padding: 32px 0 40px; }
.simulator__card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 28px 24px 32px; }
.progress { margin-bottom: 28px; }
.progress__text { font-size: 0.75rem; color: #94a3b8; margin-bottom: 8px; font-weight: 500; }
.progress__bar { width: 100%; height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; }
.progress__fill { height: 100%; background: #2563eb; border-radius: 2px; transition: width 0.4s ease; }

.step { display: none; animation: fadeIn 0.35s ease; }
.step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.step__question { font-size: 1rem; font-weight: 600; color: #1e293b; margin-bottom: 8px; line-height: 1.5; }
.step__hint { font-size: 0.8125rem; color: #94a3b8; margin-bottom: 20px; }

.choices { display: flex; flex-direction: column; gap: 10px; }
.choice-btn { display: block; width: 100%; padding: 14px 18px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 0.9375rem; font-weight: 500; color: #334155; cursor: pointer; transition: all 0.2s ease; text-align: left; font-family: inherit; }
.choice-btn:hover { border-color: #2563eb; background: #eff6ff; }
.choice-btn.selected { border-color: #2563eb; background: #eff6ff; color: #1e40af; }

.slider-wrap { padding: 8px 0; }
.slider-value { text-align: center; font-size: 2rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; line-height: 1.2; }
.slider-value span { font-size: 1rem; font-weight: 500; color: #64748b; }
.slider-input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; outline: none; margin: 16px 0; cursor: pointer; }
.slider-input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; background: #2563eb; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(37,99,235,0.3); transition: transform 0.15s ease; }
.slider-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-input::-moz-range-thumb { width: 28px; height: 28px; background: #2563eb; border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 2px 6px rgba(37,99,235,0.3); }
.slider-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: #94a3b8; }

.step-nav { margin-top: 24px; display: flex; gap: 10px; }
.btn-back { padding: 12px 20px; background: #f1f5f9; border: none; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: #64748b; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.btn-back:hover { background: #e2e8f0; }
.btn-next { flex: 1; padding: 12px 20px; background: #2563eb; border: none; border-radius: 8px; font-size: 0.9375rem; font-weight: 600; color: #fff; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.btn-next:hover { background: #1d4ed8; }
.btn-next:disabled { background: #94a3b8; cursor: not-allowed; }

.btn-submit { display: block; width: 100%; padding: 16px 24px; margin-top: 28px; background: #2563eb; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; color: #fff; cursor: pointer; font-family: inherit; transition: background 0.2s, transform 0.15s; letter-spacing: 0.03em; }
.btn-submit:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-submit:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }

.results { padding: 0 0 40px; display: none; }
.results.visible { display: block; animation: slideUp 0.5s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.result-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 28px 24px; margin-bottom: 16px; }
.result-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.result-card__icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.result-card__icon--blue { background: #eff6ff; }
.result-card__icon--green { background: #f0fdf4; }
.result-card__icon svg { width: 20px; height: 20px; }
.result-card__title { font-size: 0.9375rem; font-weight: 600; color: #1e293b; }

.amount-display { text-align: center; padding: 20px 0; }
.amount-display__label { font-size: 0.8125rem; color: #64748b; margin-bottom: 8px; }
.amount-display__value { font-size: 1.75rem; font-weight: 700; color: #1e40af; }
.amount-display__value span { font-size: 1rem; font-weight: 500; }
.amount-display__note { font-size: 0.8125rem; color: #94a3b8; margin-top: 8px; }
.amount-match { background: #f8fafc; border-radius: 8px; padding: 14px; margin-top: 16px; font-size: 0.8125rem; color: #475569; text-align: center; line-height: 1.6; }
.amount-match strong { color: #1e293b; }
.amount-match .sufficient { color: #16a34a; font-weight: 600; }
.amount-match .insufficient { color: #dc2626; font-weight: 600; }

.fee-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.fee-table th { text-align: left; padding: 10px 12px; background: #f8fafc; color: #64748b; font-weight: 500; border-bottom: 1px solid #e2e8f0; }
.fee-table td { padding: 12px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.fee-table td:last-child { text-align: right; font-weight: 600; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.compare-table th { padding: 10px 8px; background: #f8fafc; color: #64748b; font-weight: 500; text-align: center; border-bottom: 1px solid #e2e8f0; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table .highlight-row { background: #eff6ff; }
.compare-table .highlight-row td { color: #1e40af; font-weight: 600; }

.badge { display: inline-block; font-size: 0.625rem; padding: 2px 6px; border-radius: 4px; font-weight: 600; vertical-align: middle; }
.badge--fast { background: #dcfce7; color: #166534; }
.badge--slow { background: #fef3c7; color: #92400e; }

.cta-box { background: #f0f7ff; border: 2px solid #bfdbfe; border-radius: 12px; padding: 24px; text-align: center; }
.cta-box__text { font-size: 0.8125rem; color: #475569; margin-bottom: 16px; line-height: 1.7; }
.cta-box__btn { display: inline-block; width: 100%; padding: 16px 24px; background: #2563eb; color: #fff; text-decoration: none; border-radius: 10px; font-size: 1rem; font-weight: 700; transition: background 0.2s, transform 0.15s; letter-spacing: 0.02em; }
.cta-box__btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.cta-box__note { font-size: 0.6875rem; color: #94a3b8; margin-top: 10px; }

.alt-notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 16px; margin-bottom: 20px; font-size: 0.8125rem; color: #92400e; line-height: 1.7; }
.alt-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; margin-bottom: 12px; }
.alt-card__name { font-size: 0.875rem; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.alt-card__desc { font-size: 0.8125rem; color: #64748b; margin-bottom: 10px; line-height: 1.6; }
.alt-card__link { display: inline-block; font-size: 0.8125rem; color: #2563eb; text-decoration: none; font-weight: 500; }
.alt-card__link:hover { text-decoration: underline; }

.lp-footer { background: #1e293b; padding: 32px 0; }
.lp-footer__content { font-size: 0.6875rem; color: #94a3b8; line-height: 1.8; }
.lp-footer__content p { margin-bottom: 12px; }
.lp-footer__content a { color: #93c5fd; text-decoration: none; }
.lp-footer__content a:hover { text-decoration: underline; }
.lp-footer__links { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #334155; }
.lp-footer__copyright { margin-top: 16px; padding-top: 16px; border-top: 1px solid #334155; font-size: 0.625rem; color: #64748b; }

@media (max-width: 480px) {
  .hero { padding: 36px 0 32px; }
  .hero__title { font-size: 1.25rem; }
  .hero__subtitle { font-size: 0.8125rem; }
  .trust-bar__list { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .trust-bar__item { font-size: 0.75rem; }
  .simulator__card { padding: 24px 18px 28px; }
  .slider-value { font-size: 1.5rem; }
  .compare-table { font-size: 0.6875rem; }
  .compare-table th, .compare-table td { padding: 8px 4px; }
  .result-card { padding: 24px 18px; }
}
