@charset "utf-8";
/* 必ず1行目 */

/*
Theme Name: brtpath
Theme URI: https://brtpath.com/
Author: 株式会社BRIGHTPATH
Author URI: https://brtpath.com/
Description: 自社サイト用オリジナルテーマ
Version: 1.0
*/



/*====================================
プライバシーポリシーの設定
===================================*/
.privacy-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

#privacy,
#site-terms,
#service-terms,
#legal-notice,
#cookie {
  margin-bottom: 15rem;
}

.privacy-mg {
  margin-bottom: 2rem;
}

.heading-mark {
  font-weight: 500;
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
  margin-bottom: 3rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.privacy-container h3 {
  color: var(--main-color);
}

.privacy-title {
  font-weight: 500;
  line-height: 2;
}

.privacy-note {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.privacy-note a {
  color: var(--title-txt-color);
  text-decoration: underline;
}

/* 切り替えタブ */
.privacy-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 8rem;
}

.tab-btn {
  padding: 2rem 3rem;
  background: #fff;
  border: 1px solid #ddd;
  border-right: none;
  cursor: pointer;
  font-size: clamp(1.4rem, 2vw, 1.5rem);
  transition: 0.2s ease;
}

.tab-btn:last-child {
  border-right: 1px solid #ddd;
}

.tab-btn:hover {
  background: #f3f3f3;
}

/* アクティブ */
.tab-btn.active {
  background: var(--accent-color);
  font-weight: 500;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 特定商取引 */
.privacy-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  position: relative;
}

.privacy-table th,
.privacy-table td {
  position: relative;
  text-align: left;
}

.privacy-table th {
  padding: 2rem;
  width: 25%;
  font-weight: 500;
}

.privacy-table td {
  padding: 2rem 3rem;
}

.privacy-table th::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: var(--accent-color);
}

.privacy-table td::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #ccc;
}

.privacy-table ul li {
  list-style: inside;
}



@media (min-width: 768px) and (max-width: 1089px) {
  .privacy-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 5rem;
  }

  .tab-btn:nth-child(1n) {
    border-right: none;
    border-bottom: none;
  }

  .tab-btn:nth-child(2n) {
    border-right: 1px solid #ddd;
    border-bottom: none;
  }

  .tab-btn:nth-of-type(4) {
    border-bottom: 1px solid #ddd;
  }

  .tab-btn:last-child {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

}


@media (max-width: 767px) {
  .privacy-container {
    width: 85%;
  }

  .privacy-item-mg {
    margin: 0 0 5rem;
  }

  #privacy,
  #site-terms,
  #service-terms,
  #legal-notice,
  #cookie {
    margin-bottom: 5rem;
  }

  .privacy-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 5rem;
  }

  .tab-btn {
    width: 50%;
    border-right: 1px solid #ddd;
    border-bottom: none;
    box-sizing: border-box;
    padding: 1.8rem .5rem;
  }

  .tab-btn:nth-child(1n) {
    border-right: none;
  }

  .tab-btn:nth-child(2n) {
    border-right: 1px solid #ddd;
  }

  .tab-btn:nth-of-type(4) {
    border-bottom: 1px solid #ddd;
    line-height: 1.2;
  }

  .tab-btn:last-child {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .tab-btn:nth-of-type(3),
  .tab-btn:nth-of-type(4) {
    padding: 1.5rem .5rem;
  }

  .privacy-table,
  .privacy-table tbody,
  .privacy-table tr {
    display: block;
    width: 100%;
  }

  .privacy-table th,
  .privacy-table td {
    display: block;
    width: 100%;
  }

  /* PC用のth幅を無効化 */
  .privacy-table th {
    width: 100%;
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .privacy-table td {
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .privacy-table th::after {
    display: none;
  }

}