/* ============================================
   Water Service Change - CSS
   ============================================ */

/* 全体 */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px;
  color: #222;
  background-color: #fff;
}

/* 見出し */
h1 {
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #666;
  padding-bottom: 5px;
}

h2 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 5px solid #666;
  padding-left: 10px;
}

/* セクション */
section {
  margin-bottom: 20px;
}

/* 入力欄 */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="date"],
select {
  display: block;
  width: 100%;
  max-width: 600px;
  padding: 6px;
  margin: 5px 0 10px 0;
  font-size: 14px;
  box-sizing: border-box;
}

/* 郵便番号など小さい入力 */
input[size="3"],
input[size="4"] {
  display: inline-block;
  width: auto;
}

/* ラジオ・チェック */
input[type="radio"],
input[type="checkbox"] {
  margin-right: 5px;
}

label {
  margin-right: 15px;
}

/* 横並び用 */
.inline label {
  margin-right: 20px;
}

/* 注意文 */
.notice {
  background: #f5f5f5;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ボタン */
button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #0066cc;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* スマホ対応 */
@media (max-width: 600px) {
  body {
    margin: 10px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 16px;
  }
}
/* ============================================
   追記：スマホ入力しやすさ・リッチUI強化
   既存CSSは変更しないこと
   ============================================ */

/* カード風UI（sectionをカード化） */
section.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 見出しを少しリッチに */
section.card h2 {
  border-left: 5px solid #2563eb;
  padding-left: 10px;
  margin-top: 0;
  margin-bottom: 10px;
}

/* 入力欄をスマホ向けに大きく */
section.card input,
section.card select {
  font-size: 16px;        /* ← iOSズーム防止 */
  padding: 12px;
  border-radius: 10px;
}

/* ラジオボタンを縦並び・タップしやすく */
.radio-group label {
  display: block;
  padding: 8px 0;
  font-size: 16px;
}

/* メイン送信ボタン */
.main-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  border-radius: 14px;
  background-color: #2563eb;
  color: #ffffff;
}

/* サブボタン（コピーなど） */
.sub-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: #e5e7eb;
  color: #111;
}

/* 郵便番号横並び */
.zip-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zip-row input {
  flex: 1;
}

.zip-btn {
  padding: 10px;
  font-size: 14px;
}

/* 非表示制御（JS用） */
.hidden {
  display: none !important;
}

/* スマホ時の余白最適化 */
@media (max-width: 600px) {
  body {
    margin: 10px;
  }

  section.card {
    padding: 14px;
  }
}

/* 注意事項表示（中央・赤文字） */
.notice-card {
  text-align: center;
}

.notice-text {
  color: #cc0000;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.notice-check {
  font-size: 15px;
}