/* 利用規約・プライバシーポリシー サイドパネル */

/* Vueマウント前は完全に非表示 */
.legal-slide-panel[v-cloak],
.legal-slide-panel__overlay[v-cloak] {
  display: none !important;
}

/* サイドパネル */
.legal-slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  background: #fff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100dvh;
  /* 初期状態: 非表示 & 画面外（右） */
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease-out, visibility 0s 0.3s;
  font-family: 'Noto Sans', 'Noto Sans JP', 'sans-serif', '"游ゴシック体"', 'YuGothic', '"游ゴシック"', '"Yu Gothic"';
}
.legal-slide-panel.is-open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.3s ease-out, visibility 0s 0s;
}

/* ヘッダー */
.legal-slide-panel__header {
  display: flex;
  align-items: center;
  padding: 4px 4px;
  /* border-bottom: 1px solid #f0f0f0;
  background: #fafafa; */
  height: 70px;
  position: relative;
}

.legal-slide-panel__close {
  /* position: absolute;
  left: 8px; */
  padding-left: 8px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: color 0.2s;
  cursor: pointer;
  font-size: 14px;
}
.legal-slide-panel__close:hover {
  color: #000;
}
.legal-slide-panel__close svg {
  width: 24px;
  height: 24px;
  color: #9ca3af;
  margin-top: 1.25px;
}
.legal-slide-panel__close span {
  color: #a8a8a8;
}

.legal-slide-panel__title {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* コンテンツエリア */
.legal-slide-panel__content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.legal-slide-panel__content::-webkit-scrollbar {
  width: 8px;
}
.legal-slide-panel__content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.legal-slide-panel__content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.legal-slide-panel__content::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* オーバーレイ */
.legal-slide-panel__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  /* 初期状態: 非表示 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.legal-slide-panel__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}


/* コンテンツ内スタイル */
.legal-content {
  padding: 18px 25px;
}

.legal-content__title {
  font-size: 23px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 18px 0;
  text-align: center;
}

.legal-content__body {
  font-size: 14px;
  line-height: 1.34;
  color: #535758;
  font-weight: 500;
}

.legal-content__text {
  color: #535758;
}

.legal-content__list {
  padding-left: 23px;
  list-style: disc;
}

.legal-content__list-item {
}

.legal-content__link {
  color: #525252;
  text-decoration: underline;
}
.legal-content__link:hover {
  opacity: 0.8;
}

/* 見出し */
.legal-content__heading {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 24px 0 12px 0;
}
.legal-content__heading:first-of-type {
  margin-top: 16px;
}

/* 表 */
.legal-content__table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}
.legal-content__table th,
.legal-content__table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content__table th {
  background: #f9fafb;
  font-weight: 600;
  width: 40%;
}
.legal-content__table td {
  background: #fff;
}
.legal-content__table a {
  color: #525252;
  text-decoration: underline;
  word-break: break-all;
}
.legal-content__table a:hover {
  opacity: 0.8;
}
