@charset "UTF-8";

.table_form_add{
  width:100%;
  margin:0 0 50px 0;
  padding:0;
  border-collapse: collapse;
  font-size: 14px;
  line-height:2em;
}
.table_form_add th{
  width:25%;
  margin:0;
  padding:30px 0;
  border-bottom:solid 1px #e5e5e5;
  text-align:left;
  vertical-align:middle;
  box-sizing:border-box;
}
.table_form_add td{
  margin:0;
  padding:30px 0;
  border-bottom:solid 1px #e5e5e5;
  box-sizing:border-box;
}
.table_form_add .input_all{
  width:100%;
  margin:0;
  padding:12px 1em;
  box-sizing:border-box;
}
.table_form_add .input_half{
  width:50%;
  margin:0;
  padding:12px 1em;
  box-sizing:border-box;
}
.table_form_add .input_post{
  width:30%;
  margin:0 0 20px;
  padding:12px 1em;
  box-sizing:border-box;
}
.table_form_add .radio{
  margin:0 5px 0 20px;
}
.table_form_add .radio:first-child{
  margin:0 5px 0 0;
}

.table_form_add .cheackbox{
  margin:0 5px 0 20px;
}
.table_form_add .cheackbox:first-child{
  margin:0 5px 0 0;
}
.table_form_add .text{
  width:100%;
  height:200px;
  padding:12px 1em;
}

.table_form_add td span.caution{
  margin:20px 0 10px;
  padding:0;
  font-size: 14px;
  line-height:1.4em;
  color:#cc0000;
  display: block;
}
.table_form_add span.required{
  margin:0 0 0 1em;
  padding:0;
  font-size: 12px;
  line-height:1em;
  color:#cc0000;
}

.btn_table_form_add{
  width:100%;
  margin:0 auto;
  padding:0; 
  font-size: 14px;
  line-height:1em;
  list-style:none;
  text-align:center;
}
.btn_table_form_add li{
  margin:0 15px ;
  padding:0;
  display: inline-block;
}
.btn_table_form_add li input:hover{
  cursor: pointer;
}

.table_form_add_thanks{
  margin:150px auto;
  font-size: 14px;
  line-height:2em;
  text-align:center;
}

.table_form_add input[type="text"],
.table_form_add input[type="email"],
.table_form_add input[type="submit"],
.table_form_add textarea{
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.table_form_add input[type="text"],
.table_form_add input[type="email"],
.table_form_add input[type="submit"],
.table_form_add textarea{
  outline: none;
  border: 1px solid #ccc;
  -webkit-transition: all .3s;
  transition: all 0.5s;
  background-color: #fff;
}
.table_form_add input[type="text"]:focus,
.table_form_add input[type="email"]:focus,
.table_form_add textarea:focus{
  border: 1px solid #23287f;
}


.btn_table_form_add input[type="submit"]{
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.btn_table_form_add input[type="submit"]{
  width: 10em;
  outline: none;
  -webkit-transition: all .3s;
  transition: all 0.5s;
  background-color: #23287f;
  color:#fff;
  padding:5px 1em;
}





/* 完了ページ全体のレイアウト */
.thanks {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* タイトル：ネイビーで信頼感を */
.thanks h1 {
  font-size: 26px;
  color: #d95d61;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

/* タイトルの下の飾り線（キーカラーを使用） */
.thanks h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #d95d61;
}

/* コンテンツを囲むボックス */
.thanks-box {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 50px 30px;
  margin-bottom: 40px;
}

/* メインの御礼メッセージ：キーカラーで明るく */
.thanks-title {
  font-size: 18px !important;
  font-weight: bold;
  color: #d95d61;
  line-height: 1.6;
  margin-bottom: 30px !important;
  padding: 0 !important;
}

/* 補足説明：安心感を与えるテキスト */
.thanks-note {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* トップへ戻るボタン：シンプル＆アイコン付き */
.btn-top {
  display: inline-block;
  background-color: #d95d61; /* ボタンはあえて落ち着いたネイビーに */
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  padding: 16px 50px 16px 70px;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
}

/* ボタンの中の家（ホーム）アイコン */
.btn-top::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.btn-top:hover {
  background-color: #1a1e60;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 40, 127, 0.2);
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .thanks {
    margin: 40px auto;
  }
  .thanks h1 {
    font-size: 22px;
  }
  .thanks-box {
    padding: 30px 15px;
  }
  .table_form_add_thanks {
    font-size: 18px;
  }
  .btn-top {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px 16px 40px;
  }
}


