@charset "UTF-8";

/*
 * 幅定義
 *
 */

/*
 * 色定義
 *
 */

/**
 * フォームレイアウト
 * - 全体
 */

input[type=text] {
  border: 1px solid #CCCCCC;
  padding: 10px 2%;
}

input[type=checkbox],
input[type=radio] {
  position: relative;
  top: 2px;
}

input[type=text].has_error,
select.has_error,
textarea.has_error {
  border: 1px solid #E50012;
}

label {
  margin-right: 5px;
}

textarea {
  width: 98%;
  height: 100px;
  padding: 1%;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  padding: 1em 1em;
  box-sizing: border-box;
  font-size: 1em;
  border: #ccc 1px solid;
  border-radius: 0;
  background: #fff;
}

.selectbox {
  width: 60%;
  position: relative;
}

.selectbox::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 5%;
  top: 35%;
  border-bottom: #333 2px solid;
  border-right: #333 2px solid;
  transform: rotate(45deg) translateY(-30%);
}

.b-errorMsg {
  background: #fdd;
  border: 1px solid #E50012;
  padding: 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #E50012;
  font-weight: 700;
}

.inline-radio {
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #CCCCCC;
  width: 90%;
  margin-bottom: 20px;
}

.inline-radio div {
  position: relative;
  flex: 1;
}

.inline-radio div > input {
  width: 100%;
  height: 20px;
  opacity: 0;
}

.inline-radio div > label {
  position: absolute;
  top: 0;
  left: 0;
  color: #b6b6b6;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-right: 1px solid #E6E6E6;
}

.inline-radio div:last-child label {
  border-right: 0;
}

.inline-radio input:checked + label {
  background: #F2F1EC;
  font-weight: 500;
  color: #000;
}

/* 元々のチェックボックス（非表示） */

.mycheckbox input[type=checkbox] {
  display: none;
  /* チェックボックスの代わりを成すラベル */
  /* チェックが入った時のレ点 */
}

.mycheckbox input[type=checkbox] + label {
  display: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 25px;
  padding-right: 10px;
  margin: 6px 0;
  /* ラベルの左に表示させる正方形のボックス□ */
}

.mycheckbox input[type=checkbox] + label::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  left: 0;
  top: 50%;
  border: 1px solid;
  border-color: #ccc;
  /* 枠の色変更 お好きな色を */
  background-color: #FFF;
  /* 背景の色変更 お好きな色を */
}

.mycheckbox input[type=checkbox]:checked + label::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 9px;
  margin-top: -9px;
  top: 50%;
  left: 3px;
  transform: rotate(-45deg);
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-color: #E50012;
  /* チェックの色変更 お好きな色を */
}

/**
 * スマホレスポンシブ対応
 */

@media screen and (max-width: 750px) {
  .inline-radio {
    width: 100%;
  }

  .mycheckbox input[type=checkbox] {
    /* チェックボックスの代わりを成すラベル */
    /* チェックが入った時のレ点 */
  }

  .mycheckbox input[type=checkbox] + label {
    padding-left: 40px;
    padding-right: 17px;
    margin: 8px 5px;
    font-size: 18px;
    /* ラベルの左に表示させる正方形のボックス□ */
  }

  .mycheckbox input[type=checkbox] + label::before {
    width: 30px;
    height: 30px;
    margin-top: -17px;
  }

  .mycheckbox input[type=checkbox]:checked + label::after {
    width: 23px;
    height: 14px;
    margin-top: -14px;
    top: 50%;
    left: 5px;
  }

  .inline-radio .font-small {
    font-size: 14px;
  }

  .inline-radio div > input {
    height: 40px;
  }

  textarea {
    font-size: 18px;
  }
}

._full-width {
  width: 96%;
}

._width100 {
  width: 100%;
}

._width65 {
  width: 65%;
}

._width55 {
  width: 55%;
}

._width45 {
  width: 45%;
}

._width35 {
  width: 35%;
}

