:root {
  --gap: 16px;
  --gap-lg: 16px;
  --bg-pink: #fdeefe;
  --panel: #fff;
  --text: #1A1A1A;
  --textlink: #D387EE;
  --status: #727272;
}
@media (min-width: 768px) {
  :root {
    --gap: 16px;
    --gap-lg: 32px;
  }
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg-pink);
}

a {
  color: var(--textlink);
}

/* header */
.scratch-header {
  padding: 10px 20px;
  background: #191919;
}
.scratch-header img {
  max-width: 130px;
  height: auto;
}
@media (min-width: 768px) {
  .scratch-header img {
    max-width: 170px;
  }
}

/*layout*/
.box {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--gap-lg);
}

.notice {
  background: var(--panel);
  text-align: center;
  line-height: 1.7;
}

.notice strong {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: block;
  font-weight: normal;
}
@media (min-width: 768px) {
  .notice strong {
    font-size: 1.5rem;
  }
}

.section-title-wrapper {
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: normal;
  font-size: 1.3rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.section-title:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 100%;
  height: 1px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #1A1A1A;
}

.small {
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .small {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  br.pc {
    display: none;
  }
}

/* grid */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* card */
.card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  background: var(--panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card__thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.card__title {
  display: block;
  padding: 0 10px;
  font-weight: 700;
  font-size: 1rem;
}

.card__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px 10px 10px;
}

.status {
  color: var(--status);
  font-size: .9rem;
  padding-left: 20px;
  background:url("../images/time_icon.png") no-repeat left center;
  background-size: 14px 14px;
}

/* footer */
.scratch-footer {
  background: #404040;
  color: #fff;
  text-align: center;
}

.partners {
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.partners img {
  width: auto;
  height: 30px;
}
@media (min-width: 768px) {
  .partners img {
    height: 40px;
  }
}

.copyright {
  padding: 10px;
  background: #191919;
  display: block;
  font-size: 0.9rem;
}