@charset "UTF-8";
/* CSS Document */
/* form テーブル
--------------------------*/
.form table {
  width: 100%;
  margin: 0 auto 30px auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5em;
}
.form th, .form td {
  padding: 20px 0px;
  vertical-align: top;
  text-align: left;
}
.form th {
  vertical-align: top;
  font-weight: normal;
  white-space: nowrap;
  padding-right: 40px;
  width: 1px;
}
  .form .check th , .form .check td{
  word-break: break-word;
  overflow-wrap: anywhere;
}
.form .form_attention p{font-size: 13px;margin-top: 50px}
@media screen and (max-width: 600px) {
  .form table {
    text-align: left;
  }
  .form th {
    display: block;
    text-align-last: left;
    padding: 20px 0px 0px 0px;
  }
  .form td {
    display: block;
    padding: 0px 0px 0px 0px;
  }
  .form .check th {
    display: block;
    width: 100%;
    padding: 0px 0px 3px 0px;
  }
  .form .check td {
    display: block;
    padding: 5px 0px 40px 0px;
    border-top: solid 0.5px #625C5A;
  }
}

/* 装飾
------------------------------------------------------*/
/* 共通リセット */
.required {
  color: #C60003
}
.form th span.required {
  display: inline-block;
  font-size: 11px;
  position: relative;
  top: -7px;
  left: 2px
}
input, textarea, button {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}
/* テキスト入力、メール、電話、住所など */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea {
  width: 100%;
  max-width: 600px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
textarea {
  height: 250px
}
/* フォーカス時 */
input:focus, textarea:focus {
  border-color: #F4F4F4;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.3);
  outline: none;
}
/* テキストエリア */
textarea {
  min-height: 120px;
  resize: vertical;
}
//* hidden は非表示（念のため） */
input[type="hidden"] {
  display: none;
}
/* 送信・修正ボタンを横並びに配置 */
.input_btn {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 30px;
}
/* 各 form を適切に並べる */
.input_btn form {
  flex: 1 1 200px; /* 最小200pxで伸縮、横並び */
  max-width: 400px;
}
/* ボタン共通スタイル */
input[type="submit"], button[type="submit"] {
  display: block;
  width: 100%; /* formに合わせて最大化 */
  padding: 12px 0;
  margin: 10px 0;
  background-color: #625C5A;
  border: solid 1px #625C5A;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
/* ホバー時のボタン（共通） */
input[type="submit"]:hover, button[type="submit"]:hover {
  background-color: #fff;
  color: #625C5A;
}
/* 修正ボタン専用スタイル（明るいボタン） */
.correction input[type="submit"], .correction button[type="submit"] {
  background-color: #fff;
  color: #625C5A;
}
/* 修正ボタンのホバー時（色反転） */
.correction input[type="submit"]:hover, .correction button[type="submit"]:hover {
  background-color: #625C5A;
  color: #fff;
}