._width20 {
  width: 20%;
}

._width15 {
  width: 15%;
}

._width10 {
  width: 10%;
}

/**
 * お問い合わせ関連 レイアウト
 * - 全体
 */

section {
  margin: 30px 0;
  overflow: hidden;
}

section .b-contentsTitle {
  padding: 10px 20px;
  background-color: #ff5764;
  color: #FFF;
  margin-bottom: 20px;
}

/**
 * タブレイアウト
 */

.b-tabStatus {
  display: flex;
  margin-bottom: 20px;
}

.b-tabStatus--item {
  width: 250px;
  padding: 10px 0;
  text-align: center;
  border: 2px solid #E6E6E6;
  background-color: #F2F2F2;
  margin-right: 20px;
}

.b-tabStatus--item:last-child {
  margin-right: 0;
}

.b-tabStatus--item.ac {
  border: 2px solid #f5cfd7;
  background-color: #fef2f2;
}

/**
 * フォームメッセージ
 */

.b-contactMsg {
  margin-bottom: 20px;
}

.b-contactMsg p {
  font-size: 14px;
}

.b-contactMsg img {
  margin: 7px 0;
}

.b-contactMsg b {
  display: block;
}

.b-contactMsg b span {
  display: inline-block;
  font-size: 28px;
  color: #E50012;
  margin: 0 6px;
}

.b-requireMsg {
  font-size: 14px;
  color: #E50012;
  font-weight: bold;
}

.b-requireMsg span {
  font-weight: normal;
}

/**
 * テーブルレイアウト
 */

.table-listPt1 {
  width: 100%;
  border-top: 1px solid #E6E6E6;
  border-left: 1px solid #E6E6E6;
}

.table-listPt1 th {
  width: 260px;
  vertical-align: middle;
  padding: 17px 10px;
  background-color: #F2F2F2;
  border-bottom: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
  font-size: 14px;
}

.table-listPt1 th span {
  display: inline-block;
}

.table-listPt1 th span:first-child {
  float: left;
  padding-top: 2px;
}

.table-listPt1 th span:last-child {
  float: right;
  padding: 2px 5px;
  color: #FFF;
}

.table-listPt1 td {
  width: calc(100% - 260px);
  padding: 8px 15px;
  border-bottom: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
  font-size: 14px;
}

.table-listPt1 td > div {
  margin-bottom: 5px;
}

.table-listPt1 td > div:last-child {
  margin-bottom: 0;
}

.hm_birth > div .selectbox,
.b-td-birth .selectbox {
  display: inline-block;
  text-align: center;
}

.hm_birth > div .selectbox:after,
.b-td-birth .selectbox:after {
  right: 10%;
}

.b-td-cost .selectbox {
  display: inline-block;
  width: 25%;
}

.b-td-cost .selectbox:after {
  right: 10%;
}

.table-listPt1 td.b-td-address {
  padding: 15px;
}

.table-listPt1 td.b-td-address label {
  font-weight: bold;
  margin-bottom: 6px;
}

.table-listPt1 td.b-td-address > div > div {
  margin: 5px 0 10px;
}

.table-listPt1 td.b-td-address .postalcode span {
  display: block;
  margin: 10px 0 0 15px;
}

.table-listPt1 td.b-td-address .postalcode span.example a {
  text-decoration: underline;
  font-weight: bold;
  color: #1D3992;
}

.table-listPt1 td.b-td-address .postalcode span.example a i {
  margin-right: 7px;
}

.table-listPt1 td.b-td-address button {
  background: #FFF;
  text-align: center;
  color: #E50012;
  transition: 0.3s;
  border: 1px solid #E50012;
  border-radius: 3px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding: 5px 10px;
}

.table-listPt1 td.b-td-address button:hover {
  background: #E50012;
  color: #FFF;
}

.table-listPt1 td.b-td-home_mate {
  padding: 15px;
}

.table-listPt1 td.b-td-home_mate label {
  font-weight: bold;
  margin-bottom: 6px;
}

