/*
Theme Name:rebirth_free001-child
Template:rebirth_free001
*/

/*　ここに子テーマ独自のスタイルを書きます　*/
.article-body table {
  width: 100%;
}

h1.title.rich_font {
  font-size: 140% !important;
}

.contents-table__title {
  width: calc(320 / 980 * 100%);
  text-align: left;
  padding-top: 30px;
  padding-left: 40px !important;
  padding-right: 10px;
  border: solid 1px #d7d7d7;
  background-color: #f3f4f5;
  font-weight: bold;
  line-height: 2;
  letter-spacing: 0.05em;
  vertical-align: top;
}

.contents-table__title {
  padding-left: 40px;
  text-align: left;
}

.contents-table__text {
  border: solid 1px #d7d7d7;
  padding-top: 30px;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 30px;
  line-height: 2;
  letter-spacing: 0.05em;
  clear: both;
}

.contents-table__middle {
  vertical-align: middle;
}

.contents-table__text input[type='text'] {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 820px) {
  .contents-table__text input[type='text'] {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}

.contents-table__text textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 820px) {
  .contents-table__text textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}

.contents-table--contact input[type='text'],
.page-contents .contents-table--contact input[type='email'],
.page-contents .contents-table--contact input[type='tel'],
.page-contents .contents-table--contact textarea {
  background-color: #eee;
  padding: 5px;
  border: none;
  width: 100%;
}

.page-contents .contents-table--contact textarea {
  height: 200px;
}

.contents-table__title--requied::after {
  content: '必須';
  display: inline-block;
  margin-left: 40px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #d00;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: #fff;
}

.contents-table__title--corporation::after {
  content: '法人の方';
  display: inline-block;
  margin-left: 40px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #0010dd;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: #fff;
}

.link-button__submit {
  margin: 0 auto;
  text-align: center;
  margin-top: 40px;
}

.link-button__style--text {
  padding: 20px 80px;
  /*background: #004EA2;*/
  color: #fff;
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 1.5;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
}

p.ltxt {
  font-size: 0.75em;
}

.blu {
  padding: 10px;
  margin-left: 20px;
  background-color: #34a853;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #fff;
}

@media screen and (max-width: 767px) {

  .contents-table--contact,
  .contents-table--contact tr,
  .contents-table--contact th,
  .contents-table--contact td {
    width: 100%;
    display: block;
    font-size: 16px !important;
  }

  .contents-table--contact th,
  .contents-table--contact td {
    padding: 14px;
  }

  .link-button__style--text {
    padding: 20px 60px;
  }


}

/*　よくある質問　*/

.aka {
  font-weight: bold;
  color: red;
}

.car-c {
  background: red;
  color: #fff;
  padding: 10px;
  font-size: 0.75em;
}

.qa-6 {
  max-width: 100%;
  margin-bottom: 5px;
  border-bottom: 2px solid #d6dde3;
}

.qa-6 summary {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を削除 */
    appearance: none; /* ブラウザ固有の矢印を無効化 */
    -webkit-appearance: none; /* Safari用 */
}


.qa-6 summary::before {
  color: #75bbff;
  content: "Q";
}

.qa-6 summary::before,
.qa-6 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-6[open] summary::after {
  transform: rotate(225deg);
}



.qa-6 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
  transform: none;
  opacity: 1;
}

.qa-6 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

summary {
  display: block;
  list-style: none;
}


/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display:none;
}


.footer_menu_wrap {
    padding-right: 5px!important;
}

.post_content p {
    line-height: 1.5!important;
}