:root {
  --page-width: 1200px;
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --font-size-root: 16px;
  --font-size-body: 2rem;
  --font-size-body-2: 1.25rem;
  --leading-base: 1.5;
  --color-text: #111;
  --tracking-wide: 0.08em;
  --color-primary: #5bd9ce;
  --color-primary-dark: #08b9aa;
}

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

html {
  font-size: var(--font-size-root);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: noto-sans-jp, sans-serif;
  line-height: var(--leading-base);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: 1rem;
  margin: 0;
}

.page-section {
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-4);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-10 {
  gap: var(--space-10);
}

.gap-12 {
  gap: var(--space-12);
}

.gap-16 {
  gap: var(--space-16);
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-bold {
  font-weight: 700;
}

.text-normal {
  font-weight: 400;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-0 {
  padding-left: var(--space-0);
  padding-right: var(--space-0);
}

.px-6 {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.pb-0 {
  padding-bottom: var(--space-0);
}

.pt-0 {
  padding-top: var(--space-0);
}

.mt-0 {
  margin-top: var(--space-0);
}

.mb-0 {
  margin-bottom: var(--space-0);
}

.space-y-4 > * + * {
  margin-top: var(--space-4);
}

.space-y-6 > * + * {
  margin-top: var(--space-6);
}

.space-y-8 > * + * {
  margin-top: var(--space-8);
}

.space-y-10 > * + * {
  margin-top: var(--space-10);
}

.space-y-12 > * + * {
  margin-top: var(--space-12);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: #f0f0f0;
}

.image-slot--vertical {
  aspect-ratio: 4 / 3;
}

.image-slot--wide {
  aspect-ratio: 5 / 3;
}

.image-slot__label {
  font-size: var(--font-size-caption-2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.image-slot img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex-col {
    flex-direction: column;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:gap-10 {
    gap: var(--space-10);
  }

  .md\:gap-12 {
    gap: var(--space-12);
  }

  .md\:gap-16 {
    gap: var(--space-16);
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:w-2\/5 {
    width: 40%;
  }

  .md\:w-3\/5 {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:gap-16 {
    gap: var(--space-16);
  }

  .lg\:flex-row {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .page-section {
    min-height: auto;
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}
