@charset "UTF-8";

/* character
-----------------------------------*/
h2 {
  margin-bottom: 48px;
}

.flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.flex-r {
  flex: 0 0 270px;
  width: 270px;
  padding-bottom: 36px;
}

.flex-l {
  flex: 1;
}

/* toggle button
-----------------------------------*/
.visual-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 2rem;
  justify-content: center;
  font-weight: 500;
}
.visual-toggle__sep {
  color: var(--lightblack);
}
.visual-toggle__btn {
  color: var(--lightblack);
  cursor: default;
}
.visual-toggle__btn:not(.is-active) {
  opacity: 0.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.visual-toggle__btn:not(.is-active):hover {
  opacity: 1;
}

/* slideshow (Slick)
-----------------------------------*/
.visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* dots */
.visual .slick-dots {
  bottom: -24px;
}
.visual .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0 4px;
}
.visual .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
}
.visual .slick-dots li button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gray);
  opacity: 1;
  top: 0;
  left: 0;
}
.visual .slick-dots li.slick-active button::before {
  background-color: var(--lightblack);
  opacity: 1;
}

/* arrows */
.visual .slick-prev,
.visual .slick-next {
  z-index: 1;
  width: 24px;
  height: 24px;
}
.visual .slick-prev {
  left: -28px;
}
.visual .slick-next {
  right: -28px;
}
.visual .slick-prev::before {
  content: "‹";
  font-family: sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--lightblack);
  opacity: 1;
}
.visual .slick-next::before {
  content: "›";
  font-family: sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--lightblack);
  opacity: 1;
}

/* profile
-----------------------------------*/
h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--lightblack);
  line-height: 1.2;
  margin-bottom: 4px;
}

.char-reading {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.6;
}
.char-reading + .char-reading {
  margin-bottom: 20px;
}

.char-desc {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--lightblack);
  margin-bottom: 24px;
}

.char-status {
  list-style: none;
  margin-bottom: 24px;
}
.char-status li {
  font-size: 1.3rem;
  color: var(--lightblack);
  line-height: 1.8;
}

/* official site link */
.char-official-link {
  font-size: 1.3rem;
  color: var(--lightblack);
  margin-bottom: 30px;
}
.char-official-link a {
  color: var(--lightblack);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.char-official-link a::after {
  content: "\2197";
  font-size: 0.8em;
  vertical-align: super;
  margin-left: 1px;
}
.char-official-link a:hover {
  opacity: 0.6;
}

/* social buttons */
.char-btn__ul {
  justify-content: flex-start;
}
.char-btn__ul .btn {
  font-size: 1.2rem;
  gap: 6px;
  padding: 10px 16px;
}
.char-btn__ul .icon {
  width: 12px;
  margin-left: 0;
}

/* SP
-----------------------------------*/
@media (max-width: 767px) {
  .flex {
    flex-direction: column;
    gap: 24px;
  }
  .flex-r {
    order: 2;
    flex: none;
    width: 72%;
    margin: 0 auto;
    padding-bottom: 28px;
  }
  .flex-l {
    order: 1;
  }
  h3 {
    font-size: 2rem;
  }
  .char-desc,
  .char-status li {
    font-size: 1.2rem;
  }
  .char-btn__ul {
    justify-content: center;
  }
}
