@charset "utf-8";
/**
 * Base Styles
 *
 * リセット + 要素レベルのデフォルトスタイルを定義します。
 * クラスは使わず、HTML要素セレクタのみで構成します。
 * tokens.css の変数に依存します。
 *
 * @package LivalestCo
 */

/* -------------------------------------------------------
 * Reset
 * ------------------------------------------------------- */

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

html {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  scroll-behavior: smooth;
}

/* -------------------------------------------------------
 * Body
 * ------------------------------------------------------- */

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-base);
  background-color: var(--color-bg);
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
}

/* -------------------------------------------------------
 * Headings
 * ------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }


/* -------------------------------------------------------
 * Paragraph
 * ------------------------------------------------------- */

p {
  margin: 0;
}

p + p {
  margin-top: var(--space-4);
}

/* -------------------------------------------------------
 * Links
 * ------------------------------------------------------- */

a {
  color: inherit;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

a:hover {
  text-decoration: none;
}

/* -------------------------------------------------------
 * Images
 * ------------------------------------------------------- */

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* -------------------------------------------------------
 * Lists
 * ------------------------------------------------------- */

ul, ol {
  list-style: none;
}

/* -------------------------------------------------------
 * Buttons
 * ------------------------------------------------------- */

button {
  font-family: var(--font-base);
  font-size: inherit;
  position: relative;
  display: inline-block;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  text-decoration: none;
}

/* -------------------------------------------------------
 * Form elements
 * ------------------------------------------------------- */

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* -------------------------------------------------------
 * Table
 * ------------------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th, td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: var(--font-weight-bold);
}

/* -------------------------------------------------------
 * Horizontal rule
 * ------------------------------------------------------- */

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

/* -------------------------------------------------------
 * Blockquote
 * ------------------------------------------------------- */

blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
  background-color: rgba(var(--color-bg-rgb), 0.6);
  color: var(--color-text);
}

/* -------------------------------------------------------
 * Details / Summary
 * ------------------------------------------------------- */

summary::-webkit-details-marker {
  display: none;
}

summary {
  cursor: pointer;
}

/* -------------------------------------------------------
 * Scrollbar
 * ------------------------------------------------------- */

::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track { background: #ccc; }
::-webkit-scrollbar-thumb { background: #444; border-radius: var(--radius-md); }

/* -------------------------------------------------------
 * Selection
 * ------------------------------------------------------- */

::selection {
  background-color: rgba(var(--color-accent-rgb), 0.2);
  color: var(--color-text);
}

/* -------------------------------------------------------
 * Accessibility
 * ------------------------------------------------------- */

.visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* -------------------------------------------------------
 * Utility (旧テーマ互換)
 * ------------------------------------------------------- */

.flex {
  display: flex;
  flex-wrap: wrap;
}

.relative { position: relative; }
.center { text-align: center; }
.bold { font-weight: var(--font-weight-black); }
.uppercase { text-transform: uppercase; }
.nowrap { display: inline-block; white-space: nowrap; }
.text-block { display: inline-block; }
.sp { display: none; }

@media (max-width: 480px) {
  .sp { display: block; }
  .pcbr { display: none; }
}

