@charset "utf-8";

/* ----------------------------------------------------------
    ベース・リセット
------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  background-color: #f5f5f3;
}

/* ----------------------------------------------------------
    メインコンテナ
------------------------------------------------------------- */

#wrapper {
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
  padding: 48px 44px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#main {
  padding: 0;
}

/* フォームタイトル */
.section__ttl {
  font-size: 19px;
  font-weight: 600;
  color: #00153a;
  margin-bottom: 32px;
  padding: 0 0 12px 0;
  border-bottom: 1px solid #00153a;
  letter-spacing: 0.03em;
  text-align: left;
}

/* 説明文 */
#txt_explain {
  margin-bottom: 28px;
  color: #000000;
  font-size: 14px;
  line-height: 1.7;
}

/* プライバシーポリシーのリンク色 */
#txt_explain a {
  color: #00153a;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
}

/* エラーメッセージ */
.red_txt {
  color: #b00020;
  font-size: 13px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
    フォームテーブル
------------------------------------------------------------- */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.table th,
.table td {
  padding: 14px 0;
  border-bottom: 1px solid #ebebeb;
  text-align: left;
  display: block;
  width: 100%;
}

.table th {
  color: #00153a;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding-bottom: 6px;
  border-bottom: none;
}

/* 入力フィールド */
input[type=text],
input[type=password],
input[type=email],
textarea,
select {
  width: 100% !important;
  padding: 9px 11px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #333333;
  transition: border-color 0.15s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #00153a;
  background: #fff;
}

/* ----------------------------------------------------------
    ボタン・リンク
------------------------------------------------------------- */
.button_box {
  margin-top: 32px;
  text-align: center;
}

/* 確認・送信ボタン */
input[type=submit] {
  -webkit-appearance: none;
  background: #00153a;
  color: #fff;
  border: none;
  padding: 13px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  max-width: 280px;
}

input[type=submit]:hover {
  background: #002060;
}

/* 戻るボタン */
input[type=submit].btn-back {
  background: #fff;
  color: #555;
  border: 1px solid #bbb;
}

input[type=submit].btn-back:hover {
  background: #f0f0f0;
  border-color: #999;
}

/* サイトへ戻るリンク */
.button_box a {
  display: inline-block;
  margin-top: 20px;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.button_box a:hover {
  color: #00153a;
  border-bottom-color: #00153a;
}

/* ----------------------------------------------------------
    レスポンシブ
------------------------------------------------------------- */
@media (max-width: 599px) {
  #wrapper {
    padding: 32px 24px;
  }
}