
/************************************************/
/*        フォームメール用スタイルシート        */
/************************************************/


/* ------ ページ全体 ------ */
body {  
	background-color: #ffffff;  /* 背景色 */
       text-align: center;         /* 配置 */
}

/* ------ リンクの文字色 ------ */
a{  
	color: #ff0000;  /* ←お好みのカラーコード */
}

/* ------ マウスを乗せた時の色 ------ */
a:hover{  
	color: #0000ff;  /* ←お好みのカラーコード */
}

/* ------ タイトル ------ */
.title {
	color: #000000;             /* 文字色 */
	text-align: center;           /* 配置 */
}


/* ------ メッセージ ------ */
.msg_head {
	color: #000000;             /* 文字色 */
	text-align: center;           /* 配置 */
}

.msg_foot {
	color: #000000;             /* 文字色 */
	text-align: center;         /* 配置 */
}


/* ------ テーブル ------ */
table {
	border-style: none;
	width: 80%;
	margin: 20px 10%;
}

table th {                          
	background-color: #cccccc;  /* 背景色 */
	color: #000000;             /* 文字色 */
	text-align: left;           /* 配置 */
	border-style: none;
	white-space: nowrap;
	padding: 5px;
}

table td {
	background-color: #eeeeee;  /* 背景色 */
	color: #000000;             /* 文字色 */
	text-align: left;           /* 配置 */
	border-style: none;
	white-space: nowrap;
	padding: 5px;
}


/* ------ ボタン ------ */
.submit {
	text-align: center;         /* 配置 */
}
.submit input {
	width: 25%;         /* スマホでは画面幅に合わせる */
　　　 max-width: 70px;    /* PCでの最大横幅 */
       height: 50px;        /* 高さ */
       font-size: 26px;     /* 文字の大きさ */
       cursor: pointer;     /* 指マークにする */
}
/* =========================================
   スマホ対応（画面幅 600px 以下で適用）
========================================= */
@media screen and (max-width: 600px) {

  /* 全体・外枠コンテナの幅や余白をリセット */
  html, body, form, div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body {
    padding: 15px !important;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  /* テーブルとセルをブロック化して左揃えに統一 */
  table, tbody, thead, tr, th, td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    box-sizing: border-box !important;
  }

  /* 項目名（ラベル）の調整 */
  th {
    text-align: left !important;
    padding: 10px 0 6px !important;
    border-bottom: none !important;
  }

  /* 入力欄側のセル調整（左パディングのズレを解消） */
  td {
    text-align: left !important;
    padding: 4px 0 14px !important;
  }

  /* テキスト入力・セレクト・テキストエリアを全幅＆左端に揃える */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  /* ラジオボタン・チェックボックス */
  input[type="radio"],
  input[type="checkbox"] {
    width: auto !important;
    margin: 0 6px 0 0 !important;
    transform: scale(1.2);
  }

  /* ボタン類の調整 */
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 12px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
}