/* プライバシーポリシーのページ（紹介ページと同じ色・書体） */

:root {
  --ink: #4A3B45;
  --sub: #6E5C68;
  --paper: #FFF6F2;
  --card: #FFFFFF;
  --accent: #C2476D;
  --mint: #5FB894;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.policy {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Zen Maru Gothic', 'Nunito', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.policy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.policy__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;

  & img {
    border-radius: 11px;
  }

  & b {
    font-family: 'Nunito', 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .06em;
  }

  & em {
    font-style: normal;
    color: var(--mint);
  }
}

.policy__lang {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 3px 0 rgba(74, 59, 69, .08);
}

.policy__lang-btn {
  min-height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--sub);
  font-family: 'Nunito', 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  cursor: pointer;

  &[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
  }
}

.policy__body {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 40px 40px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 8px 0 rgba(74, 59, 69, .06);
  font-size: .9375rem;
  line-height: 1.9;

  & h2 {
    margin: 32px 0 8px;
    font-family: 'Nunito', 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
  }

  & p,
  & ul {
    margin: 0 0 8px;
    color: var(--sub);
  }

  & ul {
    padding-left: 1.4em;
  }

  & a {
    color: var(--accent);
  }
}

.policy__title {
  margin: 0;
  font-family: 'Nunito', 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: .04em;
}

.policy__date {
  margin-bottom: 24px !important;
  font-size: .8125rem;
}

.policy__foot {
  padding: 32px 16px 56px;
  text-align: center;
}

.policy__back {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: 'Nunito', 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 #9A3655;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .policy__body {
    padding: 24px 20px 32px;
    border-radius: 24px;
  }

  .policy__title {
    font-size: 1.5rem;
  }
}