.table-listPt1 td.b-td-home_mate > div > div {
  margin: 5px 0 10px;
}

/**
 * 注意書きメッセージ
 */

.b-attention {
  margin: 15px 0;
  text-align: center;
}

.b-attention p {
  margin-bottom: 15px;
}

.b-attention a {
  color: #000;
  text-decoration: underline;
}

/**
 * ボタン関連
 */

.btn-submit {
  text-align: center;
  position: relative;
  margin: 15px 0;
}

.btn-submit input {
  outline: none;
  border-radius: 5px;
  text-align: center;
  border: none;
}

.btn-submit input:disabled {
  opacity: 0.5 !important;
  filter: alpha(opacity=50);
}

.btn-submit input:disabled:hover {
  opacity: 1;
}

.btn-submit ._primary {
  background-color: #E50012;
  color: #FFF;
  width: 300px;
  font-size: 14px;
  padding: 40px 0;
}

.btn-submit ._cream {
  background-color: #CCCCCC;
  width: 200px;
  padding: 20px 0;
  position: absolute;
  top: 30px;
  left: 100px;
}

/**
 * 完了画面のレイアウト
 */

.l-contactThanks .b-thanks {
  text-align: center;
  margin-bottom: 50px;
}

.l-contactThanks .b-thanks p {
  font-size: 18px;
}

.l-contactThanks .b-thanks--msg {
  display: inline-block;
  font-size: 25px;
  margin: 40px 0 20px;
}

.l-contactThanks .b-thanks--msg:after {
  content: "";
  display: block;
  background: #E50012 no-repeat center center;
  width: 100px;
  margin: 10px auto 0;
  height: 2px;
}

.l-contactThanks .btn-top {
  text-align: center;
}

.l-contactThanks .btn-top a {
  display: inline-block;
  background-color: #E50012;
  color: #FFF;
  width: 240px;
  font-size: 16px;
  padding: 20px 0;
  border-radius: 5px;
}

/**
 * スマホレスポンシブ対応
 */

@media screen and (max-width: 750px) {
  /**
   * タブレイアウト
   */

  .b-tabStatus {
    width: 100%;
  }

  .b-tabStatus--item {
    width: 32%;
    margin-right: 2%;
  }

  /**
   * テーブルレイアウト
   */

  .table-listPt1 th {
    display: block;
    width: auto;
    padding: 2%;
    border-top: 1px solid #E6E6E6;
    font-size: 16px;
  }

  .table-listPt1 td {
    display: block;
    width: auto;
    padding: 2%;
    border-bottom: none;
    font-size: 16px;
  }

  .table-listPt1 td input[type=text] {
    width: 96%;
    font-size: 16px;
  }

  .table-listPt1 .b-td-tel input[type=text] {
    width: 15%;
  }

  .table-listPt1 .b-td-address .postalcode input[type=text] {
    width: 20%;
  }

  .table-listPt1 tr:first-child th {
    border-top: none;
  }

  .table-listPt1 tr:last-child td {
    border-bottom: 1px solid #E6E6E6;
  }

  .b-td-home_mate .hm_birth .selectbox,
  .b-td-birth .selectbox {
    width: 25%;
  }

  .b-td-cost .selectbox {
    width: 50%;
  }

  .l-contactConfirm .table-listPt1 td {
    height: 42px;
  }

  .l-contactThanks .b-thanks--msg {
    font-size: 22px;
  }

  /**
   * 注意書きメッセージ
   */

  .b-attention {
    text-align: left;
  }

  .b-attention p {
    font-size: 16px;
  }

  /**
   * ボタン関連
   */

  .btn-submit ._primary {
    width: 100%;
    font-size: 20px;
    padding: 30px 0;
  }

  .btn-submit ._cream {
    position: relative;
    width: 100%;
    font-size: 20px;
    padding: 30px 0;
    top: 0;
    left: 0;
    margin-bottom: 20px;
  }
}

