@charset "UTF-8";

/*
ページ内滑らかなスクロール
*/
html {scroll-behavior: smooth;}

/*
FAQ TOP5用デザイン
*/
main .top-faq__design .faq-child {
  background: #E7EFF5;
  margin: auto auto 16px auto;
  max-width: 1200px;
  padding: 15px 0 18px 24px;
  width: 100%;
}

/*
規約用デザイン
*/
main .static p.term-bold {
  font-weight: bold;
}

main .static ol.list-num-common {
  list-style: none;
  padding-left: 30px;
  padding-top: 5px;
  position: relative;
}
main .static ol.list-num-common  li {
  zoom: 1;
  clear: both;
  margin-bottom: 0.5em;
  padding-top: 2px;
  position: relative;
  padding-left: 0.5em;
}
main .static ol.list-num-common  li span {
  position: absolute;
  left: 0;
  transform: translateX(-100%);
  text-align: right;
  white-space: nowrap;
}
main .static table.term-table {
    border-collapse: inherit;
    margin: auto;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    border-spacing: initial;
    width: 100%;
    overflow: hidden;
}

.c-list-hyphen {
  margin: 16px 0 16px 0.5em;
}
.c-list-hyphen li {
  margin-left: 1em;
  text-indent: -1em;
}
.c-list-hyphen li::before {
  content: "- ";
}

main #ot-sdk-btn.custom-open-settings {
    border-color: #007ac5;
    background-color: #007ac5;
    margin-left: 1em;"
}
main #ot-sdk-btn.custom-open-settings:hover {
    border-color: #007ac5;
    background-color: #007ac5;
}

main #ot-sdk-btn.custom-open-settings {
    color: #fff;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    padding: .8em 2em;
    font-size: .8em;
    line-height: 1.2;
    cursor: pointer;
    -moz-transition: .1s ease;
    -o-transition: .1s ease;
    -webkit-transition: 1s ease;
    transition: .1s ease;
}

/* -----------------
  PC・SP：terms table 
 ----------------- */
.terms-table-wrapper {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
}

.terms-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;  color: #333;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  overflow: hidden;
  /* 列幅のデフォルト（col-xxにて指定可） */
  --col1: auto;
  --col2: auto;
  --col3: auto;
  --col4: auto;
  --col5: auto;
  --col6: auto;
}

.terms-table thead th:nth-child(1),
.terms-table tbody td:nth-child(1) { width: var(--col1); }

.terms-table thead th:nth-child(2),
.terms-table tbody td:nth-child(2) { width: var(--col2); }

.terms-table thead th:nth-child(3),
.terms-table tbody td:nth-child(3) { width: var(--col3); }

.terms-table thead th:nth-child(4),
.terms-table tbody td:nth-child(4) { width: var(--col4); }

.terms-table thead th:nth-child(5),
.terms-table tbody td:nth-child(5) { width: var(--col5); }

.terms-table thead th:nth-child(6),
.terms-table tbody td:nth-child(6) { width: var(--col6); }

/* table列幅の指定 start */
.col-15-15-10-40-20 {
  --col1: 15%;
  --col2: 15%;
  --col3: 10%;
  --col4: 40%;
  --col5: 20%;
}

.col-30-40-30 {
  --col1: 30%;
  --col2: 40%;
  --col3: 30%;
}

.col-16-16-8-30-30 {
  --col1: 16%;
  --col2: 16%;
  --col3: 8%;
  --col4: 30%;
  --col5: 30%;
}

.col-30-40-30 {
  --col1: 30%;
  --col2: 40%;
  --col3: 30%;
}

.col-10-20-20-25-25 {
  --col1: 10%;
  --col2: 20%;
  --col3: 20%;
  --col4: 25%;
  --col5: 25%;
}
/* table列幅の指定 end */

.terms-table thead th {
  background-color: #f5f5f5;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
}

.terms-table thead th:last-child {
  border-right: none;
}

.terms-table tbody td {
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  padding: 12px 10px;
  background-color: #fff;
  vertical-align: top;
}

.terms-table tbody td:last-child {
  border-right: none;
}

.terms-table tbody tr:last-child td {
  border-bottom: none;
}

.sp-only {
  display: none;
}

/* -----------------
  SP：terms table 
 ----------------- */
@media screen and (max-width: 768px) {
  .terms-table thead {
    display: none;
  }

  .terms-table tbody tr {
    display: table-row;
  }

  .terms-table tbody td {
    display: block;
    width: 100%;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 12px 15px;
  }

  .terms-table thead th,
  .terms-table tbody td {
    width: 100% !important;
  }

  .terms-table tbody tr:last-child td {
    border-bottom: 1px solid #dcdcdc !important;
  }

  .terms-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
  }

  .sp-only {
    display: block;
  }

}


