@charset "utf-8";

/* ==================================================
   1) 全体・リセット設定
   スマホ専用のため、複雑なレイアウトは排除します
================================================== */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* タップ時のハイライトを制御 */
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-color: #fff; 
  color: #333;
  line-height: 2;
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 100%;
  padding: 0 12px;
}

/* ==================================================
   2) ヘッダー
================================================== */
.site-header {
  background-color: #09c;
  padding: 15px 0;
  text-align: center;
}

.brand-title h1 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

/* ==================================================
   3) 注意事項
================================================== */
.notice {
  background-color: #fff;
  border: 1px solid #09c;
  border-radius:10px;
  margin: 15px 0;
  padding: 8px 6px;
}

.notice-title {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  color: #09c;
  text-align:center;
  line-height:1.2em;
}

.notice-list {
  margin: 0;
  padding: 3px 8px;
  font-size: 13px;
  color: #444;
    list-style:none;
}

.magenta {
  color: #d93025;
  font-weight: bold;
}

/* ==================================================
   4) フォーム・セクション構造
================================================== */
.form-card {
  margin-bottom: 40px;
}

.form-section {
  background-color: #fff;
  border: 1px solid #fff;
  margin-top: 20px;
}

.section-title {
  background-color: #0055aa;
  color: #fff;
  margin: 0;
  padding: 12px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.05em;
  border-radius: 10px 10px 0 0;
}

.field {
  background-color:#f0f7ff;
  padding: 6px 12px;
  border: 1px solid #0055aa;
  margin-bottom:15px;
}


/* 項目ラベル */
.label {
  display: block;
  font-weight: bold;
  color: #004488;
  font-size: 15px;
  margin-bottom: 10px; /* 入力欄との間隔を確保 */
}

/* 必須マーク */
.required::after {
  content: "（必須）";
  color: #d93025;
  font-size: 11px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ==================================================
   5) 入力要素 (スマホ最適化)
================================================== */
input[type="text"],
textarea,
select {
  width: 100%;
  font-size: 13px; /* iOSの自動ズーム防止用サイズ */
  padding: 12px;
  border: 1px solid #0055aa;
  border-radius: 0; /* フラットデザインのため角丸なし */
  background-color: #fff;
  color: #333;
  -webkit-appearance: none; /* デフォルトスタイルをリセット */
  appearance: none;
}

/* セレクトボックスの矢印 */
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230055aa'%3E%3Cpath d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
  margin-bottom:10px;
}

/* フォーカス時の強調（視認性向上） */
input:focus, textarea:focus, select:focus {
  outline: 2px solid #0077ee;
  background-color: #fdfdff;
}

.help {
  font-size: 12px;
  color: #007799;
  font-weight: bold;
  margin-top: 8px;
  line-height: 1.4;
}

/* ラジオボタンの押しやすさ向上 */
.radio-row {
  display: flex;
  flex-direction: column; /* スマホでは縦並びの方が押しやすい */
  gap: 12px;
  margin-top: 5px;
}

.radio {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #ccddee;
  background: #f8fbff;
  font-weight: bold;
}

.radio input[type="radio"] {
  width: 24px; /* タップしやすく大きく */
  height: 24px;
  margin-right: 10px;
  accent-color: #0055aa;
}

.radio span {
  font-size: 15px; /* ここを16px〜20px程度で調整してください */
  line-height: 1;  /* 垂直方向のズレを防ぐ */
  color:#333;
  font-weight:normal;
}

textarea {
	line-height:1.5em;
}

/* ハニーポット隠し */
.hp { display: none; }

/* ==================================================
   6) 追加情報の開閉 (Details/Summary)
================================================== */
.details {
	width:100%;
	margin-top:10px;
}

.details-summary {
  list-style: none;
  width:96%;
  background-color: #39C; 
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  margin:0 auto 5px;
  border-radius:10px;
  line-height:1.5em;
}

.details-summary::-webkit-details-marker { display: none; }


/* ==================================================
   7) 送信エリア
================================================== */
.form-actions {
  padding: 10px 12px 0px;
  text-align: center;
}

.action-note {
  font-size: 13px;
  color: #d93025;
  font-weight: bold;
  margin-bottom: 20px;
  background: #fff;
  padding: 10px;
  border: 1px solid #d93025;
}

.btn-primary {
  width: 100%;
  height: 60px; /* 十分な高さ */
  background-color: #0055aa;
  color: #fff;
  border: none;
  border-radius:30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:1.2em;
  padding:0 0 5px;
}

.btn-primary:active {
  background-color: #003366;
}

.tiny {
  font-size: 12px;
  color: #666;
  margin-top: 15px;
}

/* ==================================================
   8) フッター
================================================== */
.site-footer {
  background-color: #09c;
  padding: 20px 0;
  border-top: 1px solid #ccddee;
  text-align: center;
}

.footer-text {
  font-size: 11px;
  color: #fff;
  margin: 0;
}