/* ==========================================
 * 一般ユーザー用システム スタイルシート (index.css)
 * ========================================== */

body { font-family: sans-serif; background-color: #f0f4f8; color: #222; padding: 15px; font-size: 16px; line-height: 1.5; margin: 0; }
.container { max-width: 600px; margin: 0 auto; background: #fff; padding: 25px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
h1 { font-size: 22px; text-align: center; color: #2c3e50; padding-bottom: 15px; margin-bottom: 10px; }

.tabs { display: flex; justify-content: center; margin-bottom: 25px; border-bottom: 2px solid #cbd5e1; }
.tab-btn { flex: 1; padding: 15px; font-size: 18px; font-weight: bold; text-align: center; color: #7f8c8d; cursor: pointer; border-bottom: 4px solid transparent; transition: 0.3s; }
.tab-btn.active { color: #3498db; border-bottom: 4px solid #3498db; }

.view-section { display: none; }
.view-section.active { display: block; }

.step-title { font-size: 20px; font-weight: bold; color: #fff; background-color: #2c3e50; padding: 10px 15px; border-radius: 8px; margin: 30px 0 20px 0; }
.form-group { margin-bottom: 25px; background-color: #fafbfc; padding: 15px; border-radius: 8px; border: 1px solid #e1e8ed; }
label.main-label { display: block; font-weight: bold; margin-bottom: 10px; font-size: 18px; color: #1a252f; }
.required { background-color: #e74c3c; color: white; padding: 4px 8px; border-radius: 4px; font-size: 14px; margin-left: 10px; vertical-align: text-bottom; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select { width: 100%; max-width: 100%; padding: 16px; border: 2px solid #cbd5e1; border-radius: 8px; box-sizing: border-box; font-size: 18px; background-color: #fff; }

input[type="date"] { 
  width: 100%; 
  max-width: 100%; 
  padding: 16px 10px;
  border: 2px solid #cbd5e1; 
  border-radius: 8px; 
  box-sizing: border-box; 
  font-size: 16px; 
  background-color: #fff; 
  -webkit-appearance: none; 
  appearance: none; 
  display: block; 
}

input:focus, select:focus { border-color: #3498db; outline: none; box-shadow: 0 0 5px rgba(52, 152, 219, 0.5); }
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 15px; font-size: 18px; padding: 10px 0; }
.radio-group label, .checkbox-group label { display: flex; align-items: center; background-color: #fff; border: 2px solid #cbd5e1; padding: 15px; border-radius: 8px; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { transform: scale(1.5); margin-right: 15px; }
.note { font-size: 14px; color: #555; margin-top: 8px; font-weight: normal; }
.help-text { color: #d35400; font-weight: bold; font-size: 14px; display: block; margin-top: 5px; }

.price-box { background-color: #e8f4fd; border: 3px solid #3498db; border-radius: 12px; padding: 20px; text-align: center; margin: 35px 0; }
.price-box h2 { margin: 0; font-size: 18px; color: #2c3e50; }
.price-box .price { font-size: 34px; font-weight: bold; color: #e74c3c; margin: 15px 0; }
.price-note { font-size: 14px; color: #555; }

button.submit-btn { width: 100%; background-color: #2ecc71; color: white; padding: 20px; border: none; border-radius: 8px; font-size: 22px; font-weight: bold; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: 0.2s; }
button.submit-btn:hover { background-color: #27ae60; transform: translateY(2px); }
button.submit-btn:disabled { background-color: #95a5a6; cursor: not-allowed; }

button.search-btn { width: 100%; background-color: #3498db; color: white; padding: 15px; border: none; border-radius: 8px; font-size: 20px; font-weight: bold; cursor: pointer; margin-top: 10px; }

.time-flex { display: flex; align-items: center; gap: 10px; }
.time-flex span { font-size: 20px; font-weight: bold; }
option:disabled { color: #aaa; background-color: #f1f1f1; }

#completeScreen { display: none; text-align: center; padding: 30px 10px; }
#completeScreen h2 { color: #2ecc71; font-size: 26px; margin-bottom: 20px; }
#completeScreen p { font-size: 18px; margin-bottom: 30px; line-height: 1.6; }
.back-btn { background-color: #3498db; color: white; padding: 15px 30px; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; text-decoration: none; }

.result-card { background-color: #fff; border: 2px solid #3498db; border-radius: 8px; padding: 18px; margin-top: 15px; text-align: left; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.result-card h3 { margin: 0 0 10px 0; font-size: 20px; color: #2c3e50; }
#searchResults { margin-top: 25px; }

.phone-guide-box {
  background-color: #fdf2e9;
  border: 2px dashed #e67e22;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  font-size: 15px;
  color: #d35400;
  line-height: 1.6;
}