@charset "utf-8";

/* ==========================================================================
  Reset / Normalize
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  color: #222;
  font-family: "Roboto Serif", "Noto Serif JP", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08rem;
  text-rendering: optimizeSpeed;
}

main {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"],
.list_none {
  list-style: none;
}

a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ==========================================================================
  Base
========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

p,
li,
dt,
dd {
  line-height: 1.7;
}

a,
.btn {
  transition: color .3s ease, background-color .3s ease, background-image .3s ease, border-color .3s ease, opacity .3s ease;
}

a.btn {
  text-decoration: none;
}

/* ==========================================================================
  Utilities
========================================================================== */
.contents__inner {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.flex {
  display: flex;
}

.flex_wrap {
  flex-wrap: wrap;
}

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

.flex_jc_c {
  justify-content: center;
}

.flex_ai_c {
  align-items: center;
}

.flex_ai_fe {
  align-items: flex-end;
}

.flex_ai_s {
  align-items: stretch;
}

.pc_none {
  display: none;
}

@media (max-width: 767px) {
  .contents__inner {
    width: min(100% - 48px, 1280px);
  }

  .pc_none {
    display: block;
  }

  .sp_none {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
