:root {
  color-scheme: light;
  --font-color: #231f20;
  --accent-color: #6690a9;
  --fanclub-red: #f53434;

  --header-height: 60px;
  --max-content-width: 1184px;
  --content-gutter: 24px;

  --swiper-theme-color: #231f20 !important;
}

:where(:focus-visible) {
  outline: none;
}

* {
  font-family: 'Nunito', Helvetica, sans-serif, Arial;
  /* font-family: serif; */
  /* font-weight: 100; */
  /* color: #231f20; */
}

main {
  /* background-color: #fff7ee; */
}

a.underline {
  position: relative;
  color: #231f20;
  text-decoration: none;
}

a.underline:hover {
  color: #231f20;
}

a.underline:hover::before {
  transform: scaleX(1);
}

a.underline::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #231f20;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.1s ease;
}

p.two-lines {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-width {
  max-width: var(--max-content-width);
  padding: 60px var(--content-gutter);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.content-width.no-padding {
  padding: 0;
}

.grid-pc4-sp1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.grid-pc4-sp2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}

.cards .card {
  position: relative;
}

.card .card-link {
  position: absolute;
  inset: 0;
}

.card .card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card .post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 4px 0;
  margin-bottom: 4px;
}

.text-white {
  color: #fff;
}

body.hidden-scroll {
  overflow: hidden;
}

.plan-list {
  display: flex;
  gap: 12px;
  padding: 20px 0;
}

.btn-register {
  display: block;
  padding: 16px 12px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  width: 30%;
  background-color: #fff;
}

.btn-register p {
  margin: 0 !important;
  font-size: 0.8rem;
  color: #666;
}

.btn-register:hover {
  background-color: #231f20;
  color: #fff;
}

.btn-register:hover h3 {
  color: #fff;
}

.btn-register:hover p {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .plan-list {
    flex-direction: column;
  }

  .btn-register {
    width: 100%;
  }
}

.button.mp-hide-pw {
  height: unset;
  padding: 0.8em 1.4em;
}

input.mepr-form-radios-input {
  width: 13px !important;
  height: 21px;
}

.btn-swipe {
  transition: ease-out 0.25s;
}

.btn-swipe.btn-more__black:hover {
  box-shadow: inset 200px 0 0 0 #fbdeeb;
}

.btn-swipe.btn-more__white:hover {
  box-shadow: inset 200px 0 0 0 #fff;
  color: #231f20;
}

.pc-none {
  display: none !important;
}

.sp-none {
  display: block !important;
}

@media screen and (max-width: 1220px) {
  .pc-none {
    display: block !important;
  }

  .sp-none {
    display: none !important;
  }
}

.card-thumb {
  overflow: hidden;
  border-radius: 4px;
}

.card img {
  transition: 0.2s ease-in-out;
}

.card:hover img {
  transform: scale(1.1);
}

.card:hover .no-thumb img {
  transform: unset;
}

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.youtue-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtue-container iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.download-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  max-width: 700px;
  margin: 30px auto 0;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }

  .btn-download {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    background-color: #f392b6;
    color: #fff !important;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 600;
    width: calc(calc(100% - 20px) / 2);
    text-align: center;

    span:first-child,
    span:last-child {
      width: 40px;
    }

    span:last-child {
      margin-top: -5px;
    }

    @media screen and (max-width: 768px) {
      width: 100%;
      padding: 6px 24px;
      font-size: 16px;
    }
  }
}

.btn-download:hover {
  opacity: 0.8;
  text-decoration: none !important;
}
